query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
get some shared attributes
@Override protected DataCiteJson transformElement(final Element entry) throws TransformerException { final String version = HtmlUtils.getAttribute(entry, EnaConstants.VERSION); final String accession = HtmlUtils.getAttribute(entry, EnaConstants.ACCESSION); final String sequenceLength = HtmlUtils.getAttribute(entry, EnaConstants.SEQUENCE_LENGTH); final DataCiteJson document = new DataCiteJson(accession); document.setVersion(version); document.setPublisher(EnaConstants.PUBLISHER); document.addFormats(EnaConstants.FORMATS); document.setResourceType(EnaConstants.RESOURCE_TYPE); document.addResearchDisciplines(EnaConstants.DISCIPLINES); document.setPublicationYear(getPublicationYear(entry)); document.addSizes(getSizes(sequenceLength)); document.addTitles(getTitles(accession, version)); document.addResearchData(getResearchData(accession)); document.addDates(getDates(entry)); document.addDates(HtmlUtils.getObjects(entry, EnaConstants.SUBMISSION_REF_SELECTION, this::parseSubmissionRef)); document.addWebLinks(getWebLinks(accession, sequenceLength)); document.addWebLinks(HtmlUtils.getObjects(entry, EnaConstants.TAXON, this::parseTaxonLink)); document.addDescriptions(HtmlUtils.getObjects(entry, EnaConstants.DESCRIPTION, this::parseDescription)); document.addDescriptions(HtmlUtils.getObjects(entry, EnaConstants.ENTRY_COMMENT, this::parseComment)); document.addSubjects(HtmlUtils.getObjects(entry, EnaConstants.KEYWORD, this::parseKeyword)); document.addSubjects(HtmlUtils.getObjects(entry, EnaConstants.TAXON, this::parseCommonTaxonName)); document.addSubjects(HtmlUtils.getObjects(entry, EnaConstants.TAXON, this::parseScientificTaxonName)); document.addSubjects(getSubjects(entry)); document.addRelatedIdentifiers(HtmlUtils.getObjects(entry, EnaConstants.PUBMED_REF_SELECTION, this::parseMedPubRef)); document.addRelatedIdentifiers(HtmlUtils.getObjects(entry, EnaConstants.DOI_REF_SELECTION, this::parseDoiRef)); return document; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Attributes getAttributes();", "public abstract Map<String, Object> getAttributes();", "Object getOtherprops();", "IAttributes getAttributes();", "Map<String, Object> getAttributes();", "Map<String, Object> getAttributes();", "Map<String, Object> getAttributes();", "public abstract Map getAttributes();", "Map<String, String> getAttributes();", "public Map<String, Object> getAttrs();", "public Map getAttributes() {\n Map common = channel.getAttributes();\n \n if(map == null) {\n map = new HashMap(common);\n }\n return map;\n }", "public HashSet<String> getUsefulAttributes() {\n\t\t \n\t\tHashSet<String> attr = new HashSet<>();\n\t\tQuery firstQ = this.rset.get(1); // get first query on rewriting set 'rset'.\n\t\t\n\t\tGrouping gPart = firstQ.getQueryTriple()._1();\n\t attr.addAll(gPart.getUsefulAttributes());\n\t \n\t Measuring mPart = firstQ.getQueryTriple()._2();\n\t attr.addAll(mPart.getMeasuringAttributes());\n\t \n\t\treturn attr;\n\t}", "public Map<String, Object> getAttributes();", "public Map<String, Object> getAttributes();", "private Attributes getAttributes()\r\n\t{\r\n\t return attributes;\r\n\t}", "public abstract ImportAttributes getAttributes();", "public Map<String, String> getAttributes();", "trinsic.services.common.v1.CommonOuterClass.JsonPayload getAttributes();", "String[] getSharedFields();", "HashMap getMasterAttributes() throws BaseException;", "Pair<String, String> getAdditionalAttribute();", "public String[] getRelevantAttributes();", "public ArrayList<String> findCommonAttrs(RelationPredicate p){\n\t\t//System.out.println(\"Common in: \" + this + \" and \" + p);\n\t\tArrayList<String> attrs = new ArrayList<String>();\n\t\tfor(int i=0; i<terms.size(); i++){\n\t\t\tTerm t = terms.get(i);\n\t\t\tString var = t.getVar();\n\t\t\tif(var!=null && p.containsTerm(t))\n\t\t\t\tattrs.add(var);\n\t\t}\n\t\treturn attrs;\n\t}", "public java.util.Collection getAttributes();", "ArrayList getAttributes();", "public Attributes getAttributes() { return this.attributes; }", "public Object[] getAttributes() {\n\t\treturn new Object[] {true}; //true for re-init... \n\t}", "@Override\n\tpublic Attributes getAttributes() {\n\t\treturn (Attributes)map.get(ATTRIBUTES);\n\t}", "@Override\r\n\tpublic Map<String, String> getAttributes() {\r\n\t\treturn this.attributes;\r\n\t}", "private Hashtable getRequestedAttributes() {\n\tif (fRequestedAttributes == null) {\n\t fRequestedAttributes = new Hashtable(7, (float)0.9);\n fRequestedAttributes.put(TextAttribute.TRANSFORM,\n\t\t\t\t IDENT_TX_ATTRIBUTE);\n fRequestedAttributes.put(TextAttribute.FAMILY, name);\n fRequestedAttributes.put(TextAttribute.SIZE, new Float(size));\n\t fRequestedAttributes.put(TextAttribute.WEIGHT,\n\t\t\t\t (style & BOLD) != 0 ? \n\t\t\t\t TextAttribute.WEIGHT_BOLD :\n\t\t\t\t TextAttribute.WEIGHT_REGULAR);\n\t fRequestedAttributes.put(TextAttribute.POSTURE,\n\t\t\t\t (style & ITALIC) != 0 ? \n\t\t\t\t TextAttribute.POSTURE_OBLIQUE :\n\t\t\t\t TextAttribute.POSTURE_REGULAR);\n fRequestedAttributes.put(TextAttribute.SUPERSCRIPT,\n new Integer(superscript));\n fRequestedAttributes.put(TextAttribute.WIDTH,\n new Float(width));\n\t}\n\treturn fRequestedAttributes;\n }", "Map getPassThroughAttributes();", "trinsic.services.common.v1.CommonOuterClass.JsonPayloadOrBuilder getAttributesOrBuilder();", "public FactAttributes getAttributes() {\r\n return localAttributes;\r\n }", "Map getGenAttributes();", "@Override\r\n\tpublic Map<String, Object> getAttributes() {\n\t\treturn null;\r\n\t}", "@Override\n\tpublic AttributeMap getAttributes() {\n\t\treturn defaultEdgle.getAttributes();\n\t}", "java.util.Map<java.lang.String, java.lang.String> getAttributesMap();", "public interface IMasterAttribute\n{\n\t/**\n\t * This method is called to get the list of all attribute data for a particular criteria\n\t * \n\t * @return HashMap containing the data\n\t * @throws BaseException Thrown if any exception occurs while fetching data\n\t */\n\tHashMap getMasterAttributes() throws BaseException;\n\n\t/**\n\t * This method is called to get the list of all attribute data for a particular criteria. This variant is to be used\n\t * if the preference data to be loaded is dependent on the logged in user\n\t * \n\t * @param userNo The user Number\n\t * @param gcif The GCIF of the user.\n\t * @return HashMap containing the data\n\t * @throws BaseException Thrown if any exception occurs while fetching data\n\t */\n\tHashMap getMasterAttributes(String userNo, String gcif) throws BaseException;\n}", "public String getCommonPLMAttributes(Context context, String[] args) throws Exception {\n String sResult = \"\";\n\n logMessage(\"getCommonPLMAttributes\", \"Entered...\");\n try {\n // Read User Initials from attribute 'CAD Signature' on the Person object of the Context User.\n String sUserCredentials = getUserIntials(context);\n String sDesignedBy = \"DESIGNED_BY|\" + sUserCredentials;\n String sModifiedBy = \"MODIFIED_BY|\" + sUserCredentials;\n\n // Read Initial Revision and State name from the Policy.\n String sPolicyName = POLICY_NX_DESIGN;\n String sInitialRevAndState = getPolicyInitialRevAndInitialState(context, sPolicyName);\n\n sResult = sDesignedBy + \"@\" + sModifiedBy + \"@\" + sInitialRevAndState;\n logMessage(\"getCommonPLMAttributes\", \"Returning sResult: \" + sResult);\n } catch (Exception e) {\n System.out.println(\"getCommonPLMAttributes: Exception occurred while retriveing common PLM attributes.\");\n }\n\n return sResult;\n }", "@java.lang.Override\n public trinsic.services.common.v1.CommonOuterClass.JsonPayloadOrBuilder getAttributesOrBuilder() {\n return getAttributes();\n }", "public Map<QName, String> getOtherAttributes() {\r\n return otherAttributes;\r\n }", "CommonProperties getProperties();", "public Map<QName, String> getOtherAttributes() {\n return otherAttributes;\n }", "Object getProps();", "public Map<TextAttribute,?> getAttributes(){\n return (Map<TextAttribute,?>)getRequestedAttributes().clone();\n }", "public Map<QName, String> getOtherAttributes() {\n return otherAttributes;\n }", "public Map<QName, String> getOtherAttributes() {\n return otherAttributes;\n }", "public Map<QName, String> getOtherAttributes() {\n return otherAttributes;\n }", "public Map<QName, String> getOtherAttributes() {\n return otherAttributes;\n }", "public Map<QName, String> getOtherAttributes() {\n return otherAttributes;\n }", "public Map<QName, String> getOtherAttributes() {\n return otherAttributes;\n }", "public Map<QName, String> getOtherAttributes() {\n return otherAttributes;\n }", "public Map<QName, String> getOtherAttributes() {\n return otherAttributes;\n }", "public Map<QName, String> getOtherAttributes() {\n return otherAttributes;\n }", "public Map<QName, String> getOtherAttributes() {\n return otherAttributes;\n }", "public Map<QName, String> getOtherAttributes() {\n return otherAttributes;\n }", "public Map<QName, String> getOtherAttributes() {\n return otherAttributes;\n }", "@Override\n\tpublic ArrayList<Object> getAttributeList() {\n\t\tArrayList<Object> attributes = new ArrayList<Object>();\n//\t\tattributes.add(\"s2014_age\");\n//\t\tattributes.add(\"s2014_prog_skill\");\n//\t\tattributes.add(\"s2014_uni_yrs\");\n//\t\tattributes.add(\"s2014_os\");\n//\t\tattributes.add(\"s2014_progLangs\");\n//\t\tattributes.add(\"s2014_engSkill\");\n\t\tattributes.add(\"s2014_favAnimal\");\n\t\tattributes.add(\"s2014_MoreMtns\");\n//\t\tattributes.add(\"s2014_winter\");\n\t\tattributes.add(\"s2014_favColor\");\n//\t\tattributes.add(\"s2014_neuralNetwork\");\n//\t\tattributes.add(\"s2014_vectorMachine\");\n//\t\tattributes.add(\"s2014_sql\");\n//\t\tattributes.add(\"s2014_favSQLServ\");\n//\t\tattributes.add(\"s2014_apriori\");\n\t\treturn attributes;\n\t}", "public Map<String, String> getAttributes() {\n\t\treturn atts;\n\t}", "default List<Object> getAttributeValues(T instance) {\n\t\tList<Object> attrValues = new ArrayList<>();\n\t\tfor (Attribute<T, ?> fld : getAttributes()) {\n\t\t\tattrValues.add(fld.getValue(instance));\n\t\t}\n\t\treturn attrValues;\n\t}", "public HashMap<String, String> GetRawAttributes();", "public Map<String, Set<String>> getAttributes() {\n return attributes;\n }", "Map<String, Object> getRequestContextLocalAttrs();", "public VersionedMap getExtra ()\n {\n return extra;\n }", "public HashMap getClassWithAttr() {\n return storingClassWithAttr;\n }", "List<Attribute<T, ?>> getAttributes();", "Object getAttribute(int attribute);", "public Map<QName, String> getOtherAttributes() {\n\t\t\treturn otherAttributes;\n\t\t}", "public Map<QName, String> getOtherAttributes() {\n\t\t\treturn otherAttributes;\n\t\t}", "RakudoObject get_attribute(ThreadContext tc, RakudoObject object, RakudoObject classHandle, String name);", "public Map<QName, String> getOtherAttributes() {\n\t\t\t\treturn otherAttributes;\n\t\t\t}", "public String getAttributes() {\n\t\treturn getProperty(\"attributes\");\n\t}", "public Map<QName, String> getOtherAttributes() {\n\t\treturn otherAttributes;\n\t}", "public Map<QName, String> getOtherAttributes() {\n\t\treturn otherAttributes;\n\t}", "public Map<QName, String> getOtherAttributes() {\n\t\treturn otherAttributes;\n\t}", "public FactAttribute[] getAttribute() {\r\n return localAttribute;\r\n }", "public ConcurrentHashMap<String, Attribute> getAttributes() {\n\t\treturn list;\n\t}", "public List<TLAttribute> getAttributes();", "public org.python.Object __getattribute__(java.lang.String name);", "public Vector getAttributes(boolean create) {\n\treturn attributeFields;\n }", "Map<String, IAttribute> getConnectedAttributes();", "public interface PeopleAttribute {\n\n /**\n * Dynamically get the defined additional attribute of People\n * depending on their type\n *\n * @return pair of key indicating the label of the property\n * and value as the actual value of the additional attribute\n * @see Pair\n */\n Pair<String, String> getAdditionalAttribute();\n}", "@Override\n public List<MappedField<?>> getAttributes() {\n return attributes;\n }", "public ConnectionAttributes getAttributes() {\n \treturn new ConnectionAttributes(strDbName , strUser, strPasswd, strCharSet, iLoginTimeout);\n }", "@java.lang.Override\n public trinsic.services.common.v1.CommonOuterClass.JsonPayload getAttributes() {\n return attributes_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : attributes_;\n }", "public Map<String, Map<String, String>> getUserAttributes() {\n return m_userAttributes;\n }", "public Attribute[] getAttributes()\n {\n return _attrs;\n }", "public BasicAttributesGrammarAccess.AttributeRefinementElements getAttributeRefinementAccess() {\n\t\treturn gaBasicAttributes.getAttributeRefinementAccess();\n\t}", "public Map<String, Object> getAttributesMap() {\n\t\treturn this.staticAttributes;\n\t}", "java.lang.String getAttribute();", "public Map getProperties() {\n HttpSession session = (HttpSession) _currentSession.get();\n if (session == null) {\n return new HashMap();\n }\n HashMap properties = new HashMap();\n Enumeration enuAttributes = session.getAttributeNames();\n while (enuAttributes.hasMoreElements()) {\n String nextAttribute = (String) enuAttributes.nextElement();\n Object value = session.getAttribute(nextAttribute);\n properties.put(nextAttribute, value);\n }\n return properties;\n }", "protected void saveCommonAttributes(Attributes attrs) {\r\n\t\t// Save some common attributes for quick get.\r\n\t\tbind(KEY_LANG_NAME, attrs.getSessionLang());\r\n\t\tbind(KEY_AUTHC_HOST_NAME, attrs.getClientHost());\r\n\t\tbind(KEY_PARENT_SESSIONID_NAME, attrs.getParentSessionId());\r\n\t\tbind(KEY_DATA_CIPHER_NAME, attrs.getDataCipher());\r\n\t\tbind(KEY_ACCESSTOKEN_SIGN_NAME, attrs.getAccessTokenSign());\r\n\t}", "public List<GenericAttribute> getAttributes() {\n return attributes;\n }", "public Set<String> getAllAttributes() {\r\n if (parent.isPresent()) {\r\n return Sets.union(attributeMap.keySet(), parent.get().getAllAttributes());\r\n } else {\r\n return getAttributes();\r\n }\r\n }", "public synchronized Object getAttribute(String key) {\n return attributes.get(key);\n }", "public List<Attribute<?>> getAttributes() {\r\n\t\treturn Collections.unmodifiableList(attributes);\r\n\t}", "Map<String, Object> getAttributes(String path) throws IOException;", "com.google.protobuf.ByteString getAttributeBytes();", "public void getAtributOne() {\n log.info(\"getAtribut: get Attributes\");\n Search search = new Search();\n criteria.clean();\n\n criteria.setFileName(frameSearch.getPnSearch().getTxSearch().getText());\n criteria.setPath(frameSearch.getPnSearch().getTxLocation().getText());\n criteria.setHidden(frameSearch.getPnSearch().getChFileHidden().isSelected());\n criteria.setExtensionEnable(frameSearch.getPnSearch().getChSearchText().isSelected());\n criteria.setNameOwnwe(frameSearch.getTpDataBase().getTxBdata().getText());\n if (frameSearch.getPnSearch().getChKeySensitive().isSelected()) {\n log.debug(\"getAtribut: keySensitive select \" + frameSearch.getPnSearch().getChKeySensitive().isSelected());\n criteria.setKeySensitive(false);\n } else {\n log.debug(\"getAtribut: key sensitive no select \" + !frameSearch.getPnSearch().getChKeySensitive().isSelected());\n criteria.setKeySensitive(true);\n }\n log.info(\"getAtribut: set to criteria\");\n criteria.setFolder(frameSearch.getPnSearch().getChFolder().isSelected());\n criteria.setOwner(frameSearch.getPnSearch().getTxtOwner().getText());\n criteria.setCheckOwner(frameSearch.getPnSearch().getChOwner().isSelected());\n criteria.setReadOnly(frameSearch.getPnSearch().getChReadOnly().isSelected());\n criteria.setContent(frameSearch.getPnSearch().getTxtContent().getText());\n criteria.setCheckContent(frameSearch.getPnSearch().getChContent().isSelected());\n criteria.setCheckMod(frameSearch.getPnAdvanced().getChFechas().isSelected());\n criteria.setCheckCre(frameSearch.getPnAdvanced().getChCreation().isSelected());\n criteria.setChecAccess(frameSearch.getPnAdvanced().getChAccess().isSelected());\n criteria.setCheckSize(frameSearch.getPnAdvanced().getChsSize().isSelected());\n criteria.setSignSize((String) frameSearch.getPnAdvanced().getJcbSize().getSelectedItem());\n ArrayList<Asset> fileList = new ArrayList<>();\n search.searchPath(criteria);\n fileList = (ArrayList<Asset>) search.getResult();\n if (criteria.isExtensionEnable()) {\n ArrayList<String> resul = frameSearch.getPnSearch().getExtencion();\n System.out.println(\"CRIRIA\"+resul.size());\n criteria.setExtencionAux(String.join(\";\", resul));\n System.out.println(\"CRIRIA\"+criteria.getExtencionAux());\n fileList = search.extencion(fileList,criteria);\n }\n if (criteria.isCheckOwner()) {\n log.debug(\"getAtribut: check Owner \" + criteria.isCheckOwner());\n fileList = search.owner(fileList, criteria);\n }\n log.warn(\"getAtribut: check Owner \" + criteria.isCheckOwner());\n if (criteria.isReadOnly()) {\n log.debug(\"getAtribut: check Read Only \" + criteria.isReadOnly());\n fileList = search.searchReadOnly(fileList, criteria);\n }\n log.warn(\"getAtribut: check Read Only \" + criteria.isReadOnly());\n if (criteria.isCheckContent()) {\n log.debug(\"getAtribut: check Content \" + criteria.isCheckContent());\n fileList = search.searchContent(criteria, fileList);\n }\n log.warn(\"getAtribut: check Content \" + criteria.isCheckContent());\n if (frameSearch.getChAdvanced().isSelected()) {\n log.debug(\"getAtribut: check Advanced \" + frameSearch.getChAdvanced().isSelected());\n if (frameSearch.getPnAdvanced().getChsSize().isSelected()) {\n log.debug(\"getAtribut: size select \" + frameSearch.getPnAdvanced().getChsSize().isSelected());\n criteria.setSignSize(frameSearch.getPnAdvanced().getCbSize().getSelectedItem().toString());\n criteria.setType(frameSearch.getPnAdvanced().getJcbSize().getSelectedItem().toString());\n criteria.setSize(Double.parseDouble(frameSearch.getPnAdvanced().getTxSize().getText()));\n fileList = search.searchSze(fileList, criteria);\n }\n if ((frameSearch.getPnAdvanced().getChCreation().isSelected()) | (frameSearch.getPnAdvanced().getChFechas().isSelected()) | (frameSearch.getPnAdvanced().getChAccess().isSelected())) {\n ArrayList<Asset> aux = (ArrayList<Asset>) fileList.clone();\n if (frameSearch.getPnAdvanced().getChCreation().isSelected()) {\n log.debug(\"getAtribut: check date creation \" + frameSearch.getPnAdvanced().getChCreation().isSelected());\n criteria.setIniCreationFile(new Timestamp(frameSearch.getPnAdvanced().getDateCreationOne().getDate().getTime()));\n criteria.setFinCreationFile(new Timestamp(frameSearch.getPnAdvanced().getDateCreationTwo().getDate().getTime()));\n aux = search.searchDateCreation(aux, criteria);\n\n }\n if (frameSearch.getPnAdvanced().getChAccess().isSelected()) {\n log.debug(\"getAtribut: check date access \" + frameSearch.getPnAdvanced().getChAccess().isSelected());\n criteria.setIniAccessFile(new Timestamp(frameSearch.getPnAdvanced().getDateAccessOne().getDate().getTime()));\n criteria.setFinAccessFile(new Timestamp(frameSearch.getPnAdvanced().getDateAccessTwo().getDate().getTime()));\n aux = search.searchDateAccess(aux, criteria);\n\n }\n if (frameSearch.getPnAdvanced().getChFechas().isSelected()) {\n log.debug(\"getAtribut: check date \" + frameSearch.getPnAdvanced().getChFechas().isSelected());\n criteria.setIniModFile(new Timestamp(frameSearch.getPnAdvanced().getDateModificationOne().getDate().getTime()));\n criteria.setFinModFile(new Timestamp(frameSearch.getPnAdvanced().getDateModificationTwo().getDate().getTime()));\n aux = search.searchDateMod(aux, criteria);\n\n }\n fileList = aux;\n }\n if (frameSearch.getPnAdvanced().getChAttributes().isSelected()) {\n log.debug(\"getAtribut: check Attributes \" + frameSearch.getPnAdvanced().getChAttributes().isSelected());\n criteria.setCheckMulti(frameSearch.getPnAdvanced().getChAttributes().isSelected());\n fileList = search.searchMultimedia(fileList, criteria);\n if (frameSearch.getPnAdvanced().getChAtModify().isSelected()) {\n criteria.addItem(\"ASF\");\n }\n if (frameSearch.getPnAdvanced().getChAtHidden().isSelected()) {\n criteria.addItem(\"AVI\");\n }\n if (frameSearch.getPnAdvanced().getChAtFolder().isSelected()) {\n criteria.addItem(\"DIVX\");\n }\n if (frameSearch.getPnAdvanced().getChAtEncriptado().isSelected()) {\n criteria.addItem(\"FLV\");\n }\n if (frameSearch.getPnAdvanced().getChAtReading().isSelected()) {\n criteria.addItem(\"MPEG\");\n }\n if (frameSearch.getPnAdvanced().getChAtSistema().isSelected()) {\n criteria.addItem(\"WMV\");\n }\n if (frameSearch.getPnAdvanced().getChAtComprimido().isSelected()) {\n criteria.addItem(\"MP3\");\n }\n if (frameSearch.getPnAdvanced().getChAtVideo().isSelected()) {\n criteria.addItem(\"MP4\");\n }\n if (criteria.getFormatsMulti().size() > 0) {\n fileList = search.checkMulti(fileList, criteria);\n }\n if (!frameSearch.getPnAdvanced().selectFrame().equals(\"TODO\")) {\n criteria.setFrameRate(frameSearch.getPnAdvanced().selectFrame());\n fileList = search.checkFrame(fileList, criteria);\n }\n if (!frameSearch.getPnAdvanced().selectVideo().equals(\"TODO\")) {\n criteria.setVideoCode(frameSearch.getPnAdvanced().selectVideo());\n fileList = search.checkVideoCode(fileList, criteria);\n }\n if (!frameSearch.getPnAdvanced().selectResolution().equals(\"TODO\")) {\n criteria.setResolution(frameSearch.getPnAdvanced().selectResolution());\n fileList = search.checkResolution(fileList, criteria);\n }\n if (frameSearch.getPnAdvanced().getChTerm().isSelected()) {\n log.debug(\"getAtribut: check termination or extend \" + frameSearch.getPnAdvanced().getChTerm().isSelected());\n criteria.setScale(frameSearch.getPnAdvanced().getScaleDuration());\n criteria.setOperator(frameSearch.getPnAdvanced().getJcbSizeDuration().getSelectedItem().toString());\n criteria.setCantMulti(Double.parseDouble(frameSearch.getPnAdvanced().getTxTerm().getText()));\n fileList = search.searcDuration(fileList, criteria);\n }\n }\n }\n search.gsonCriterio(criteria);\n frameSearch.getTpDataBase().cleanTable();\n this.getCriteriaSaved();\n log.info(\"getAtribut: End\");\n }", "public Map<String, String> getAttributes() {\n\t\treturn attributes;\n\t}", "HashMap getMasterAttributes(String userNo, String gcif) throws BaseException;" ]
[ "0.70506805", "0.6822372", "0.67808807", "0.6756007", "0.67548287", "0.67548287", "0.67548287", "0.67288786", "0.66289926", "0.6583385", "0.65682566", "0.6556866", "0.6485282", "0.6485282", "0.6446952", "0.6397093", "0.63766336", "0.636842", "0.6278497", "0.618044", "0.6168846", "0.61550534", "0.61322933", "0.6121947", "0.6055865", "0.60490793", "0.60177046", "0.6014132", "0.5985861", "0.59845436", "0.595226", "0.5923286", "0.5917171", "0.5896706", "0.58480304", "0.58117193", "0.5808713", "0.5784806", "0.5760155", "0.57261926", "0.5711254", "0.5689679", "0.56852627", "0.5684113", "0.5682366", "0.5678533", "0.5678533", "0.5678533", "0.5678533", "0.5678533", "0.5678533", "0.5678533", "0.5678533", "0.5678533", "0.5678533", "0.5678533", "0.5678533", "0.5670989", "0.5668396", "0.5656025", "0.56514496", "0.5649549", "0.5649223", "0.564886", "0.5639837", "0.5628566", "0.56280905", "0.5627201", "0.5627201", "0.56263614", "0.56262714", "0.5623883", "0.5619385", "0.5619385", "0.5619385", "0.5616781", "0.5614004", "0.56106156", "0.5586608", "0.5574736", "0.5553737", "0.5543918", "0.55426997", "0.5538785", "0.5497042", "0.5492192", "0.54838437", "0.54816645", "0.5475405", "0.54685414", "0.54663426", "0.54456705", "0.5443533", "0.5443013", "0.54243255", "0.54167277", "0.5412595", "0.53956205", "0.53861946", "0.5383076", "0.5377226" ]
0.0
-1
nothing to clean up
@Override public void clear() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void cleanup() {\n \n }", "@Override\n public void cleanup() {\n \n }", "@Override\r\n\tpublic void cleanup() {\n\t\t\r\n\t}", "@Override\n\tpublic void cleanup() {\n\n\t}", "@Override\n\tpublic void cleanup() {\n\n\t}", "@Override\n\tpublic void cleanup() {\n\t\t\n\t}", "@Override\n\tpublic void cleanup() {\n\t\t\n\t}", "@Override\n\tpublic void cleanup() {\n\t\t\n\t}", "@Override\r\n public void cleanup() {\n }", "@Override\n public void cleanup() {\n }", "protected void cleaningUp() {\n\t}", "@Override\n public void cleanUp() {\n }", "@SuppressWarnings(\"unused\")\n\t\t\tprivate void dispose() {\n\t\t\t\t\n\t\t\t}", "private Unescaper() {\n\n\t}", "public void cleanupData() {\n\t}", "@Override\n public void clean() {\n\n }", "public void cleanUp() {\r\n\t\tsuper.cleanUp() ;\r\n\t}", "void cleanUp();", "void cleanUp();", "void cleanUp();", "protected void cleanup() {\n this.dead = true;\n this.overflow = null;\n this.headerBuffer = null;\n this.expectBuffer = null;\n this.expectHandler = null;\n this.unfragmentedBufferPool = null;\n this.fragmentedBufferPool = null;\n this.state = null;\n this.currentMessage = null;\n \n /*\n this.onerror = null;\n this.ontext = null;\n this.onbinary = null;\n this.onclose = null;\n this.onping = null;\n this.onpong = null;*/\n}", "public void cleanup() {\n\t}", "public void cleanup() {\r\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}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n protected void performCleanup() {\n }", "@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void clear() {\n\t\t\t\t\n\t\t\t}", "@Override\r\n\tprotected void dispose() {\n\t\t\r\n\t}", "@Override\n\tpublic void finalize() {\n\t\t\n\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "private Singletion3() {}", "@Override\n\t\tprotected void reset()\n\t\t{\n\t\t}", "protected abstract void cleanup();", "@Override\r\n\t\t\tpublic void reset() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\t\t\tpublic void dispose() {\n\t\t\t}", "@Override\n \t\t\tpublic void dispose() {\n \n \t\t\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void prepare()\r\n\t{\r\n\r\n\t}", "@Override\r\n\tprotected void finalize() throws Throwable {\n\t\tsuper.finalize();\r\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "private Retorno( )\r\n {\r\n val = null;\r\n izq = null;\r\n der = null;\r\n\r\n }", "@Override\n\t\tpublic void dispose() {\n\t\t \n\t\t}", "public void cleanUp()\r\n {\r\n m_aaiNumTris = null;\r\n m_aafRelativeLengths = null;\r\n m_aafMaxDist = null;;\r\n m_aakCurvePos = null;\r\n m_aakTangent = null;\r\n }", "private void dispose() {\n\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n protected void clear() {\n\n }", "@Override\n\t\tpublic void close() {\n\t\t\t\n\t\t}", "public final void mo51373a() {\n }", "private void parseData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "public void freeScrap() {\n\r\n\t}", "public void cleanup() {\n }", "@Override\n\tprotected void prepare() {\n\t\t\n\t}", "@Override\n\t\tpublic void clear() {\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void clear() {\n\t\t\t\n\t\t}", "@Override\n public void reset() \n {\n\n }", "public void finalize(){\r\n srcImage = null;\r\n sigmas = null;\r\n xDataRound = null;\r\n yDataRound = null;\r\n zDataRound = null;\r\n super.finalize();\r\n }", "public void finalize() {\r\n super.finalize();\r\n }", "@Override\n\tpublic void detalhar() {\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\n\tprotected void doDispose() {\n\t}", "public void cleanUp(){\n //Clean up the parent class, i.e. close pipes.\n super.cleanUp();\n }", "protected void finalize() throws Throwable{ \n //------------------------------------------------------------------------- \n super.finalize(); \n }", "protected void finalize()throws Throwable{\t\t\n //---------------------------------------------------------------------------\n super.finalize();\n\t}", "protected void finalize()throws Throwable{\t\t\n //---------------------------------------------------------------------------\n super.finalize();\n\t}", "@Override\r\n protected void finalize() throws Throwable {\r\n super.finalize();\r\n dispose();\r\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public void cleanup() {\n this.index = new TreeMap<String, PostingsList>();\n this.count = 0;\n }", "@Override\npublic void cleanUp() {\n\t\n}", "private static void cajas() {\n\t\t\n\t}", "@Override()\r\n protected void finalize() {\r\n destroy();\r\n }", "@Override\r\n\tpublic void dispose() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dispose() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dispose() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dispose() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dispose() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dispose() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dispose() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dispose() {\n\t\t\r\n\t}", "@Override\n public void dispose() {\n\n }", "@Override\n\tpublic void cleanUp() {\n\t\t table = null;\n colFam = null;\n currentEvent = null;\n\t}", "public void redibujarAlgoformers() {\n\t\t\n\t}", "@Override\n public void dispose() {\n \n }", "@Override\r\n \tpublic void process() {\n \t\t\r\n \t}", "@Override\n public void perish() {\n \n }", "protected MetadataUGWD() {/* intentionally empty block */}", "public void baocun() {\n\t\t\n\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}", "private void poetries() {\n\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "protected void reset() {\n\t\t}" ]
[ "0.6907687", "0.6907687", "0.6731", "0.6600421", "0.6600421", "0.6583125", "0.6583125", "0.6583125", "0.64783514", "0.6470691", "0.63815796", "0.6360249", "0.631007", "0.61476547", "0.6107948", "0.60504454", "0.60240424", "0.6016464", "0.6016464", "0.6016464", "0.59979814", "0.5987409", "0.5965287", "0.5941758", "0.5941758", "0.5925948", "0.59208846", "0.59174025", "0.59174025", "0.59174025", "0.59174025", "0.5912275", "0.5905783", "0.5900408", "0.58945996", "0.5892052", "0.5886711", "0.58790416", "0.5877778", "0.586773", "0.5859665", "0.5854733", "0.58535135", "0.58527344", "0.58522224", "0.5849202", "0.58418524", "0.58387303", "0.5833354", "0.5831642", "0.5827404", "0.5820687", "0.5795927", "0.5791005", "0.57899874", "0.57824343", "0.57814896", "0.5775553", "0.5773974", "0.57677305", "0.57677305", "0.57650095", "0.5761621", "0.5760522", "0.5755234", "0.5748317", "0.5748317", "0.5748317", "0.5744102", "0.5742842", "0.57338715", "0.57282126", "0.57282126", "0.57259184", "0.5725383", "0.5723171", "0.5722885", "0.57148373", "0.5703454", "0.5698432", "0.5697888", "0.5697888", "0.5697888", "0.5697888", "0.5697888", "0.5697888", "0.5697888", "0.5697888", "0.56960195", "0.5691582", "0.56880945", "0.568513", "0.56847113", "0.56805557", "0.56766963", "0.567522", "0.5674133", "0.5674133", "0.5664886", "0.5664382", "0.5664074" ]
0.0
-1
If network was down, any attempt to login to the account would have failed. Login now
@Override public void doWhenNetworkCame() { doLogin(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void attemptLogin() {\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n final String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n\n if(isOnline()){\n try {\n ApiRequests.POST(\"login/\", new Callback() {\n @Override\n public void onFailure(Call call, final IOException e) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Log.e(\"error:\", \"burda\");\n }\n });\n }\n\n @Override\n public void onResponse(Call call, final Response response) throws IOException {\n\n try {\n processTheResponse(response.body().string());\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n }\n }, email, password);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n else {\n InternetConnectionError();\n }\n }\n }", "private void tryLogin() {\n AsyncTask<String, Void, Boolean> task = new AsyncTask<String, Void, Boolean>(){\n @Override\n protected Boolean doInBackground(String... ci_session) {\n boolean isValid = PwcatsRequester.isValidCiSession(ci_session[0]);\n return isValid;\n }\n @Override\n protected void onPostExecute(Boolean isValid) {\n isLogined = isValid;\n showOrHideLogInOut(isLogined);\n if (!isValid)\n authLogout();\n TextView mNavAuthLogin = (TextView) findViewById(R.id.nav_auth_login);\n TextView mNavAuthLogout = (TextView) findViewById(R.id.nav_auth_logout);\n }\n };\n String ci_session = prefs.getString(getString(R.string.ci_session), null);\n task.execute(ci_session);\n }", "private void attemptLogin() {\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n mEMSIpview.setError(null);\n // Store values at the time of the login attempt.\n final String emsIP = mEMSIpview.getText().toString();\n final String email = mEmailView.getText().toString();\n final String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n if (TextUtils.isEmpty(emsIP)) {\n mEMSIpview.setError(\"Please enter an ems ip\");\n focusView = mEMSIpview;\n cancel = true;\n }\n // Check for a valid password, if the user entered one.\n if (TextUtils.isEmpty(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n performNetworkOperations.doLogin(emsIP, email, password);\n// Toast.makeText(this,token,Toast.LENGTH_SHORT).show();\n// List<String> nodeData = performNetworkOperations.getNodesList(emsIP,token);\n\n }\n }", "private void attemptLogin() {\n if (isLoggingIn) {\n return;\n }\n\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!Utils.isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (TextUtils.isEmpty(password)) {\n mPasswordView.setError(getString(R.string.error_field_required));\n focusView = mPasswordView;\n cancel = true;\n } else if (!Utils.isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n if (!HttpUtils.isNetworkAvailable(this.getApplicationContext())) {\n Toast.makeText(this.getApplicationContext(), \"No internet\", Toast.LENGTH_SHORT).show();\n cancel = true;\n }\n\n if (cancel) {\n focusView.requestFocus();\n } else {\n InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(mPasswordView.getWindowToken(), 0);\n\n LoginApi.executeLogin(this, email, password);\n }\n }", "private static void attemptToLogin() {\n\t\tString id = null;\n\t\tString password = null;\n\t\tString role = null;\n\t\tint chances = 3;\n\t\t//User will get 3 chances to login into the system.\n\t\twhile(chances-->0){\n\t\t\tlog.info(\"Email Id:\");\n\t\t\tid = sc.next();\n\t\t\tlog.info(\"Password:\");\n\t\t\tpassword = sc.next();\n\t\t\trole = LogInAuthentication.authenticate(id, password);\n\t\t\t//If correct credentials are entered then role of user will be fetch from the database. \n\t\t\tif(role == null) {\n\t\t\t\t//If role is not fetched, error and left chances will be shown.\n\t\t\t\tlog.error(\"Invalid EmailId or password\");\n\t\t\t\tlog.info(\"Chances left: \"+chances);\n\t\t\t}\n\t\t\telse\n\t\t\t\tbreak;\n\t\t}\n\t\t//After verifying credentials User will be on-board to its portal depending upon the role.\n\t\tonboard(id,role);\n\t}", "private void attemptLogin() {\r\n if (mAuthTask != null) {\r\n return;\r\n }\r\n\r\n // Reset errors.\r\n mEmailView.setError(null);\r\n mPasswordView.setError(null);\r\n\r\n // Store values at the time of the login attempt.\r\n String email = mEmailView.getText().toString();\r\n String password = mPasswordView.getText().toString();\r\n\r\n boolean cancel = false;\r\n View focusView = null;\r\n\r\n //检测密码\r\n if (TextUtils.isEmpty(password)) {\r\n mPasswordView.setError(\"请输入密码\");\r\n focusView = mPasswordView;\r\n cancel = true;\r\n }\r\n\r\n // Check for a valid password, if the user entered one.\r\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\r\n mPasswordView.setError(getString(R.string.error_invalid_password));\r\n focusView = mPasswordView;\r\n cancel = true;\r\n }\r\n\r\n // Check for a valid email address.\r\n if (TextUtils.isEmpty(email)) {\r\n mEmailView.setError(getString(R.string.error_field_required));\r\n focusView = mEmailView;\r\n cancel = true;\r\n } else if (!isEmailValid(email)) {\r\n mEmailView.setError(getString(R.string.error_invalid_email));\r\n focusView = mEmailView;\r\n cancel = true;\r\n }\r\n\r\n SqlEngine sqlEngine = SqlEngine.getInstance(this);\r\n ArrayList<UserBean> list = sqlEngine.queryInfo();\r\n if (list.size() <= 0) {\r\n Toast.makeText(this, \"没有这个账户\", Toast.LENGTH_SHORT).show();\r\n return;\r\n }\r\n for (int i = 0; i < list.size(); i++) {\r\n UserBean bean = list.get(i);\r\n Log.i(TAG, \"attemptLogin: 执行到此\");\r\n if (!bean.getUser().equals(email)) {\r\n Toast.makeText(this, \"没有这个账户\", Toast.LENGTH_SHORT).show();\r\n return;\r\n }\r\n if (!bean.getPwd().equals(password)) {\r\n Toast.makeText(this, \"密码不正确\", Toast.LENGTH_SHORT).show();\r\n return;\r\n }\r\n }\r\n\r\n String ip = (String) SpUtils.getValues(MyApplication.getContext(), Https.IP_ADDRESS, \"\");\r\n String port = (String) SpUtils.getValues(MyApplication.getContext(), Https.PORT, \"\");\r\n if (TextUtils.isEmpty(ip) || TextUtils.isEmpty(port)) {\r\n Toast.makeText(this, \"请先设置网络!\", Toast.LENGTH_SHORT).show();\r\n return;\r\n }\r\n\r\n if (cancel) {\r\n // There was an error; don't attempt login and focus the first\r\n // form field with an error.\r\n focusView.requestFocus();\r\n } else {\r\n // 显示一个进度微调,并启动一个后台任务\r\n // 执行用户登录尝试。\r\n showProgress(true);\r\n //判断是否勾选\r\n isCheckBox(email, password);\r\n mAuthTask = new UserLoginTask(email, password);\r\n mAuthTask.execute((Void) null);\r\n startActivity(new Intent(this, MainActivity.class));\r\n\r\n }\r\n }", "public void tryLogin() {\n\t\tcontroller.setupClient(txtNickname.getText());\n\t\tString cardDesign = comboBoxCardDesign.getSelectionModel()\n\t\t\t\t.getSelectedItem();\n\t\tConfiguration.chooseCardDesign(cardDesign);\n\t\tConfiguration.chooseMeepleDesign(cardDesign);\n\t}", "private void attemptLogin() {\n\n if (!Utils.isNetworkAvailable(mBaseActivity)) {\n Utils.showNetworkAlertDialog(mBaseActivity);\n return;\n }\n if (signInTask != null) {\n return;\n }\n\n // Reset errors.\n binding.email.setError(null);\n binding.password.setError(null);\n\n // Store values at the time of the login attempt.\n String email = binding.email.getText().toString();\n String password = binding.password.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n binding.email.setError(getString(R.string.error_field_required));\n focusView = binding.email;\n cancel = true;\n } else if (TextUtils.isEmpty(password)) {\n binding.password.setError(getString(R.string.error_field_required));\n focusView = binding.password;\n cancel = true;\n } else if (!isEmailValid(email)) {\n binding.email.setError(getString(R.string.error_invalid_email));\n focusView = binding.email;\n cancel = true;\n } else if (!isPasswordValid(password)) {\n binding.password.setError(getString(R.string.error_invalid_password));\n focusView = binding.password;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // perform the user login attempt.\n signInTask = new AsyncTask(mBaseActivity);\n signInTask.execute(email, password);\n }\n }", "private void attemptLogin() {\r\n if (mAuthTask != null) {\r\n return;\r\n }\r\n\r\n // Reset errors.\r\n mIPView.setError(null);\r\n mPortView.setError(null);\r\n mUsernameView.setError(null);\r\n mPasswordView.setError(null);\r\n\r\n // Store values at the time of the login attempt.\r\n String ip = mIPView.getText().toString();\r\n int port = 0;\r\n try {\r\n port = Integer.parseInt(mPortView.getText().toString());\r\n }catch (Exception e){\r\n\r\n }\r\n String username = mUsernameView.getText().toString();\r\n String password = mPasswordView.getText().toString();\r\n\r\n boolean cancel = false;\r\n View focusView = null;\r\n\r\n // Check for a valid ip address.\r\n if (TextUtils.isEmpty(ip)) {\r\n mIPView.setError(getString(R.string.error_field_required));\r\n focusView = mIPView;\r\n cancel = true;\r\n } else if (!isIPValid(ip)) {\r\n mIPView.setError(getString(R.string.error_invalid_ip));\r\n focusView = mIPView;\r\n cancel = true;\r\n }\r\n\r\n // Check for a valid port.\r\n if (TextUtils.isEmpty(\"\"+port)) {\r\n mPortView.setError(getString(R.string.error_field_required));\r\n focusView = mPortView;\r\n cancel = true;\r\n }else if(port != (int)port){\r\n mPortView.setError(getString(R.string.error_invalid_port));\r\n focusView = mPortView;\r\n cancel = true;\r\n }\r\n\r\n // Check for a valid username.\r\n if (TextUtils.isEmpty(username)) {\r\n mUsernameView.setError(getString(R.string.error_field_required));\r\n focusView = mUsernameView;\r\n cancel = true;\r\n }\r\n\r\n // Check for a valid password, if the user entered one.\r\n if (TextUtils.isEmpty(password)) {\r\n mPasswordView.setError(getString(R.string.error_field_required));\r\n focusView = mPasswordView;\r\n cancel = true;\r\n }\r\n\r\n if (cancel) {\r\n // There was an error; don't attempt login and focus the first\r\n // form field with an error.\r\n focusView.requestFocus();\r\n } else {\r\n // Show a progress spinner, and kick off a background task to\r\n // perform the user login attempt.\r\n showProgress(true);\r\n mAuthTask = new UserLoginTask(ip, port, username, password);\r\n mAuthTask.execute((Void) null);\r\n }\r\n }", "private void attemptConnect() {\r\n if (mConnectTask != null) {\r\n return;\r\n }\r\n\r\n // Reset errors.\r\n mNameView.setError(null);\r\n mKeyView.setError(null);\r\n\r\n // Store values at the time of the login attempt.\r\n String name = mNameView.getText().toString();\r\n String key = mKeyView.getText().toString();\r\n\r\n boolean cancel = false;\r\n View focusView = null;\r\n\r\n // Check for a valid name, if the user entered one.\r\n if (TextUtils.isEmpty(name)) {\r\n mNameView.setError(getString(R.string.error_invalid_password));\r\n focusView = mNameView;\r\n cancel = true;\r\n }\r\n\r\n // Check for a valid email address.\r\n if (TextUtils.isEmpty(key)) {\r\n mKeyView.setError(getString(R.string.error_field_required));\r\n focusView = mKeyView;\r\n cancel = true;\r\n }\r\n\r\n if (cancel) {\r\n // There was an error; don't attempt login and focus the first\r\n // form field with an error.\r\n focusView.requestFocus();\r\n } else {\r\n // Show a progress spinner, and kick off a background task to\r\n // perform the user login attempt.\r\n mConnectTask = new ConnectTask(this, name, key);\r\n mConnectTask.execute((Void) null);\r\n }\r\n }", "private void attemptLogin() {\n final UserManager um = new UserManager();\n final String userName = userText.getText().toString();\n final String userPass = passwordText.getText().toString();\n final User attemptUser = um.login(userName, userPass);\n if (attemptUser != null) {\n SessionState.getInstance().startSession(attemptUser,\n getApplicationContext());\n resetFields();\n switch (attemptUser.getUserStatus()) {\n case USER:\n startBMS();\n break;\n case ADMIN:\n startAdmin();\n break;\n case BANNED:\n Toast.makeText(LoginActivity.this, \"Sorry, this user is \" +\n \"currently banned\", Toast\n .LENGTH_SHORT).show();\n break;\n case LOCKED:\n Toast.makeText(LoginActivity.this, \"Sorry, this user is \" +\n \"currently locked\", Toast\n .LENGTH_SHORT).show();\n break;\n\n }\n } else {\n if (!um.userExists(userName)) {\n userText.setError(\"Invalid Username\");\n } else {\n passwordText.setError(\"Invalid Password\");\n loginAttempts++;\n if (loginAttempts >= LOCK_ATTEMPTS) {\n final User attemptedUser = um.findUserById(userName);\n attemptedUser.setUserStatus(User.UserStatus.LOCKED);\n um.updateUser(attemptedUser);\n Toast.makeText(LoginActivity.this, \"Account locked: \" +\n \"too many attempts\", Toast\n .LENGTH_SHORT).show();\n }\n }\n }\n }", "public boolean login() throws Exception {\n\n\t\tif (LoginDataBase.getInstance().constainsUsername(username)) {\n\t\t\t// local memory has records of that\n\t\t\tif (hashedPassword == LoginDataBase.getInstance()\n\t\t\t\t\t.getHashedPassword(password)) {\n\t\t\t\tsessionID = UUID.randomUUID().toString();\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\tPassExceptionToUI.passToUI(new PasswordMismatchError());\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} else {\n\t\t\t// check with web server\n\t\t\tCertificateValidation.invalidate();\n\t\t\tURL url = new URL(\n\t\t\t\t\t\"https://mlite-demo.musoni.eu:8443/mifosng-provider/api/v1/authentication?username=\"\n\t\t\t\t\t\t\t+ username\n\t\t\t\t\t\t\t+ \"&password=\"\n\t\t\t\t\t\t\t+ password\n\t\t\t\t\t\t\t+ \"&tenantIdentifier=code4good\");\n\n\t\t\tHttpsURLConnection con = (HttpsURLConnection) url.openConnection();\n\t\t\tcon.setRequestMethod(\"POST\");\n\n\t\t\tif (con.getResponseCode() == HttpURLConnection.HTTP_OK) {\n\t\t\t\t// if the account is found in web server\n\t\t\t\tLoginDataBase.getInstance().updateDataBase(username, hashedPassword);\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\t// if web server does not have match\n\t\t\t\tPassExceptionToUI.passToUI(new UsernameMismatchError(username));\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t}", "public final void checkNetworkConnection() {\n if (InternetUtil.INSTANCE.isInternetOn()) {\n login();\n return;\n }\n String string = getResources().getString(C2723R.string.bdt_lbl_msg_prd_network_error);\n Intrinsics.checkExpressionValueIsNotNull(string, \"resources.getString(R.st…bl_msg_prd_network_error)\");\n Context_ExtensionKt.showToast(this, string);\n InternetUtil.INSTANCE.observe(this, new OldBDTLoginActivity$checkNetworkConnection$1(this));\n }", "@Override\n\tpublic void onLoginFailure(Exception arg0) {\n\t\t\n\t}", "public void attemptLogin()\n {\n if ( mAuthTask != null )\n {\n return;\n }\n\n // Reset errors.\n mIPView_.setError( null );\n mPortView_.setError( null );\n\n // Store values at the time of the login attempt.\n mIP_ = mIPView_.getText().toString();\n mPort_ = mPortView_.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password.\n if ( TextUtils.isEmpty( mPort_ ) )\n {\n mPortView_\n .setError( getString( R.string.error_field_required ) );\n focusView = mPortView_;\n cancel = true;\n }\n // The port should be four digits long\n else if ( mPort_.length() != 4 )\n {\n mPortView_\n .setError( getString( R.string.error_invalid_server ) );\n focusView = mPortView_;\n cancel = true;\n }\n\n // Check for a valid email address.\n if ( TextUtils.isEmpty( mIP_ ) )\n {\n mIPView_.setError( getString( R.string.error_field_required ) );\n focusView = mIPView_;\n cancel = true;\n }\n\n if ( cancel )\n {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n }\n else\n {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n mLoginStatusMessageView\n .setText( R.string.login_progress_signing_in );\n showProgress( true );\n\n // Start the asynchronous thread to connect and post to the server\n mAuthTask = new UserLoginTask();\n mAuthTask.execute( (Void) null );\n }\n }", "public void login() {\n if (!areFull()) {\n return;\n }\n\n // Get the user login info\n loginInfo = getDBQuery(nameField.getText());\n if (loginInfo.equals(\"\")) {\n return;\n }\n\n // Get password and check if the entered password is true\n infoArray = loginInfo.split(\" \");\n String password = infoArray[1];\n if (!passField.getText().equals(password)) {\n errorLabel.setText(\"Wrong Password!\");\n return;\n }\n\n continueToNextPage();\n }", "private void attemptLogin() {\r\n if (mAuthTask != null) {\r\n return;\r\n }\r\n\r\n\r\n // Store values at the time of the login attempt.\r\n String email = mEmailView.getText().toString();\r\n String password = mPasswordView.getText().toString();\r\n\r\n boolean cancel = false;\r\n View focusView = null;\r\n\r\n // Check for a valid password, if the user entered one.\r\n\r\n // Check for a valid email address.\r\n if (TextUtils.isEmpty(email)) {\r\n mEmailView.setError(getString(R.string.error_field_required));\r\n focusView = mEmailView;\r\n cancel = true;\r\n } else if (!isEmailValid(email)) {\r\n mEmailView.setError(getString(R.string.error_invalid_email));\r\n focusView = mEmailView;\r\n cancel = true;\r\n }\r\n mAuthTask = new UserLoginTask(email, password);\r\n try {\r\n Boolean logStatus = mAuthTask.execute(\"http://shubhamgoswami.me/login\").get();\r\n if(logStatus){\r\n SQLiteDatabase db = openOrCreateDatabase(\"adharShila\",MODE_PRIVATE, null);\r\n db.execSQL(\"UPDATE LOGSTATUS SET USERNAME=\\\"\"+mEmailView.getText()+\"\\\", STATUS=1 WHERE ENTRY=1\");\r\n db.close();\r\n Intent i = new Intent(getApplicationContext(), MainActivity.class);\r\n i.putExtra(\"username\", mEmailView.getText());\r\n i.putExtra(\"password\", password);\r\n startActivity(i);\r\n }\r\n } catch (InterruptedException e) {\r\n e.printStackTrace();\r\n } catch (ExecutionException e) {\r\n e.printStackTrace();\r\n }\r\n }", "private void attemptLogin() {\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_email_is_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!mPresenter.isEmailValid(email)) {\n //mEmailView.setError(getString(R.string.error_invalid_email));\n customConfirmDialog(getString(R.string.message_incorrect_email), getString(R.string.message_require_format_email));\n focusView = mEmailView;\n cancel = true;\n }else if (!TextUtils.isEmpty(password) && !mPresenter.isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n //customConfirmDialog(getString(R.string.message_incorrect_password), getString(R.string.message_please_insert_valid_password));\n focusView = mPasswordView;\n cancel = true;\n }else if(TextUtils.isEmpty(password))\n {\n customConfirmDialog(getString(R.string.message_incorrect_password), getString(R.string.message_please_insert_valid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n if (isNetworkOffline()) {\n return;\n }\n showLoadingDialog(getString(R.string.message_please_wait));\n mPresenter.doLoginByEmail(email, password);\n }\n }", "private void attemptLogin() {\n String email = text_email.getText().toString();\n String password = text_password.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (TextUtils.isEmpty(password)) {\n text_password.setError(getString(R.string.error_field_required));\n focusView = text_password;\n cancel = true;\n }\n if (!isPasswordValid(password)) {\n text_password.setError(getString(R.string.error_invalid_password));\n focusView = text_password;\n cancel = true;\n }\n\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n text_email.setError(getString(R.string.error_field_required));\n focusView = text_email;\n cancel = true;\n } else if (!isEmailValid(email)) {\n text_email.setError(getString(R.string.error_invalid_email));\n focusView = text_email;\n cancel = true;\n }\n\n if (cancel) {\n focusView.requestFocus();\n } else {\n //showProgress(true);\n login(USER_NORMAL);\n }\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mUserNameView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String userName = mUserNameView.getText().toString();\n String password = mPasswordView.getText().toString();\n UserDetail user = new UserDetail(userName, password);\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n user = null;\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(userName)) {\n mUserNameView.setError(getString(R.string.error_field_required));\n focusView = mUserNameView;\n\n\n }\n else if(user!=null && isNetworkConnected()) {\n getPermissiontoAccessInternet();\n mAuthTask = new UserLoginTask(user);\n mAuthTask.execute((Void) null);\n\n }\n// } else if (!isUserNameValid(userName)) {\n// mUserNameView.setError(getString(R.string.error_invalid_email));\n// focusView = mUserNameView;\n// cancel = true;\n// }\n\n// if (cancel) {\n// // There was an error; don't attempt login and focus the first\n// // form field with an error.\n// focusView.requestFocus();\n// } else {\n// // Show a progress spinner, and kick off a background task to\n// // perform the user login attempt.\n//\n// }\n }", "@Override\r\n\tpublic boolean checkLogin(int accNo) throws EwalletException {\n\t\ttemp =dao.loginuser(accNo);\r\n\t\tif(temp!=null)\r\n\t\treturn true;\r\n\t\telse \r\n\t\t\treturn false;\r\n\t}", "private void loginAccount() {\n\t\taccountManager.loginAccount(etEmail.getText().toString(), etPassword.getText().toString());\n\n\t}", "private void attemptUsernamePasswordLogin()\n {\n if (mAuthTask != null)\n {\n return;\n }\n\n if(mLogInButton.getText().equals(getResources().getString(R.string.logout)))\n {\n mAuthTask = new RestCallerPostLoginTask(this,mStoredToken,MagazzinoService.getAuthenticationHeader(this),true);\n mAuthTask.execute(MagazzinoService.getLogoutService(this));\n return;\n }\n // Reset errors.\n mUsernameView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mUsernameView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password))\n {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email))\n {\n mUsernameView.setError(getString(R.string.error_field_required));\n focusView = mUsernameView;\n cancel = true;\n }\n else if (!isUsernameOrEmailValid(email))\n {\n mUsernameView.setError(getString(R.string.error_invalid_email));\n focusView = mUsernameView;\n cancel = true;\n }\n\n if (cancel)\n {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n return;\n }\n\n mAuthTask = new RestCallerPostLoginTask(this,email, password);\n mAuthTask.execute(MagazzinoService.getLoginService(this));\n\n }", "private void attemptLogin() {\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !Utility_Helper.isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!Utility_Helper.isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n focusView.requestFocus();\n } else {\n // if user flow not cancelled execute Simulate_Login_Task asyncronous task\n // to simulate login\n Simulate_Login_Task task = new Simulate_Login_Task(this, dummyList, email, password);\n task.setOnResultListener(asynResult);\n task.execute();\n }\n }", "private void attemptLogin() {\n\n // Reset errors.\n mEmailField.setError(null);\n mPasswordField.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailField.getText().toString();\n String password = mPasswordField.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordField.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordField;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailField.setError(getString(R.string.error_field_required));\n focusView = mEmailField;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailField.setError(getString(R.string.error_invalid_email));\n focusView = mEmailField;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n signIn(email, password);\n }\n }", "private void attemptLogin() {\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel)\n {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n }\n else\n {\n\n // checks to see if the login was successful or not\n try\n {\n // server connection class will handle initiating the connection to the remote server\n ServerConnection loginConn = new ServerConnection(\"http://cop4331groupeight.com/androidlogin.php\");\n String resultString = loginConn.initialLogin(email, password);\n\n JSONArray resultJSON = new JSONArray(resultString);\n JSONObject jsonObj = resultJSON.getJSONObject(0);\n\n int userID = jsonObj.getInt(\"userID\");\n String userEmail = jsonObj.getString(\"email\");\n String pass = jsonObj.getString(\"pass\");\n String error = jsonObj.getString(\"error\");\n String profileLocation = jsonObj.getString(\"profileLocation\");\n String firstName = jsonObj.getString(\"firstName\");\n String lastName = jsonObj.getString(\"lastName\");\n boolean inChat = jsonObj.getBoolean(\"inChat\");\n String preference = jsonObj.getString(\"preference\");\n String about = jsonObj.getString(\"about\");\n\n // login attempt was successful and we should proceed to the next activity\n if(error.equals(\"None\"))\n {\n\n session.createLoginSession(userID, userEmail, pass, profileLocation, firstName, lastName, inChat, true, preference, about);\n\n // Staring MainActivity\n Intent i = new Intent(getApplicationContext(), MatchActivity.class);\n startActivity(i);\n finish();\n }\n else\n {\n Log.v(\"Error\", \"Unexpected error occurred when parsing data.\");\n }\n }\n // failed login attempt\n catch(JSONException | NullPointerException e)\n {\n // if the user isn't currently connected to the internet, this exception will be thrown\n if (e instanceof NullPointerException)\n {\n Toast.makeText(LoginActivity.this, \"Error Connecting to Internet. Check your connection settings.\", Toast.LENGTH_SHORT).show();\n }\n // otherwise, the user's credentials were invalid and they need to try again\n else\n {\n Toast.makeText(LoginActivity.this, \"Login failed\", Toast.LENGTH_SHORT).show();\n mPasswordView.setError(getString(R.string.error_incorrect_password));\n mPasswordView.requestFocus();\n }\n\n }\n }\n }", "private void attemptLogin(){\n //reset error\n et_email.setError(null);\n et_password.setError(null);\n\n // Store values at the time of the login attempt.\n final String email = et_email.getText().toString();\n final String password = et_password.getText().toString();\n final boolean finish = false;\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n et_password.setError(getString(R.string.error_invalid_password));\n focusView = et_password;\n cancel = true;\n }else if (!isEmailValid(email)) {\n et_email.setError(getString(R.string.error_invalid_email));\n focusView = et_email;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n JSONObject json = new JSONObject();\n\n try {\n json.put(\"ctrl\", \"login\");\n json.put(\"email\", email);\n json.put(\"password\", password);\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n String requete = json.toString();\n Log.v(\"req\", requete);\n HttpQuery login = new HttpQuery(requete, this);\n login.execute();\n }\n\n\n }", "private void countDownToLogin() {\n\n new Handler().postDelayed(new Runnable() {\n @Override\n public void run() {\n if (isOnline()) {\n if (sharedPreferences.getBoolean(Constant.AUTO_LOGIN, false)) {\n String userEmail = sharedPreferences.getString(Constant.USER_EMAIL, \"\");\n String userPw = sharedPreferences.getString(Constant.USER_PW, \"\");\n if (!userEmail.equals(\"\") && !userPw.equals(\"\")) {\n new LoginPresenter(SplashActivity.this).login(userEmail, userPw);\n } else {\n onLoginFail(null);\n }\n } else {\n onLoginFail(null);\n }\n } else {\n// startActivity(new Intent(context, DisconnectActivity.class));\n// finish();\n //Go to DisconnectActivity\n }\n\n }\n }, SPLASH_TIME);\n }", "public void attemptLogin() {\n\t\t// Reset errors.\n\t\temailTextView.setError(null);\n\t\tpasswordTextView.setError(null);\n\n\t\t// Store values at the time of the login attempt.\n\t\temail = emailTextView.getText().toString();\n\t\tpassword = passwordTextView.getText().toString();\n\n\t\tboolean cancel = false;\n\n\t\t// Check for a valid email address.\n\t\tcancel = Validate.PresenceOf(emailTextView);\n\t\tif (!cancel) cancel = Validate.PatternOf(emailTextView, Patterns.EMAIL_ADDRESS);\n\t\t\n\t\t// check valid password\n\t\tif (!cancel) cancel = Validate.PresenceOf(passwordTextView);\t\t\n\n\t\tif (!cancel) {\t\n\t\t\tKeyboard.hide(getActivity());\n\t\t\tlogin();\n\t\t}\n\t}", "private void attemptLogin() {\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !validateUtil.isPasswordValid(password)) {\n mPasswordView.setError(getString(net.iquesoft.android.seedprojectchat.R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(net.iquesoft.android.seedprojectchat.R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!validateUtil.isEmailValid(email)) {\n mEmailView.setError(getString(net.iquesoft.android.seedprojectchat.R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n presenter.onLoginButtonClicked(mEmailView.getText().toString(), mPasswordView.getText().toString(), rememberPassword.isChecked(), (LoginActivity) getActivity(), updateCurentUser);\n }\n }", "public void login() throws AccountException {\n System.out.println(\"----------------- Login -----------------\");\n System.out.print(\"Account: \");\n String acc = this.checkEmpty(\"Account\"); // Call method to check input of acc\n System.out.print(\"Password: \");\n String pass = this.checkEmpty(\"Password\"); // Call method to check input of pass\n\n // Check status of login\n boolean isLogin = this.login(acc, pass);\n\n if (isLogin) {\n // Show change password if user login success\n System.out.println(\"------------ Wellcome -----------\");\n System.out.print(\"Hi \" + acc + \", do you want change password now? Y/N: \");\n boolean isContinune = true;\n\n while (isContinune) {\n // Get y or n from user\n String op = scanner.nextLine();\n switch (op.toUpperCase()) {\n case \"Y\": // If y to check password\n this.changPass(acc); // Call method to change password\n isContinune = false; // End loop\n break;\n case \"N\": // Don't change password\n System.out.println(\"Don't change!\");\n isContinune = false; // End loop\n break;\n default: // Print error if not choice y or n\n System.out.println(\"You must choose 'Y' or 'N'!\");\n System.out.print(\"Try again: \"); // Retype\n break;\n }\n }\n } else {\n // Print out error if account or password incorrect\n System.out.println(\"Your account or password incorrect!\");\n }\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n mUsrView.setError(null);\n mPasswordView.setError(null);\n\n String usr = mUsrView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n Tuple<String, String> creds = /*getCredentials()*/ SERVER_CREDENTIALS;\n\n boolean cancel = false;\n View focusView = null;\n\n if (!TextUtils.isEmpty(password)) {\n if (!mPasswordView.getText().toString().equals(creds.y)) {\n if (Util.D) Log.i(\"attemptLogin\", \"pwd was \" + mPasswordView.getText().toString());\n mPasswordView.setError(getString(R.string.error_incorrect_creds));\n cancel = true;\n }\n focusView = mPasswordView;\n }\n\n if (TextUtils.isEmpty(usr)) {\n mUsrView.setError(getString(R.string.error_field_required));\n focusView = mUsrView;\n cancel = true;\n } else if (!usr.equals(creds.x)) {\n mUsrView.setError(getString(R.string.error_incorrect_creds));\n focusView = mUsrView;\n cancel = true;\n }\n\n if (cancel) {\n focusView.requestFocus();\n } else {\n if (prefs != null)\n prefs.edit().putBoolean(getString(R.string.settingAuthorized), true);\n showProgress(true);\n mAuthTask = new UserLoginTask(usr, password);\n mAuthTask.execute((Void) null);\n }\n }", "@Override\n\tpublic void login() {\n\t\tAccountManager accountManager = AccountManager.get(context);\n\t\tAccount[] accounts = accountManager.getAccountsByType(GOOGLE_ACCOUNT_TYPE);\n\t\tif(accounts.length < 1) throw new NotAccountException(\"This device not has account yet\");\n\t\tfinal String userName = accounts[0].name;\n\t\tfinal String accountType = accounts[0].type;\n\t\tBundle options = new Bundle();\n\t\tif(comService.isOffLine()){\n\t\t\tsetCurrentUser(new User(userName, userName, accountType));\n\t\t\treturn;\n\t\t}\n\t\taccountManager.getAuthToken(accounts[0], AUTH_TOKEN_TYPE, options, (Activity)context, \n\t\t\t\tnew AccountManagerCallback<Bundle>() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run(AccountManagerFuture<Bundle> future) {\n\t\t\t\t\t\tString token = \"\";\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tBundle result = future.getResult();\n\t\t\t\t\t\t\ttoken = result.getString(AccountManager.KEY_AUTHTOKEN);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tsetCurrentUser(new User(userName, userName, accountType, token));\n\t\t\t\t\t\t} catch (OperationCanceledException e) {\n\t\t\t\t\t\t\tandroid.os.Process.killProcess(android.os.Process.myPid());\n\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\tandroid.os.Process.killProcess(android.os.Process.myPid());\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tLog.d(\"Login\", \"Token: \" + token);\n\t\t\t\t\t}\n\t\t\t\t}, new Handler(new Handler.Callback() {\n\t\t\t\t\t\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic boolean handleMessage(Message msg) {\n\t\t\t\t\t\tLog.d(\"Login\", msg.toString());\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}));\n\t}", "public LoginResult login() {\n\t\tif (!auth.isLoggedIn())\n\t\t\treturn LoginResult.MAIN_LOGOUT;\n\n\t\ttry {\n\t\t\tHttpURLConnection conn = Utility.getGetConn(FUND_INDEX);\n\t\t\tconn.setInstanceFollowRedirects(false);\n\t\t\tArrayList<Cookie> tmpCookies = Cookie.getCookies(conn);\n\t\t\taws = Cookie.getCookie(tmpCookies, \"AWSELB\");\n\t\t\tphp = Cookie.getCookie(tmpCookies, \"PHPSESSID\");\n\t\t\t\n\t\t\tconn = Utility.getGetConn(FUND_LOGIN);\n\t\t\tconn.setInstanceFollowRedirects(false);\n\t\t\tconn.setRequestProperty(\"Cookie\", Cookie.chain(aws, php));\n\t\t\tString location = Utility.getLocation(conn);\n\t\t\t\n\t\t\t// https://webapps.itsd.ttu.edu/shim/getfunds/index.php/login?service=https%3A%2F%2Fget.cbord.com%2Fraidercard%2Ffull%2Flogin.php\n\t\t\tconn = Utility.getGetConn(location);\n\t\t\tconn.setInstanceFollowRedirects(false);\n\t\t\t// TODO: future speed optimization\n\t\t\t//if (auth.getPHPCookie() == null) {\n\t\t\t\tconn.setRequestProperty(\"Cookie\", Cookie.chain(auth.getELCCookie()));\n\t\t\t\tCookie phpCookie = Cookie.getCookie(Cookie.getCookies(conn), \"PHPSESSID\");\n\t\t\t\t// saves time for Blackboard and retrieveProfileImage().\n\t\t\t\tauth.setPHPCookie(phpCookie);\n\t\t\t\t\n\t\t\t\tconn = Utility.getGetConn(Utility.getLocation(conn));\n\t\t\t\tconn.setRequestProperty(\"Cookie\", Cookie.chain(auth.getERaiderCookies()));\n\t\t\t\tconn.setInstanceFollowRedirects(false);\n\t\t\t\t\n\t\t\t\tlocation = Utility.getLocation(conn);\n\t\t\t\tif (location.startsWith(\"signin.aspx\"))\n\t\t\t\t\tlocation = \"https://eraider.ttu.edu/\" + location;\n\t\t\t\tconn = Utility.getGetConn(location);\n\t\t\t\tconn.setInstanceFollowRedirects(false);\n\t\t\t\tconn.setRequestProperty(\"Cookie\", Cookie.chain(auth.getERaiderCookies()));\n\t\t\t\t// might need to set ESI and ELC here. If other areas are bugged, this is why.\n\t\t\t/*} else {\n\t\t\t\tconn.setRequestProperty(\"Cookie\", Cookie.chain(auth.getELCCookie(), auth.getPHPCookie()));\n\t\t\t\t/// TODO This is in retirevProfileImage, maybe Mobile Login, and Blackboard!!!\n\t\t\t\tthrow new NullPointerException(\"Needs implementation!\");\n\t\t\t}*/\n\t\t\t\n\t\t\t// https://webapps.itsd.ttu.edu/shim/getfunds/index.php?elu=XXXXXXXXXX&elk=XXXXXXXXXXXXXXXX\n\t\t\tconn = Utility.getGetConn(Utility.getLocation(conn));\n\t\t\tconn.setInstanceFollowRedirects(false);\n\t\t\tconn.setRequestProperty(\"Cookie\", Cookie.chain(auth.getPHPCookie(), auth.getELCCookie()));\n\t\t\t\n\t\t\t// https://webapps.itsd.ttu.edu/shim/getfunds/index.php/login?service=https%3A%2F%2Fget.cbord.com%2Fraidercard%2Ffull%2Flogin.php\n\t\t\tconn = Utility.getGetConn(Utility.getLocation(conn));\n\t\t\tconn.setInstanceFollowRedirects(false);\n\t\t\tconn.setRequestProperty(\"Cookie\", Cookie.chain(auth.getPHPCookie(), auth.getELCCookie()));\n\t\t\t\n\t\t\t// https://get.cbord.com/raidercard/full/login.php?ticket=ST-...\n\t\t\tconn = Utility.getGetConn(Utility.getLocation(conn));\n\t\t\tconn.setInstanceFollowRedirects(false);\n\t\t\tconn.setRequestProperty(\"Cookie\", Cookie.chain(aws, php));\n\t\t\t\n\t\t\t// https://get.cbord.com/raidercard/full/funds_home.php\n\t\t\tlocation = Utility.getLocation(conn);\n\t\t\tif (location.startsWith(\"index.\")) {\n\t\t\t\tlocation = \"https://get.cbord.com/raidercard/full/\" + location;\n\t\t\t}\n\t\t\tconn = Utility.getGetConn(location);\n\t\t\tconn.setInstanceFollowRedirects(false);\n\t\t\tconn.setRequestProperty(\"Cookie\", Cookie.chain(aws, php));\n\t\t\tUtility.readByte(conn);\n\t\t} catch (IOException e) {\n\t\t\tTTUAuth.logError(e, \"raiderfundlogin\", ErrorType.Fatal);\n\t\t\treturn LoginResult.OTHER;\n\t\t} catch (Throwable t) {\n\t\t\tTTUAuth.logError(t, \"raiderfundlogingeneral\", ErrorType.APIChange);\n\t\t\treturn LoginResult.OTHER;\n\t\t}\n\n\t\tloggedIn = true;\n\n\t\treturn LoginResult.SUCCESS;\n\t}", "protected synchronized void login() {\n\t\tauthenticate();\n\t}", "private void attemptLogin() {\n\n String username = mEmailView.getText().toString().trim();\n String idNumber = mIdNumber.getText().toString().trim();\n String password = mPasswordView.getText().toString().trim();\n\n if (TextUtils.isEmpty(username)) {\n// usernameView.setError(errorMessageUsernameRequired);\n// errorView = usernameView;\n }\n\n if (TextUtils.isEmpty(password)) {\n// password.setError(errorMessagePasswordRequired);\n// if (errorView == null) {\n// errorView = passwordView;\n// }\n }\n\n final User user = new User();\n ((DealerManager)getApplication()).setUser(user);\n navigateTo(R.id.nav_home);\n }", "@Override\r\n\tpublic boolean checkLogin() {\n\t\treturn false;\r\n\t}", "@Override\r\n\tpublic boolean checkLogin() {\n\t\treturn false;\r\n\t}", "public void failedLogin(){\n\t\tstate = ATM_State.LOGINID;\n\t\tgui.setDisplay(\"ID does not exist. \\n\"\n\t\t\t\t+ \"Enter your account ID: \\n\");\n\t}", "public int checkLogin(Account formAccount) {\n Account account = getAccountByAccountNo(formAccount.getAccountNo());\n //return 1 if account not found\n if (account == null) {\n return 1;\n } else if (account.getLocked() == 1) {\n return 3; // return 3 if account is locked\n } else if (account.getPin() != formAccount.getPin()) {\n if (account.getIncorrectAttempts() < 2) {\n account.setIncorrectAttempts(account.getIncorrectAttempts() + 1);\n saveOrUpdate(account);\n return 2; //return 2 if incorrect pin but account is not locked yet\n } else {\n account.setIncorrectAttempts(account.getIncorrectAttempts() + 1);\n account.setLocked(1);\n saveOrUpdate(account);\n return 3; //lock account on 3rd incorrect attempt and return 3\n }\n\n } else {\n return 0; // return 0 if login successful\n }\n\n }", "private void checkLogin(String email, String password) {\n final Context ctx = getApplicationContext();\n\n processor.checkLoginCredentials(email, password, ctx, new FetchDataListener() {\n @Override\n public void onFetchComplete(JSONObject data) {\n Boolean resp = (Boolean) data.get(\"response\");\n if (resp) {\n // go to home page\n Intent goToHome = new Intent(ctx, MainActivity.class);\n goToHome.putExtra(\"user\", etEmail.getText().toString());\n goToHome.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n startActivity(goToHome);\n\n // finish prevents people from going back to login without logging out\n finish();\n } else {\n displayLoginError(\"Couldn't log in\");\n etEmail.setText(\"\");\n etPassword.setText(\"\");\n }\n }\n\n @Override\n public void onFetchFailure(String msg) {\n Log.d(TAG, msg);\n displayLoginError(\"Error connecting to server\");\n }\n\n @Override\n public void onFetchStart() {\n // do nothing\n }\n });\n\n }", "public void failedPin(){\n\t\tstate = ATM_State.LOGINPIN;\n\t\tgui.setDisplay(\"Login failed. \\n\"\n\t\t\t\t+ \"Enter your account PIN: \\n\");\n\t}", "private void attemptLogin() {\n if (authTask != null) {\n return;\n }\n\n // Reset errors.\n usernameView.setError(null);\n passwordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = usernameView.getText().toString();\n String password = passwordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n passwordView.setError(getString(R.string.error_invalid_password));\n focusView = passwordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n usernameView.setError(getString(R.string.error_field_required));\n focusView = usernameView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n usernameView.setError(getString(R.string.error_invalid_email));\n focusView = usernameView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n\n //set loginID for session\n session.setID(email);\n\n startDashboard();\n /*authTask = new UserLoginTask(email, password);\n authTask.execute((Void) null);*/\n }\n }", "public boolean tryLogin(auctionsystemInterface ai) throws RemoteException\n {\n//\n Scanner sc = new Scanner(System.in);\n System.out.println(\"Please enter username: \");\n curBuyerName = sc.next();\n\n System.out.println(\"Please enter password: \");\n curBuyerPas = sc.next();\n\n try {\n boolean succesful = ai.login(curBuyerName,curBuyerPas);\n\n if(succesful)\n {\n System.out.println(\"You have successfully logged in \" + curBuyerName);\n return true;\n }\n else\n {\n System.out.println(\"Login failed.\");\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return false;\n }", "public void attemptLogin() {\n\n\t\t// Reset errors.\n\t\tmUserView.setError(null);\n\t\tmPasswordView.setError(null);\n\n\t\t// Save values.\n\t\tmUser = mUserView.getText().toString();\n\t\tmPassword = mPasswordView.getText().toString();\n\n\t\tboolean cancel = false;\n\t\tView focusView = null;\n\n\t\t// Check for a valid password.\n\t\tif (TextUtils.isEmpty(mPassword)) {\n\t\t\tmPasswordView.setError(getString(R.string.error_field_required));\n\t\t\tfocusView = mPasswordView;\n\t\t\tcancel = true;\n\t\t} else if (mPassword.length() < 4) {\n\t\t\tmPasswordView.setError(getString(R.string.error_invalid_password));\n\t\t\tfocusView = mPasswordView;\n\t\t\tcancel = true;\n\t\t}\n\n\t\t// Check for a valid user.\n\t\tif (TextUtils.isEmpty(mUser)) {\n\t\t\tmUserView.setError(getString(R.string.error_field_required));\n\t\t\tfocusView = mUserView;\n\t\t\tcancel = true;\n\t\t} else if (mUser.length() < 4) {\n\t\t\tmUserView.setError(getString(R.string.error_invalid_user));\n\t\t\tfocusView = mUserView;\n\t\t\tcancel = true;\n\t\t}\n\t\t\t\t\n\t\tif (cancel) {\n\t\t\t// There is an error, so registration does not success and focus on the error.\n\t\t\tfocusView.requestFocus();\n\t\t} else {\n\t\t\t// Send information to server.\n\t\t\tmLoginStatusMessageView.setText(R.string.login_progress_registering);\n\t\t\tshowProgress(true);\n\t\t\tsendInfoToServer();\n\t\t}\n\t}", "@Override\n\tpublic void onLoginFailure(Exception e) {\n\t\te.printStackTrace();\n\t}", "private void attemptLogin() {\n // Reset errors.\n edtID.setError(null);\n edtPassword.setError(null);\n\n // Store values at the time of the login attempt.\n String userId = edtID.getText().toString();\n String password = edtPassword.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (TextUtils.isEmpty(password)) {\n edtPassword.setError(\"Password is empty\");\n focusView = edtPassword;\n cancel = true;\n } else if(!isPasswordValid(password)) {\n edtPassword.setError(getString(R.string.error_invalid_password));\n focusView = edtPassword;\n cancel = true;\n }\n\n // Check for a valid user id.\n if (TextUtils.isEmpty(userId)) {\n edtID.setError(getString(R.string.error_field_required));\n focusView = edtID;\n cancel = true;\n } else if (!isUserIdValid(userId)) {\n edtID.setError(getString(R.string.error_invalid_id));\n focusView = edtID;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n\n JSONObject json = new JSONObject();\n try {\n json.put(\"user_id\", userId);\n json.put(\"password\", password);\n } catch (Exception e) {\n e.printStackTrace();\n }\n reqUserID = userId;\n reqUserPW = password;\n loginConnector.request(json);\n }\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n login(email, password);\n\n }\n }", "@Override\n\t\t\t\t\t\t\tpublic void onError(Exception e) {\n\t\t\t\t\t\t\t\tToast.makeText(mActivity, \"登录失败\",\n\t\t\t\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t\t\t\t\t\tPlatformJinliLoginAndPay.getInstance().isLogined = false;\n\t\t\t\t\t\t\t}", "private void login(){\n\t\tprogress.toggleProgress(true, R.string.pagetext_signing_in);\n\t\tParseUser.logInInBackground(email.split(\"@\")[0], password, new LogInCallback() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void done(ParseUser user, ParseException e) {\n\t\t\t\tif (e == null) {\n\t\t\t\t\tprogress.toggleProgress(false);\n\t\t\t\t\tIntent intent = new Intent(context, MainActivity.class);\n\t\t\t\t\tstartActivity(intent);\n\t\t\t\t} else {\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t// else, incorrect password\n\t\t\t\t\tToast.makeText(context, \n\t\t\t\t\t\t\t\t getString(R.string.parse_login_fail, email), \n\t\t\t\t\t\t\t\t Toast.LENGTH_LONG).show();\t\t\t\t\t\n\t\t\t\t\tLog.e(\"Error Logging into Parse\", \"Details: \" + e.getMessage());\n\t\t\t\t}\n\t\t\t}\t\t\t\t\t\t\t\n\t\t});\n\t}", "public void attemptLogin() {\n if (mLoginTask != null) {\n return;\n }\n\n // Reset errors.\n mUserNameView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String mUserName = mUserNameView.getText().toString();\n String mPassword = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password.\n if (TextUtils.isEmpty(mPassword)) {\n mPasswordView.setError(getString(R.string.error_password_required));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(mUserName)) {\n mUserNameView.setError(getString(R.string.error_username_required));\n focusView = mUserNameView;\n cancel = true;\n }\n\n if (cancel) {\n // 出错时,让相应的控件获取焦点\n focusView.requestFocus();\n } else {\n // 进行登录\n mLoginTask = new LoginTask(LoginActivity.this, mUserName, mPassword, new LoginTask.OnLoginFinished() {\n @Override\n public void onFinished(String result) {\n try {\n JSONObject userJsonObject = new JSONObject(result);\n\n Intent intent = new Intent(LoginActivity.this, MainActivity.class);\n intent.putExtra(\"UserId\", userJsonObject.getString(\"UserId\"));\n intent.putExtra(\"Key\", userJsonObject.getString(\"Key\"));\n intent.putExtra(\"UserName\", userJsonObject.getString(\"UserName\"));\n intent.putExtra(\"Orid\", userJsonObject.getString(\"Orid\"));\n if(userJsonObject.has(\"PlateType\"))\n intent.putExtra(\"PlateType\", userJsonObject.getString(\"PlateType\"));\n mLoginTask = null;\n\n rememberUserName(((CheckBox)findViewById(R.id.rememberUserName)).isChecked());\n\n startActivity(intent);\n finish();\n } catch (JSONException e) {\n Log.d(\"DFCarChecker\", \"Json解析错误:\" + e.getMessage());\n }\n }\n\n @Override\n public void onFailed(String error) {\n mLoginTask = null;\n // 登录失败,获取错误信息并显示\n Log.d(AppCommon.TAG, \"登录时出现错误:\" + error);\n\n mPasswordView.setError(error);\n mPasswordView.requestFocus();\n }\n });\n mLoginTask.execute();\n }\n }", "public void d()\n {\n String var1 = this.server.getServerConfigurationManager().attemptLogin(this.networkManager.getSocketAddress(), this.h);\n\n if (var1 != null)\n {\n this.disconnect(var1);\n }\n else\n {\n EntityPlayer var2 = this.server.getServerConfigurationManager().processLogin(this.h);\n\n if (var2 != null)\n {\n this.server.getServerConfigurationManager().a(this.networkManager, var2);\n }\n }\n\n this.c = true;\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (TextUtils.isEmpty(password)) {\n mPasswordView.setError(getString(R.string.error_field_required));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email.replace(\" \", \"%20\"), password.replace(\" \", \"%20\"));\n mAuthTask.execute((Void) null);\n }\n }", "@Override\r\n\t\t\t\t\tpublic void onFailed(String failReason) {\n\t\t\t\t\t\tTypeSDKLogger.d(\"LOGIN_FAIL\");\r\n\t\t\t\t\t\tTypeSDKLogger.d(failReason);\r\n//\t\t\t\t\t\tyoukuLogin();\r\n\t\t\t\t\t}", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mPasswordView.setError(null);\n usernameView.setError(null);\n\n // Store values at the time of the login attempt.\n String username = usernameView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n/*\nTODO: Move this to register area to see if email is a valid email address\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n */\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n //showProgress(true);\n HashMap<String, String> map = new HashMap<>();\n map.put(\"username\", username);\n map.put(\"pass\", password);\n mAuthTask = new httpUrlConn(map, \"http://hive.sewanee.edu/evansdb0/android1/scripts/hotPartyLogin.php\");\n\n mAuthTask.execute();\n\n try {\n if(mAuthTask.get().contains(\"true\")) {\n String r = mAuthTask.get().replace(\"true // \",\"\");\n Log.i(\"response\", r.toString());\n Toast.makeText(getApplicationContext(),r,Toast.LENGTH_SHORT).show();\n Intent i = new Intent(this, chooseEvent.class);\n i.putExtra(\"username\", username);\n startActivity(i);\n\n }\n else {\n String[] resp = response.split(\",\");\n // for(String i: resp)\n //Toast.makeText(getApplicationContext(),i,Toast.LENGTH_SHORT).show();\n }\n } catch (InterruptedException e) {\n e.printStackTrace();\n } catch (ExecutionException e) {\n e.printStackTrace();\n }\n\n if (mAuthTask == null || mAuthTask.getStatus().equals(AsyncTask.Status.FINISHED)) {\n mAuthTask = null;\n }\n }\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n// showProgress(true);\n mEmail = email;\n mPassword = password;\n mAuthTask = new UserLoginTask(this);\n mAuthTask.execute((Void) null);\n }\n }", "@Test\r\n\tpublic void testLogin5() {\r\n\t\tassertFalse(t1.login(\"userrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr\", \"passssssssssssssssssssssssssssssssssssssssss\"));\r\n\t}", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n }\n\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mNameView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String name = mNameView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid user name.\n if (TextUtils.isEmpty(name)) {\n mNameView.setError(getString(R.string.error_field_required));\n focusView = mNameView;\n cancel = true;\n } else if (!isNameValid(name)) {\n mNameView.setError(getString(R.string.error_invalid_name));\n focusView = mNameView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(name, password);\n mAuthTask.execute(mUrl);\n }\n }", "public void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_user));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n\n // save data in local shared preferences\n if (savePassword.isChecked()) {\n saveLoginDetails(email, password);\n }\n\n\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n }\n }", "public void attemptLogin() {\r\n\t\tif (mAuthTask != null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Reset errors.\r\n\t\tthis.activity.getmEmailView().setError(null);\r\n\t\tthis.activity.getmPasswordView().setError(null);\r\n\r\n\t\t// Store values at the time of the login attempt.\r\n\t\tmEmail = this.activity.getmEmailView().getText().toString();\r\n\t\tmPassword = this.activity.getmPasswordView().getText().toString();\r\n\r\n\t\tboolean cancel = false;\r\n\t\tView focusView = null;\r\n\r\n\t\t// Check for a valid password.\r\n\t\tif (TextUtils.isEmpty(mPassword)) {\r\n\t\t\tthis.activity.getmPasswordView().setError(this.activity.getString(R.string.error_field_required));\r\n\t\t\tfocusView = this.activity.getmPasswordView();\r\n\t\t\tcancel = true;\r\n\t\t} else if (mPassword.length() < 4) {\r\n\t\t\tthis.activity.getmPasswordView().setError(this.activity.getString(R.string.error_invalid_password));\r\n\t\t\tfocusView = this.activity.getmPasswordView();\r\n\t\t\tcancel = true;\r\n\t\t}\r\n\r\n\t\t// Check for a valid email address.\r\n\t\tif (TextUtils.isEmpty(mEmail)) {\r\n\t\t\tthis.activity.getmEmailView().setError(this.activity.getString(R.string.error_field_required));\r\n\t\t\tfocusView = this.activity.getmEmailView();\r\n\t\t\tcancel = true;\r\n\t\t} else if (!mEmail.contains(\"@\")) {\r\n\t\t\tthis.activity.getmEmailView().setError(this.activity.getString(R.string.error_invalid_email));\r\n\t\t\tfocusView = this.activity.getmEmailView();\r\n\t\t\tcancel = true;\r\n\t\t}\r\n\r\n\t\tif (cancel) {\r\n\t\t\t// There was an error; don't attempt login and focus the first\r\n\t\t\t// form field with an error.\r\n\t\t\tfocusView.requestFocus();\r\n\t\t} else {\r\n\t\t\t// Show a progress spinner, and kick off a background task to\r\n\t\t\t// perform the user login attempt.\r\n\t\t\tthis.activity.getmLoginStatusMessageView().setText(R.string.login_progress_signing_in);\r\n\t\t\tthis.activity.showProgress(true);\r\n\t\t\tmAuthTask = new UserLoginTask();\r\n\t\t\tmAuthTask.execute((Void) null);\r\n\t\t}\r\n\t}", "private static void loginToAccount() {\n\n\t\tSystem.out.println(\"Please enter your userName : \");\n\t\tString userName=scan.nextLine();\n\n\t\tSystem.out.println(\"Please enter your Password : \");\n\t\tString password=scan.nextLine();\n\n\t\tif(userName.equals(userName)&& password.equals(password))\n\t\t\tSystem.out.println(\"Welcome to AnnyBank\");\n\n\t\ttransactions();\n\t}", "private void attemptLogin() {\r\n if (mAuthTask != null) {\r\n return;\r\n }\r\n\r\n // Reset errors.\r\n mPhoneView.setError(null);\r\n mPasswordView.setError(null);\r\n\r\n // Store values at the time of the login attempt.\r\n String phone = mPhoneView.getText().toString();\r\n String password = mPasswordView.getText().toString();\r\n\r\n boolean cancel = false;\r\n View focusView = null;\r\n\r\n // Check for a valid password, if the user entered one.\r\n if (TextUtils.isEmpty(password)) {\r\n mPasswordView.setError(getString(R.string.error_field_required));\r\n focusView = mPasswordView;\r\n cancel = true;\r\n }\r\n\r\n // Check for a valid phone address.\r\n if (TextUtils.isEmpty(phone)) {\r\n mPhoneView.setError(getString(R.string.error_field_required));\r\n focusView = mPhoneView;\r\n cancel = true;\r\n } else if (!isPhoneValid(phone)) {\r\n mPhoneView.setError(getString(R.string.error_invalid_phone));\r\n focusView = mPhoneView;\r\n cancel = true;\r\n }\r\n\r\n if (cancel) {\r\n // There was an error; don't attempt login and focus the first\r\n // form field with an error.\r\n focusView.requestFocus();\r\n } else {\r\n // Show a progress spinner, and kick off a background task to\r\n // perform the user login attempt.\r\n showProgress(true);\r\n mAuthTask = new UserLoginTask(phone, password);\r\n mAuthTask.execute((Void) null);\r\n }\r\n }", "@Override\n public void onLoginFailure() {\n\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password, false);\n mAuthTask.execute((Void) null);\n }\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n }\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n }\n }", "private void attemptToConnect() {\n LOG.warn(\"Attempting to connect....\");\n \n if (// No connection configuration\n getConnectionConfiguration() == null &&\n (getServerHostname() == null || getServerPort() == 0 ||\n getServiceName() == null || getFromAddress() == null ||\n getPassword() == null || getResource() == null)\n \n ||\n \n // Already logged in.\n getConnection() != null && getConnection().isAuthenticated()) {\n \n return;\n }\n \n try {\n if (getConnectionConfiguration() == null) {\n setConnectionConfiguration(new ConnectionConfiguration(\n getServerHostname(), getServerPort(), getServiceName()));\n }\n\n connect();\n }\n catch (Throwable t) {\n LOG.error(t);\n }\n }", "public void verifyLogin(){\n\n //Verifica que haya conexion de internet\n networkManager = (ConnectivityManager) this.getSystemService(\n Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = networkManager.getActiveNetworkInfo();\n boolean isConnected = networkInfo != null && networkInfo.isConnectedOrConnecting();\n\n if (PreferenceUtils.getEmail (this) != null) { //Verifica que hay una session abierta.\n showSplash ();\n if(isConnected){\n\n //Checa el tipo de session\n if(PreferenceUtils.getSession (this))\n //Facebook session\n new LoadDataLoginFacebook (this).execute(\n PreferenceUtils.getName (this),\n PreferenceUtils.getEmail (this),\n PreferenceUtils.getPassword (this));\n else\n //Manual session\n new LoadDataLogin (this).execute (\n PreferenceUtils.getEmail (this),\n PreferenceUtils.getPassword (this));\n }\n else{ //Si no hay internet pasa directo a la session abierta.\n Intent intent = new Intent (AccessActivity.this, MainActivity.class);\n startActivity (intent);\n }\n }\n }", "@Test(priority = 0)\n public void correctLogin() {\n Login login = new Login(driver, wait);\n login.LoginMethod(login);\n login.typeCredentials(login.emailLabel, correctMail);\n login.typeCredentials(login.passwordLabel, correctPassword);\n login.click(login.submitBtn);\n login.checkElementDisplayed(login.loginContainer);\n }", "public static void forceLogin() {\n forcedLogin = true;\n }", "void onOfflineLoginFail(int errorMessage);", "public void attemptLogin() {\n\t\tif (mAuthTask != null) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Reset errors.\n\t\tmEmailView.setError(null);\n\t\tmPasswordView.setError(null);\n\n\t\t// Store values at the time of the login attempt.\n\t\tmEmail = mEmailView.getText().toString();\n\t\tmPassword = mPasswordView.getText().toString();\n\n\t\tboolean cancel = false;\n\t\tView focusView = null;\n\n\t\t/*\n\t\t * // Check for a valid password. if (TextUtils.isEmpty(mPassword)) {\n\t\t * mPasswordView.setError(getString(R.string.error_field_required));\n\t\t * focusView = mPasswordView; cancel = true; } else if\n\t\t * (mPassword.length() < 4) {\n\t\t * mPasswordView.setError(getString(R.string.error_invalid_password));\n\t\t * focusView = mPasswordView; cancel = true; }\n\t\t * \n\t\t * // Check for a valid email address. if (TextUtils.isEmpty(mEmail)) {\n\t\t * mEmailView.setError(getString(R.string.error_field_required));\n\t\t * focusView = mEmailView; cancel = true; } else if\n\t\t * (!mEmail.contains(\"@\")) {\n\t\t * mEmailView.setError(getString(R.string.error_invalid_email));\n\t\t * focusView = mEmailView; cancel = true; }\n\t\t */\n\t\tif (cancel) {\n\t\t\t// There was an error; don't attempt login and focus the first\n\t\t\t// form field with an error.\n\t\t\tfocusView.requestFocus();\n\t\t} else {\n\t\t\t// Show a progress spinner, and kick off a background task to\n\t\t\t// perform the user login attempt.\n\t\t\tshowProgress(true);\n\t\t\tmAuthTask = new UserLoginTask();\n\t\t\tmAuthTask.execute((Void) null);\n\t\t}\n\t}", "@Override\n\tpublic void login(String ip, String pass) {\n\t\tif(network == null || !pass.equals(network.password)) { //if loc net not defined OR pw differ from current loc net pw:\n\t\t\tnetwork = new Network();\t\t\t\t\t\t\t\t\t//create a new loc net with given password. \n\t\t\tnetwork.setPassword(pass);;\n\t\t}\n\t\tif(!ip.equals(\"\"))\n\t\t\tnetwork.connect(ip);\t\t\t\t\t\t\t\t\t//try and connect to ip given.\n\t}", "public void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(this, email, password);\n mAuthTask.execute((Void) null);\n }\n }", "protected void login() {\n\t\t\r\n\t}", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n\n // Sets up a new login task with the provide login form\n mAuthTask = new UserLoginTask(email, password);\n try {\n // Executes login task\n mAuthTask.execute();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }", "public abstract boolean login(String email, String passwaord) throws CouponSystemException;", "public void onLoginFailed() {\n Toast.makeText(getBaseContext(), \"Login failed\", Toast.LENGTH_LONG).show();\n bLogin.setEnabled(true);\n }", "private void showLoginFailed() {\n try {\n Toast.makeText(getApplicationContext(), \"Login Failed\", Toast.LENGTH_SHORT).show();\n } catch (Exception e) {\n Looper.prepare();\n Toast.makeText(getApplicationContext(), \"Login Failed\", Toast.LENGTH_SHORT).show();\n Looper.loop();\n }\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.kkkkkkkkl[]/\\]\n\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n\n // Intent signInActivityIntent= new Intent(this,UserProfileActivity.class);\n // startActivity(signInActivityIntent);\n }\n }", "@Test(priority = 2)\n public void incorrectLoginWithUsername() {\n Login login = new Login(driver, wait);\n login.LoginMethod(login);\n login.typeCredentials(login.emailLabel, incorrectMail);\n login.typeCredentials(login.passwordLabel, correctPassword);\n login.click(login.submitBtn);\n login.checkElementDisplayed(login.errorBox);\n login.checkErrorMessageMatching(login.errorBox,wrongUsernameAndPasswordError);\n }", "public void attemptLogin() {\n\n\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n mEmail = mEmailView.getText().toString();\n mPassword = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password.\n if (TextUtils.isEmpty(mPassword)) {\n mPasswordView.setError(getString(R.string.error_field_required));\n focusView = mPasswordView;\n cancel = true;\n } else if (mPassword.length() < 4) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(mEmail)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!mEmail.contains(\"@\")) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n mLoginStatusMessageView.setText(R.string.login_progress_signing_in);\n showProgress(true);\n mAuthTask = new UserLoginTask();\n mAuthTask.execute((Void) null);\n }\n }", "@Test\n\tpublic void testLoginAdminAccountWithInvalidCredentials() {\n\t\tassertEquals(2, adminAccountService.getAllAdminAccounts().size());\n\n\t\tString error = null;\n\t\tAdminAccount user = null; \n\t\ttry {\n\t\t\tuser = adminAccountService.loginAdminAccount(USERNAME2, PASSWORD1);\n\t\t} catch (InvalidInputException e) {\n\t\t\terror = e.getMessage();\n\t\t}\n\n\t\tassertNull(user);\n\t\t// check error\n\t\tassertEquals(\"Username or password incorrect. Please try again.\", error);\n\t}", "private String PerformLogin(String data){\n String[] parts = data.split(Pattern.quote(\"|||\"));\n String ret = null;\n try {\n Statement stmt = storage.getConn().createStatement();\n ResultSet rs = stmt.executeQuery(\"SELECT COUNT(*) AS count FROM Users WHERE username = '\" + parts[0] + \"' AND password = '\"+parts[1]+\"'\");\n rs.next();\n // verifico che ci sia un utente con i dati specificati\n if (rs.getInt(\"count\") > 0){\n String token = Helper.GenerateToken();\n\n // aggiorno la tabella degli utenti con il nuovo token dell'utente loggato e il suo indirizzo ip\n storage.PerformSQL(\"UPDATE Users SET token = '\"+token+\"', host_addr = '\"+client.getRemoteSocketAddress().toString()+\"' WHERE username = '\"+parts[0]+\"'\");\n ret = token;\n\n // inserisco l'utente nelle due liste degli utenti online\n current_online.add(token);\n next_online.add(token);\n } else\n ret = \"error\";\n\n rs.close();\n stmt.close();\n } catch (SQLException e ){\n e.printStackTrace();\n return \"error\";\n }\n\n return ret;\n }", "@Test\n\tpublic void loginWithInvalidCredentials(){\n\t\tapp.loginScreen().waitUntilLoaded();\n\t\tapp.loginScreen().logIn(Credentials.USER_INVALID.username, Credentials.USER_INVALID.password);\n\t\tassertTrue(app.loginScreen().isActive());\n\t}", "public void logOut() {\n Logger.d(TAG,\"login#logOut\");\n Logger.d(TAG,\"login#stop reconnecting\");\n //\t\teverlogined is enough to stop reconnecting\n everLogined = false;\n isLocalLogin = false;\n reqLoginOut();\n }", "public static opCode loginUser()\n {\n opCode answerCode;\n\n clientSocketChannel = openConnection(Utils.CLIENT_PORT);\n\n if(clientSocketChannel == null)\n answerCode = opCode.OP_FAIL;\n else\n {\n //effettuo la richiesta di login\n Operation request = new Operation(username);\n request.setPassword(password);\n request.setCode(opCode.LOGIN);\n\n sendReq(clientSocketChannel,request);\n answerCode = getAnswer();\n\n //se il login è andato a buon fine, inizializzo il thread per ricevere gli inviti\n if(answerCode == opCode.OP_OK)\n {\n // apro un nuovo socket per ricevere gli inviti\n inviteSocketChannel = openConnection(Utils.CLIENT_PORT);\n if(inviteSocketChannel == null)\n {\n //in caso di errore chiudo tutte le socket\n try {clientSocketChannel.close();}\n catch (IOException e) {e.printStackTrace();}\n return opCode.OP_FAIL;\n }\n\n request.setCode(opCode.SET_INVITATION_SOCK);\n sendReq(inviteSocketChannel, request);\n\n //creo il thread per la ricezione degli inviti\n inviteThread = new Thread(new InviteTask(inviteSocketChannel));\n inviteThread.start();\n\n //richiedo e scarico la lista di eventuali inviti ricevuti mentre ero offline\n request.setCode(opCode.PENDING_INVITATIONS);\n sendReq(clientSocketChannel,request);\n\n try\n {\n pendingInvitations = (ArrayList<Message>) Utils.recvObject(clientSocketChannel);\n\n if(pendingInvitations == null)\n throw new NullPointerException();\n\n //esito dell'operazione di login\n answerCode = getAnswer();\n }\n catch(ClassNotFoundException | IOException | NullPointerException e)\n {\n System.err.println(\"Error in downloading pending invites\");\n answerCode = opCode.OP_FAIL;\n }\n }\n }\n return answerCode;\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n boolean newUser = false;\n\n // Check for a valid password, if the user entered one.\n if (TextUtils.isEmpty(password) || !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n } else {\n user = mDatabaseHelper.getUser(email);\n if (user.getPassword() != null) {\n if (!PasswordHash.checkHashEquality(user.getPassword(), password)) {\n mPasswordView.setError(getString(R.string.error_incorrect_password));\n focusView = mPasswordView;\n cancel = true;\n }\n } else {\n newUser = true;\n }\n }\n\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n user = mDatabaseHelper.getUser(email);\n if (newUser) {\n Toast.makeText(this, \"New Account Created!\", Toast.LENGTH_SHORT).show();\n }\n Intent intent = new Intent(LoginActivity.this, ListActivity.class);\n intent.putExtra(\"User\", user);\n intent.putExtra(\"Target\", \"Locked\");\n startActivityForResult(intent, 0);\n }\n }", "private void validateLoginUser() {\n\t\tUser user = userDao.getByPin(et_password.getText().toString());\n\t\tSession.setDriver(user);\n\n\t\tif (user.getWorkStatus().equals(User.STATUS_INACTIVE)) {\n\n\t\t\tdoLogin();\n\t\t} else {\n\t\t\tString locAt = \"\";\n\t\t\tif (user.getWorkStatus().equals(User.STATUS_IN_VEHICLE)) {\n\t\t\t\tVehiclesDao dao = new VehiclesDao();\n\t\t\t\tlocAt = dao.getById(user.getCurrentVehicleId()).getName();\n\t\t\t} else {\n\t\t\t\tServiceLocationDao dao = new ServiceLocationDao();\n\t\t\t\tlocAt = dao.getById(user.getCurrentServiceLocationId()).getName();\n\t\t\t}\n\t\t\tString msg = \"You are currently marked as \" + user.getWorkStatus() + \" at \" + locAt + \" since \" + user.getWorkStatusDate()\n\t\t\t\t\t+ \"\\n\" + \"Do you want to continue and override this status?\";\n\t\t\tAlertDialog.Builder alert_box = new AlertDialog.Builder(this);\n\t\t\talert_box.setIcon(R.drawable.icon);\n\t\t\talert_box.setMessage(msg);\n\t\t\talert_box.setPositiveButton(\"YES\", new DialogInterface.OnClickListener() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\tdoPunchOut(et_password.getText().toString());\n\t\t\t\t\tdoLogin();\n\t\t\t\t\tdialog.dismiss();\n\t\t\t\t}\n\t\t\t});\n\t\t\talert_box.setNeutralButton(\"NO\", new DialogInterface.OnClickListener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\tdialog.dismiss();\n\t\t\t\t}\n\t\t\t});\n\n\t\t\talert_box.show();\n\t\t}\n\t}", "private void attemptLogin() {\n if (mAuth == null) {\n return;\n }\n showIndicator();\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n mEmailView.requestFocus();\n hideIndicator();\n return;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n mEmailView.requestFocus();\n hideIndicator();\n return;\n }\n\n // Check for nonempty password\n if (TextUtils.isEmpty(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n mPasswordView.requestFocus();\n hideIndicator();\n return;\n }\n\n // TODO is it a good idea to move this to function? will it show in memory?????\n mAuth.signInWithEmailAndPassword(email, password)\n .addOnCompleteListener(new OnCompleteListener<AuthResult>() {\n @Override\n public void onComplete(@NonNull Task<AuthResult> task) {\n if (task.isSuccessful()) {\n hideIndicator();\n Intent intent = new Intent(LoginActivity.this, ItemListActivity.class);\n startActivity(intent);\n } else {\n hideIndicator();\n // show error\n Toast.makeText(LoginActivity.this, task.getException().getMessage(), Toast.LENGTH_SHORT).show();\n }\n }\n });\n }", "public void attemptLogin() {\r\n\t\tif (mAuthTask != null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// Reset errors.\r\n\t\tmUserView.setError(null);\r\n\t\tmPasswordView.setError(null);\r\n\t\t// Store values at the time of the login attempt.\r\n\t\tmUser = mUserView.getText().toString();\r\n\t\tmPassword = mPasswordView.getText().toString();\r\n\t\tboolean cancel = false;\r\n\t\tView focusView = null;\r\n\t\t// Check for a valid password.\r\n\t\tif (TextUtils.isEmpty(mPassword)) {\r\n\t\t\tmPasswordView.setError(getString(R.string.error_field_required));\r\n\t\t\tfocusView = mPasswordView;\r\n\t\t\tcancel = true;\r\n\t\t} else if (mPassword.length() < 3) {\r\n\t\t\tmPasswordView.setError(getString(R.string.error_invalid_password));\r\n\t\t\tfocusView = mPasswordView;\r\n\t\t\tcancel = true;\r\n\t\t}\r\n\t\t// Check for a valid username address.\r\n\t\tif (TextUtils.isEmpty(mUser)) {\r\n\t\t\tmUserView.setError(getString(R.string.error_field_required));\r\n\t\t\tfocusView = mUserView;\r\n\t\t\tcancel = true;\r\n\t\t}\r\n\t\tif (cancel) {\r\n\t\t\t// There was an error; don't attempt login and focus the first\r\n\t\t\t// form field with an error.\r\n\t\t\tfocusView.requestFocus();\r\n\t\t} else {\r\n\t\t\t// Show a progress spinner, and kick off a background task to\r\n\t\t\t// perform the user login attempt.\r\n\t\t\tmLoginStatusMessageView.setText(R.string.login_progress_signing_in);\r\n\t\t\tmAuthTask = new UserLoginTask(this);\r\n\t\t\tmAuthTask.execute((Void) null);\r\n\t\t}\r\n\t}", "public User login(String loginName, String password) throws UserBlockedException;", "void onOnlineLoginFail(User user);", "private void loginSuccess(String uname) {\n }", "@Override\n public void performLogin(String account, String password) {\n performLoginInternal(1, account, password);\n }", "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tif (ConnectionActivity.isNetConnected(AdminLoginActivity.this)) {\r\n\r\n\t\t\t\t\tdoAdminLogin();\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\td.showSingleButtonDialog( AdminLoginActivity.this,\r\n\t\t\t\t\t\t\t\"Please enable your internet connection\");\r\n\t\t\t\t}\r\n\t\t\t}", "public int loginattempt()\r\n\t{\r\n\t\tString uname=\"\";\r\n\t\tString upass=\"\";\r\n\t\tString uhash=\"\";\r\n\t\tint index=-1;\r\n\t\tboolean flag=false;\r\n\t\twhile(!flag)\r\n\t\t{\r\n\t\t\tSystem.out.print(\"Please enter your username: \");\r\n\t\t\tuname=sc.nextLine();\r\n\t\t\tint unamesearch=user_index(uname);\r\n\t\t\tif(unamesearch==-1)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"username not found!\");\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tuname=uname.trim();\r\n\t\t\tSystem.out.print(\"Please enter your password: \");\r\n\t\t\tupass=sc.nextLine();\r\n\t\t\tuhash=a.hashfunction(upass);\r\n\t\t\tindex=user_index(uname);\r\n\t\t\tboolean passwordmatch=checkpassword(uname,uhash);\r\n\t\t\tif(passwordmatch && ((User)user_records.get(index)).get_fail_count()<=2)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"Login success! Hello \"+((User)user_records.get(index)).get_username()+\"!\");\r\n\t\t\t\tint count=0;\r\n\t\t\t\t((User)user_records.get(index)).set_fail_count(count);\r\n\t\t\t\tString lastlogin=java.time.LocalDate.now().toString();\r\n\t\t\t\t((User)user_records.get(index)).set_last_login(lastlogin);\r\n\t\t\t\tflag=true;\r\n\t\t\t}\r\n\t\t\telse if(!passwordmatch && ((User)user_records.get(index)).get_fail_count()<2)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"Login failed!\");\r\n\t\t\t\tint count=((User)user_records.get(index)).get_fail_count()+1;\r\n\t\t\t\t((User)user_records.get(index)).set_fail_count(count);\r\n\t\t\t}\r\n\t\t\telse if(!passwordmatch && ((User)user_records.get(index)).get_fail_count()>=2)\r\n\t\t\t{\r\n\t\t\t\tint count=((User)user_records.get(index)).get_fail_count()+1;\r\n\t\t\t\t((User)user_records.get(index)).set_fail_count(count);\r\n\t\t\t\t((User)user_records.get(index)).set_account_locked(true);\r\n\t\t\t\tSystem.out.println(\"Login failed! Your account has been locked!\");\r\n\t\t\t\tflag=true;\r\n\t\t\t\tindex=-1;\r\n\t\t\t}\r\n\t\t\telse if(((User)user_records.get(index)).get_fail_count()>=3)\r\n\t\t\t{\r\n\t\t\t\tint count=((User)user_records.get(index)).get_fail_count()+1;\r\n\t\t\t\t((User)user_records.get(index)).set_fail_count(count);\r\n\t\t\t\tSystem.out.println(\"Login failed! Your account has been locked!\");\r\n\t\t\t\t((User)user_records.get(index)).set_account_locked(true);\r\n\t\t\t\tflag=true;\r\n\t\t\t\tindex=-1;\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn index;\r\n\t}", "RequestResult loginRequest() throws Exception;", "private void login(int selected) {\n ExtendedAccountData data = queriedaccounts.get(selected);\n loginfailed = AltManager.getInstance().setUser(data.user, data.pass);\n if (loginfailed == null) {\n Minecraft.getMinecraft().displayGuiScreen(null);\n ExtendedAccountData current = getCurrentAsEditable();\n current.premium = EnumBool.TRUE;\n current.useCount++;\n current.lastused = JavaTools.getJavaCompat().getDate();\n } else if (loginfailed instanceof AlreadyLoggedInException) {\n getCurrentAsEditable().lastused = JavaTools.getJavaCompat().getDate();\n } else if (HttpTools.ping(\"http://minecraft.net\")) {\n getCurrentAsEditable().premium = EnumBool.FALSE;\n }\n }" ]
[ "0.69880193", "0.6769294", "0.67235327", "0.6708522", "0.66957307", "0.6516211", "0.650638", "0.6473718", "0.6467117", "0.6453548", "0.6445658", "0.6443276", "0.64309037", "0.6414879", "0.6409433", "0.6395344", "0.63916063", "0.63895565", "0.6378597", "0.6374936", "0.6369996", "0.63672924", "0.6364832", "0.63511115", "0.63500994", "0.6335517", "0.6335429", "0.63069636", "0.6301725", "0.62992585", "0.62658495", "0.62421346", "0.62411016", "0.62313205", "0.6225731", "0.6217514", "0.62074137", "0.62074137", "0.61968905", "0.61867553", "0.6167084", "0.6164349", "0.6157585", "0.6155667", "0.61540776", "0.6148987", "0.61418736", "0.614054", "0.6136155", "0.6132721", "0.60967433", "0.6095712", "0.60860646", "0.6083693", "0.607587", "0.606769", "0.6063677", "0.6061197", "0.6055015", "0.60533184", "0.6046536", "0.60357285", "0.6028234", "0.6025583", "0.60225517", "0.6019574", "0.6019574", "0.6016166", "0.60131", "0.6010812", "0.6004576", "0.6003831", "0.5994471", "0.5985328", "0.5985231", "0.5979989", "0.5979302", "0.59734434", "0.5972519", "0.59679383", "0.5965091", "0.59494567", "0.59483105", "0.5943062", "0.5939836", "0.59344023", "0.5925996", "0.5923834", "0.59226006", "0.59083974", "0.5908375", "0.590623", "0.58970004", "0.5892577", "0.587593", "0.58735025", "0.58724856", "0.5872307", "0.5869417", "0.5863543" ]
0.7269568
0
time C(9, k) = 9 8 ... (9 k + 1), we try 9 i + 1 numbers in its ith step
public List<List<Integer>> combinationSum3(int k, int n) { List<List<Integer>> res = new ArrayList<>(); int min = 0, max = 0; for (int i = 1; i <= k; i++) { min += i; max += (10 - i); } if (n > max || n < min) return res; List<Integer> list = new ArrayList<>(); dfs(k, n, res, list, 1); return res; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int generate(int k) {\n int result = 0;\n\n for (int i = 0; i < k; i++) {\n result = 2 * result + step();\n }\n return result;\n }", "public int kth1(int k) {\n\t int[] dp = new int[k];\n\t int indexTwo = 0;\n\t int indexThree = 0; \n\t int numberOfTwo = 2;\n\t int numberOfThree = 3;\n\t int nextNumber = 1;\n\t dp[0] = 1;\n\t for (int i = 1 ; i < k ; i++) {\n\t nextNumber = Math.min(numberOfTwo, numberOfThree);\n\t dp[i] = nextNumber;\n\t if (nextNumber == numberOfTwo) {\n\t indexTwo += 1;\n\t numberOfTwo = dp[indexTwo] * 2;\n\t }\n\t if (nextNumber == numberOfThree) {\n\t indexThree +=1;\n\t numberOfThree = dp[indexThree] * 3;\n\t }\n\t }\n\t return nextNumber;\n\t }", "public int generate(int k) {\n int r = 0;\n for (int i = 0; i < k; i++) {\n r = (r*2) + step();\n }\n return r;\n }", "static long sumOfGroup(int k) {\n long start = 1;\n long sum = 0;\n for(int i=1;i<=k;i++){\n long count = 0;\n sum = 0;\n while(count<i){\n if(start%2 == 1){\n sum = sum+start;\n count++;\n }\n start++;\n }\n }\n return sum;\n }", "public int C(int n, int k) {\n\tif (choose[n][k] != -1)\n\t\treturn choose[n][k];\n\tint t = C(n-1,k-1) + C(n-1,k);\n\tchoose[n][k] = t;\n\treturn t;\n}", "static int getMinimumCost(int k, Integer[] c) {\n\tArrays.sort(c, Collections.reverseOrder());\n\tint[] num = new int[k];\n\tint total = 0;\n\tfor (int ind = 0; ind < c.length; ind++) {\n\t int v = ind % k;\n\t total += (num[v]++ + 1) * c[ind];\n\t}\n\n\treturn total;\n }", "private static long calc1()\n {\n final int min = 1000;\n final int max = 10000;\n\n // initialize\n List<List<Integer>> m = new ArrayList<>();\n for (int k = 0; k < end; k++) {\n List<Integer> list = new ArrayList<Integer>();\n int n = 1;\n while (k >= start) {\n int p = pkn(k, n);\n if (p >= max) {\n break;\n }\n if (p >= min) {\n list.add(p);\n }\n n++;\n }\n m.add(list);\n }\n\n boolean[] arr = new boolean[end];\n arr[start] = true;\n\n List<Integer> solutions = new ArrayList<>();\n List<Integer> list = m.get(start);\n for (Integer first : list) {\n LinkedList<Integer> values = new LinkedList<>();\n values.add(first);\n f(m, arr, values, 1, solutions);\n // we stop at the first solution found\n if (!solutions.isEmpty()) {\n break;\n }\n }\n\n // solutions.stream().forEach(System.out::println);\n int res = solutions.stream().reduce(0, Integer::sum);\n return res;\n }", "static int beautifulDays(int i, int j, int k) {\n return (int) IntStream.range(i, j + 1).filter(day -> Math.abs(day - reverseInt(day)) % k == 0).count();\n }", "private static long combinations(int n, int k) {\n\t\tif (k > n / 2) {\n\t\t\tk = n - k;\n\t\t}\n\n\t\tlong result = 1;\n\n\t\tfor (int i = 1, j = n - k + 1; i <= k; i++, j++) {\n\t\t\tresult = result * j / i;\n\t\t}\n\n\t\treturn result;\n\t}", "public int kth(int k) {\n\t int counter = 0;\n\t int begin = 0;\n\t while (counter < k) {\n\t begin++;\n\t if (check(begin) == 1) {\n\t counter++;\n\t }\n\t }\n\t return begin;\n\t }", "@Override\r\n\tpublic int runn(int k) {\n\t\treturn 0;\r\n\t}", "public static void rotate1 (int [] nums, int k ) {\n\t\tint n = nums.length;\n\t\tk = k % n ;\n\t\tif(k == 0) return ;\n\t\tint prev = 0, currIndex = 0, temp = 0, count = 0;\n\t\tfor(int start = 0 ; count < nums.length ; start++) {\n\t\t\tprev = nums[start];\n\t\t\tcurrIndex = start;\n\t\t\t// keep rotating till reach the initial point\n\t\t\tdo {\n\t\t\t\tint nextIndex = (currIndex + k) % n;\n\t\t\t\ttemp = nums[nextIndex];\n\t\t\t\tnums[nextIndex] = prev;\n\t\t\t\tprev = temp;\n\t\t\t\tcurrIndex = nextIndex;\n\t\t\t\tcount++;\n\t\t\t\t\n\t\t\t} while(start != currIndex);\n\t\t}\n\t}", "public static int[] linearOdd(int k)\n\t{\t\t\n\t\tnumOfCalls++;\t\t\n\t\tint[] A = new int[3]; //an array A[0] is kth,A[1] is k-1,A[2] is k-2\n\t\tint i = 0, j = 0, m=0;\t\t\n\t\tif (k == 1) //(base)\n\t\t{\n\t\t\ti=1;\n\t\t\tm=1;\n\t\t\tj=1;\t\t\t\n\t\t\tA[0] = i; A[1] = j;A[2]=m;\n\t\t\tOddnumber=1;\t\n\t\t\treturn (A);\t\t// this will return (1,1,1) \n\t\t}\n\t\telse if( k==2 || k==3){ \n\t\t\tA = linearOdd(k - 1);\n\t\t\ti=1;\n\t\t\tm=1;\n\t\t\tj=1;\t\t\t\n\t\t\tA[0] = i; A[1] = j;A[2]=m;\n\t\t\tOddnumber=1;\n\t\t\treturn (A);\t\t// this will return (1,1,1)\n\t\t}\n\t\telse\n\t\t{\t\t\t\n\t\t\tA = linearOdd(k - 1); //recursion to get kn-1,kn-2,kn-3\n\t\t\ti = A[0];\n\t\t\tj = A[1];\n\t\t\tm = A[2];\n\t\t\tA[0] = i + j +m;\n\t\t\tA[1] = i;\n\t\t\tA[2] = j;\n\t\t\tOddnumber=i+j+m;\n\t\t\treturn (A);\t\t// this will return (i+j+m, i,j)\n\t\t}\n\t}", "@Override\n protected Z advanceG(final long k) {\n return Z.valueOf(5 * k - 2); // mSeqG.next();\n }", "public double testCloseness(int k)\r\n {\r\n return Math.log(2) - alternatingSequence(k);\r\n }", "public int getFirstKDigitNumber(int[] digits, int k) \r\n\t{\r\n\t\tint count = 0;\r\n\t\tfor(int i = 0; i < k; i++)\r\n\t\t{\r\n\t\t\tcount *= 10;\r\n\t\t\tcount += digits[i];\r\n\t\t}\r\n\r\n\t\treturn count;\r\n\t}", "public void rotate(int[] nums, int k) {\n\t\tif(nums == null || nums.length == 0 || k <= 0){\n\t\t\treturn;\n\t\t}\n\t\tint n = nums.length, count = 0;\n\t\tk %= n;\n\t\tfor(int start = 0; count < n; start++){\n\t\t\tint cur = start;\n\t\t\tint prev = nums[start];\n\t\t\tdo{\n\t\t\t\tint next = (cur + k) % n;\n\t\t\t\tint temp = nums[next];\n\t\t\t\tnums[next] = prev;\n\t\t\t\tcur = next;\n\t\t\t\tprev = temp;\n\t\t\t\tcount++;\n\t\t\t}while(start != cur);\n\t\t}\n\t}", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int k = in.nextInt();\n ArrayList<Integer> list = new ArrayList<>();\n for(int arr_i=0; arr_i < n; arr_i++){\n int integer = in.nextInt();\n list.add(new Integer(integer));\n }\n in.close();\n\n\n\n if(k == 1){\n System.out.println(k);\n return;\n }\n\n for(int i = 0;i < list.size();i ++){\n int x = list.get(i) % k;\n list.set(i, x);\n }\n\n int[] kx = new int[k];\n for(int i = 0;i < k;i ++){\n kx[i] = 0;\n }\n for(int i = 0;i < list.size();i ++){\n int x = list.get(i);\n kx[x] ++;\n }\n\n\n int num = 0;\n int A = 0;\n if(k % 2 == 0){\n A = k / 2 - 1;\n }else{\n A = k / 2;\n }\n if(kx[0] != 0){\n num += 2;\n }\n for(int i = 1; i <= A;i ++){\n if(kx[i] >= kx[k - i]){\n num += kx[i];\n }else {\n\n num += kx[k - i];\n }\n\n }\n System.out.println(num);\n }", "static int expt(int n,int k) {\n\t\tif (k==0)\n\t\t\treturn 1;\n\t\telse\n\t\t\treturn n*expt(n,k-1);\n\t}", "private int p(K k, int i) {\r\n return i/2 + (i*i)/2 + (i%2);\r\n }", "public static int[] mostCompetitive(int[] nums, int k) {\n int[] copy = Arrays.copyOf(nums, nums.length); // 复制一个数组\n Arrays.sort(copy); // 排序\n for (int value : copy) { // 挨个顺序作为最小竞争子序列的头元素\n for (int j = 0; j < nums.length; j++) {\n if (nums[j] == value) {\n // 判断后续元素个数可够k长度\n if(k == 1){\n int[] ret = new int[1];\n ret[0] = nums[j];\n return ret;\n }\n if (j + k > nums.length) break;\n else if (j + k == nums.length) return Arrays.copyOfRange(nums, j, nums.length);\n else {\n int[] child = Arrays.copyOfRange(nums, j + 1, nums.length);\n int[] childMost = mostCompetitive(child, k - 1);\n System.out.println(Arrays.toString(childMost));\n // 取前k-1即为最优解\n int[] ret = new int[k];\n ret[0] = nums[j];\n System.arraycopy(childMost, 0, ret, 1, k - 1);\n System.out.println(Arrays.toString(ret));\n return ret;\n }\n }\n }\n }\n // [10, 23, 61, 62, 34, 41, 80, 25, 91, 43, 4, 75, 65, 13, 37, 41, 46, 90, 55, 8, 85, 61, 95, 71]\n // [10, 23, 61, 62, 34, 41, 80, 25, 91, 43, 4, 75, 65, 13, 37, 41, 46, 90, 55, 8, 85, 61, 95, 71]\n /* 2\n 4 3 3 5 4 9 6 3\n 3\n 3 5 4 9 6 3\n 2\n 5 4 9 6\n 1\n */\n return Arrays.copyOf(nums, k); // 这步不会执行\n }", "public int run(){\n\t\tint result = 0;\n\t\tfor(int a = 1; a<=900; a++){\n\t\t\tfor(int b = a; b<=900; b++){\n\t\t\t\tfor(int c = b; c<=900; c++){\n\t\t\t\t\tif(a+b+c == 1000){\n\t\t\t\t\t\tif(Math.pow(a, 2)+Math.pow(b, 2) == Math.pow(c, 2)){\n\t\t\t\t\t\t\tresult = a*b*c;\n\t\t\t\t\t\t\tSystem.out.println(a+\" \"+b+\" \"+c+\" \"+result);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "private boolean kcss(int[] i, long[] e, long y) {\n int I = i.length;\n long[] x = new long[I];\n while (true) {\n x[0] = ll(i[0]); // 1\n snapshot(i, 1, I, x); // 2\n if (Arrays.compare(x, e) != 0) { // 3\n sc(i[0], x[0]); // 3a\n return false; // 3a\n }\n if (sc(i[0], y)) return true; // 3b\n } // 3c\n }", "public int getKthDigit(int v, int k) {\n for (int i = 0; i < k; i++)\n v /= 10;\n return v % 10;\n }", "public String getSequenceForSpace(int k) {\n\t\tif (k <= 0) {\n\t\t\treturn \"\";\n\t\t}\n\t\tfinal int scale = (int) Math.pow(10, k);\n\t\tchar[] visited = new char[scale];\n\t\tint num = scale - 1;\n\t\tvisited[num] = 1;\n\t\tint left = num;\n\t\tStringBuilder seq = new StringBuilder(Integer.toString(num));\n\t\twhile (left > 0) {\n\t\t\tint digit = 0;\n\t\t\tint tmp = (num * 10) % scale;\n\t\t\twhile (digit < 10) {\n\t\t\t\tif (visited[tmp + digit] == 0) {\n\t\t\t\t\tnum = tmp + digit;\n\t\t\t\t\tseq.append(digit);\n\t\t\t\t\tvisited[num] = 1;\n\t\t\t\t\t--left;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t++digit;\n\t\t\t}\n\t\t\tif (digit == 10) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\t\t}\n\t\treturn seq.toString();\n\t}", "public static void KeithArray()\n {\n for(int i=10;i<100000;i++)\n {\n int x = Keith(i);\n if(x != -1)\n System.out.println(x);\n }\n }", "public static long solve(long[] data, long k) {\n int n = data.length;\n\n Buffer<Interval> buffer = new Buffer<>(Interval::new, x -> {}, n * 2);\n\n Randomized.shuffle(data);\n Arrays.sort(data);\n\n List<Interval> lastLevel = new ArrayList<>(n);\n List<Interval> curLevel = new ArrayList<>(n);\n lastLevel.add(newInterval(buffer, 0, n - 1));\n int level = Log2.floorLog(data[n - 1]);\n long mask = 0;\n for (; level >= 0; level--) {\n curLevel.clear();\n for (Interval interval : lastLevel) {\n int l = interval.l;\n int r = interval.r;\n int m = r;\n while (m >= l && Bits.get(data[m], level) == 1) {\n m--;\n }\n interval.m = m;\n }\n long total = 0;\n for (Interval interval : lastLevel) {\n total += (long) (interval.m - interval.l + 1) * (interval.relative.m - interval.relative.l + 1);\n total += (long) (interval.r - interval.m) * (interval.relative.r - interval.relative.m);\n }\n if (total < k) {\n k -= total;\n mask = Bits.set(mask, level, true);\n for (Interval interval : lastLevel) {\n if (interval.relative == interval) {\n if (interval.l <= interval.m && interval.m < interval.r) {\n Interval a = newInterval(buffer, interval.l, interval.m);\n Interval b = newInterval(buffer, interval.m + 1, interval.r);\n a.relative = b;\n b.relative = a;\n curLevel.add(a);\n curLevel.add(b);\n }\n } else if (interval.r >= interval.relative.r) {\n if (interval.l <= interval.m && interval.relative.r > interval.relative.m) {\n Interval a = newInterval(buffer, interval.l, interval.m);\n Interval b = newInterval(buffer, interval.relative.m + 1, interval.relative.r);\n a.relative = b;\n b.relative = a;\n curLevel.add(a);\n curLevel.add(b);\n }\n if (interval.m < interval.r && interval.relative.m >= interval.relative.l) {\n Interval a = newInterval(buffer, interval.m + 1, interval.r);\n Interval b = newInterval(buffer, interval.relative.l, interval.relative.m);\n a.relative = b;\n b.relative = a;\n curLevel.add(a);\n curLevel.add(b);\n }\n }\n }\n } else {\n for (Interval interval : lastLevel) {\n if (interval.relative == interval) {\n if (interval.l <= interval.m) {\n Interval a = newInterval(buffer, interval.l, interval.m);\n a.relative = a;\n curLevel.add(a);\n }\n if (interval.m < interval.r) {\n Interval a = newInterval(buffer, interval.m + 1, interval.r);\n a.relative = a;\n curLevel.add(a);\n }\n } else if (interval.r >= interval.relative.r) {\n if (interval.l <= interval.m && interval.relative.l <= interval.relative.m) {\n Interval a = newInterval(buffer, interval.l, interval.m);\n Interval b = newInterval(buffer, interval.relative.l, interval.relative.m);\n a.relative = b;\n b.relative = a;\n curLevel.add(a);\n curLevel.add(b);\n }\n if (interval.m < interval.r && interval.relative.m < interval.relative.r) {\n Interval a = newInterval(buffer, interval.m + 1, interval.r);\n Interval b = newInterval(buffer, interval.relative.m + 1, interval.relative.r);\n a.relative = b;\n b.relative = a;\n curLevel.add(a);\n curLevel.add(b);\n }\n }\n }\n }\n\n for (Interval interval : lastLevel) {\n buffer.release(interval);\n }\n\n List<Interval> tmp = curLevel;\n curLevel = lastLevel;\n lastLevel = tmp;\n }\n\n return mask;\n }", "long getLsum(int n, int i, int k){ \r\n return (i-k+1)>=0 ? (i-k+1) + ssum(k) : ssum(k) - ssum(k-i-1);\r\n }", "public int calculateNthPrime(int k) {\n\t\t// TODO Write an implementation for this method declaration \n\t\tint i =1;\n\t\tint testnum = 2;\n\t\tboolean isPrime = true; \n\t\tif(k == 0) {\n\t\t\tthrow new IllegalArgumentException(\"number cannot be 0 or 1\");\n\t\t}\n\t\twhile(i < k+1) {\n\t\t\tfor(int j = 2; j < testnum; j++) {\n\t\t\t\t\n\t\t\t\tif(testnum % j == 0) {\n\t\t\t\t\tisPrime = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(isPrime == true) {\n\t\t\t\t//System.out.println(\"test num\" + \" \" + testnum);\n\t\t\t\ttestnum++;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\telse if(isPrime == false) {\n\t\t\t\t//System.out.println(\"composite\" + \" \" + testnum);\n\t\t\t\ttestnum++;\n\t\t\t\tisPrime = true;\n\t\t\t}\n\t\t}\n\t\ti--;\n\t\ttestnum--;\n\t\t//System.out.println(i + \" \" + testnum);\n\n\t\treturn testnum;\n\t}", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int k = in.nextInt();\n int q = in.nextInt();\n\n int a[] = new int[n];\n for(int a_i=0; a_i < n; a_i++){\n a[a_i] = in.nextInt();\n }\n\n int fist;\n int last;\n\n //brute force will get timeout\n for(int i = 0; i< k; i++){\n fist = a[0];\n last = a[n-1];\n a[0] = last;\n for (int j = 1; j<n; j++){\n last = a[j];\n a[j] = fist;\n fist = last;\n }\n }\n\n for(int a0 = 0; a0 < q; a0++){\n System.out.println(a[in.nextInt()]);\n }\n\n\n }", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int q = sc.nextInt();\n\n for(int k = 0; k < q; k++) {\n int m = sc.nextInt();\n int n = sc.nextInt();\n\n // indicate number of pieces\n long x = 1;\n long y = 1;\n \n ArrayList<Long> c_y = new ArrayList<Long>();\n for(int i = 0; i < m - 1; i++) {\n c_y.add(sc.nextLong());\n }\n \n ArrayList<Long> c_x = new ArrayList<Long>();\n for(int i = 0; i < n - 1; i++) {\n c_x.add(sc.nextLong());\n }\n\n Collections.sort(c_y, Collections.reverseOrder());\n Collections.sort(c_x, Collections.reverseOrder());\n\n // cut: most expensive = cut first\n int index_X = 0;\n int index_Y = 0;\n long totalCost = 0;\n\n while(!(x == n && y == m)) {\n if(x < n && y < m) {\n // compare cost to decide whether cut horizontally or vertically\n if(c_y.get(index_Y) >= c_x.get(index_X)) {\n totalCost += c_y.get(index_Y) * x;\n y++;\n index_Y++;\n } else if(c_y.get(index_Y) < c_x.get(index_X)) {\n totalCost += c_x.get(index_X) * y;\n x++;\n index_X++; \n }\n } else if(x == n && y < m) {\n totalCost += c_y.get(index_Y) * x;\n index_Y++;\n y++;\n } else if(x < n && y == m) {\n totalCost += c_x.get(index_X) * y;\n index_X++;\n x++;\n }\n }\n\n totalCost = totalCost % (long)(Math.pow(10, 9) + 7);\n System.out.println(totalCost );\n }\n }", "public static int[] maximumFromConsecutiveKElements(int[] a, int k) {\r\n int length = a.length;\r\n int outputLength = length - k + 1;\r\n int[] maximums = new int[outputLength];\r\n\r\n // O(n)\r\n for (int i = 0; i < outputLength; i++) {\r\n int currentMax = Integer.MIN_VALUE;\r\n // O(k)\r\n for (int j = 0; j < k; j++) {\r\n int currentValue = a[i + j];\r\n if (currentValue > currentMax) {\r\n currentMax = currentValue;\r\n }\r\n }\r\n maximums[i] = currentMax;\r\n }\r\n\r\n return maximums;\r\n }", "@Override\n protected long advanceH(final long k) {\n return 5 * k - 2;\n }", "public final static void main(String[] args) {\n\t\tfinal int n = 8;\n\t\tfinal int k = 4;\n\n\t\tStreamSupport.stream(\n\t\t\t\tnew PermutationSpliterator(Selection.of(n, k)),\n\t\t\t\tfalse)\n\t\t\t\t.forEachOrdered(a -> {});\n\n\t\tfor (int cur = 0; cur < 70; cur++) {\n\t\t\tlong tCur = cur;\n\t\t\tfinal int x = (n - k)+1;\n\t\t\tint i = k;\n\t\t\tfinal int[] array = new int[k];\n\t\t\twhile (i >= 1) {\n\t\t\t\tarray[i-1] = (int) (tCur % x);\n\t\t\t\ttCur /= i--;\n\t\t\t}\n\t\t}\n\t}", "static long gridlandMetro(long n, int m, int k, int[][] track) {\n Map<Integer, Stack<int[]>> map = new HashMap<>();\n for (int i = 0; i < k; i++) {\n int r = track[i][0];\n int c1 = track[i][1];\n int c2 = track[i][2];\n Stack<int[]> stack = map.get(r);\n if (stack == null) {\n stack = new Stack<>();\n stack.push(new int[] { c1, c2 });\n map.put(r, stack);\n } else {\n int[] c = stack.peek();\n if (c[1] >= c1)\n c[1] = Math.max(c[1], c2);\n else\n stack.push(new int[] { c1, c2 });\n }\n }\n return (long) n * m - map.values().stream().flatMap(Collection::stream).mapToLong(c -> c[1] - c[0] + 1).sum();\n}", "public int getKth(int lo, int hi, int k) {\n HashMap<Integer, Integer> map = new HashMap<>();\n map.put(1, 0);\n int[][] powerValues = new int[hi - lo + 1][2];\n for (int i = lo; i <= hi; i++) {\n powerValues[i - lo][1] = getPowerValue(i, map);\n powerValues[i - lo][0] = i;\n }\n // for (int i = 0; i < powerValues.length; i++) {\n // System.out.print(Arrays.toString(powerValues[i]) + \" \");\n // }\n Arrays.sort(powerValues, new Comparator<int[]>() {\n @Override\n public int compare(int[] o1, int[] o2) {\n return o1[1] - o2[1];\n }\n });\n // System.out.println();\n // for (int i = 0; i < powerValues.length; i++) {\n // System.out.print(Arrays.toString(powerValues[i]) + \" \");\n // }\n return powerValues[k - 1][0];\n }", "public void Series() {\n\t\tint n=8,i=1,k=2,count=0;\n\t\tSystem.out.print(n+\" \");\n\t\twhile (count<5) {\n\t\t\tn=n*i;//12\n\t\t\tn=n-k;//9\n\t\t\tSystem.out.print(n+\" \");//9\n\t\t\ti++;\n\t\t\tk++;\n\t\t\tcount++;\n\t\t}\n\t\t/*System.out.println(n);//8\n\t\tn=n*1;//8\n\t\tn=n-2;//6\n\t\t\n\t\tSystem.out.println(n);//6\n\t\tn=n*2;//12\n\t\tn=n-3;//9\n\t\tSystem.out.println(n);//9\n\t\tn=n*3;//27\n\t\tn=n-4;//23\n\t\tSystem.out.println(n);\n\t\tn=n*4;//12\n\t\tn=n-5;*/\n\t\t\n\t\t/*System.out.println(n);\n\t\tn=n*5;//12\n\t\tn=n-6;\n\t\tSystem.out.println(n);*/\n\t\t\n\t}", "private static long f(long m) {\n\t\tlong k = 1;\r\n\t\tfor (long i=1; i<=m; i++){\r\n\t\t\tk *= i;\r\n\t\t}\r\n\t\treturn k;\r\n\t}", "public int[] constructArray(int n, int k) {\n int[] result = new int[n];\n if(k == 1) {\n for(int i = 0; i < result.length; i++)\n result[i] = i+1;\n return result;\n }\n \n boolean takeFromMin = true;\n int min = k / 2, j = 1;\n if(k % 2 == 0)\n takeFromMin = true;\n else takeFromMin = false;\n\n // If even, min starts at the end\n // [2,3,4,5,6,7,8,9,10,1]\n //\n // If odd, min starts at end - 1\n // [2,3,4,5,6,7,8,9,1,10]\n for(int i = result.length-1; i >= 0; i--) {\n if(takeFromMin && j <= min) {\n result[i] = j;\n j++;\n takeFromMin = false;\n }\n else {\n result[i] = n;\n n--;\n takeFromMin = true;\n }\n }\n return result;\n }", "public static int calculate()\n {\n final List<Integer> oneToNine = IntStream.iterate(1, n -> n + 1)\n .limit(9)\n .boxed()\n .collect(toList());\n final List<List<Integer>> permutations = HeapPermutations.of(oneToNine);\n\n // System.out.println(permutations.size());\n //2- for each permutation\n // a. find all breaking 2 points to break\n // b. check first two sections' third is equal to the last section\n // c. if yes, add combintion to result, otherwise skip\n\n return permutations.stream()\n .flatMap(toTriples()) //find all combinations xx X yy = zz\n .filter(isPandigital()) // allow pandigital tripes through\n .map(Triple::getThird) // get the product\n .distinct() // get distinct products only given the problem statement does not allow repetition (see hint)\n .mapToInt(i -> i) // convert to primitive\n .sum(); // and finally get the sum\n }", "public int generate(int k) {\n // PUT YOUR CODE HERE\n }", "public static int getSpectators(int n, int k, int t){\n\t if( t <= k && t <= n)\n\t {\n\t return (t);\n\t }\n\t else if(t <= n) \n\t {\n \t return (k);\n\t } \n\t else \n\t {\n\t\treturn(Math.max(0, k - (t - n)));\n\t }\n\t}", "public static void rotate(int[] nums, int k) {\n // get the kth index from the end to rotate\n\t\tint n = nums.length;\n\t\tk = k % n ;\n\t\tif(k == 0) return ;\n\t\tint prev = 0, tmp = 0;\n\t\tfor(int i = 0 ; i < k ; i++) {\n\t\t\tprev = nums[n - 1];\n\t\t\tfor(int j = 0 ; j < nums.length ; j++) {\n\t\t\t\ttmp = nums[j];\n\t\t\t\tnums[j] = prev;\n\t\t\t\tprev = tmp;\n\t\t\t}\n\t\t}\n }", "private static int[] cycliRotation(int[] A, int K) {\n\t\tfor(int i = 0; i < K; i++)\n\t\t{\n\t\t\t//Variable\n\t\t\tint tempStorage = 0;\n\t\t\tint nextCounter = 1;\n\t\t\tint currentCounter = 0;\n\t\t\t\n\t\t\tfor(int j=0;j<A.length;j++)\n\t\t\t{\n\t\t\t\tif(nextCounter > A.length)\n\t\t\t\t{\n\t\t\t\t\ttempStorage = A[j];\n\t\t\t\t\t\n\t\t\t\t\tA[j] = A[currentCounter];\n\t\t\t\t\t\n\t\t\t\t\tA[currentCounter] = tempStorage;\n\t\t\t\t\t\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(j == A.length-1)\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\ttempStorage = A[nextCounter]; // Move the next element to a temporary storage\n\t\t\t\t\t\n\t\t\t\t\tA[nextCounter] = A[currentCounter]; // Swap the position of the next element with the first\n\t\t\t\t\t\n\t\t\t\t\tA[currentCounter] = tempStorage;\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\tnextCounter++;\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn A;\n\t}", "static long g(long k) {\n\t\treturn Math.max(lpf(k + 1), lpf(k * k - k + 1)) - 1;\n\t}", "public List<List<Integer>> getCandidateA(int nStartVal, int k, int n) {\n \tint nMin; \r\n \tint nMax; \r\n \tint i;\r\n \tList<List<Integer>> lstlstCombSum = new ArrayList<List<Integer>>();\r\n List<Integer> lstResult = new ArrayList<Integer>();\r\n \t\r\n \tif (nStartVal > n || k == 0) return lstlstCombSum;\r\n \t\r\n \tif (k == 1) {\r\n \t\tif (n > 9) return lstlstCombSum;\r\n \t\tlstResult.add(n);\r\n \t\tlstlstCombSum.add(lstResult);\r\n \t\treturn lstlstCombSum;\r\n \t}\r\n \t\r\n \tnMin = nStartVal;\r\n \tnMax = (int) (n - (k-1)*k/2)/k; //Max value occurs when the remaining numbers are: x (the maxvalue), x+1, x+2 ... x+k-1 (the sum should be n)\r\n \t\r\n \tfor (i = nMin; i <= nMax; i++) { //Possible value of the first\r\n \t\tList<List<Integer>> lstlstCombSumTmp = new ArrayList<List<Integer>>();\r\n \t\tlstlstCombSumTmp = getCandidateA(i+1, k-1, n-i);\r\n \t\t\r\n \t\tif (lstlstCombSumTmp.isEmpty()) continue;\r\n \t\t\r\n \t\tfor (List<Integer> lstOneCombSum:lstlstCombSumTmp) {\r\n \t\t\tlstOneCombSum.add(0, i);\r\n \t\t\tlstlstCombSum.add(lstOneCombSum);\r\n \t\t}\r\n \t\t\r\n \t}\r\n \t\r\n \treturn lstlstCombSum;\r\n }", "long getRsum(int n, int i, int k){\r\n return n-i>=k ? (n-i-k)+ssum(k-1): ssum(k-1) - ssum(k-n+i);\r\n }", "static /* synthetic */ void m34120F(int i, long j) {\n AppMethodBeat.m2504i(114776);\n C22440b c22440b;\n if (i == 11) {\n c22440b = new C22440b();\n c22440b.startTime = System.currentTimeMillis();\n sJR.put(Long.valueOf(j), c22440b);\n AppMethodBeat.m2505o(114776);\n return;\n }\n if (i == 12) {\n if (!sJR.containsKey(Long.valueOf(j))) {\n new C22440b().startTime = System.currentTimeMillis();\n AppMethodBeat.m2505o(114776);\n return;\n }\n } else if (i == 13) {\n c22440b = (C22440b) sJR.get(Long.valueOf(j));\n if (c22440b != null) {\n c22440b.endTime = System.currentTimeMillis();\n sJT.add(c22440b);\n sJR.remove(Long.valueOf(j));\n }\n }\n AppMethodBeat.m2505o(114776);\n }", "public static void main(String[] args) {\n\tfor(int k=1; k<=3;k++)\r\n\t{\r\n\t\tfor(int i=1; i<=9; i++)\r\n\t\t {\r\n\t\t\tSystem.out.println();\r\n\t\t for(int j=3*k-1; j<=3*k+1;j++)\r\n\t\t {\r\n\t\t if(j!=10)\r\n\t\t System.out.printf(j+\"*\"+i+\"=\"+i*j+\"\\t\");\r\n\t\t }\r\n\t\t }\r\n\t}\t\r\n }", "public int count(int n, int k)\n {\n\n long MOD = 1000000007;\n long res;\n\n res = (long)Math.pow(k, n);\n Map<Integer, Integer> divisor = new HashMap<>();\n\n long count = 0;\n for(int i = 2; i <= k; i++) {\n if(!(i % 2 == 0 && divisor.containsKey(i / 2))) {\n int div = divisorCount(i);\n divisor.put(i, div);\n count += div - 1;\n }\n else{\n int log2 = 31 - Integer.numberOfLeadingZeros(i);\n int div;\n if(Math.pow(2, log2) == i){\n div = divisor.get(i / 2) + 1;\n\n }\n else\n div = divisor.get(i / 2) * 2;\n\n divisor.put(i, div);\n count += div - 1;\n\n }\n\n }\n\n res -= (n - 1) * Math.pow(k, n - 2) * count;\n return (int)(res % MOD);\n }", "private void m15513b(long j) {\n if (mo9140c() != null) {\n this.f13396d.f11688z = System.currentTimeMillis();\n int intValue = ((Integer) this.f13396d.get(\"data_pk_anchor_score\")).intValue();\n int intValue2 = ((Integer) this.f13396d.get(\"data_pk_guest_score\")).intValue();\n if (intValue > intValue2) {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_result\", PkResult.LEFT_WON);\n } else if (intValue < intValue2) {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_result\", PkResult.RIGHT_WON);\n } else {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_result\", PkResult.EVEN);\n }\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_state\", PkState.PENAL);\n if (j <= 0) {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_state\", PkState.FINISHED);\n }\n int i = (int) (j / 1000);\n int i2 = (int) (j % 1000);\n if (this.f13399i != null) {\n this.f13399i.dispose();\n this.f13399i = null;\n }\n this.f13399i = C9057b.m27050a(0, 1, TimeUnit.SECONDS).mo19305c((long) (i + 1)).mo19320e((long) i2, TimeUnit.MILLISECONDS).mo19317d((C7327h<? super T, ? extends R>) new C4703fw<Object,Object>(i)).mo19294a(C47549a.m148327a()).mo19280a((C7326g<? super T>) new C4704fx<Object>(this), (C7326g<? super Throwable>) new C4705fy<Object>(this));\n }\n }", "private void m15508a(long j) {\n C4485ak.m15001a();\n if (this.f13396d.f11672j > 0 && this.f13396d.f11674l > 0 && mo9140c() != null) {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_state\", PkState.PK);\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_result\", PkResult.UNFINISHED);\n long j2 = (this.f13396d.f11674l - j) + ((long) (this.f13396d.f11672j * 1000));\n int i = (int) j2;\n int i2 = i / 1000;\n int i3 = i % 1000;\n StringBuilder sb = new StringBuilder(\"startTimeDown :\");\n sb.append(j2);\n this.f13396d.lambda$put$1$DataCenter(\"cmd_log_link\", sb.toString());\n if (j2 < 0) {\n if (this.f13399i != null) {\n this.f13399i.dispose();\n this.f13399i = null;\n }\n if (((long) (this.f13396d.f11682t * 1000)) + j2 > 0) {\n m15513b(((long) (this.f13396d.f11682t * 1000)) + j2);\n } else {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_state\", PkState.FINISHED);\n }\n } else {\n if (this.f13399i != null) {\n this.f13399i.dispose();\n this.f13399i = null;\n }\n ((C4697a) mo9140c()).mo12636a(this.f13395c);\n int i4 = i2 + 1;\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_time_left\", Integer.valueOf(i4));\n this.f13399i = C9057b.m27050a(0, 1, TimeUnit.SECONDS).mo19305c((long) i4).mo19320e((long) i3, TimeUnit.MILLISECONDS).mo19317d((C7327h<? super T, ? extends R>) new C4698fr<Object,Object>(i2)).mo19294a(C47549a.m148327a()).mo19280a((C7326g<? super T>) new C4699fs<Object>(this), (C7326g<? super Throwable>) new C4706fz<Object>(this));\n }\n }\n }", "public static void main(String[] args) {\n\t\tboolean[] primes = new boolean[1000000];\r\n\t\tArrayList<Integer> consecutivePrimeSums = new ArrayList<>();\r\n\t\tfor (int i = 0; i < primes.length; i++) {\r\n\t\t\tprimes[i] = true;\r\n\t\t}\r\n\t\tprimes[0] = false;//1 is not prime number\r\n\t\tfor (int p = 2; p*p <= 1000000; p++) {\r\n\t\t\tif (primes[p-1] == true) {\r\n\t\t\t\tfor (int q = p*p; q <= 1000000; q += p) {\r\n\t\t\t\t\tprimes[q-1] = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t//Store the consecutive prime sums as we iterate through the boolean array\r\n\t\tconsecutivePrimeSums.add(0);\r\n\t\tint currentIndex = 1;\r\n\t\tfor (int j = 0; j < primes.length; j++) {\r\n\t\t\tif (primes[j] == true) {\r\n\t\t\t\tconsecutivePrimeSums.add(consecutivePrimeSums.get(currentIndex-1) + (j+1));\r\n\t\t\t\tcurrentIndex++;\r\n\t\t\t}\r\n\t\t}\r\n\t\t//Now we use 2 nested for loops to loop through all possible consecutive prime sums\r\n\t\tint maxLength = 0;\r\n\t\tint ans = 0;\r\n\t\tfor (int k = consecutivePrimeSums.size()-1; k >= 2; k--) {\r\n\t\t\tfor (int m = k-2; m >= 0; m--) {\r\n\t\t\t\tint currentSum = consecutivePrimeSums.get(k) - consecutivePrimeSums.get(m);\r\n\t\t\t\tif (currentSum >= 1000000)\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tif (primes[currentSum-1] == true && (k-m) > maxLength) {\r\n\t\t\t\t\tans = currentSum;\r\n\t\t\t\t\tmaxLength = k-m;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tSystem.out.println(ans);\r\n\t\t/*long endTime = System.nanoTime();\r\n\t\tlong timeElapsed = endTime - startTime;\r\n\t\tSystem.out.println(timeElapsed/1000000 + \" ms\");*/\r\n\t}", "private int run() {\r\n int[] num = new int[13];\r\n boolean IsRun = false;\r\n int count = 0, index=0, combination=1;\r\n for (String aCard : Card) {\r\n switch (aCard.substring(0, 1)) {\r\n case \"A\":\r\n num[0]++;\r\n continue;\r\n case \"2\":\r\n num[1]++;\r\n continue;\r\n case \"3\":\r\n num[2]++;\r\n continue;\r\n case \"4\":\r\n num[3]++;\r\n continue;\r\n case \"5\":\r\n num[4]++;\r\n continue;\r\n case \"6\":\r\n num[5]++;\r\n continue;\r\n case \"7\":\r\n num[6]++;\r\n continue;\r\n case \"8\":\r\n num[7]++;\r\n continue;\r\n case \"9\":\r\n num[8]++;\r\n continue;\r\n case \"T\":\r\n num[9]++;\r\n continue;\r\n case \"J\":\r\n num[10]++;\r\n continue;\r\n case \"Q\":\r\n num[11]++;\r\n continue;\r\n case \"K\":\r\n num[12]++;\r\n }\r\n }\r\n\r\n for (int i = 1; i < 14; i++) {\r\n if (num[i-1]!=0){\r\n count++;\r\n index=i-1;\r\n }\r\n if (count>=3){\r\n IsRun=true;\r\n }\r\n if (i<13) {\r\n if (num[i] == 0 && IsRun) { //if there is a run already, break the recursion if the next num doesn't exist.\r\n break;\r\n }\r\n if (num[i] == 0 && !IsRun) {\r\n count = 0;\r\n index = 0;\r\n }\r\n }\r\n }\r\n\r\n if (IsRun){\r\n for (int i = index-count+1; i < index+1; i++) {\r\n combination*=num[i];\r\n }\r\n return combination*count;\r\n }\r\n return 0;\r\n }", "static void binomialCoeff(int C[][], int n, int k)\n {\n for (int i = 0; i <= n; i++) {\n for (int j = 0; j <= Math.min(i, k); j++)\n {\n\n // Base Cases\n if (j == 0 || j == i)\n C[i][j] = 1;\n\n // Calculate value using previously\n // stored values\n else\n C[i][j] = C[i - 1][j - 1] +\n C[i - 1][j];\n }\n }\n }", "public static void main(String[] args) {\n\t\tList<Integer> nums = new ArrayList<Integer>();\n\t\tint n, k;\n\n\t\tSystem.out.println(\"================= n=2, k=1 =====================\");\n\t\tn = 2;\n\t\tk = 1;\n\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tnums.add(i);\n\t\t}\n\t\t\n\t\tk = k - 1;\n\t\tplay(n, k, 0, nums);\n\t\t\n\t\tSystem.out.println(nums);\n\t\t\n\t\tSystem.out.println(\"================= n=4, k=2 =====================\");\n\t\tnums.clear();\n\t\tn = 4;\n\t\tk = 2;\n\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tnums.add(i);\n\t\t}\n\t\t\n\t\tk = k - 1;\n\t\tplay(n, k, 0, nums);\n\t\t\n\t\tSystem.out.println(nums);\n\t\t\n\t\tSystem.out.println(\"================= n=40, k=7 =====================\");\n\t\tnums.clear();\n\t\tn = 40;\n\t\tk = 7;\n\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tnums.add(i);\n\t\t}\n\t\t\n\t\tk = k - 1;\n\t\tplay(n, k, 0, nums);\n\t\t\n\t\tSystem.out.println(nums);\n\t\t\n\t\tSystem.out.println(\"================= n=50, k=10 =====================\");\n\t\tnums.clear();\n\t\tn = 50;\n\t\tk = 10;\n\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tnums.add(i);\n\t\t}\n\t\t\n\t\tk = k - 1;\n\t\tplay(n, k, 0, nums);\n\t\t\n\t\tSystem.out.println(nums);\n\t}", "public static void main (String[] args)\n {\n int[] f = {3,3,1}; \n \n //System.out.println(nCPr(f,3));\n System.out.println(nCPr(f,3));\n \n System.exit(0);\n \n /*\n long t = System.currentTimeMillis();\n System.out.println(primes0(Long.MAX_VALUE)); \n System.out.println((System.currentTimeMillis() - t) /1);\n \n t = System.currentTimeMillis();\n System.out.println(primes(Long.MAX_VALUE,null)); \n System.out.println((System.currentTimeMillis() - t) /1);*/\n \n br.com.hkp.classes.math.numberstheory.QuickSieve sv = \n new br.com.hkp.classes.math.numberstheory.QuickSieve(50000000);\n \n System.out.println(\">>>\"+primeFactors(89999999));\n \n \n \n Iterator<Integer> it = sv.getList().iterator();\n \n double soma = 0;\n \n while (it.hasNext())\n \n {\n long n = it.next();\n if (n > 6000)\n break;\n else\n soma += 32000000 / it.next();\n }\n \n System.out.println(soma);\n \n //System.exit(0);\n \n \n System.out.println(\" Fatorando...\");\n long pow = (long)Math.pow(50000000, 2);\n \n System.out.println(\" pow = \" +pow);\n \n for (int i = 0; i <= 300; i++)\n {\n long random = (long)(pow * Math.random());//715256374182293l;\n System.out.println(\" random = \" + random);\n long t = System.currentTimeMillis();\n System.out.print(\"Primes : \"+primeFactors(random,sv.getList())); \n long time = System.currentTimeMillis() - t;\n System.out.println(\" > \"+ time + \" milseg\");\n \n t = System.currentTimeMillis();\n System.out.print(\"Primes0 : \"+primeFactors(random)); \n long time0 = System.currentTimeMillis() - t;\n System.out.println(\" > \"+ time0 + \" milseg\");\n \n \n System.out.println(\" ratio = \" + ((time != 0) ? time0/time : \"N/A\"));\n }\n //System.out.println(primes(14552145213l)); \n //System.out.println((7l*7l*73l*127l*337l*92737l*649657l) == Long.MAX_VALUE); \n //System.out.println(5l*23l*53301701l*1504703107l); \n //System.out.println((7l*7l*73l*127l*337l*92737l*649657l)); \n System.exit(0);\n //System.out.println(frac(5.97));\n int[] v = {3,2,0};\n System.out.println(nPr(v,3));\n \n System.exit(0);\n\n double pi = 5.97;\n //System.out.println(frac(pi));\n double fracPi = frac (pi);\n double fracMinusPi = frac (-pi);\n double i = integ(pi);\n //System.out.printf (\"%f %f %f %.14f%n\", pi, fracPi, fracMinusPi,i);\n System.out.println ( fracPi);\n\n BigDecimal bdPi = new BigDecimal (\"\" +5.97);\n BigDecimal bdFracPi = frac (bdPi);\n BigDecimal bdFracMinusPi = frac (bdFracPi.negate());\n\n //System.out.printf (\"%f %f %f%n\", bdPi, bdFracPi, bdFracMinusPi);\n System.out.println(bdFracPi);\n }", "public int[] a(int paramInt1, int paramInt2, int paramInt3, int paramInt4)\r\n/* 11: */ {\r\n/* 12:13 */ int i = paramInt1 - 1;\r\n/* 13:14 */ int j = paramInt2 - 1;\r\n/* 14:15 */ int k = paramInt3 + 2;\r\n/* 15:16 */ int m = paramInt4 + 2;\r\n/* 16:17 */ int[] arrayOfInt1 = this.a.a(i, j, k, m);\r\n/* 17: */ \r\n/* 18:19 */ int[] arrayOfInt2 = boy.a(paramInt3 * paramInt4);\r\n/* 19:20 */ for (int n = 0; n < paramInt4; n++) {\r\n/* 20:21 */ for (int i1 = 0; i1 < paramInt3; i1++)\r\n/* 21: */ {\r\n/* 22:22 */ int i2 = c(arrayOfInt1[(i1 + 0 + (n + 1) * k)]);\r\n/* 23:23 */ int i3 = c(arrayOfInt1[(i1 + 2 + (n + 1) * k)]);\r\n/* 24:24 */ int i4 = c(arrayOfInt1[(i1 + 1 + (n + 0) * k)]);\r\n/* 25:25 */ int i5 = c(arrayOfInt1[(i1 + 1 + (n + 2) * k)]);\r\n/* 26:26 */ int i6 = c(arrayOfInt1[(i1 + 1 + (n + 1) * k)]);\r\n/* 27:27 */ if ((i6 != i2) || (i6 != i4) || (i6 != i3) || (i6 != i5)) {\r\n/* 28:28 */ arrayOfInt2[(i1 + n * paramInt3)] = arm.w.az;\r\n/* 29: */ } else {\r\n/* 30:30 */ arrayOfInt2[(i1 + n * paramInt3)] = -1;\r\n/* 31: */ }\r\n/* 32: */ }\r\n/* 33: */ }\r\n/* 34:35 */ return arrayOfInt2;\r\n/* 35: */ }", "private int caclSteps(float g, float h, float i) {\n\t\tint steps = 0;\n\t\tfloat currSpeed = i;\n\t\tfloat f = 0;\n\t\twhile(f<g){\n\t\t\tf +=currSpeed;\n\t\t\tcurrSpeed+=h;\n\t\t\tsteps++;\n\t\t\t\n\t\t}\n\t\treturn steps;\n\t}", "static long[] radixsort(int arr[], int n)\r\n\r\n {\n\r\n int m = getMax(arr, n);\r\n\r\n long st = System.nanoTime();\r\n\r\n\r\n\r\n for (int exp = 1; m/exp > 0; exp *= 10)\r\n\r\n countSort(arr, n, exp);\r\n\r\n \r\n\r\n long et = System.nanoTime();\r\n\r\n threeVals[2] = et - st;\r\n\r\n return threeVals;\r\n\r\n }", "public static int iterations(double error, int k, int d) {\r\n\t\tdouble pc = 1.0;\r\n\t\tfor(int i=1; i<=k; i++) {\r\n\t\t\tpc *= ((double)(i+(d-k))/(double)(d));\r\n\t\t}\r\n\t\treturn (int)((1.0/pc)*Math.log(1.0/error));\r\n\t}", "public static void main(String[] args){\n int n;int k;\n Scanner sc=new Scanner(System.in);\n n=sc.nextInt();\n k=sc.nextInt();\n int[] a=new int[n];\n int[] reMain=new int[k];\n int num=0;\n for(int i=0;i<k;i++){\n reMain[i]=0;\n }\n for(int i=0;i<n;i++){\n int d=sc.nextInt()%k;\n reMain[d]++;\n }\n int p=0;\n if(k%2==0)\n p=k/2;\n else p=(k+1)/2;\n for(int i=1;i<p;i++){\n if(reMain[i]>reMain[k-i])\n num+=reMain[i];\n else\n num+=reMain[k-i];\n \n }\n if(reMain[p]%2==1 && k%2==0)\n num++;\n if(k==2)\n num=reMain[1];\n \n \n System.out.println(num);\n\t}", "public int digitCounts(int k, int n) {\n\n int result = 0;\n int base = 1;\n while (n/base > 0) {\n\n int cur = (n/base)%10;\n int low = n-(n/base) * base;;\n int high = n/(base * 10);\n\n if (cur < k)\n {\n result += high*base;\n }\n else if (cur > k)\n {\n result += (high+1)*base;\n }\n else\n {\n result += high*base+low+1;\n }\n\n base *= 10;\n }\n\n return result;\n }", "private static int setKthBit(int num,int k){\n int p=0;\n int m =1;\n while(p<k){\n p++;\n m =m<<1;\n }\n return num|m;\n }", "public void rotate2(int[] nums, int k) {\n int start = 0, n = nums.length;\n k %= n;\n while (n > 0 && k > 0) {\n // Swap the last k elements with the first k elements.\n // The last k elements will be in the correct positions\n // but we need to rotate the remaining (n - k) elements\n // to the right by k steps.\n for (int i = 0; i < k; i++) {\n swap(nums, i + start, n - k + i + start);\n }\n n -= k;\n start += k;\n k %= n;\n }\n }", "private static void eval7(){\n int z = 0;\n for(int i = 0; i < 46; i++){\n for(int j = i + 1; j < 47; j++){\n for(int k = j + 1; k < 48; k++){\n for(int l = k + 1; l < 49; l++){\n for(int m = l + 1; m < 50; m++){\n for(int n = m + 1; n < 51; n++){\n for(int o = n + 1; o < 52; o++){\n Evaluator.evaluate(i, j, k, l, m, n, o);\n }\n }\n }\n }\n }\n }\n }\n }", "static int digitSum(String n, int k) {\n int sum = findSum(convertToList(n));\n // Finding the initial super digit where k=1\n sum = findSuperDigit(convertToList(sum));\n // Calculating k times the super digit to find actual result\n return findSuperDigit(convertToList(sum*k));\n }", "public static List<List<Integer>> gen_size_k_candidate(Map<List<Integer>, Float> oldCandidate, Integer k){\n\n List<List<Integer>> sizeKPlusCandidate = new ArrayList<>();\n\n // size 2 candidate\n if( k <= 1){\n List<Integer> size1Candidate = new ArrayList<>();\n for (List<Integer> size1: oldCandidate.keySet()){\n size1Candidate.addAll(size1);\n }\n // sort\n Collections.sort(size1Candidate);\n // Generate\n sizeKPlusCandidate = CombinationGenerator.findsort(size1Candidate, 2);\n\n }else {\n List<List<Integer>> oldList = new ArrayList<>();\n oldList.addAll(oldCandidate.keySet());\n\n for(int iOld = 0; iOld < oldList.size()-1; iOld ++){\n for(int jOld =iOld+1; jOld < oldList.size(); jOld++){\n // check k element of feature is the same\n List<Integer> formerList = new ArrayList<>();\n List<Integer> laterList = new ArrayList<>();\n\n for (int fl=0; fl < k-1; fl++){\n formerList.add(oldList.get(iOld).get(fl));\n laterList.add(oldList.get(jOld).get(fl));\n }\n\n if (formerList.equals(laterList)){\n\n HashSet<Integer> tempCandidate = new HashSet<>();\n\n tempCandidate.addAll(oldList.get(iOld));\n tempCandidate.addAll(oldList.get(jOld));\n\n List<Integer> tempCandidateList = new ArrayList<>();\n tempCandidateList.addAll(tempCandidate);\n\n Collections.sort(tempCandidateList);\n // Prunning\n List<List<Integer>> prunningCandidate = CombinationGenerator.findsort(tempCandidateList, k);\n\n int flag = 0;\n for(List<Integer> checkPrun: prunningCandidate){\n if(oldCandidate.containsKey(checkPrun)){\n flag++;\n }\n }\n if (flag == k+1){\n sizeKPlusCandidate.add(tempCandidateList);\n }\n }\n }\n }\n }\n return sizeKPlusCandidate;\n }", "public int kSum(int[] A, int k, int target) {\n\t\tint res=0;\r\n\t\t//考虑k=1的情况\r\n//\t\tif (k==1) {\r\n//\t\t\tfor(int i=0;i<A.length;i++) {\r\n//\t\t\t\tif (A[i]==target) {\r\n//\t\t\t\t\tres++;\r\n//\t\t\t\t}\r\n//\t\t\t}\r\n//\t\t\treturn res;\r\n//\t\t}\r\n//\t\tint sum_k_1=0;\r\n//\t\tint sum=target-sum_k_1;\r\n//\t\tif (k>1 && k<A.length) {\r\n//\t\t\tfor(int i=0;i<A.length-1;i++) {\r\n//\t\t\t\tfor(int j=i+1;j<A.length;j++) {\r\n//\t\t\t\t\t\r\n//\t\t\t\t}\r\n//\t\t\t}\r\n//\t\t}\r\n\t\t//动态规划\r\n\t\tint n=A.length;\r\n\t\tint[][][] f=new int[n+1][k+1][target+1];\r\n\t\tfor(int i=0;i<n+1;i++) {\r\n\t\t\tf[i][0][0]=1;\r\n\t\t}\r\n\t\tfor(int i=1;i<=n;i++) {\r\n\t\t\tfor(int j=1;j<=k && j<=i;j++) {\r\n\t\t\t\tfor(int t=1;t<=target;t++) {\r\n\t\t\t\t\tf[i][j][t]=0;\r\n\t\t\t\t\tif (t>=A[i-1]) {\r\n\t\t\t\t\t\tf[i][j][t]=f[i-1][j-1][t-A[i-1]];\r\n\t\t\t\t\t}\r\n\t\t\t\t\tf[i][j][t]+=f[i-1][j][t];\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn f[n][k][target];\r\n }", "public static void findKComplemenentaryPairs(int[] values, int k) {\n\t\t\n\t\t// first of all, we need to divide to conquer, let's build a binary tree\n\t\t// I will set root as K. This way, for each new value 'i' I will know which side of the tree\n\t\t// I should find 'j' \n\t\t\n\t\tLeaf root = new Leaf(k);\n\t\tcountIterations = 0;\n\t\tfor (int i = 0; i < values.length; i++) {\n\t\t\taddLeaf(root, values[i]);\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.print(\"Tree built: \");\n\t\tprintTree(root); \t\t\t\t\t// this is just for debugging and will not be included in asymptotic analysis\n\t\tSystem.out.println(\"\\nTotal of \" + countIterations + \" iterations to build a tree for an array of \" + values.length + \" elements\");\n\t\t\n\t\tStringBuffer report = new StringBuffer();\n\t\t\n\t\tSystem.out.println(\"\\nPairs:\");\n\t\t// Trespass array and find value j that satisfies A[i] + A[j] = k\n\t\t\n\t\tint countTotal = 0;\n\t\tfor (int i = 0; i < values.length; i++) {\n\t\t\tcountIterations = 0;\n\t\t\tint val = values[i];\n\t\t\tint wanted = k - val;\n\t\t\tif (hasValue(root, wanted)) { \n\t\t\t\tSystem.out.println(\"- A[i,j] = [\" + val + \",\" + wanted + \"]\");\n\t\t\t}\n\t\t\treport.append(\"Iteration \" + i + \" took \" + countIterations + \" operations to search in the tree\\n\");\n\t\t\tcountTotal += countIterations;\n\t\t}\n\t\t\n\t\tSystem.out.println(report.toString());\n\t\tSystem.out.println(\"Total of operations for n=\" + values.length + \" was \" + countTotal + \" operations\");\n\t\t\n\t}", "public static void main(String[] args) {\n\t\tint c = 0;\r\n\t\tfor (int i = 1; i < 10; i++) {\r\n\t\t\tfor (int j = 0; j < 10; j++) {\r\n\t\t\t\tfor (int k = 0; k < 10; k++) {\r\n\t\t\t\t\tif (i*i*i + j*j*j + k*k*k == i*100 + j*10 + k) {\r\n\t\t\t\t\t\tc = i*100 + j*10 + k;\r\n\t\t\t\t\t\tSystem.out.println(i*100 + j*10 + k);\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}", "static int lcm(int j, int k) {\n\t\tint start;\n\t\tif (j<k)\n\t\t\tstart= j;\n\t\telse start = k; // Breaks ties with k\n\t\treturn lcmhelp(j,k,start);\n\t}", "public Integer[] solution(Integer[] A, int K) {\n\n\t\tInteger[] new_array = new Integer[A.length]; // a new array\n\n\t\tfor (int i = 0; i < A.length; i++) {\n\t\t\tint new_position = (i + K) % A.length; // using \"mod\" to do Cyclic Rotation\n\t\t\tnew_array[new_position] = A[i]; // put A[i] to the new position\n\t\t}\n\n\t\treturn new_array; // return new array\n\t}", "public static String KthPermutation(int n, int k){\n if(n > 9 || k <= 0) return \"\";\n if(n == 1) return \"1\";\n\n int[] factors = new int[n + 1];\n factors[0] = 1;\n for(int i = 1; i <= n; i++) factors[i] = factors[i - 1] * i;\n\n k = k - 1;\n k = k % factors[n];\n\n StringBuilder nums = new StringBuilder(\"123456789\");\n StringBuilder permutation = new StringBuilder();\n for(int i = n - 1; i >= 0; i--){\n int curNum = k / factors[i];\n permutation.append(nums.charAt(curNum));\n nums.deleteCharAt(curNum);\n k = k - curNum * factors[i];\n }\n return permutation.toString();\n }", "private static void findKClosestNumbers(int[] arr, int key, int k) {\n\n\t\tPriorityQueue<Integer> pq;\n\t\tint max = findMaxInArr(arr);\n\t\tint min = findMinInArr(arr);\n\n\t\tint maxDiff = Math.abs(key - max);\n\t\tint minDiff = Math.abs(key - min);\n\n\t\tif (maxDiff <= minDiff) {\n\t\t\tpq = new PriorityQueue<>(Collections.reverseOrder());\n\t\t} else {\n\t\t\tpq = new PriorityQueue<>();\n\t\t}\n\n\t\tfor (int e : arr) {\n\t\t\tpq.add(e);\n\t\t}\n\n\t\tint c = 0;\n\n\t\twhile (c < k) {\n\t\t\tSystem.out.println(pq.remove());\n\t\t\tc++;\n\t\t}\n\n\t}", "@Override\n public Z computeNext() {\n int n = size();\n if (n <= 2) {\n return Z.valueOf(mInits[n]);\n }\n final int pow2 = Integer.highestOneBit(n);\n final int j = n - pow2;\n Z result = a(j).multiply(mFaj0).add(a(j + 1).multiply(mFaj1));\n if (j == pow2 - 1) {\n result = result.add(1);\n }\n return result;\n \n }", "private static int[] reverseFromKtoEnd(int[] digits, int k, int length) {\r\n\t\tint temp[] = Arrays.copyOfRange(digits, k + 1, length);\r\n\t\tint l = temp.length;\r\n\t\tfor (int i = k + 1; i < length; i++) {\r\n\t\t\tdigits[i] = temp[l - 1];\r\n\t\t\tl--;\r\n\t\t}\r\n\t\treturn digits;\r\n\t}", "private int K(int t)\n {\n if(t<=19)\n return 0x5a827999;\n else if(t<=39)\n return 0x6ed9eba1;\n else if(t<=59)\n return 0x8f1bbcdc;\n else \n return 0xca62c1d6;\n }", "private static int combinationRecursive(int n, int k) {\n\t\tif (k == 0 || n == k) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn (int)(n/(double)k) * combinationRecursive(n-1, k-1);\n\t\t}\n\t}", "protected static int m34121a(int i, long j, List<C22441c> list) {\n C22441c c22441c;\n AppMethodBeat.m2504i(114774);\n Object obj = 1;\n while (i < sJS.size()) {\n try {\n Object obj2;\n c22441c = (C22441c) sJS.get(i);\n if (obj == null || c22441c.endTime <= j) {\n list.add(c22441c);\n obj2 = obj;\n } else {\n C22441c c22441c2 = new C22441c();\n c22441c2.sJY = c22441c.sJY;\n c22441c2.startTime = j;\n c22441c2.endTime = c22441c.endTime;\n list.add(c22441c2);\n obj2 = null;\n }\n i++;\n obj = obj2;\n } catch (Exception e) {\n AppMethodBeat.m2505o(114774);\n return -1;\n }\n }\n if (list.size() == 0) {\n c22441c = new C22441c();\n c22441c.sJY = sJQ;\n c22441c.startTime = j;\n c22441c.endTime = System.currentTimeMillis();\n list.add(c22441c);\n } else {\n c22441c = new C22441c();\n c22441c.sJY = sJQ;\n c22441c.startTime = sJP.startTime;\n c22441c.endTime = System.currentTimeMillis();\n list.add(c22441c);\n }\n int size = sJS.size();\n AppMethodBeat.m2505o(114774);\n return size;\n }", "int getNumIterations(int precision);", "public static int singleNumber(int[] nums, int k) {\n int len = nums.length, result = 0;\n int[] countBits = new int[32];\n\n for (int i = 0; i < 32; i++) {\n for (int j = 0; j < len; j++) {\n // if the bit position at i is set, we increment countBits[i] by 1.\n if (((nums[j] >> i) & 1) == 1)\n countBits[i]++;\n }\n\n result |= ((countBits[i] % k) << i);\n }\n return result;\n }", "public void rotate(int[] nums, int k) {\n int[] tmp = new int[nums.length];\n for (int i = 0; i < nums.length; ++i) {\n tmp[(i + k) % nums.length] = nums[i];\n }\n\n for (int i = 0; i < nums.length; ++i) {\n nums[i] = tmp[i];\n }\n }", "public int solution1(int[] nums, int k) {\n final int N = nums.length;\n Arrays.sort(nums);\n \n return nums[N-k];\n }", "public int coeff(int n, int k) {\n // Insert your code here\n return fact(n) / (fact(k) * fact(n - k));\n }", "public static synchronized int[] nextComb()\r\n\t{\r\n\t\tint[] c = null;\r\n\t\tint nc = 0;\r\n\t\twhile (nc == 0 && k > 0)\r\n\t\t{\r\n\t\t\tif (k >= p)\r\n\t\t\t{\r\n\t\t\t\tnc = k;\r\n\t\t\t\tc = new int[nc+1];\r\n\t\t\t\tfor (int j = 1; j <= k; j++)\r\n\t\t\t\t\tc[j] = x[j];\r\n\t\t\t}\r\n\r\n\t\t\tif (x[k] == n)\r\n\t\t\t{\r\n\t\t\t\tk--;\r\n\t\t\t\tx[k]++;\r\n\t\t\t}\r\n\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tk++;\r\n\t\t\t\tx[k] = x[k-1] + 1;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn c;\r\n\t}", "int getIterations();", "public static int findPairs(int[] nums, int k) {\n \tif(k<0){\n \t\treturn 0;\n \t}\n \t\n int re=0;\n Map<Integer, Integer> map=new HashMap<Integer, Integer>();\n for(int num: nums){\n \tif(map.containsKey(num)){\n \t\tif(k==0&&map.get(num)==1){\n \t\t\tre++;\n \t\t\tmap.put(num, 0);\n \t\t}\n \t\tcontinue;\n \t}\n \tif(map.containsKey(num+k)){\n \t\tre++;\n \t}\n \tif(map.containsKey(num-k)){\n \t\tre++;\n \t}\n \tmap.put(num, 1);\n }\n return re;\n }", "public int subarraysDivByK(int[] nums, int k) {\n\t \n int n = nums.length;\n\t\tint [] cumulativeMods = new int[n]; //store cumulative modulus\n int count =0; //count subarrays\n\t\tHashMap <Integer,Integer> repeatedMonitor = new HashMap<>();\n\t\t\n repeatedMonitor.put(0,1); \n\t\t//magic hidden zero :P, next appearing of 0 in cumulative will be the second to the monitor, \n\t\t//if you love to know why, do search xD\n\t\t\n cumulativeMods[0]= nums[0]%k<0? (nums[0]%k)+k : nums[0]%k;\n \n\t\t//Fill cumulativeMods array\n for(int i=1; i<n; i++){\n cumulativeMods[i] = cumulativeMods[i-1]+nums[i];\n cumulativeMods[i] = cumulativeMods[i]%k <0? (cumulativeMods[i]%k)+k: cumulativeMods[i]%k;\n } \n \n\t\t//count contiguous subarrays by monitoring the repeated items in cumulativeMods\n int toAdd=0;\n for(int i=0; i<n; i++){\n toAdd = repeatedMonitor.getOrDefault(cumulativeMods[i],0); \n count+= toAdd;\n repeatedMonitor.put(cumulativeMods[i], toAdd+1);\n }\n return count; \n }", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int T = scanner.nextInt();\n assert T >=1;\n assert T<=100000;\n long []numArr = new long[T];\n for(int i=0; i<T; i++) {\n numArr[i] = scanner.nextLong ();\n assert numArr[i]>=1;\n assert numArr[i]<=1000000000;\n }\n\n for (long num : numArr) {\n int i=1;\n long sum=0;\n while(i*3<num) {\n sum +=i*3;\n if(i*5<num && i%3!=0)\n sum +=i*5;\n i++;\n }\n System.out.println(sum);\n }\n }", "private int d(@Nullable K ☃) {\r\n/* 127 */ return (xq.f(System.identityHashCode(☃)) & Integer.MAX_VALUE) % this.b.length;\r\n/* */ }\r\n/* */ private int b(@Nullable K ☃, int i) {\r\n/* */ int j;\r\n/* 131 */ for (j = i; j < this.b.length; j++) {\r\n/* 132 */ if (this.b[j] == ☃) {\r\n/* 133 */ return j;\r\n/* */ }\r\n/* 135 */ if (this.b[j] == a) {\r\n/* 136 */ return -1;\r\n/* */ }\r\n/* */ }", "private int m3423z(int i, int i2) {\n int i3;\n int i4;\n for (int size = this.f4373c.size() - 1; size >= 0; size--) {\n C0933b bVar = this.f4373c.get(size);\n int i5 = bVar.f4379a;\n if (i5 == 8) {\n int i6 = bVar.f4380b;\n int i7 = bVar.f4382d;\n if (i6 < i7) {\n i4 = i6;\n i3 = i7;\n } else {\n i3 = i6;\n i4 = i7;\n }\n if (i < i4 || i > i3) {\n if (i < i6) {\n if (i2 == 1) {\n bVar.f4380b = i6 + 1;\n bVar.f4382d = i7 + 1;\n } else if (i2 == 2) {\n bVar.f4380b = i6 - 1;\n bVar.f4382d = i7 - 1;\n }\n }\n } else if (i4 == i6) {\n if (i2 == 1) {\n bVar.f4382d = i7 + 1;\n } else if (i2 == 2) {\n bVar.f4382d = i7 - 1;\n }\n i++;\n } else {\n if (i2 == 1) {\n bVar.f4380b = i6 + 1;\n } else if (i2 == 2) {\n bVar.f4380b = i6 - 1;\n }\n i--;\n }\n } else {\n int i8 = bVar.f4380b;\n if (i8 <= i) {\n if (i5 == 1) {\n i -= bVar.f4382d;\n } else if (i5 == 2) {\n i += bVar.f4382d;\n }\n } else if (i2 == 1) {\n bVar.f4380b = i8 + 1;\n } else if (i2 == 2) {\n bVar.f4380b = i8 - 1;\n }\n }\n }\n for (int size2 = this.f4373c.size() - 1; size2 >= 0; size2--) {\n C0933b bVar2 = this.f4373c.get(size2);\n if (bVar2.f4379a == 8) {\n int i9 = bVar2.f4382d;\n if (i9 == bVar2.f4380b || i9 < 0) {\n this.f4373c.remove(size2);\n mo7620a(bVar2);\n }\n } else if (bVar2.f4382d <= 0) {\n this.f4373c.remove(size2);\n mo7620a(bVar2);\n }\n }\n return i;\n }", "private int mad(K k, int m) {\n Random rand = new Random();\n /* Select the next prime number greater than m */\n int p = nextPrime(m);\n /* Choose two numbers between 1 and m - 1 */\n int a = rand.nextInt(m) + 1;\n int b = rand.nextInt(m) + 1;\n int index = ((a * k.hashCode() + b) % p) % m;\n return index;\n }", "public List<Integer> rotateEfficiently(List<Integer> a, int k, List<Integer> queries) {\n\n List<Integer> newList = new ArrayList<>(a);\n int counter=0;\n int size = a.size();\n for (int count=k;count<k+size;count++) {\n newList.set(counter++, a.get(count%size));\n }\n\n return putInSpecifiedQueries(newList,queries);\n }", "public List<List<Integer>> combineIterative(int n, int k) {\n if (k > n) return Collections.emptyList();\n List<List<Integer>> result = new ArrayList<>();\n for (int i = 1; i <= n - k + 1; ++i) result.add(Arrays.asList(i));\n for (int i = 2; i <= k; ++i) {\n List<List<Integer>> tmp = new ArrayList<>();\n for (List<Integer> elem : result) {\n int lastNum = elem.get(elem.size() - 1);\n for (int j = lastNum + 1; j <= n - k + i; ++j) {\n List<Integer> copy = new ArrayList<>(elem);\n copy.add(j);\n tmp.add(copy);\n }\n }\n result = tmp;\n }\n return result;\n }", "public static int[] rotate(int[] nums, int k) {\n int[] temp = new int[k];\n int acc = k % nums.length;\n for (int i = 0; i < acc; i++) {\n temp[i] = nums[(nums.length - acc) + i];\n }\n for (int i = nums.length - acc - 1; i >= 0; i--) {\n nums[i + acc] = nums[i];\n }\n for (int i = 0; i < acc; i++) {\n nums[i] = temp[i];\n }\n return nums;\n }", "public static int Main()\n\t{\n\t\tint n; //????\n\t\tint k;\n\t\tint i;\n\t\tint i2;\n\t\tint j;\n\t\tn = Integer.parseInt(ConsoleInput.readToWhiteSpace(true));\n\t\tk = Integer.parseInt(ConsoleInput.readToWhiteSpace(true));\n\t\tfor (i2 = 1;;i2++)\n\t\t{ //????\n\t\t\ti = i2;\n\t\t\tfor (j = 0;j < n;j++)\n\t\t\t{ //????\n\t\t\t\tif (i % (n - 1) != 0)\n\t\t\t\t{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ti = i * n / (n - 1) + k;\n\t\t\t}\n\t\t\tif (j == n)\n\t\t\t{\n\t\t\t\tSystem.out.print(i);\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\treturn 0;\n\t}", "static long countTriplets(List<Long> arr, long r) {\n Map<Long, Integer> map=new HashMap<Long, Integer>();\n int l = arr.size();\n long triplets = 0;\n //Create a map with unique numbers in arr as key and its frequency as value\n for(int i = 0; i < l; i++) {\n if (map.containsKey(arr.get(i))) {\n map.put(arr.get(i), map.get(arr.get(i)) + 1);\n } else {\n map.put(arr.get(i), 1);\n }\n }\n \n /*\n If ratio is 1, arr is {2,2,2,2,2,2,2,2,2,2}.. 2 is 10 times than map will be \n {(2, 10)}, where 2 is key and 10 is value than answer will be Nc3 (10c3), using permutations and combinations.. select '2' three times from 10 items which can be done in 10c3 ways\n */\n if (r == 1) {\n for (Map.Entry<Long, Integer> entry : map.entrySet()) {\n long key = entry.getKey();\n long val = entry.getValue();\n System.out.println(\"Key is: \" + key);\n System.out.println(\"Value is: \" + val);\n if (val > 2) {\n //here applying formula for Nc3\n triplets = triplets + (val * (val - 1) * (val - 2))/6;\n }\n } \n } else {\n /*\n eg. 2,4,4,8,8,16,24,24,24 and r is 2\n map will be {(2,1), (4,2), (8,2), (16,1), (24,3)}\n iterate for every key,value pair in the map\n first time (2,1), key is 2.. now check for 2*r(4) and 2*r*r(8) in map\n if present means triplet found.. now we need to calculate how many triplets can be formed with these 3 values.. that will be multiplication of values of these 3 keys in map... 2 is 1 time, 4 is 2 times, 8 is 2 times... no. of triplets = 1*2*2=4\n */\n for (Map.Entry<Long, Integer> entry : map.entrySet()) {\n long key1 = entry.getKey();\n long val = entry.getValue();\n long key2 = key1 * r;\n long key3 = key2 * r;\n\n if(map.containsKey(key2) && map.containsKey(key3)) {\n triplets = triplets + (val * map.get(key2) * map.get(key3));\n }\n } \n }\n return triplets;\n }", "static int mult(int j,int k) {\n\t\tint index;\n\t\tif (k==0)\n\t\t\treturn 0;\n\t\telse\n\t\t\tindex= (int) k/Math.abs(k); // This allows us to work with negative numbers\n\t\treturn index*j +mult(j,k-index); // The multiply statement works towards zero\n\n\t}", "static long mpow(long x, int k) {\n\t long result = 1;\n\t for(; k > 0; k >>= 1) {\n\t if(k % 2 == 1) {\n\t result = mod(result * x ,511);\n\t }\n\t x = mod(x * x , 511);\n\t }\n\t return result;\n\t}" ]
[ "0.6283193", "0.61063886", "0.6087257", "0.6010985", "0.5980449", "0.5972401", "0.59240735", "0.5876777", "0.58709556", "0.58225185", "0.57872236", "0.5691365", "0.5672282", "0.56560755", "0.5644717", "0.5632358", "0.5629848", "0.5621255", "0.5616441", "0.55683774", "0.55376416", "0.5530819", "0.5525228", "0.5524458", "0.5505876", "0.55004376", "0.54962593", "0.54814", "0.5464712", "0.5441073", "0.54234576", "0.5415305", "0.5375488", "0.5363655", "0.5339937", "0.53303987", "0.53262925", "0.5322546", "0.5319699", "0.5301993", "0.5297595", "0.5280626", "0.52757585", "0.52749276", "0.52671295", "0.5253393", "0.5253234", "0.5250663", "0.52500457", "0.5243255", "0.5240061", "0.5227268", "0.5218968", "0.5216534", "0.5214475", "0.5207556", "0.5194297", "0.519332", "0.51911914", "0.5180466", "0.51774096", "0.5169287", "0.51643175", "0.51627374", "0.51583284", "0.5156813", "0.5151522", "0.5149557", "0.514022", "0.5133942", "0.5131294", "0.51310503", "0.51305133", "0.51259947", "0.5124008", "0.51237327", "0.5122062", "0.51163363", "0.5114569", "0.51112694", "0.51081055", "0.51079094", "0.5104376", "0.51033723", "0.5103349", "0.50960416", "0.5095354", "0.50932974", "0.5088759", "0.5088316", "0.50879306", "0.5086424", "0.5083036", "0.5081042", "0.5078483", "0.5076308", "0.5075179", "0.5074965", "0.5070068", "0.50688386" ]
0.53552866
34
Constructor for PauseGameScreen screen
public PauseGameScreen(RoboRally game, StretchViewport viewport, Stage stage) { this.game = game; this.viewport = viewport; this.stage = stage; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PauseScreen() {\n this.stop = false;\n }", "public void createPauseScreen(){\n\t\tTexture pauseBackTex = Assets.manager.get(AssetLord.pause_back_tex, Texture.class);\n\t\tpauseBackTex.setFilter(TextureFilter.Linear, TextureFilter.Linear);\n\t\t\n\t\tpauseBack = new Image(pauseBackTex);\n\t\tpauseBack.setSize(WIDTH, HEIGHT);\n\t\tpauseBack.setColor(1f, 1f, 1f ,0.95f);\n\t\tpauseBack.setPosition(0, 0);\n\t\tpauseBack.setVisible(false);\n\t\tstage.addActor(pauseBack);\n\t\t\n\t\tpauseScreen = new Group();\n\t\t\n\t\tTextButtonStyle smallStyle = new TextButtonStyle();\n\t\tsmallStyle.font = fontMedium;\n\t\t\n\t\tTextButton pausedText = new TextButton(\"PAUSED\", smallStyle);\n\t\tpausedText.setDisabled(true);\n\t\tpausedText.setPosition(WIDTH/2 - pausedText.getWidth()/2, HEIGHT/2 + HEIGHT/4 - pausedText.getHeight()/2);\n\t\t\n\t\tpauseScreen.addActor(pausedText);\n\t\t\n\t\tTextButtonStyle largeStyle = new TextButtonStyle();\n\t\tlargeStyle.font = fontLarge;\n\t\t\n\t\tTextButton continueText = new TextButton(\"CONTINUE\", largeStyle);\n\t\tcontinueText.setPosition(WIDTH/2 - continueText.getWidth()/2, HEIGHT/2 - continueText.getHeight()/2);\n\t\tcontinueText.addListener(new InputListener(){\n\t\t\tpublic boolean touchDown(InputEvent event, float x, float y, int pointer, int button) {\n\t\t\t\t\n\t\t\t\tresumeGame();\n\t\t\t\t\n\t\t\t\treturn true;\n\t\t\t}\n\t\t});\n\t\t\n\t\tpauseScreen.addActor(continueText);\n\t\t\n\t\tTextButton menuText = new TextButton(\"MAIN MENU\", smallStyle);\n\t\t//menuText.setPosition(WIDTH/2 - menuText.getWidth()/2, HEIGHT/2 - HEIGHT/4 - menuText.getHeight()/2);\n\t\tmenuText.setPosition(WIDTH - menuText.getWidth() * 1.2f, menuText.getHeight()/2);\n\t\t//menuText.setRotation(90);\n\t\t\n\t\tmenuText.addListener(new InputListener(){\n\t\t\tpublic boolean touchDown(InputEvent event, float x, float y, int pointer, int button) {\n\t\t\t\t\n\t\t\t\treturnToMainMenu();\n\t\t\t\t\n\t\t\t\treturn true;\n\t\t\t}\n\t\t});\n\t\t\n\t\tpauseScreen.addActor(menuText);\t\t\n\t\t\n\t\thidePauseScreen();\n\t\t\n\t\tstage.addActor(pauseScreen);\n\t}", "public PauseScreen() {\r\n\t\tcurItemOverLst = new ArrayList<String>();\r\n\t\ttext = null;\r\n\t\tallyCover = null;\r\n\t\titemText = null;\r\n\t\t\r\n\t\ttry {\r\n\t text = ImageIO.read(new File(\"res/textbox.png\"));\r\n\t itemText = ImageIO.read(new File(\"res/itemText.png\"));\r\n\t allyCover = ImageIO.read(new File(\"res/allyCover.png\"));\r\n\t } catch (IOException e) {\r\n\t \te.printStackTrace();\r\n\t }\r\n\t\tSpriteSheet ss = new SpriteSheet(Game.sprite_sheet);\r\n\t\titemCover = ss.grabImage(1, 1, 320, 78, \"itemCover\");\r\n\t\t\r\n\t\tpauseMenu = new ArrayList<BufferedImage>();\r\n\t\tpauseMenu.add(ss.grabImage(1, 1, 1280, 960, \"pauseMenu\"));\r\n\t\tpauseMenu.add(ss.grabImage(1, 2, 1280, 960, \"pauseMenu\"));\r\n\t\tpauseMenu.add(ss.grabImage(2, 1, 1280, 960, \"pauseMenu\"));\r\n\t\tpauseMenu.add(ss.grabImage(2, 2, 1280, 960, \"pauseMenu\"));\r\n\t\tpauseMenu.add(ss.grabImage(3, 1, 1280, 960, \"pauseMenu\"));\r\n\t\tpauseMenu.add(ss.grabImage(3, 2, 1280, 960, \"pauseMenu\"));\r\n\t\t\r\n\t\tgameOverMenu = new ArrayList<BufferedImage>();\r\n\t\tgameOverMenu.add(ss.grabImage(1, 1, 1280, 960, \"gameOverMenu\"));\r\n\t\tgameOverMenu.add(ss.grabImage(1, 2, 1280, 960, \"gameOverMenu\"));\r\n\t\tgameOverMenu.add(ss.grabImage(1, 3, 1280, 960, \"gameOverMenu\"));\r\n\t\tgameOverMenu.add(ss.grabImage(2, 1, 1280, 960, \"gameOverMenu\"));\r\n\t\tgameOverMenu.add(ss.grabImage(2, 2, 1280, 960, \"gameOverMenu\"));\r\n\t\t\r\n\t\t\r\n\t\titemMenu = new ArrayList<BufferedImage>();\r\n\t\titemMenu.add(ss.grabImage(1, 1, 1280, 960, \"itemMenu\"));\r\n\t\titemMenu.add(ss.grabImage(1, 2, 1280, 960, \"itemMenu\"));\r\n\t\t\r\n\t\tuseItem = new ArrayList<BufferedImage>();\r\n\t\tuseItem.add(ss.grabImage(1, 1, 1280, 960, \"itemOption\"));\r\n\t\tuseItem.add(ss.grabImage(1, 2, 1280, 960, \"itemOption\"));\r\n\t\tuseItem.add(ss.grabImage(1, 3, 1280, 960, \"itemOption\"));\r\n\t\t\r\n\t\texpMenuBattle = new ArrayList<BufferedImage>();\r\n\t\texpMenuPause = new ArrayList<BufferedImage>();\r\n\t\t\r\n\t\texpMenuBattle.add(ss.grabImage(1, 1, 1280, 960, \"progressMenu\"));\r\n\t\texpMenuBattle.add(ss.grabImage(2, 1, 1280, 960, \"progressMenu\"));\r\n\t\texpMenuBattle.add(ss.grabImage(1, 3, 1280, 960, \"progressMenu\"));\r\n\t\t\r\n\t\texpMenuPause.add(ss.grabImage(1, 2, 1280, 960, \"progressMenu\"));\r\n\t\texpMenuPause.add(ss.grabImage(2, 2, 1280, 960, \"progressMenu\"));\r\n\t\t\r\n\t\tallyMenu = new ArrayList<BufferedImage>();\r\n\t\tallyMenu.add(ss.grabImage(1, 1, 1280, 960, \"allyMenu\"));\r\n\t\tallyMenu.add(ss.grabImage(1, 2, 1280, 960, \"allyMenu\"));\r\n\t\t\r\n\t\tattireMenu = new ArrayList<BufferedImage>();\r\n\t\tattireMenu.add(ss.grabImage(1, 1, 1280, 960, \"attireMenu\"));\r\n\t\tattireMenu.add(ss.grabImage(1, 2, 1280, 960, \"attireMenu\"));\r\n\t\t\r\n\t\thealthIcon = new ArrayList<BufferedImage>();\r\n\t\tallyIcon = new ArrayList<BufferedImage>();\r\n\t\tpummelIcon = new ArrayList<BufferedImage>();\r\n\t\tlaserIcon = new ArrayList<BufferedImage>();\r\n\t\t\r\n\t\thealthIcon.add(ss.grabImage(1, 1,96, 67, \"healthIcon\"));\r\n\t\thealthIcon.add(ss.grabImage(1, 2, 96, 67, \"healthIcon\"));\r\n\t\t\r\n\t\tallyIcon.add(ss.grabImage(1, 1, 96, 67, \"allyIcon\"));\r\n\t\tallyIcon.add(ss.grabImage(1, 2, 96, 67, \"allyIcon\"));\r\n\t\t\r\n\t\tpummelIcon.add(ss.grabImage(1, 1, 96, 67, \"pummelIcon\"));\r\n\t\tpummelIcon.add(ss.grabImage(1, 2, 96, 67, \"pummelIcon\"));\r\n\t\t\r\n\t\tlaserIcon.add(ss.grabImage(1, 1, 96, 67, \"laserIcon\"));\r\n\t\tlaserIcon.add(ss.grabImage(1, 2, 96, 67, \"laserIcon\"));\r\n\t}", "public void pauseGame() {\n paused = true;\r\n cam.zoom = worldWidth/screenWidth;\r\n boundCamera();\r\n topHud.setPauseButtonCanDraw(false);\r\n gameHud.setCanPress(false);\r\n\r\n playButton.setDrawable(!(win || lose));\r\n homeButton.setDrawable(true);\r\n restartButton.setDrawable(true);\r\n\r\n playButton.setCanPress(true);\r\n homeButton.setCanPress(true);\r\n restartButton.setCanPress(true);\r\n\r\n bindInput(pauseProcessors);\r\n\r\n timeGap = centralTimer - timer;\r\n }", "public PausePanel()\n {\n StateSelector stateSelector = StateSelector.getInstance();\n GameState state = (GameState) stateSelector.getState();\n Session session = state.getSession();\n\n JTextField idTextField = new JTextField(40);\n idTextField.setEditable(false);\n idTextField.setText(session.getId());\n add(idTextField);\n \n StringSelection stringSelection = new StringSelection(session.getId());\n Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard();\n clipboard.setContents(stringSelection, null);\n \n Button backButton = new Button(\"assets/images/buttons/backDefault.png\", \"assets/images/buttons/backHover.png\", \"assets/images/buttons/backClick.png\");\n backButton.setWidth(71);\n backButton.setHeight(33);\n backButton.setX(539);\n backButton.setY(367);\n onHover(backButton, backButton.HOVER_COMMAND, backButton.UNHOVER_COMMAND);\n onPress(backButton, backButton.PRESS_COMMAND);\n onRelease(backButton, new Callable()\n {\n public void call()\n {\n Window window = Window.getInstance();\n window.setPanel(new GamePanel());\n \n }\n });\n buttons.add(backButton);\n\n JButton quitBtn = new JButton(\"quit\");\n quitBtn.addActionListener(new QuitListener());\n add(quitBtn);\n }", "public PauseMenu() {\r\n\t\tinitialize();\r\n\t}", "@Override\n\tpublic void pause() {\n\t\tGdx.app.log(\"GameScreen\", \"pause called\");\n\t}", "private void pauseScreenCreate() {\n pauseStage = new Stage();\n sfx.playSound(SoundFXManager.Type.SELECT);\n\n //Add buttons\n resume = new TextButton(\"Resume\", skin, \"default\");\n resume.getLabel().setFontScale(3);\n resume.setWidth(WIDTH / 2);\n resume.setHeight(WIDTH / 4);\n resume.setPosition(WIDTH / 2 - (resume.getWidth() / 2), (HEIGHT - (HEIGHT / 4)) - (resume.getHeight()));\n resume.addListener(new ClickListener() {\n public void clicked(InputEvent event, float x, float y) {\n Gdx.input.setInputProcessor(inputMultiplexer);\n sfx.playSound(SoundFXManager.Type.SELECT);\n gameState = GameState.PLAYING;\n }\n });\n resume.toFront();\n\n setting = new TextButton(\"Setting\", skin, \"default\");\n setting.getLabel().setFontScale(3);\n setting.setWidth(WIDTH / 2);\n setting.setHeight(WIDTH / 4);\n setting.setPosition(WIDTH / 2 - (setting.getWidth() / 2), resume.getY() - resume.getHeight() - (resume.getHeight() / 2));\n setting.addListener(new ClickListener() {\n public void clicked(InputEvent event, float x, float y) {\n Gdx.input.setInputProcessor(inputMultiplexer);\n sfx.playSound(SoundFXManager.Type.SELECT);\n settingsScreenCreate();\n }\n });\n setting.toFront();\n\n exit = new TextButton(\"Quit\", skin, \"default\");\n exit.getLabel().setFontScale(3);\n exit.setWidth(WIDTH / 2);\n exit.setHeight(WIDTH / 4);\n exit.setPosition(WIDTH / 2 - (exit.getWidth() / 2), setting.getY() - setting.getHeight() - (setting.getHeight() / 2));\n exit.addListener(new ClickListener() {\n public void clicked(InputEvent event, float x, float y) {\n Gdx.input.setInputProcessor(inputMultiplexer);\n sfx.playSound(SoundFXManager.Type.SELECT);\n gameState = GameState.PLAYING;\n game.setScreen(AntiVirus.levelSelectScreen);\n Lvl1.musicBackground.pause();\n }\n });\n exit.toFront();\n\n\n pauseStage.addActor(resume);\n pauseStage.addActor(setting);\n pauseStage.addActor(exit);\n Gdx.input.setInputProcessor(pauseStage);\n }", "public void setScreen(GameScreen screen);", "void pauseGame() {\n myGamePause = true;\n }", "@Override\n\tpublic boolean isPauseScreen() {\n\t\treturn true;\n\t}", "private void startGame() {\n gameCountDownTimer = getGameTimer();\n gameCountDownTimer.start();\n animateBalloonView(balloon1, true);\n animateBalloonView(balloon2, true);\n animateBalloonView(balloon3, true);\n animateBalloonView(balloon4, true);\n animateBalloonView(balloon5, true);\n currentScreenGameState = GameState.PLAYING;\n String controlButtonTitle = getResources().getString(R.string.pause_btn);\n conttroler.setText(controlButtonTitle);\n setCurrentScreenCover();\n invalidateOptionsMenu();\n }", "void pauseGame() {\n myShouldPause = true;\n }", "void pauseGame() {\n myShouldPause = true;\n }", "public static void pauseGame() {\r\n\t\tif(paused) {\r\n\t\t\tgui.restoreMenu();\r\n\t\t}else {\r\n\t\t\tgui.setMenu(new PauseMenu(), false);\r\n\t\t}\r\n\t\tpaused = !paused;//flip state\r\n\t}", "public StartScreen()\n { \n // Create a new world with 1111x602 cells with a cell size of 1x1 pixels.\n super(1111, 602, 1); \n prepare();\n background.playLoop();\n }", "protected void pause(){}", "public PauseGUI (Game g) {\r\n\t\tthis.g = g;\r\n\t\t\r\n\t\t//initialize the buttons\r\n\t\tButton [] buttons = {\r\n\t\t\t\tnew Button (this, \"Continue\", ButtonAction.CONTINUE, 50, 100, g.getWidth() - 100, 70),\r\n\t\t\t\tnew Button (this, \"1 Player\", ButtonAction.NEW_AI, 50, 200, g.getWidth() - 100, 70),\r\n\t\t\t\tnew Button (this, \"2 Player\", ButtonAction.NEW_HUMAN, 50, 300, g.getWidth() - 100, 70),\r\n\t\t\t\tnew Button (this, \"Exit\", ButtonAction.EXIT, 50, 400, g.getWidth() - 100, 70)\r\n\t\t};\r\n\t\tthis.buttons = buttons;\r\n\t}", "public void pause() {\r\n\t\tSystem.out.println(\"Paused game\");\r\n\t\tthis.timeline.pause();\r\n\t\tisPaused = true;\r\n\t\tpauseMenu.setVisible(true);\r\n\t}", "private void pause() { player.pause();}", "public abstract void pause();", "public abstract void pause();", "@Override\n\tpublic void pause() {\n\t\tAction(Director.ACTION_PAUSE);\n\t}", "public void render(){\n\t\tBufferStrategy bs = getBufferStrategy();\n\t\tif(bs == null){\n\t\t\tcreateBufferStrategy(3);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t//Sets graphics in screen and clears them\n\t\tGraphics g = bs.getDrawGraphics();\n\t\tscreen.graphics(g);\n\t\tscreen.clear();\n\t\t\n\t\tGraphics2D graphics2d = (Graphics2D) g;\n\t\t\n\t\t//Adds antialiasing to text\n\t\tgraphics2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);\n\t\t\n\t\tmanager.render(screen);\n\t\t\n\t\tfor(int i = 0; i < WIDTH*HEIGHT; i++){\n\t\t\tpixels[i] = screen.getPixels()[i];\n\t\t}\n\t\tg.drawImage(image, 0, 0, getWidth(), getHeight(), null);\n\t\t\n\t\t//Draw text from string buffer\n\t\tfor(StringObject so : screen.stringBuffer){\n\t\t\tString s = so.string;\n\t\t\tg.setColor(so.color);\n\t\t\tg.setFont(so.font);\n\t\t\tg.drawString(s, so.xp, so.yp);\n\t\t}\n\t\tscreen.stringBuffer.clear();\n\t\t\n\t\t//Draws pause graphics\n\t\tif(screen.pause && manager.getState() == 2){\n\t\t\tg.setColor(new Color((0xcc00aa & 0xff0000) >> 16, (0xcc00aa & 0xff00) >> 8, (0xcc00aa & 0xff), 255));\n\t\t\tg.fillRect(0, 290, screen.getWidth(), 170);\n\t\t\tg.setColor(new Color((0x222222 & 0xff0000) >> 16, (0x222222 & 0xff00) >> 8, (0x222222 & 0xff), 255));\n\t\t\tg.fillRect(0, 300, screen.getWidth(), 150);\n\t\t\t\n\t\t\tg.setColor(Color.WHITE);\n\t\t\tg.setFont(new Font(\"Audiowide\", Font.PLAIN, 90));\n\t\t\tg.drawString(\"PAUSED\", 330, 380);\n\t\t\tg.setFont(new Font(\"Audiowide\", Font.PLAIN, 30));\n\t\t\tg.drawString(\"Press Escape to Resume\", 340, 420);\n\t\t}\n\t\t\n\t\tg.dispose();\n\t\tbs.show();\n\t}", "public MainMenuScreen(Game game)\n {\n super(game);\n\n batcher = new SpriteBatcher(glGraphics, 100);\n guiCam = new Camera2D(glGraphics, 1920, 1080);\n\n openIntent = new Intent(ScreenManager.game.getPackageName()+\".ACTION2\");\n }", "@Override\n\tpublic void pause() \n\t{\n\t\tif (state_Game==GAME_READY) \n\t\t{\n\t\t\tstate_Game=GAME_PAUSED;\n\t\t}\n\t}", "public void pause() {\n }", "public void pause_press(View view){\n //blur background\n blurEffect();\n //pause the game\n if (mSpaceGame.getState() instanceof SpaceGame.PausedGame){\n //mSpaceGame.setState(new SpaceGame.RunningGame());\n }else {\n mSpaceGame.setState(SpaceGame.PAUSED_STATE);\n }\n //start popup window\n Intent i = new Intent(SpaceActivity.this,Pop.class);\n i.putExtra(\"insignal\",\"pause\");\n startActivityForResult(i,0);\n overridePendingTransition(R.anim.zoom_in,R.anim.zoom_out);\n }", "public LevelScreen()\r\n {\r\n\tsuper(SCREEN_LEVEL);\r\n }", "@Override\n public void pause() {\n Gdx.app.log(TAG, \"Paused\");\n }", "@Override\r\n public void pause() {\r\n\r\n }", "@Override\r\n public void pause() {\r\n\r\n }", "public WinScreen()\n { \n // Create a new world with 800x600 cells with a cell size of 1x1 pixels.\n super(800, 600, 1); \n showText( \"CONGRATS, YOU WIN!!!\", 393, 264); \n showText( \"Click Emoji to Reset the Game! -->\", 393, 300);\n showText( \"Click Here to go Back to Start Screen! -->\", 555, 572);\n addObject( new ResetButton(), 609, 300);\n addObject( new BackButton(), 764, 572);\n }", "private void resumeGame() {\n\n gameCountDownTimer = getGameTimer();\n gameCountDownTimer.start();\n if(globalAnimatorMap != null && !globalAnimatorMap.isEmpty() && globalAnimatorMap.size() > 0) {\n for (Map.Entry<Integer, AnimatorSet> entry : globalAnimatorMap.entrySet()) {\n AnimatorSet animatorSet = entry.getValue();\n if (animatorSet != null) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {\n if (animatorSet.isPaused()) {\n animatorSet.resume();\n }\n } else {\n animatorSet.start();\n }\n }\n }\n }else{\n animateBalloonView(balloon1,false);\n animateBalloonView(balloon2,false);\n animateBalloonView(balloon3,false);\n animateBalloonView(balloon4,false);\n animateBalloonView(balloon5,false);\n }\n String controlButtonTitle = getResources().getString(R.string.pause_btn);\n conttroler.setText(controlButtonTitle);\n currentScreenGameState = GameState.PLAYING;\n setCurrentScreenCover();\n invalidateOptionsMenu();\n }", "public StartScreen() {\n initComponents();\n }", "public static void initPauseMenu() {\n pausemenu.setBounds(0, 0, Display.WIDTH, Display.HEIGHT);\n pausemenu.setOpaque(false);\n\n pausemenu_resume_btn.setBounds(250, 210, 300, 50);\n pausemenu_resume_btn.setFont(main_menu_button_font);\n pausemenu_resume_btn.setFocusPainted(false);\n pausemenu_resume_btn.setOpaque(false);\n pausemenu_resume_btn.setBorderPainted(false);\n pausemenu_resume_btn.addActionListener(e -> game.resume());\n\n pausemenu_settings_btn.setBounds(250, 270, 300, 50);\n pausemenu_settings_btn.setFont(main_menu_button_font);\n pausemenu_settings_btn.setFocusPainted(false);\n pausemenu_settings_btn.setOpaque(false);\n pausemenu_settings_btn.setBorderPainted(false);\n pausemenu_settings_btn.addActionListener(e -> {\n options_menu.remove(options_back_button_tomainmenu);\n options_menu.add(options_back_button_topausemenu);\n PanelSlide.slideToLeft(pausemenu, options_menu, -1, -1);\n });\n\n pausemenu_quit_btn.setBounds(250, 330, 300, 50);\n pausemenu_quit_btn.setFont(main_menu_button_font);\n pausemenu_quit_btn.setFocusPainted(false);\n pausemenu_quit_btn.setOpaque(false);\n pausemenu_quit_btn.setBorderPainted(false);\n pausemenu_quit_btn.addActionListener(e -> {\n int pane = JOptionPane.showOptionDialog(null, \"Ana menüye dönmek istediğinize emin misiniz?\",\n \"Ana Menüye Dön\", JOptionPane.DEFAULT_OPTION, JOptionPane.QUESTION_MESSAGE, null, singleplayer_menu_yesno, 1);\n if (pane == 0) {\n main_menu.forward();\n }\n });\n\n pausemenu.add(pausemenu_resume_btn);\n pausemenu.add(pausemenu_settings_btn);\n pausemenu.add(pausemenu_quit_btn);\n }", "public void pause() {\r\n\t\tif (logger.isDebugEnabled())\r\n\t\t\tlogger.debug(\"Pause\");\r\n\t\t\r\n\t\t// Start game\r\n\t\tif (state == GameState.CREATED) {\r\n\t\t\t// Change state\r\n\t\t\tstate = GameState.PAUSED;\r\n\t\t\t\r\n\t\t\t// Start scheduling thread\r\n\t\t\tstart();\r\n\t\t} else if (state != GameState.STOPPED) {\r\n\t\t\t// Change state\r\n\t\t\tstate = GameState.PAUSED;\r\n\t\t}\r\n\t}", "@Override\n public void pause() {\n\n }", "@Override\n public void pause() {\n\n }", "@Override\n public void pause() {\n\n }", "@Override\r\n public void pause() {\n }", "@Override\r\n public void pause() {\n }", "@Override\r\n public void pause() {\n }", "public CombatScreen(SpacePiratesShoedown game, Player p, BasicEnemy e, PlayScreen playScreen) {\r\n this.game = game;\r\n this.Enemy = e;\r\n mapLoader = new TmxMapLoader();\r\n map = mapLoader.load(ASSETS_PATH + \"emptyBattleMap.tmx\");\r\n renderer = new OrthogonalTiledMapRenderer(map);\r\n gamecam = new OrthographicCamera(480, 480);\r\n gamecam.position.set(176,176,0);\r\n gameport = new FitViewport(1600, 1600, gamecam);\r\n player = new Texture(ASSETS_PATH + \"singleCharacter.png\");\r\n enemy = new Texture(ASSETS_PATH + \"singleEnemy.png\");\r\n batch = new SpriteBatch();\r\n playerHud = new CombatHud(batch,p,e);\r\n enemyHud = new EnemyHud(batch,e);\r\n ThirdHud = new ThirdHud(batch);\r\n cs = new CombatSystem(p, e);\r\n combatController = new CombatController(p, e, cs);\r\n this.playScreen = playScreen;\r\n }", "@Override\n public void pause() {\n }", "@Override\n public void pause() {\n }", "@Override\n public void pause() {\n }", "@Override\n public void pause() {\n }", "@Override\n public void pause() {\n }", "SettingsScreenClass(){\r\n cursorRow=0;\r\n counter=0;\r\n endPart=false;\r\n initSprites();\r\n setImage(512,500);\r\n fadeAmount=12;\r\n for(int i=0;i<12;i++){\r\n fadeColors[i]=new Color(0,0,0,(i)*20);\r\n }\r\n }", "@Override\n public void pause() {\n }", "@Override\r\n public void pause() {}", "@Override\n\tpublic void pause() \n\t{\n\n\t}", "@Override\n public void pause() {\n \n }", "@Override\n public void pause() {\n \n }", "public void pause() {}", "public SimCardsMenu(Game game) {\n super(\"SimCardsMenu\", game);\n\n mDefaultLayerViewport.set(getScreenWidth() / 2, getScreenHeight() / 2, getScreenWidth() / 2, getScreenHeight() / 2);\n mDefaultScreenViewport.set(0, 0, (int) mDefaultLayerViewport.halfWidth * 2, (int) mDefaultLayerViewport.halfHeight * 2);\n\n // Load in the bitmaps used on the main menu screen\n AssetManager assetManager = mGame.getAssetManager();\n assetManager.loadAndAddBitmap(\"PlayGameButton\", \"img/PlayGame.png\");\n assetManager.loadAndAddBitmap(\"ViewDeckButton\", \"img/ViewDeck.png\");\n assetManager.loadAndAddBitmap(\"QuitGameButton\", \"img/QuitGame.png\");\n\n assetManager.loadAndAddBitmap(\"PlayGameButtonPushed\", \"img/PlayGamePushed.png\");\n assetManager.loadAndAddBitmap(\"ViewDeckButtonPushed\", \"img/ViewDeckPushed.png\");\n assetManager.loadAndAddBitmap(\"QuitGameButtonPushed\", \"img/QuitGamePushed.png\");\n\n assetManager.loadAndAddBitmap(\"GameLogo\", \"img/GameLogo.png\");\n assetManager.loadAndAddBitmap(\"SimCardsMenuBackground2\", \"img/SimCardsMenuBackground2.png\");\n\n // Define the spacing that will be used to position the buttons\n float offS = (mDefaultScreenViewport.bottom / 8) + 20.0f;\n\n //Define buttons\n\n mPlayButton = new PushButton(mDefaultScreenViewport.right / 2, mDefaultScreenViewport.bottom / 2 - 100.0f,\n mDefaultScreenViewport.right / 3.5F, mDefaultScreenViewport.bottom / 8, \"PlayGameButton\", \"PlayGameButtonPushed\",this);\n mPlayButton.setPlaySounds(true, true);\n\n mDeckButton = new PushButton(mDefaultScreenViewport.right / 2, mDefaultScreenViewport.bottom / 2 - 100.0f - offS,\n mDefaultScreenViewport.right / 3.5F, mDefaultScreenViewport.bottom / 8, \"ViewDeckButton\", \"ViewDeckButtonPushed\", this);\n mDeckButton.setPlaySounds(true, true);\n\n mQuitButton = new PushButton(mDefaultScreenViewport.right / 2, mDefaultScreenViewport.bottom / 2 - 100.0f - (2 * offS),\n mDefaultScreenViewport.right / 3.5F, mDefaultScreenViewport.bottom / 8, \"QuitGameButton\", \"QuitGameButtonPushed\", this);\n mQuitButton.setPlaySounds(true, true);\n\n //Define logo\n mLogo = new GameObject(mDefaultScreenViewport.width / 2, mDefaultScreenViewport.bottom - 270.0f,\n mDefaultScreenViewport.right / 2.5f, mDefaultScreenViewport.bottom / 2.5f,\n getGame().getAssetManager().getBitmap(\"GameLogo\"), this);\n\n //Define Background\n mBackground = new GameObject(mDefaultLayerViewport.halfWidth,\n mDefaultLayerViewport.halfHeight, mDefaultLayerViewport.halfWidth * 2, mDefaultLayerViewport.halfHeight * 2, getGame()\n .getAssetManager().getBitmap(\"SimCardsMenuBackground2\"), this);\n }", "@Override\n public void pause() {\n }", "@Override\n\tpublic void pause()\n\t{\n\n\t}", "@Override\n protected void onPause() {\n super.onPause();\n\n //tell pongscreen to pause\n pongS.pause();\n }", "public void pauseGame(boolean state) {\r\n paused = state;\r\n }", "public Screen() {\n super();\n controller = null;\n }", "public PauseMenuScreen getPauseMenuScreen() {\n return pauseMenuScreen;\n }", "private void pause()\r\n {\r\n player.pause();\r\n }", "@Override\n public void pause() {\n // Not used\n }", "public void pause();", "public void pause();", "public void pause();", "public PlayableGame() {\r\n\r\n }", "@Override\r\n public void pause() {\n\r\n }", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\n\tpublic void pause() {\n\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\r\n\t}", "@Override\r\n\tpublic void pause() {\n\r\n\t}", "@Override\r\n\tpublic void pause() {\n\r\n\t}", "@Override\r\n\tpublic void pause() {\n\r\n\t}" ]
[ "0.81032646", "0.73239195", "0.6914085", "0.69130224", "0.68311596", "0.6756347", "0.67129827", "0.6657911", "0.6484059", "0.6413463", "0.6413114", "0.6406379", "0.63511765", "0.63511765", "0.63096005", "0.62612313", "0.62450665", "0.61970836", "0.61916196", "0.6169895", "0.61362255", "0.61362255", "0.6124318", "0.6110057", "0.6100394", "0.6093624", "0.6085501", "0.608435", "0.6054248", "0.60434365", "0.60414386", "0.60414386", "0.6030196", "0.6027641", "0.601621", "0.601268", "0.6012006", "0.6010795", "0.6010795", "0.6010795", "0.600539", "0.600539", "0.600539", "0.5991995", "0.5986776", "0.5986776", "0.5986776", "0.5986776", "0.5986776", "0.5969777", "0.5968669", "0.5968276", "0.594945", "0.5948707", "0.5947384", "0.5941911", "0.59405565", "0.5933604", "0.59291625", "0.592412", "0.5923938", "0.5917495", "0.59150356", "0.59103537", "0.5901757", "0.5897914", "0.5897914", "0.5897914", "0.58911186", "0.588755", "0.5879826", "0.5879826", "0.5879826", "0.5879826", "0.5879826", "0.5879826", "0.5879826", "0.5879826", "0.5879826", "0.5879826", "0.5879826", "0.5879826", "0.5879826", "0.5879826", "0.5879826", "0.5879826", "0.5879826", "0.5870155", "0.5870155", "0.5870155", "0.5870155", "0.5870155", "0.5870155", "0.5870155", "0.5870155", "0.5870155", "0.586442", "0.586442", "0.586442", "0.586442" ]
0.70182353
2
Called when the screen should render itself.
@Override public void render(float v) { game.batch.begin(); game.batch.draw(game.backgroundImg,0,0,viewport.getWorldWidth(), viewport.getWorldHeight()); game.batch.end(); stage.act(); stage.draw(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void render() {\n\t\tScreen.render();\n\t}", "public void render() {\n\t\tscreen.background(255);\n\t\thandler.render();\n\t}", "@Override\n public void render() {\n super.render();\n }", "@Override\n public void render() {\n super.render();\n }", "private void render() {\n\n StateManager.getState().render();\n }", "public void render() {\r\n\r\n }", "@Override\n public void render() { super.render(); }", "public void render() {\n\t\t// do nothing... as we should\n\t}", "public void render()\r\n\t{\n\t}", "public void render() {\n }", "@Override\r\n\tpublic void render() {\n\t\t\r\n\t}", "@Override\n\tpublic void render () {\n super.render();\n\t}", "private void render() {\n if (game.isEnded()) {\n if (endGui == null) {\n drawEndScreen();\n }\n\n return;\n }\n\n drawScore();\n drawSnake();\n drawFood();\n }", "@Override\n\tpublic void render() {\n\t\t\n\t}", "@Override\r\n\tpublic void render() {\n\r\n\t}", "protected void render(){}", "public void render(){\n//\t\tsetCards();\n//\t\tsetMurderInfo();\n\t}", "@Override\n\tpublic void render() {\n\t\t// only render it when visible is true\n\t\tif (visible == false) {\n\t\t\treturn;\n\t\t} else {\n\t\t\tsuper.render();\n\t\t}\n\t}", "protected void onComponentRendered()\n\t{\n\t}", "@Override\n\tpublic void render () {\n\n\t}", "public void render() {\n renderHud();\n }", "public void onDisplay() {\n\n\t}", "protected void render() {\n\t\tentities.render();\n\t\t// Render GUI\n\t\tentities.renderGUI();\n\n\t\t// Flips the page between the two buffers\n\t\ts.drawToGraphics((Graphics2D) Window.strategy.getDrawGraphics());\n\t\tWindow.strategy.show();\n\t}", "@Override\n public boolean isToBeRendered()\n {\n return true;\n }", "public void onDisplay() {\n }", "public void render() {\n uiBatch.begin();\n for (int x = 0; x < uiManager.getUIComponents().size();x++) {\n uiManager.getUIComponent(x).render(uiBatch, Assets.patch);\n }\n if (uiManager.dialogue != null) {\n uiManager.dialogue.render(uiBatch, Assets.patch);\n }\n if (!uiManager.notifications.isEmpty()) {\n uiManager.notifications.get(0).render(uiBatch, Assets.patch);\n }\n uiManager.partyMenu.render(uiBatch, Assets.patch);\n uiBatch.end();\n }", "@Override\n public void beforeRender()\n {\n\n }", "@Override\n public void render() {\n GUI.clearScreen();\n if (assetManager.update()) {\n switch (gameState) {\n case MENU:\n GUI.menuLoop();\n break;\n case PAUSE:\n case GAME:\n gameLoop();\n break;\n case LOAD:\n World.load();\n gameState = GameState.GAME;\n break;\n }\n } else {\n GUI.splashScreen(assetManager.getProgress());\n }\n DrawManager.end();\n }", "private void render() {\n\t\tBufferStrategy buffStrat = display.getCanvas().getBufferStrategy();\n\t\tif(buffStrat == null) {\n\t\t\tdisplay.getCanvas().createBufferStrategy(3); //We will have 3 buffered screens for the game\n\t\t\treturn;\n\t\t}\n\n\t\t//A bufferstrategy prevents flickering since it preloads elements onto the display.\n\t\t//A graphics object is a paintbrush style object\n\t\tGraphics g = buffStrat.getDrawGraphics();\n\t\t//Clear the screen\n\t\tg.clearRect(0, 0, width, height); //Clear for further rendering\n\t\t\n\t\tif(State.getState() !=null) {\n\t\t\tState.getState().render(g);\n\t\t}\n\t\t//Drawings to be done in this space\n\t\t\n\t\t\n\t\t\n\t\tbuffStrat.show();\n\t\tg.dispose();\n\t}", "@Override\n\tpublic void tick() {\n\t\trenderer.render(this);\n\t}", "@Override\n\tpublic void forceRender() {\n\n\t}", "protected void preRender()\n {\n // subclass\n }", "public void updateScreen()\n {\n super.updateScreen();\n }", "public void render() {\n this.canvas.repaint();\n }", "@Override\n\tpublic void prepareScreen() {\n\t\tgl.glColor3d(0.0, 0.0, 0.0);\n\t\tgl.glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);\n\t}", "private void renderView() {\r\n\t\tSystem.out.println(this.currentView.render());\r\n\t}", "@Override\n\tpublic void surfaceCreated(SurfaceHolder holder) {\n\t\trequestRender();\n\t}", "public void render();", "@Override\r\n protected void controlRender(RenderManager rm, ViewPort vp) {\n }", "public void render()\n\t{\n\t\t// Get or create the BufferStrategy to plan rendering\n\t\tBufferStrategy bs = getBufferStrategy();\n\t\tif (bs == null)\n\t\t{\n\t\t\tcreateBufferStrategy(3);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t// Get the graphics that can be drawn to\n\t\tg = bs.getDrawGraphics();\n\t\t\n\t\t// Set the Graphics2D\n\t\tg2d = (Graphics2D)g;\n\t\t\n\t\t// Create a black rectangle to fill the canvas as a base background\n\t\tg.setColor(Color.black);\n\t\tg.fillRect(0, 0, getWidth(), getHeight());\n\t\t\n\t\tif (screenLoaded)\n\t\t{\n\t\t\t// Draw the static background\n\t\t\tif (game.getScreenHandler().getCurrentScreen() != null)\n\t\t\t\tgame.getScreenHandler().getCurrentScreen().drawStaticBackground(g);\n\t\t\t\n\t\t\t// Translate the screen based on the Camera\n\t\t\tif (game.getCamera() != null && game.usesCamera())\n\t\t\t\tg2d.translate(game.getCamera().getxPos(), \n\t\t\t\t\t\t \t game.getCamera().getyPos());\n\t\t\t\n\t\t\t// Draw the background layer\n\t\t\tif (game.getScreenHandler().getCurrentScreen() != null)\n\t\t\t\tgame.getScreenHandler().getCurrentScreen().drawBackground(g);\n\t\t\t\n\t\t\t// Render all of the Tiles\n\t\t\tif (game.getScreenHandler().getCurrentScreen() != null && game.usesWorld())\n\t\t\t\tgame.getWorldHandler().renderTiles(g);\n\t\t\t\n\t\t\t// Render all of the GameObjects\n\t\t\tif (game.getScreenHandler().getCurrentScreen() != null && game.usesGameObjects())\n\t\t\t\tgame.getObjectHandler().renderGameObjects(g);\n\t\t\t\n\t\t\t// Draw the foreground layer\n\t\t\tif (game.getScreenHandler().getCurrentScreen() != null)\n\t\t\t\tgame.getScreenHandler().getCurrentScreen().drawForeground(g);\n\t\t\t\n\t\t\t// Draw the lighting\n\t\t\tif (game.getScreenHandler().getCurrentScreen() != null && game.usesLighting())\n\t\t\tg.drawImage(game.getLightHandler().getLightmap(), -1500, -3100, null);\n\t\t\t\n\t\t\t// Translate the screen based on the Camera\n\t\t\tif (game.getCamera() != null && game.usesCamera())\n\t\t\t\tg2d.translate(-game.getCamera().getxPos(), \n\t\t\t\t\t\t \t -game.getCamera().getyPos());\n\t\t\t\n\t\t\t// Draw the gui layer\n\t\t\tif (game.getScreenHandler().getCurrentScreen() != null)\n\t\t\t\tgame.getScreenHandler().getCurrentScreen().drawGui(g);\n\t\t\t\n\t\t\t// Draw the debug layer\n\t\t\tif (game.getScreenHandler().getCurrentScreen() != null\n\t\t\t\t&& game.getDebugScreen() != null\n\t\t\t\t&& game.isDebugShown())\n\t\t\t\tgame.getDebugScreen().showDebug(g);\n\t\t\t\n\t\t\t// Draw the loading \"curtain\" if the screen is still loading\n\t\t\tif (game.getScreenHandler().getCurrentScreen() != null &&\n\t\t\t\t!screenLoaded)\n\t\t\t{\n\t\t\t\tif (timeCount < game.getFps() / 4)\n\t\t\t\t{\n\t\t\t\t\tg.setColor(Color.black);\n\t\t\t\t\tg.fillRect(0, 0, game.getWindow().getWidth(), \n\t\t\t\t\t\t\tgame.getWindow().getHeight());\n\t\t\t\t\tg.setColor(Color.white);\n\t\t\t\t\tif (loadingFont == null)\n\t\t\t\t\t\tg.setFont(new Font(\"Verdana\", Font.PLAIN, 32));\n\t\t\t\t\telse\n\t\t\t\t\t\tg.setFont(loadingFont);\n\t\t\t\t\tg.drawString(\"Loading . \", (game.getWindow().getWidth() / 2) - 80, \n\t\t\t\t\t\t\t(game.getWindow().getHeight() / 2) - 80);\n\t\t\t\t}\n\t\t\t\telse if (timeCount < (game.getFps() / 4) * 2)\n\t\t\t\t{\n\t\t\t\t\tg.setColor(Color.black);\n\t\t\t\t\tg.fillRect(0, 0, game.getWindow().getWidth(), \n\t\t\t\t\t\t\tgame.getWindow().getHeight());\n\t\t\t\t\tg.setColor(Color.white);\n\t\t\t\t\tif (loadingFont == null)\n\t\t\t\t\t\tg.setFont(new Font(\"Verdana\", Font.PLAIN, 32));\n\t\t\t\t\telse\n\t\t\t\t\t\tg.setFont(loadingFont);\n\t\t\t\t\tg.drawString(\"Loading . \", (game.getWindow().getWidth() / 2) - 80, \n\t\t\t\t\t\t\t(game.getWindow().getHeight() / 2) - 80);\n\t\t\t\t}\n\t\t\t\telse if (timeCount < (game.getFps() / 4) * 3)\n\t\t\t\t{\n\t\t\t\t\tg.setColor(Color.black);\n\t\t\t\t\tg.fillRect(0, 0, game.getWindow().getWidth(), \n\t\t\t\t\t\t\tgame.getWindow().getHeight());\n\t\t\t\t\tg.setColor(Color.white);\n\t\t\t\t\tif (loadingFont == null)\n\t\t\t\t\t\tg.setFont(new Font(\"Verdana\", Font.PLAIN, 32));\n\t\t\t\t\telse\n\t\t\t\t\t\tg.setFont(loadingFont);\n\t\t\t\t\tg.drawString(\"Loading . . \", (game.getWindow().getWidth() / 2) - 80, \n\t\t\t\t\t\t\t(game.getWindow().getHeight() / 2) - 80);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tg.setColor(Color.black);\n\t\t\t\t\tg.fillRect(0, 0, game.getWindow().getWidth(), \n\t\t\t\t\t\t\tgame.getWindow().getHeight());\n\t\t\t\t\tg.setColor(Color.white);\n\t\t\t\t\tif (loadingFont == null)\n\t\t\t\t\t\tg.setFont(new Font(\"Verdana\", Font.PLAIN, 32));\n\t\t\t\t\telse\n\t\t\t\t\t\tg.setFont(loadingFont);\n\t\t\t\t\tg.drawString(\"Loading . . . \", (game.getWindow().getWidth() / 2) - 80, \n\t\t\t\t\t\t\t(game.getWindow().getHeight() / 2) - 80);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t// Dispose of all graphics\n\t\t\tg.dispose();\n\t\t\t// Show all graphics prepared on the BufferStrategy\n\t\t\tbs.show();\n\t\t}\n\t\telse\n\t\t{\n\t\t\tGraphics2D g2 = (Graphics2D)g;\n\t\t\tg2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);\n\t\t\t\n\t\t\tif (timeCount < game.getFps() / 4)\n\t\t\t{\n\t\t\t\tg.setColor(Color.black);\n\t\t\t\tg.fillRect(0, 0, game.getWindow().getWidth(), \n\t\t\t\t\t\tgame.getWindow().getHeight());\n\t\t\t\tg2.setColor(Color.white);\n\t\t\t\tif (loadingFont == null)\n\t\t\t\t\tg2.setFont(new Font(\"Verdana\", Font.PLAIN, 32));\n\t\t\t\telse\n\t\t\t\t\tg2.setFont(loadingFont);\n\t\t\t\tg2.drawString(\"Loading . \", (game.getWindow().getWidth() / 2) - 80, \n\t\t\t\t\t\t(game.getWindow().getHeight() / 2) - 80);\n\t\t\t}\n\t\t\telse if (timeCount < (game.getFps() / 4) * 2)\n\t\t\t{\n\t\t\t\tg.setColor(Color.black);\n\t\t\t\tg.fillRect(0, 0, game.getWindow().getWidth(), \n\t\t\t\t\t\tgame.getWindow().getHeight());\n\t\t\t\tg2.setColor(Color.white);\n\t\t\t\tif (loadingFont == null)\n\t\t\t\t\tg2.setFont(new Font(\"Verdana\", Font.PLAIN, 32));\n\t\t\t\telse\n\t\t\t\t\tg2.setFont(loadingFont);\n\t\t\t\tg2.drawString(\"Loading . \", (game.getWindow().getWidth() / 2) - 80, \n\t\t\t\t\t\t(game.getWindow().getHeight() / 2) - 80);\n\t\t\t}\n\t\t\telse if (timeCount < (game.getFps() / 4) * 3)\n\t\t\t{\n\t\t\t\tg.setColor(Color.black);\n\t\t\t\tg.fillRect(0, 0, game.getWindow().getWidth(), \n\t\t\t\t\t\tgame.getWindow().getHeight());\n\t\t\t\tg2.setColor(Color.white);\n\t\t\t\tif (loadingFont == null)\n\t\t\t\t\tg2.setFont(new Font(\"Verdana\", Font.PLAIN, 32));\n\t\t\t\telse\n\t\t\t\t\tg2.setFont(loadingFont);\n\t\t\t\tg2.drawString(\"Loading . . \", (game.getWindow().getWidth() / 2) - 80, \n\t\t\t\t\t\t(game.getWindow().getHeight() / 2) - 80);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tg.setColor(Color.black);\n\t\t\t\tg.fillRect(0, 0, game.getWindow().getWidth(), \n\t\t\t\t\t\tgame.getWindow().getHeight());\n\t\t\t\tg2.setColor(Color.white);\n\t\t\t\tif (loadingFont == null)\n\t\t\t\t\tg2.setFont(new Font(\"Verdana\", Font.PLAIN, 32));\n\t\t\t\telse\n\t\t\t\t\tg2.setFont(loadingFont);\n\t\t\t\tg2.drawString(\"Loading . . . \", (game.getWindow().getWidth() / 2) - 80, \n\t\t\t\t\t\t(game.getWindow().getHeight() / 2) - 80);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// Dispose of all graphics\n\t\tg.dispose();\n\t\t// Show all graphics prepared on the BufferStrategy\n\t\tbs.show();\n\t}", "@Override\n public void simpleRender(RenderManager rm) {\n }", "@Override\n public void simpleRender(RenderManager rm) {\n }", "@Override\n public void simpleRender(RenderManager rm) {\n }", "@Override\n public void simpleRender(RenderManager rm) {\n }", "@Override\n public void simpleRender(RenderManager rm) {\n }", "@Override\n public void simpleRender(RenderManager rm) {\n }", "@Override\r\n\tpublic void simpleRender(RenderManager rm) {\n\t}", "@Override\n\t\tpublic void render()\n\t\t{\n\t\t\tif(color.alpha() > 0)\n\t\t\t{\n\t\t\t\tbind();\n\t\t\t\tGL11.glBindTexture(GL11.GL_TEXTURE_2D, 0);\n\t\t\t\tGL11.glBegin(GL11.GL_TRIANGLE_STRIP);\n\t\t\t\t\tfloat screenWidth = WindowManager.controller().width();\n\t\t\t\t\tfloat screenHeight = WindowManager.controller().height();\n\t\t\t\t\tGL11.glVertex2f(0, 0);\n\t\t\t\t\tGL11.glVertex2f(screenWidth, 0);\n\t\t\t\t\tGL11.glVertex2f(0, screenHeight);\n\t\t\t\t\tGL11.glVertex2f(screenWidth, screenHeight);\n\t\t\t\tGL11.glEnd();\n\t\t\t\trelease();\n\t\t\t}\n\t\t}", "@Override\n public void render() {\n if (renderInterrupted) {\n log.debug(\"render()\");\n renderInterrupted = false;\n }\n\n }", "@Override\n\tpublic void render(float deltaTime) {\n\t\t\n\t}", "@Override\n\tpublic void render(float delta) {\n\t}", "@Override\n protected void controlRender(RenderManager rm, ViewPort vp) {\n }", "private void settingsScreenRender() {\n overlay.draw(batch, 0.5f);\n uiFont.draw(batch, scoreTxt, 0, HEIGHT - (scoreLayout.height));\n uiFont.draw(batch, healthTxt, WIDTH / 2, HEIGHT - (healthLayout.height));\n musicOn.draw(batch, 1);\n musicOff.draw(batch, 1);\n resume.draw(batch, 1);\n settingStage.draw();\n }", "@Override\n \tprotected void controlRender(RenderManager rm, ViewPort vp) {\n \n \t}", "public void render () \n\t{ \n\t\trenderWorld(batch);\n\t\trenderGui(batch);\n\t}", "@Override\n\tpublic void show() {\n\t worldRenderer = new WorldRenderer(game);\n\t\tGdx.input.setCatchBackKey(true);\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "@Override\n\tprotected void controlRender(RenderManager rm, ViewPort vp) {\n\t\t\n\t}", "@Override\n public void prerender() {\n }", "void onRender(RenderArguments arguments);", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "@Override\n public void render() {\n float deltaTime = Math.min(Gdx.graphics.getDeltaTime(), 1.0f / 60.0f);\n\n // no ongoing transition\n if (currScreen != null) {\n currScreen.render(deltaTime);\n }\n }", "@Override\n public void setToBeRendered(boolean arg0)\n {\n \n }", "@Override\n\tpublic void render()\n\t{\n\t\tbackground.color().set(grid.backgroundColor());\n\t\tsuper.render();\n\t\tfade.render();\n\t}", "@Override\n\tpublic void render(float delta) {\n\n\t}", "protected void rerender() {\n\t\tthis.layout.render(inventory);\n\t}", "private void render() {\n\n\tbs=display.getCanvas().getBufferStrategy();\t\n\t\n\tif(bs==null) \n\t {\t\n\t\tdisplay.getCanvas().createBufferStrategy(3);\n\t\treturn ;\n\t }\n\t\n\tg=bs.getDrawGraphics();\n\n\t//Clear Screen\n\tg.clearRect(0, 0, width, height);\n\t\n\tif(State.getState()!=null )\n\t\tState.getState().render(g);\n\t\n\t//End Drawing!\n\tbs.show();\n\tg.dispose();\n\t\n\t}", "@Override\r\n\tpublic void renderBackground() {\n\r\n\t}", "public void run (){\n\t\t\t\t\t\t\t\t\tgame.setScreen(game.ui);\t\t\t\t\t\t\t\t\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}", "public void updateScreen(){}", "public void DrawScreen() {\r\n DrawScreen(0, false, null);\r\n }", "@Override\r\n public void render() {\n \r\n stage.act();\r\n stage.draw();\r\n }", "public void startRendering() {\n if (!justRendered) {\n justRendered = true;\n \n if (Flags.wireFrame) p.render_wireFrame();\n else p.render();\n }\n }", "@Override\n\tpublic void onDrawFrame(GL10 gl) {\n\t\tif (!mIsActive)\n\t\t\treturn;\n\n\t\t// Call our function to render content from ArVuforiaAppRenderer class\n\t\tmRenderer.render();\n\t}", "void onRenderGui(RenderArguments arguments);", "@Override\r\n\tpublic void render() {\r\n\r\n\t\tsb.setProjectionMatrix(cam.combined);\r\n\r\n\t\t// draw background\r\n\t\tbg.render(sb);\r\n\r\n\t\t// draw button\r\n\t\tlevel1.render(sb);\r\n\t\tlevel2.render(sb);\r\n\t\tlevel3.render(sb);\r\n\t\t\r\n\t\tif (gameMode == 1){\r\n\t\t\tplayer1press.render(sb);\r\n\t\t\tplayer2press.render(sb);\r\n\t\t}\r\n\t\telse \r\n\t\t\tplayerpress.render(sb);\r\n\t\t\r\n\t\t\r\n\t selectTheLevel.render(sb);\r\n\t\t\r\n\t\tmainMenuB.render(sb);\r\n\r\n\t\t// debug draw box2d\r\n\t\tif(debug) {\r\n\t\t\tcam.setToOrtho(false, Game.V_WIDTH / 100, Game.V_HEIGHT / 100);\r\n\t\t\tb2dRenderer.render(world, cam.combined);\r\n\t\t\tcam.setToOrtho(false, Game.V_WIDTH, Game.V_HEIGHT);\r\n\t\t}\r\n\r\n\t}", "@Override\n public void enrichRenderQueue(RenderQueue renderQueue) {\n }", "@Override\n public void display() {\n display.display();\n }", "public void render(){\n\t\tstage.act();\n\t\tstage.draw();\n\t}", "public void render() {\n\t\tBufferStrategy bs = getBufferStrategy();\n\t\tif (bs == null) { //if the buffer strategy doesnt get created, then you create it\n\t\t\tcreateBufferStrategy(3); //the number 3 means it creates triple buffering\n\t\t\treturn;\t\t\t\t\t//, so when you backup frame gets displayed (2) it will also have a backup\t\n\t\t}\n\t\t\n\t\t//apply data to the buffer \"bs\"\n\t\t//this is creating a link to graphics to drawing graphics to the screen.\n\t\tGraphics g = bs.getDrawGraphics();\n\t\t/**\n\t\t * You input all of your graphics inbetween the g object and g.dispose();\n\t\t */\n\t\t//###################\n\t\t\n\t\tg.setColor(Color.BLACK);\n\t\tg.fillRect(0, 0, getWidth(), getHeight());\n\t\t\n\t\t//###################\n\t\tg.dispose(); //this dispose of all the graphics\n\t\tbs.show(); //this will make the next available buffer visible\n\t}", "public void renderOccurred (RendererEvent e) {\n updateWidgets();\n }", "private void render() {\n\t\ttheMap.draw(g);\n\t\ttheTrainer.draw(g);\n\t}", "public final void calledDuringRender() {\n calledEveryFrame();\n numFrames++;\n }", "private void render() {\n\t\tBufferStrategy bufferStrategy = getBufferStrategy(); //Create BufferStrategy object\n\n\t\t//If the Buffer Strategy doesn't exist, create one\n\t\tif(bufferStrategy == null) {\n\t\t\tcreateBufferStrategy(3); //Triple buffer\n\t\t\treturn; //Return\n\t\t}\n\n\t\tGraphics g = bufferStrategy.getDrawGraphics(); //Create Graphics object\n\t\tg.setColor(Color.black); //Set the colour of the object to black\n\t\tg.fillRect(0, 0, Game.WIDTH, Game.HEIGHT); //Fill the window\n\n\t\t//Start screen\n\t\tif(!startScreen.start && !player.dead && !player.win) {\n\t\t\tstartScreen.render(g); //Render the start screen\n\t\t\t//If the user presses enter\n\t\t\tif(enter) {\n\t\t\t\tstartScreen.start = true; //Game has started\n\t\t\t}\n\t\t}\n\n\t\t//Playing screen\n\t\tif(!player.dead && !player.win && startScreen.start) {\n\t\t\tlevel.render(g); //Render the level\n\t\t\tplayer.render(g); //Render the player to the graphics object\n\t\t\thp(g); //Render the hit points\n\t\t\tif(paused) {\n\t\t\t\tpauseScreen.render(g);\n\t\t\t}\n\t\t}\n\n\t\t//Dead screen\n\t\tif(player.dead){\n\t\t\tdeadScreen.render(g); //Render the dead screen\n\t\t}\n\n\t\t//Win screen\n\t\tif(player.win) {\n\t\t\twinScreen.render(g); //Render the win screen\n\t\t}\n\t\tg.dispose(); //Dispose of the object\n\t\tbufferStrategy.show(); //Show it\n\t}", "private void render() {\n final int numBuffers = 3;\n BufferStrategy bs = this.getBufferStrategy(); // starts value at null\n if (bs == null) {\n this.createBufferStrategy(numBuffers); // 3: buffer creations\n return;\n }\n Graphics g = bs.getDrawGraphics();\n\n g.setColor(Color.black); // stops flashing background\n g.fillRect(0, 0, WINDOW_WIDTH, WINDOW_HEIGHT);\n\n handler.render(g);\n\n if (gameStart == GAME_STATE.Game) {\n hud.render(g);\n } else if (gameStart == GAME_STATE.Menu || gameStart == GAME_STATE.Help || gameStart == GAME_STATE.GameOver || gameStart == GAME_STATE.GameVictory) {\n menu.render(g);\n }\n\n g.dispose();\n bs.show();\n }", "public void render()\n\t{\n\t\t//double buffering is cool\n\t\tBufferStrategy bs = getBufferStrategy();\n\t\tif (bs == null)\n\t\t{\n\t\t\tcreateBufferStrategy(2);\n\t\t\tbs = getBufferStrategy();\n\t\t}\n\t\t\t\n\t\tGraphics2D g2 = (Graphics2D)bs.getDrawGraphics();\n\t\n\t\t\n\t\t\n\t\tif (true)\t\n\t\t{\n\t\t\tif (level != 0)\n\t\t\t{\n\t\t\t\tg2.setColor(Color.black);\n\t\t\t\tg2.fillRect(0, 0, width, height);\t\t\t\n\t\t\t}\n\t\t\tgameObjectHandler.render(g2,false);\n\t\t}\n\t\tif(currTransition != null)\n\t\t{\n\t\t\tcurrTransition.render(g2);\n\t\t\n\t\t}\n\t\t\n\t\t\n\t\tbs.show();\n\t\tg2.dispose();\n\t\n\t}", "@Override\n\tpublic void Render() {\n\t\t\n\t\tSystem.out.println(\"Chocolater Ice Cream\");\n\t\t\n\t}", "@Override\r\n\tpublic void display() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void display() {\n\t\t\r\n\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\tlevel.screen.game.switchScreen(ShooterGame.VICTORY);\n\t\t\t}", "@Override\n\tpublic void surfaceChanged(SurfaceHolder holder, int format, int width,\n\t\t\tint height) {\n\t\trequestRender();\n\t\t\n\t}", "@Override\n\tpublic void updateScreen() {\n\t\tfield_154330_a.tick();\n\t\tsuper.updateScreen();\n\t}", "public void render()\n\t{\n\t\tBufferStrategy bs = this.getBufferStrategy();\n\n\t\tif (bs == null)\n\t\t{\n\t\t\tcreateBufferStrategy(3);\n\t\t\treturn;\n\t\t}\n\n\t\tGraphics g = bs.getDrawGraphics();\n\t\t//////////////////////////////\n\n\t\tg.setColor(Color.DARK_GRAY);\n\t\tg.fillRect(0, 0, getWidth(), getHeight());\n\t\tif (display != null && GeneticSimulator.updateRendering)\n\t\t{\n\t\t\tg.drawImage(display, 0, 0, getWidth(), getHeight(), this);\n\t\t}\n\n\t\tWorld world = GeneticSimulator.world();\n\n\t\tworld.draw((Graphics2D) g, view);\n\n\t\tg.setColor(Color.WHITE);\n\t\tg.drawString(String.format(\"view: [%2.1f, %2.1f, %2.1f, %2.1f, %2.2f]\", view.x, view.y, view.width, view.height, view.PxToWorldScale), (int) 10, (int) 15);\n\n\t\tg.drawString(String.format(\"world: [time: %2.2f pop: %d]\", world.getTime() / 100f, World.popCount), 10, 30);\n\n\t\tg.drawRect(view.pixelX, view.pixelY, view.pixelWidth, view.pixelHeight);\n//\t\tp.render(g);\n//\t\tc.render(g);\n\n\n\t\t//g.drawImage(player,100,100,this);\n\n\t\t//////////////////////////////\n\t\tg.dispose();\n\t\tbs.show();\n\t}", "public void prerender() {\n }", "public void prerender() {\n }", "@Override\n public void display() {\n\n }", "@Override\n\tpublic void onDrawFrame(GL10 gl) {\n\t\tLibNative.render();\n\t}", "public void render(){\n //this block is pre-loading 2 frames in\n BufferStrategy bs = this.getBufferStrategy();\n if(bs == null){\n this.createBufferStrategy(2);\n return;\n }\n\n Graphics g = bs.getDrawGraphics();\n Graphics2D g2d = (Graphics2D) g;\n ///////////////////////////\n //Draw things below here!\n g.setColor(Color.white);\n g.fillRect(0, 0, 800, 800);\n\n g2d.translate(-camera.getX(), -camera.getY());\n\n g.setColor(Color.gray);\n g.fillRect(0, 0, 500, 500);\n //render all the objects\n handler.render(g);\n\n //g2d.translate(camera.getX(), camera.getY());\n //Draw things above here!\n ///////////////////////////\n g.dispose();\n bs.show();\n }", "@Override\n\tprotected void initContentView() {\n\t\t\n\t}", "public void render(){\n\t\tBufferStrategy bs = frame.getBufferStrategy();\n\t\tif(bs == null){\n\t\t\tframe.createBufferStrategy(3);\n\t\t\treturn;\n\t\t}\n\t\trenderGraphics(bs);\n\t}", "@Override\n public void onFrameAvailable(SurfaceTexture st) {\n mGLView.requestRender();\n }", "void setupRender() {\n\t\tif (!init()) {\n\t\t\tisAccess = false;\n\t\t\treturn;\n\t\t}\n\t}" ]
[ "0.7937028", "0.7697811", "0.75977206", "0.75977206", "0.7419844", "0.73908573", "0.73840714", "0.73606354", "0.7348719", "0.73417336", "0.73188615", "0.7299854", "0.7279576", "0.7199438", "0.7187192", "0.7167315", "0.7149148", "0.711625", "0.7088428", "0.7079332", "0.7049889", "0.7005448", "0.6960207", "0.6928406", "0.6923001", "0.692104", "0.6917067", "0.68741894", "0.6853471", "0.68431157", "0.6838611", "0.6813466", "0.6757477", "0.6744013", "0.67409706", "0.6728565", "0.6726668", "0.6723842", "0.6723007", "0.67117035", "0.6711594", "0.6711594", "0.6711594", "0.6711594", "0.6711594", "0.6711594", "0.6707731", "0.6703431", "0.67019767", "0.6695076", "0.6664668", "0.66601884", "0.66570616", "0.66547257", "0.6646672", "0.6646632", "0.66226405", "0.66189", "0.6617969", "0.66097337", "0.6607085", "0.65884787", "0.65683925", "0.6561957", "0.6560651", "0.6541827", "0.6541303", "0.6540707", "0.65295815", "0.65292513", "0.6505904", "0.6504139", "0.6496175", "0.64471745", "0.644439", "0.64364684", "0.64334196", "0.64271146", "0.64227545", "0.6420223", "0.64191496", "0.6415589", "0.6400572", "0.6395716", "0.6390422", "0.6389916", "0.63718677", "0.63718677", "0.6366437", "0.63609284", "0.635182", "0.6345468", "0.6344238", "0.6344238", "0.6344002", "0.6339718", "0.6338526", "0.6335992", "0.63047314", "0.6303561", "0.6300475" ]
0.0
-1
Called when the Application is resized. This can happen at any point during a nonpaused state but will never happen before a call to create().
@Override public void resize(int x, int y) { viewport.update(x, y, true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void windowResized();", "protected abstract void onResize(int width, int height);", "@Override\n\tpublic void appSizeChanged(int appWidth, int appHeight) {\n\t\tP.out(\"New app size!\", \"[appSizeWatcher]\", appWidth + \", \" + appHeight);\n\t\tif(p.width != 800 || p.height != 600) {\n\t\t\tchangedFlash.setTarget(0).setCurrent(1);\n\t\t\tAppUtil.setSize(p, 800, 600);\n\t\t\tAppUtil.setLocation(p, 0, 0);\n\t\t}\n\t}", "private void onResize() {\n /*\n * IE (pre IE9 at least) will give us some false resize events due to\n * problems with scrollbars. Firefox 3 might also produce some extra\n * events. We postpone both the re-layouting and the server side event\n * for a while to deal with these issues.\n * \n * We may also postpone these events to avoid slowness when resizing the\n * browser window. Constantly recalculating the layout causes the resize\n * operation to be really slow with complex layouts.\n */\n boolean lazy = resizeLazy\n || (BrowserInfo.get().isIE() && BrowserInfo.get()\n .getIEVersion() <= 8) || BrowserInfo.get().isFF3();\n \n if (lazy) {\n delayedResizeExecutor.trigger();\n } else {\n windowSizeMaybeChanged(Window.getClientWidth(),\n Window.getClientHeight());\n }\n }", "void windowResized(ResizeEvent e);", "void onResized(int width, int height);", "@Override\n\tpublic void resize(int width, int height) {\n\t\tGdx.app.log(\"GameScreen\", \"resizing\");\n\t}", "public void onResized(Integer width,Integer height);", "@Override\n\tpublic void resize(int width, int height) {\n\t\tGdx.app.log(\"GameScreen\", \"Resizing\");\n\t}", "@Override\n public void resize(int width, int height) {game.screenPort.update(width, height, true);}", "@Override\n\tpublic void resized() {\n\t}", "@Override\n\tpublic void onResize(int width, int height) {\n\t}", "public final void windowResizedOp(int newWidth, int newHeight) {\n super.defaultWindowResizedOp(newWidth, newHeight);\n }", "private void resize() {\n }", "public void onWindowResized(int width, int height) {\n this.setHeight(\"\" + (height - TopPanel.HEIGHT));\n }", "@Override\n public void resize(int width, int height) {\n bgMusic.stop();\n menuMusic.stop();\n create();\n }", "@Override\n protected void onSizeChanged(int w, int h, int oldw, int oldh) {\n super.onSizeChanged(w, h, oldw, oldh);\n if (w == 0 || h == 0) return;\n createGame();\n }", "@Override\n public void resize(int width, int height) {\n Gdx.app.log(TAG, \"Resized to width = \" + width + \" height = \" + height);\n }", "private void controlResized() {\n disposeBackBuffer();\n initializeBackBuffer();\n\n redraw();\n }", "protected void windowSizeMaybeChanged(int newWidth, int newHeight) {\n boolean changed = false;\n if (width != newWidth) {\n width = newWidth;\n changed = true;\n VConsole.log(\"New window width: \" + width);\n }\n if (height != newHeight) {\n height = newHeight;\n changed = true;\n VConsole.log(\"New window height: \" + height);\n }\n if (changed) {\n VConsole.log(\"Running layout functions due to window resize\");\n connection.runDescendentsLayout(VView.this);\n Util.runWebkitOverflowAutoFix(getElement());\n \n sendClientResized();\n }\n }", "@Override\n\tprotected void onSizeChanged(int w, int h, int oldw, int oldh) {\n\t\tsuper.onSizeChanged(w, h, oldw, oldh);\n\n\t\t// save device height width, we use it a lot of places\n\t\tmViewHeight = h;\n\t\tmViewWidth = w;\n\n\t\t// fix up the image\n\t\tsetInitialImageBounds();\n\t}", "@Override\n protected final void onSizeChanged(int w, int h, int oldw, int oldh) {\n super.onSizeChanged(w, h, oldw, oldh);\n this.invalidate();\n }", "protected abstract void resize();", "@Override\r\n\tpublic void resize() {\n\t\t\r\n\t}", "@Override public void onSizeChanged(int w, int h, int oldw, int oldh)\n {\n super.onSizeChanged(w, h, oldw, oldh);\n // Release the buffer, if any and it will be reallocated on the next draw\n mBuffer = null;\n }", "@Override\n\tpublic void onSurfaceChanged(GL10 gl, int width, int height) {\n\t\tLibNative.resize(width, height);\n\t}", "void resize() {\n }", "public void resize() {\n\t\tsp.doLayout();\n\t}", "@Override\n protected void onSizeChanged(int w, int h, int oldw, int oldh) {\n super.onSizeChanged(w, h, oldw, oldh);\n this.w = w;\n this.h = h;\n }", "@Override\n protected void onSizeChanged(int w, int h, int oldw, int oldh) {\n super.onSizeChanged(w, h, oldw, oldh);\n setGameCards();\n }", "@Override\n public void onSizeChanged(int w, int h, int oldW, int oldH) {\n // Set the movement bounds for the ball\n displayArea.setDisp(w-1, h-1);\n if (!isInitBackground) {\n isInitBackground = true;\n backgCalculating = new BackCalculating(0, 0, displayArea.xMax, displayArea.yMax, Color.BLACK, Color.YELLOW);\n }\n }", "@Override\n\tpublic void resize() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void componentResized(ComponentEvent arg0) {\r\n\t\t\t}", "@Override\n protected void onSizeChanged(int w, int h, int oldw, int oldh) {\n super.onSizeChanged(w, h, oldw, oldh);\n viewMatrix = null;\n }", "@Override\n\t\t\t\t\t\tpublic void componentResized(ComponentEvent arg0) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}", "@Override\n\t\t\t\t\t\tpublic void componentResized(ComponentEvent arg0) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}", "@Override\n public void resize(int width, int height) {\n bgViewPort.update(width, height, true);\n stage.getViewport().update(width, height, true);\n fonts.getFontViewport().update(width, height, true);\n }", "@Override\n protected void sizeChanged () {\n }", "private void onWindowSizeChange() {\n resizeAnchorPane();\n synchronized (notifiers) {\n for (int i = 0; i < notifiers.size(); i++) { //can't be in for each loop as notifiers might be changed in another thread\n Notifier notifier = notifiers.get(i);\n notifier.notify(scrollPane.getViewportBounds().getWidth(), scrollPane.getViewportBounds().getHeight());\n }\n }\n }", "@Override\n protected void onSizeChanged(int w, int h, int oldw, int oldh)\n {\n super.onSizeChanged(w, h, oldw, oldh);\n dotsSet = false;\n\n\n startNewGame();\n keeper.start();\n }", "protected final void fireResize() {\r\n\t\tfireEvent(new ResizeEvent(this));\r\n\t}", "@Override\n\tprotected void onSizeChanged(int w, int h, int oldw, int oldh) {\n\t\twidth = w;\n\t\theigth = h;\n\t\tajestPosition();\n\t\tthis.invalidate();\n\t\tsuper.onSizeChanged(w, h, oldw, oldh);\n\t}", "protected void doResize() {\r\n\t\tif (renderer.surface == null) {\r\n\t\t\tdoNew();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tNewResizeDialog dlg = new NewResizeDialog(labels, false);\r\n\t\tdlg.widthText.setText(\"\" + renderer.surface.width);\r\n\t\tdlg.heightText.setText(\"\" + renderer.surface.height);\r\n\t\tdlg.setLocationRelativeTo(this);\r\n\t\tdlg.setVisible(true);\r\n\t\tif (dlg.success) {\r\n\t\t\trenderer.surface.width = dlg.width;\r\n\t\t\trenderer.surface.height = dlg.height;\r\n\t\t\trenderer.surface.computeRenderingLocations();\r\n\t\t}\r\n\t}", "protected void newSize() {\r\n adjustSize();\r\n halt();\r\n newGame();\r\n }", "@Override\n public void componentResized(ComponentEvent e) {\n }", "@Override\n\t\tpublic void componentResized(ComponentEvent arg0) {\n\t\t\t\n\n\t\t}", "@Override\n\tpublic void resize(float width, float height) {\n\t}", "@Override\n public void resize(int w, int h) {\n mainStage.getViewport().update(w, h, true);\n userInterface.getViewport().update(w, h, true);\n }", "@Override\r\n\tprotected void onSizeChanged(int w, int h, int oldw, int oldh) {\n\t\tsuper.onSizeChanged(w, h, oldw, oldh);\r\n\t\tif (w > 0 && h > 0) {\r\n\t\t\tcontainerWidth = w;\r\n\t\t\tcontainerHeight = h;\r\n\t\t}\r\n\t}", "private void sendResizeEventToFX() {\n redraw();\n update();\n \n pWidth = getClientArea().width;\n pHeight = getClientArea().height;\n\n resizePixelBuffer(lastScaleFactor);\n\n if (scenePeer == null) {\n return;\n }\n\n stagePeer.setSize(pWidth, pHeight);\n scenePeer.setSize(pWidth, pHeight);\n }", "@Override\r\n\t\t\tpublic void componentResized(ComponentEvent e) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n public void resize(int width, int height) {\n stage.getViewport().update(width, height, true);\r\n }", "@Override\n public void resize(int width, int height) {\n \n }", "protected void onSizeChanged(int w, int h, int oldw, int oldh) {\n super.onSizeChanged(w, h, oldw, oldh);\n\n //create Bitmap of certain w,h\n bitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);\n\n //apply bitmap to graphic to start drawing.\n canvas = new Canvas(bitmap);\n }", "void childResized(int w, int h);", "@Override\n protected void onSizeChanged(int w, int h, int oldw, int oldh)\n {\n super.onSizeChanged(w, h, oldw, oldh);\n //initialize canvas background\n canvasBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);\n canvas = new Canvas(canvasBitmap);\n }", "@Override\n public void onSizeChanged(int w, int h, int oldW, int oldH) {\n mId = w / 2;\n mId = mId - mViewsCount * 9;\n }", "protected void setResized(Boolean b) {\n\t\tresized = b;\n\t}", "@Override\n protected void onSizeChanged(int w, int h, int oldW, int oldH) {\n super.onSizeChanged(w, h, oldW, oldH);\n\n canvasWidth = w;\n canvasHeight = h;\n updatePolygonSize();\n\n if (Math.min(canvasWidth, canvasHeight) != Math.min(oldW, oldH)) {\n refreshImage();\n }\n }", "@Override\n protected void onSizeChanged(int w, int h, int oldw, int oldh) {\n super.onSizeChanged(w, h, oldw, oldh);\n canvasBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);\n drawCanvas = new Canvas(canvasBitmap);\n }", "@SuppressWarnings(\"synthetic-access\")\r\n\t @Override\r\n\t public void componentResized(final ComponentEvent arg0) {\n\t\tupdateLocation(WSResizeHandleComponent.this.parent);\r\n\t }", "@Override\n\tpublic void resize(int width, int height) {\n\t stage.getViewport().update(width, height, true);\n\t}", "@Override\n\tpublic void resize(int width, int height) {\n\t\tgamePort.update(width,height);\n\n\t}", "@Override\n\tpublic void componentResized(ComponentEvent e) {\n\t\tthis.mapImage.resizeImage(this.getWidth() - 15, this.getHeight() - 60);\n\t\t// make the thread \"go to sleep\" to avoid smearing the screen\n\t\ttry {\n\t\t\tThread.sleep(20);\n\t\t} catch (InterruptedException e0) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te0.printStackTrace();\n\t\t}\n\t\tdrawAll();\n\t}", "@Override\n\t\t\tpublic void changed(ObservableValue<? extends Number> observable, Number oldValue, Number newValue) {\n\t\t\t\tviewState.set(ViewState.RESIZE);\n\t\t\t\t\n\t\t\t}", "public void componentResized(ComponentEvent e) {\n\t\tresizeBackgroundImage();\n\t\trepaint();\n\t}", "public void componentResized(ComponentEvent e) {\r\n\r\n int width = getWidth();\r\n int height = getHeight();\r\n\r\n //we check if either the width\r\n //or the height are below minimum\r\n\r\n boolean resize = false;\r\n\r\n if (width < minWidth) {\r\n resize = true;\r\n width = minWidth;\r\n }\r\n if (height < minHeight) {\r\n resize = true;\r\n height = minHeight;\r\n }\r\n if (resize) {\r\n this.setSize(width, height);\r\n }\r\n }", "@Override\n public void resize(int width, int height) {\n stage.getViewport().update(width, height, true);\n }", "@Override\n protected void appSize(int width, int height, Bitmap.Config config) {\n // Do nothing if already set.\n if (width == screenWidth && height == screenHeight && config == screenConfig)\n return;\n \n screenWidth = width;\n screenHeight = height;\n screenConfig = config;\n \n if (eyeCandy != null)\n eyeCandy.setConfiguration(screenWidth, screenHeight, screenConfig);\n }", "public interface CCSizeListener{\r\n\r\n\t/**\r\n\t * Called when the application window is resized. You can implement this function \r\n\t * to change settings that are dependent on the window size.\r\n\t * @param theWidth the new width of the application window\r\n\t * @param theHeight the new height of the application window\r\n\t * @shortdesc Called when the application window is resized.\r\n\t */\r\n\tpublic void size(final int theWidth, final int theHeight);\r\n}", "@Override\r\n public void onWindowFocusChanged(boolean hasFocus) {\n super.onWindowFocusChanged(hasFocus);\r\n updateSizeInfo();\r\n }", "@Override\r\n public void resize(int width, int height) {\r\n\r\n }", "@Override\n public void resize(int width, int height) {\n stage.getViewport().update(width, height, true);\n stage.mapImg.setHeight(Gdx.graphics.getHeight());\n stage.mapImg.setWidth(Gdx.graphics.getWidth());\n stage.gameUI.show();\n }", "@Override\r\npublic void componentResized(ComponentEvent arg0) {\n\tsetSizeBackgr(getSize());\r\n\tsetSizeHat (getSize());\r\n\tsetSizeGift(getSize());\r\n}", "public final native void triggerResize() /*-{\n $wnd.google.maps.event.trigger(this, 'resize');\n }-*/;", "@Override\n protected void onSizeChanged (int w, int h, int oldw, int oldh) {\n mXSize = w;\n mYSize = h;\n\n mZBoundOut = new RectF(w/2-w/2.5f, h/2-w/2.5f, w/2+w/2.5f, h/2+w/2.5f);\n mZBoundOut2 = new RectF(\n w/2-w/2.5f-ZRING_CURSOR_ADD, h/2-w/2.5f-ZRING_CURSOR_ADD,\n w/2+w/2.5f+ZRING_CURSOR_ADD, h/2+w/2.5f+ZRING_CURSOR_ADD);\n mZBoundIn = new RectF(\n w/2-w/2.5f+ZRING_WIDTH, h/2-w/2.5f+ZRING_WIDTH,\n w/2+w/2.5f-ZRING_WIDTH, h/2+w/2.5f-ZRING_WIDTH);\n mZBoundIn2 = new RectF(\n w/2-w/2.5f+ZRING_WIDTH+ZRING_CURSOR_ADD, h/2-w/2.5f+ZRING_WIDTH+ZRING_CURSOR_ADD,\n w/2+w/2.5f-ZRING_WIDTH-ZRING_CURSOR_ADD, h/2+w/2.5f-ZRING_WIDTH-ZRING_CURSOR_ADD);\n\n if (LOCAL_LOGV) Log.v(TAG, \"New view size = (\"+w+\", \"+h+\")\");\n }", "@Override\n\tpublic void componentResized(ComponentEvent e) {\n\t\twidthAttitude=e.getComponent().getSize().getWidth()/Width;\n\t\theightAttitude=e.getComponent().getSize().getHeight()/Height;\n\t}", "@Override public void resize (int width, int height) {\n\t\tviewport.update(width, height, true);\n\t\tstage.getViewport().update(width, height, true);\n\t}", "@Override\r\n\tpublic void resize(int width, int height) {\n\r\n\t}", "@Override\r\n\tpublic void resize(int width, int height) {\n\r\n\t}", "@Override\r\n\tpublic void resize(int width, int height) {\n\r\n\t}", "@Override\n\tpublic void resize(int width, int height) {\n\t\tcreate();\n\t}", "@Override\n public void resize(int width, int height) {\n }", "@Override\n public void resize(int width, int height) {\n\n }", "@Override\n public void onSizeChanged(int w, int h, int oldW, int oldH) {\n // Set the movement bounds for the ballParent\n box.set(0, 0, w, h);\n }", "@Override\r\n\tpublic void onSizeChanged(int w, int h, int oldW, int oldH) {\r\n\t\t// Set the movement bounds for the ball\r\n\t\txMax = w - 1;\r\n\t\tyMax = h - 1;\r\n\t}", "protected final void handleResize(final int w, final int h,\n final boolean updateTarget) {\n Image oldBB = null;\n synchronized (getStateLock()) {\n if (backBuffer != null) {\n oldBB = backBuffer;\n backBuffer = getLWGC().createBackBuffer(this);\n }\n }\n getLWGC().destroyBackBuffer(oldBB);\n\n if (updateTarget) {\n AWTAccessor.getComponentAccessor().setSize(getTarget(), w, h);\n postEvent(new ComponentEvent(getTarget(),\n ComponentEvent.COMPONENT_RESIZED));\n }\n }", "public void onSizeChanged(int w, int h, int oldW, int oldH) {\n super.onSizeChanged(w, h, oldW, oldH);\n this.beginWid = (float)getWidth()/8;\n this.endWid = (float)getWidth()-((float)getWidth()/8);\n this.beginHei = (float)getHeight()/8;\n this.endHei = getHeight()-((float)getHeight()/8);\n this.oval = new RectF(this.beginWid,this.beginHei, this.endWid, this.endHei);\n returnDefault();\n }", "@Override\r\n\t\t\tpublic void componentResized(ComponentEvent e) {\n\t\t\t\tsuper.componentResized(e);\r\n\t\t\t\t\r\n\t\t\t}", "private void updateListener() {\n \n if(resizeListener != null) {\n s.heightProperty().removeListener(resizeListener);\n s.widthProperty().removeListener(resizeListener);\n }\n \n resizeListener = (observable, oldValue, newValue) -> {\n listeners.forEach((r) -> r.onResize());\n };\n \n s.heightProperty().addListener(resizeListener);\n s.widthProperty().addListener(resizeListener);\n }", "public void componentResized(ComponentEvent e)\n/* 410: */ {\n/* 411:478 */ TileGIS.this.mapPanel.setSize(TileGIS.this.placeholder.getJComponent().getSize());\n/* 412: */ }", "@Override\n\tpublic void resize(int width, int height) {\n\t}", "@Override\n\tpublic void resize(int width, int height) {\n\t}", "@Override\n\tpublic void resize(int width, int height) {\n\t}", "@Override\n\tpublic void resize(int width, int height) {\n\t}", "public void componentResized(ComponentEvent e) {\n\t\t\t\t\n\t\t\t\tDimension size = e.getComponent().getSize();\n\t\t\t\tint infoWidth = 200;\n\t\t\t\tint tabPaneWidth = 200;\n\t\t\t\tint padY = 80;\n\t\t\t\tint padX = 40;\n\t\t\t\tint canvasWidth = (int) (size.width - padX - infoWidth - tabPaneWidth);\n\t\t\t\tint canvasHeight = (int) (size.height - padY);\n\t\t\t\tcanvas.setSize(canvasWidth, canvasHeight);\n\t\t\t\twindow.setSize(canvasWidth, canvasHeight);\n\t\t\t\tinfoPanel.setSize(infoWidth, canvasHeight); \n\t\t\t\t\n\t\t\t\tint tabPadX = 10;\n\t\t\t\tint tabPadY = 30;\n\t\t\t\ttabbedPane.setSize(tabPaneWidth, canvasHeight);\n\t\t\t\texplorerPanel.setSize(tabPaneWidth-tabPadX, canvasHeight-tabPadY);\n\t\t\t\tplanPanel.setSize(tabPaneWidth-tabPadX, canvasHeight-tabPadY);\n\t\t\t\tcanvas.revalidate();\n\t\t\t}", "@Override\n\tpublic void resize(int width, int height) {\n\t\t\n\t}", "@Override\n\tpublic void resize(int width, int height) {\n\t\t\n\t}", "@Override\n\tpublic void resize(int width, int height) {\n\t\t\n\t}", "@Override\n\tpublic void resize(int width, int height) {\n\t\t\n\t}", "@Override\n\tpublic void resize(int width, int height) {\n\t\t\n\t}" ]
[ "0.7666447", "0.7332794", "0.72859085", "0.7170477", "0.71317863", "0.7092095", "0.7084051", "0.7049087", "0.7013689", "0.6940119", "0.6909938", "0.6876224", "0.68248016", "0.68225324", "0.6813543", "0.6786874", "0.66722196", "0.6626832", "0.66006815", "0.6574601", "0.6573323", "0.65675145", "0.6533545", "0.6518453", "0.6503957", "0.64987475", "0.64976174", "0.64928746", "0.64845973", "0.646298", "0.64536726", "0.64525145", "0.6427412", "0.64194006", "0.6400356", "0.6400356", "0.6400024", "0.63901347", "0.635453", "0.6325634", "0.63197416", "0.6307306", "0.6291318", "0.6289853", "0.6286756", "0.62601", "0.6249944", "0.62443036", "0.6240607", "0.6238512", "0.6236455", "0.62277424", "0.6227189", "0.62112963", "0.62057835", "0.62054247", "0.6200927", "0.61952573", "0.619215", "0.6183242", "0.61801505", "0.61604744", "0.6147586", "0.61474633", "0.6145196", "0.61426055", "0.614113", "0.6140791", "0.6137376", "0.61242014", "0.6104551", "0.61017364", "0.6093379", "0.6086592", "0.6086265", "0.6079855", "0.60734594", "0.6071537", "0.606965", "0.606965", "0.606965", "0.6066153", "0.60629493", "0.60572684", "0.6056101", "0.6046087", "0.60414684", "0.6034664", "0.6016925", "0.600781", "0.6004787", "0.6004252", "0.6004252", "0.6004252", "0.6004252", "0.60039115", "0.5997902", "0.5997902", "0.5997902", "0.5997902", "0.5997902" ]
0.0
-1
Pauses the game. This is currently handled by an window listener instead of this function
@Override public void pause() { // Not used }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void pauseGame() {\n\t\ttimer.cancel();\n\t}", "public void pauseGame() {\n paused = true;\r\n cam.zoom = worldWidth/screenWidth;\r\n boundCamera();\r\n topHud.setPauseButtonCanDraw(false);\r\n gameHud.setCanPress(false);\r\n\r\n playButton.setDrawable(!(win || lose));\r\n homeButton.setDrawable(true);\r\n restartButton.setDrawable(true);\r\n\r\n playButton.setCanPress(true);\r\n homeButton.setCanPress(true);\r\n restartButton.setCanPress(true);\r\n\r\n bindInput(pauseProcessors);\r\n\r\n timeGap = centralTimer - timer;\r\n }", "public void pause() {\r\n\t\tSystem.out.println(\"Paused game\");\r\n\t\tthis.timeline.pause();\r\n\t\tisPaused = true;\r\n\t\tpauseMenu.setVisible(true);\r\n\t}", "protected void pause(){}", "public void pause() {}", "void pauseGame() {\n myGamePause = true;\n }", "private void pause()\r\n {\r\n player.pause();\r\n }", "public static void pauseGame() {\r\n\t\tif(paused) {\r\n\t\t\tgui.restoreMenu();\r\n\t\t}else {\r\n\t\t\tgui.setMenu(new PauseMenu(), false);\r\n\t\t}\r\n\t\tpaused = !paused;//flip state\r\n\t}", "public void pause() {\n running = false;\n try {\n gameThread.join();\n } catch (InterruptedException e) {\n // Error\n }\n }", "public void pause() {\r\n\t}", "void pauseGame() {\n myShouldPause = true;\n }", "void pauseGame() {\n myShouldPause = true;\n }", "private void pause() { player.pause();}", "@Override\n\tpublic void pause() {\n\t\tGdx.app.log(\"GameScreen\", \"pause called\");\n\t}", "public void pause() {\n pause = true;\n }", "public synchronized void pause() {\r\n\r\n\t\tpaused = true;\r\n\t}", "private void pause() {\n\t\t// TODO\n\t}", "@Override\n\tpublic void pause() {\n\t\tAction(Director.ACTION_PAUSE);\n\t}", "protected void pause() {\n sleep(300);\n }", "public void pause();", "public void pause();", "public void pause();", "public void pause() {\n\t\tpostEvent(new IpcEvent(SimulationEvents.EVENT_TYPE_PAUSE, this, null));\n\t}", "public void pause() {\n\t\t// TODO Auto-generated method stub\n\t}", "public void pause() {\n\t\tsleep(2000);\n\t}", "public void pause() {\n isPaused = true;\n System.out.println(\"pausing\");\n timeline.stop();\n }", "@Override\n\tpublic void pause() \n\t{\n\t\tif (state_Game==GAME_READY) \n\t\t{\n\t\t\tstate_Game=GAME_PAUSED;\n\t\t}\n\t}", "public void pause() {\r\n fPause = true;\r\n }", "public void pause() {\n }", "@Override\r\n public void pause() {}", "public void pause()\n {\n paused = true;\n }", "private void pause() {\n pause(myDelay);\n }", "@Override\r\n public void pause() {\r\n\r\n }", "@Override\r\n public void pause() {\r\n\r\n }", "synchronized void pause() {\n\t\tpaused = true;\n\t}", "public void pause() {\n paused = true;\n }", "public void pause() {\n paused = true;\n }", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "public void pause() {\n\n if (timer != null) {\n\n // Arreter le timer\n stop();\n\n // Mise à jour\n update();\n }\n }", "private void pauseTimer() {\n myTimer.stop();\n disableGamePlayKeys();\n repaint();\n }", "@Override\r\n public void pause() {\n }", "@Override\r\n public void pause() {\n }", "@Override\r\n public void pause() {\n }", "void pauseGame() {\n try {\n myGamePause = true;\n myPlayer.stop();\n // when the application pauses the game, resources\n // are supposed to be released, so we close the\n // player and throw it away.\n myPlayer.close();\n myPlayer = null;\n } catch (Exception e) {\n // the music isn't necessary, so we ignore exceptions.\n }\n }", "@Override\n\tpublic void pause()\n\t{\n\n\t}", "@Override\n\tpublic void pause() \n\t{\n\n\t}", "public void pauseApp() {\n try {\n if (myCanvas != null) {\n setGoCommand();\n systemPauseThreads();\n }\n } catch (Exception e) {\n errorMsg(e);\n }\n }", "@Override\n public void pause() {\n }", "@Override\n public void pause() {\n }", "@Override\n public void pause() {\n }", "@Override\n public void pause() {\n }", "@Override\n public void pause() {\n }", "@Override\n\tpublic void pause() {\n\t\tsuper.pause();\n\t}", "public void pause() {\n\t\tsynchronized(this) {\n\t\t\tpaused = true;\n\t\t}\n\t}", "@Override\r\n\tpublic void pause() {\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "@Override\n\tpublic void pause() {\n\t\t\n\t}", "public void pauseApp()\r\n\t{\n\t}", "@Override\n\t\tpublic void pause() {\n\t\t \n\t\t}", "@Override\n public void pause() {\n }", "protected void pauseApp() {\n\t\t\r\n\t}", "protected void pauseApp() {\n\r\n\t}", "@Override\n public void pause() {\n Gdx.app.log(TAG, \"Paused\");\n }", "public void pause()\n {\n playing = false; // stop the update() method\n\n try {\n\n gameThread.join(); // Waiting for gameThread to finish\n\n } catch (InterruptedException e) {\n\n Log.e(\"error\", \"failed to stop the thread\");\n }\n }", "public void pause()\n\t{\n\t\tplayState = Status.PAUSED;\n\t\tlastUpdate = -1;\n\t\ttmr.stop();\n\t}", "@Override\r\n\tpublic void pause() {\n\r\n\t}", "@Override\r\n\tpublic void pause() {\n\r\n\t}" ]
[ "0.77325594", "0.76664174", "0.7618327", "0.7582882", "0.75390494", "0.75353986", "0.74838454", "0.7475882", "0.74440455", "0.74412936", "0.74382955", "0.74382955", "0.7416673", "0.741369", "0.73892194", "0.73706913", "0.73626864", "0.7344543", "0.73315924", "0.7296686", "0.7296686", "0.7296686", "0.7288422", "0.72856545", "0.7274522", "0.7274088", "0.72671384", "0.7261218", "0.72554237", "0.72427475", "0.72338074", "0.7226638", "0.7217343", "0.7217343", "0.72134423", "0.7205535", "0.7205535", "0.7201397", "0.7201397", "0.7201397", "0.7201397", "0.7201397", "0.7201397", "0.7201397", "0.7201397", "0.7201397", "0.71960497", "0.71919787", "0.71763456", "0.71763456", "0.71763456", "0.7171567", "0.71642107", "0.714239", "0.7139617", "0.7116347", "0.7116347", "0.7116347", "0.7116347", "0.7116347", "0.71154284", "0.71116954", "0.7111311", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7110293", "0.7096925", "0.7096019", "0.70891696", "0.708364", "0.70828277", "0.7067925", "0.70557773", "0.7046932", "0.7043466", "0.7043466" ]
0.7054116
97
Resumes the game. This is currently handled by an window listener instead of this function
@Override public void resume() { // Not used }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void resume() {\r\n\t\tSystem.out.println(\"Resumed Game\");\r\n\t\tthis.timeline.play();\r\n\t\tisPaused = false;\r\n\t\tpauseMenu.setVisible(false);\r\n\t}", "public void resumeGame() {\n\t\t\tif (extended)\n\t\t\t\textendTimer.start();//restart timer if thats relevant\n\t\t\tpause=false;//turn off all flags for pause/stop\n\t\t\tstopped = false;\n\t\t}", "@Override\n\tpublic void resume() {\n\t\tGdx.app.log(\"GameScreen\", \"Resumed\");\n\n\t}", "synchronized void resumeGame() {\n myGamePause = false;\n this.notify();\n }", "protected void onResume(){\n super.onResume();\n hideSystemUI();\n if (!coreView.isGamePaused()) //only resume game if there wasn't a manual pause prior to losing focus\n coreView.resume();\n }", "public void resume() {\n running = true;\n gameThread = new Thread(this);\n gameThread.start();\n }", "synchronized void resumeGame() {\n myShouldPause = false;\n notify();\n }", "synchronized void resumeGame() {\n myShouldPause = false;\n notify();\n }", "public void resume() {\n playing = true;\n gameThread = new Thread(this);\n gameThread.start();\n }", "public void resume() {\n playing = true;\n gameThread = new Thread(this);\n gameThread.start();\n }", "@Override\n\tpublic void resume() {\n\t\tGdx.app.log(\"GameScreen\", \"resume called\"); \n\t}", "private void resumeGame() {\n\n gameCountDownTimer = getGameTimer();\n gameCountDownTimer.start();\n if(globalAnimatorMap != null && !globalAnimatorMap.isEmpty() && globalAnimatorMap.size() > 0) {\n for (Map.Entry<Integer, AnimatorSet> entry : globalAnimatorMap.entrySet()) {\n AnimatorSet animatorSet = entry.getValue();\n if (animatorSet != null) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {\n if (animatorSet.isPaused()) {\n animatorSet.resume();\n }\n } else {\n animatorSet.start();\n }\n }\n }\n }else{\n animateBalloonView(balloon1,false);\n animateBalloonView(balloon2,false);\n animateBalloonView(balloon3,false);\n animateBalloonView(balloon4,false);\n animateBalloonView(balloon5,false);\n }\n String controlButtonTitle = getResources().getString(R.string.pause_btn);\n conttroler.setText(controlButtonTitle);\n currentScreenGameState = GameState.PLAYING;\n setCurrentScreenCover();\n invalidateOptionsMenu();\n }", "private void resume()\r\n {\r\n player.resume();\r\n }", "@Override\n\tpublic void resume() {\n\t\tAction(Director.ACTION_RESUME);\n\t}", "public void resume()\n\t{\n\t\tisPaused = false;\n\t}", "public void resume()\n {\n // Starting the thread\n gameThread = new Thread(this);\n playing = true;\n gameThread.start();\n }", "@Override\n protected void onResume() {\n super.onResume();\n\n //Execute the game view's resume method\n gameEngine.resume();\n }", "protected void resumeProcess() {\n algorithm.myresume();\n btnPause.setEnabled(true);\n btnResume.setEnabled(false);\n }", "@Override\n protected void onResume() {\n super.onResume();\n\n // Tell the gameView resume method to execute\n gameView.resume();\n }", "@Override\n protected void onResume() {\n super.onResume();\n\n // Tell the gameView resume method to execute\n gameView.resume();\n }", "private void resume() { player.resume();}", "public synchronized void resume() {\r\n\r\n\t\tpaused = false;\r\n\t\tnotifyAll();\r\n\t}", "public void resume() {\n paused = false;\n }", "@Override\n public void resume() {\n Gdx.app.log(TAG, \"Resumed\");\n }", "public void resume();", "public void resume() {\n\t\t// TODO Auto-generated method stub\n\t}", "synchronized void resumeGame() {\n try {\n myGamePause = false;\n if (!myShouldPause) {\n // if the player is null, we create a new one.\n if (myPlayer == null) {\n start();\n }\n // start the music.\n myPlayer.start();\n }\n } catch (Exception e) {\n // the music isn't necessary, so we ignore exceptions.\n }\n }", "public static void resume()\n\t{\n\t\ttfBet.setEnabled(false);\n\t\tbtnPlay.setEnabled(false);\n\t\tbtnHit.setEnabled(true);\n\t\tbtnStay.setEnabled(true);\n\t\tbtnDouble.setEnabled(false);\n\t}", "public synchronized void resume() {\n paused = false;\n this.notify();\n }", "public final void \n onResume() {\n \t\n \tthis.isPaused = false;\n \tthis.isResumed = true;\n \tthis.mLastTextureId = 0;\n \tsuper.onResume();\n }", "@Override\n public void resume() {\n log.debug(\"resume()\");\n // set renderInterrupted to true\n renderInterrupted = true;\n\n }", "@Override\n public void Resume() {\n }", "@Override\n protected void onResume() {\n super.onResume();\n Log.d(TAG, \"onResume\");\n\n game();\n }", "public void resume() {\n m_suspended = false;\n }", "public void resume() {}", "public void resume() {\n }", "public void resume() {\n\t\tpostEvent(new IpcEvent(SimulationEvents.EVENT_TYPE_RESUME, this, null));\n\t}", "public void resume() {\n this.suspended = false;\n }", "@Override\n public void Resume() {\n\n }", "@Override\n public void Resume() {\n\n }", "void resume();", "void resume();", "void resume();", "@Override\r\n\tpublic void resume() {\n\t\tcurrentState.resume();\r\n\t}", "@Override\n\tprotected void onResume() {\n\t\tsuper.onResume();\n\t\tsurfaceView.resume();\n\t}", "public void resume() {\n\t\tlogger.log(Level.FINE, \"Resume \" + fromStory + \" \" + inStore + \" \" + inHouse + \" \" + inside + \" \"\n\t\t\t\t+ Arrays.toString(fromHouse) + \" \" + this.hashCode());\n\n\t\tboolean fade = true;\n\t\tif (inHouse || inside) {\n\t\t\tfade = false;\n\t\t}\n\t\tsuper.resume(Values.DETECT_ALL, fade, fromStory || inStore || inHouse);\n\t\tif (inStore) {\n\t\t\tplayer.setPartyMembers();\n\t\t\tplayer.setDirectionForAll(Values.DOWN);\n\t\t\tinStore = false;\n\t\t} else if (inHouse) {\n\t\t\tint dir = Values.DOWN;\n\t\t\tif (fromHouse != null) {\n\t\t\t\tdir = (int) (fromHouse[2] != -1 ? fromHouse[2] : Values.DOWN);\n\t\t\t} else {\n\t\t\t\tfromHouse = new float[3];\n\t\t\t\tfromHouse[0] = player.pos[0];\n\t\t\t\tfromHouse[1] = player.pos[1];\n\t\t\t}\n\t\t\tfromHouse[2] = dir;\n\t\t\tplayer.setPos(fromHouse);\n\t\t\tplayer.setPartyMembers();\n\t\t\tinHouse = false;\n\t\t}\n\t\tplayer.stop();\n\t}", "@Override\r\n\tprotected void onResume() {\n\t\tsuper.onResume();\r\n\t\tsnakeView.resume();\r\n\t}", "public void resume() {\n moveStop = true;\n }", "public void resume() throws NotYetPausedException;", "@Override\r\n\tpublic void resume() {\n\t\tthis.suspended = false;\r\n\t}", "private void onResume(){\n\t\tfj.timer.start();\n\t\tfj.audio.resumeAudio();\n\t\tthis.dispose();\n\t}", "public void restartGame() {\n orientate(Orientation.DOWN);\n currentAnimation = idleAnimations[getOrientation().ordinal()];\n gameOver = false;\n strengthen(MAX_HP);\n }", "protected abstract void onResume();", "public static void resume() {\n\n\t\tif (myCurrentCamera != null) {\n\t\t\tmyCurrentCamera = Camera.open();\n\n\t\t\tmyIsInPreview = false;\n\n\t\t\tmyCurrentCamera.setPreviewCallbackWithBuffer(myCallback);\n\n\t\t\tif (myCurrentCamera != null) {\n\t\t\t\tif (myWasPausedInPreview == true) {\n\t\t\t\t\tstart();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public void resume() {\n\t\t\n\t\tmusic.resume();\n\t\tsyncPosition();\n\t}", "@Override\n\tprotected void onResume() {\n\t\tsuper.onResume();\n\n\t\tourSurfaceView.resume();\n\t}", "public void onResume() {\n\t\tSession session = Session.getActiveSession();\n\t\tif (session != null && (session.isOpened() || session.isClosed())) {\n\t\t\tonSessionStateChange(session, session.getState(), null);\n\t\t}\n\t\tuiHelper.onResume();\n\t}", "@Override\r\n public void resume() {\r\n\r\n }", "public abstract void resume();", "@Override\r\n public void onResume() {\r\n NexLog.d(LOG_TAG, \"onResume called\");\r\n activityPaused = false;\r\n }", "@Override\n public void resume() {\n \n }", "public void resume()\r\n {\r\n\t timer.start();\r\n }", "public void togglePauseResume() {\n // MODIFIES: field \"running\"\n // EFFECTS: changes the boolean field \"running\" of this instance.\n if (running) {\n System.out.println(\"Physics engine paused.\");\n running = false;\n } else {\n System.out.println(\"Physics engine resumed.\");\n running = true;\n }\n }", "@Override\n\tpublic void resume() {\n\t\tif (mPlayId == mPlayTotal) {\n\t\t\tmPlayId = 0;\n\t\t}\n\t\tsetChange();\n\t}", "public void resumed() {\n System.out.println(\"Resumed\");\n }", "@Override\r\n public void resume() {\n }", "@Override\r\n public void resume() {\n }", "@Override\r\n public void resume() {\n }", "public void playAgain() {\r\n\t\t\r\n\t\tscreen.reset();\r\n\t\t\r\n\t}", "public void restartGame() {\n\t\tclearGame();\n\t\tstartGame();\n\t}", "void resumeGame(String playerName) throws GameServiceException;", "@Override\r\n\tpublic void resume() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void resume() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void resume() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void resume() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void resume() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void resume() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void resume() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void resume() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void resume() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void resume() {\n\t\t\r\n\t}", "void onResume();", "protected abstract boolean resume();", "public void resume()\r\n {\n timerStart(); // ...Restarts the update timer.\r\n }", "void startPauseResume() throws RemoteException;", "protected void resume() {\n resume(mainThread);\n }", "@Override\n public void resume() {\n }", "@Override\n public void resume() {\n }", "@Override\n public void resume() {\n }", "@Override\n\tpublic void resume() {\n\t\tPhoneDevice.Settings.playMusic(PhoneDevice.Settings.MusicEnum.psyche_up);\n\t \n\t}", "@Override\n protected void onResume() {\n super.onResume();\n //admobView.resume();\n gameView.onResume();\n }", "public synchronized void resume(){\r\n if(currentLoop0) backgroundMusicLoop0.unpause();\r\n else backgroundMusicLoop1.unpause();\r\n }", "@FXML\n void resumeThread(ActionEvent event) {\n resumeBtn.setVisible(false);\n tc.setRunning(true);\n tc.k.resume();\n\n }", "@Override\n public void resume() { }", "public void resume(){\r\n\r\n isRunning = true;\r\n ourThread = new Thread(this);\r\n ourThread.start();\r\n }", "@Override\n\tpublic void resume() {\n\t\t\n\t}", "@Override\n\tpublic void resume() {\n\t\t\n\t}", "@Override\n\tpublic void resume() {\n\t\t\n\t}", "@Override\n\tpublic void resume() {\n\t\t\n\t}", "@Override\n\tpublic void resume() {\n\t\t\n\t}" ]
[ "0.83527344", "0.81979156", "0.7891683", "0.7879356", "0.7874846", "0.7760298", "0.77381253", "0.77381253", "0.77063423", "0.7702958", "0.77002627", "0.7698883", "0.7650564", "0.75730884", "0.75587296", "0.7506881", "0.7500186", "0.74674463", "0.74613816", "0.74613816", "0.7410786", "0.74056864", "0.73194444", "0.7186328", "0.7054771", "0.70423084", "0.70419186", "0.70345163", "0.7012457", "0.70034254", "0.6974644", "0.69623524", "0.6939118", "0.69273776", "0.69250196", "0.69224364", "0.69195414", "0.6880331", "0.68775463", "0.68775463", "0.6876404", "0.6876404", "0.6876404", "0.6875009", "0.6861937", "0.6821265", "0.68137544", "0.6807922", "0.6795278", "0.6790686", "0.67563343", "0.674665", "0.6733199", "0.6715303", "0.6714483", "0.6713274", "0.67129236", "0.6708052", "0.6698235", "0.6687551", "0.66768104", "0.66740453", "0.6663203", "0.6658186", "0.66576755", "0.66537946", "0.66537946", "0.66537946", "0.6644369", "0.6638748", "0.66305375", "0.66263425", "0.66263425", "0.66263425", "0.66263425", "0.66263425", "0.66263425", "0.66263425", "0.66263425", "0.66263425", "0.66263425", "0.6620775", "0.6618451", "0.6602789", "0.65868056", "0.6586727", "0.6574559", "0.6574559", "0.6574559", "0.65705717", "0.6568872", "0.65607023", "0.6542894", "0.6536229", "0.65360355", "0.6532749", "0.6532749", "0.6532749", "0.6532749", "0.6532749" ]
0.6590607
84
/ renamed from: a
public final C0288ae mo3767a(ViewGroup viewGroup) { C0288ae aeVar = this.f1158f; C0288ae a = super.mo3767a(viewGroup); if (aeVar != a) { ((ActionMenuView) a).mo3968a(this); } return a; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
public final View mo3768a(MenuItemImpl menuItemImpl, View view, ViewGroup viewGroup) { View actionView = menuItemImpl.getActionView(); if (actionView == null || menuItemImpl.mo3665j()) { actionView = super.mo3768a(menuItemImpl, view, viewGroup); } actionView.setVisibility(menuItemImpl.isActionViewExpanded() ? 8 : 0); ViewGroup.LayoutParams layoutParams = actionView.getLayoutParams(); if (!((ActionMenuView) viewGroup).checkLayoutParams(layoutParams)) { actionView.setLayoutParams(ActionMenuView.m878a(layoutParams)); } return actionView; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
public final void mo3707a(Context context, MenuBuilder menuBuilder) { super.mo3707a(context, menuBuilder); Resources resources = context.getResources(); C0270a a = C0270a.m488a(context); if (!this.f1306p) { this.f1305o = a.mo3459b(); } if (!this.f1312v) { this.f1307q = a.mo3460c(); } if (!this.f1310t) { this.f1309s = a.mo3458a(); } int i = this.f1307q; if (this.f1305o) { if (this.f1297g == null) { this.f1297g = new C0430j(this, this.f1153a); if (this.f1304n) { this.f1297g.setImageDrawable(this.f1303m); this.f1303m = null; this.f1304n = false; } int makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(0, 0); this.f1297g.measure(makeMeasureSpec, makeMeasureSpec); } i -= this.f1297g.getMeasuredWidth(); } else { this.f1297g = null; } this.f1308r = i; this.f1314x = (int) (resources.getDisplayMetrics().density * 56.0f); this.f1316z = null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
public final void mo3708a(MenuBuilder menuBuilder, boolean z) { mo3960h(); super.mo3708a(menuBuilder, z); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
public final void mo3770a(MenuItemImpl menuItemImpl, C0289af afVar) { afVar.mo3546a(menuItemImpl); ActionMenuItemView actionMenuItemView = (ActionMenuItemView) afVar; actionMenuItemView.mo3548a((C0311p) (ActionMenuView) this.f1158f); if (this.f1296A == null) { this.f1296A = new C0428h(this); } actionMenuItemView.mo3547a((C0297b) this.f1296A); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
public final void mo3954a(ActionMenuView actionMenuView) { this.f1158f = actionMenuView; actionMenuView.mo3559a(this.f1155c); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
public final void mo3710a(boolean z) { super.mo3710a(z); ((View) this.f1158f).requestLayout(); boolean z2 = false; if (this.f1155c != null) { ArrayList<MenuItemImpl> n = this.f1155c.mo3617n(); int size = n.size(); for (int i = 0; i < size; i++) { ActionProvider supportActionProvider = n.get(i).getSupportActionProvider(); if (supportActionProvider != null) { supportActionProvider.setSubUiVisibilityListener(this); } } } ArrayList<MenuItemImpl> o = this.f1155c != null ? this.f1155c.mo3618o() : null; if (this.f1305o && o != null) { int size2 = o.size(); if (size2 == 1) { z2 = !o.get(0).isActionViewExpanded(); } else if (size2 > 0) { z2 = true; } } if (z2) { if (this.f1297g == null) { this.f1297g = new C0430j(this, this.f1153a); } ViewGroup viewGroup = (ViewGroup) this.f1297g.getParent(); if (viewGroup != this.f1158f) { if (viewGroup != null) { viewGroup.removeView(this.f1297g); } ((ActionMenuView) this.f1158f).addView(this.f1297g, ActionMenuView.m879b()); } } else if (this.f1297g != null && this.f1297g.getParent() == this.f1158f) { ((ViewGroup) this.f1158f).removeView(this.f1297g); } ((ActionMenuView) this.f1158f).mo3969a(this.f1305o); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
public final boolean mo3771a(MenuItemImpl menuItemImpl) { return menuItemImpl.mo3644f(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ JADX WARNING: Removed duplicated region for block: B:18:0x0041 A[RETURN] / JADX WARNING: Removed duplicated region for block: B:19:0x0042 / renamed from: a / Code decompiled incorrectly, please refer to instructions dump.
public final boolean mo3711a(android.support.p010v7.view.menu.SubMenuBuilder r8) { /* r7 = this; boolean r0 = r8.hasVisibleItems() r1 = 0 if (r0 != 0) goto L_0x0008 return r1 L_0x0008: r0 = r8 L_0x0009: android.view.Menu r2 = r0.mo3684s() android.support.v7.view.menu.MenuBuilder r3 = r7.f1155c if (r2 == r3) goto L_0x0018 android.view.Menu r0 = r0.mo3684s() android.support.v7.view.menu.SubMenuBuilder r0 = (android.support.p010v7.view.menu.SubMenuBuilder) r0 goto L_0x0009 L_0x0018: android.view.MenuItem r0 = r0.getItem() android.support.v7.view.menu.ae r2 = r7.f1158f android.view.ViewGroup r2 = (android.view.ViewGroup) r2 if (r2 == 0) goto L_0x003e int r3 = r2.getChildCount() r4 = 0 L_0x0027: if (r4 >= r3) goto L_0x003e android.view.View r5 = r2.getChildAt(r4) boolean r6 = r5 instanceof android.support.p010v7.view.menu.C0289af if (r6 == 0) goto L_0x003b r6 = r5 android.support.v7.view.menu.af r6 = (android.support.p010v7.view.menu.C0289af) r6 android.support.v7.view.menu.MenuItemImpl r6 = r6.mo3545a() if (r6 != r0) goto L_0x003b goto L_0x003f L_0x003b: int r4 = r4 + 1 goto L_0x0027 L_0x003e: r5 = 0 L_0x003f: if (r5 != 0) goto L_0x0042 return r1 L_0x0042: android.view.MenuItem r0 = r8.getItem() int r0 = r0.getItemId() r7.f1302l = r0 int r0 = r8.size() r2 = 0 L_0x0051: r3 = 1 if (r2 >= r0) goto L_0x0069 android.view.MenuItem r4 = r8.getItem(r2) boolean r6 = r4.isVisible() if (r6 == 0) goto L_0x0066 android.graphics.drawable.Drawable r4 = r4.getIcon() if (r4 == 0) goto L_0x0066 r1 = 1 goto L_0x0069 L_0x0066: int r2 = r2 + 1 goto L_0x0051 L_0x0069: android.support.v7.widget.g r0 = new android.support.v7.widget.g android.content.Context r2 = r7.f1154b r0.<init>(r7, r2, r8, r5) r7.f1299i = r0 android.support.v7.widget.g r0 = r7.f1299i r0.mo3698a((boolean) r1) android.support.v7.widget.g r0 = r7.f1299i r0.mo3700b() super.mo3711a((android.support.p010v7.view.menu.SubMenuBuilder) r8) return r3 */ throw new UnsupportedOperationException("Method not decompiled: android.support.p010v7.widget.ActionMenuPresenter.mo3711a(android.support.v7.view.menu.SubMenuBuilder):boolean"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean A_()\r\n/* 21: */ {\r\n/* 22:138 */ return true;\r\n/* 23: */ }", "protected void method_2145() {\r\n // $FF: Couldn't be decompiled\r\n }", "private void method_7083() {\r\n // $FF: Couldn't be decompiled\r\n }", "@Override // X.AnonymousClass0PN\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void A0D() {\n /*\n r5 = this;\n super.A0D()\n X.08d r0 = r5.A05\n X.0OQ r4 = r0.A04()\n X.0Rk r3 = r4.A00() // Catch:{ all -> 0x003d }\n X.0BK r2 = r4.A04 // Catch:{ all -> 0x0036 }\n java.lang.String r1 = \"DELETE FROM receipt_device\"\n java.lang.String r0 = \"CLEAR_TABLE_RECEIPT_DEVICE\"\n r2.A0C(r1, r0) // Catch:{ all -> 0x0036 }\n X.08m r1 = r5.A03 // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"receipt_device_migration_complete\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"migration_receipt_device_index\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"migration_receipt_device_retry\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n r3.A00() // Catch:{ all -> 0x0036 }\n r3.close()\n r4.close()\n java.lang.String r0 = \"ReceiptDeviceStore/ReceiptDeviceDatabaseMigration/resetMigration/done\"\n com.whatsapp.util.Log.i(r0)\n return\n L_0x0036:\n r0 = move-exception\n throw r0 // Catch:{ all -> 0x0038 }\n L_0x0038:\n r0 = move-exception\n r3.close() // Catch:{ all -> 0x003c }\n L_0x003c:\n throw r0\n L_0x003d:\n r0 = move-exception\n throw r0 // Catch:{ all -> 0x003f }\n L_0x003f:\n r0 = move-exception\n r4.close() // Catch:{ all -> 0x0043 }\n L_0x0043:\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: X.C43661yk.A0D():void\");\n }", "public void method_2139() {\r\n // $FF: Couldn't be decompiled\r\n }", "public int c(Block parambec)\r\n/* 119: */ {\r\n/* 120:131 */ return 0;\r\n/* 121: */ }", "static void method_1148() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected void method_2241() {\r\n // $FF: Couldn't be decompiled\r\n }", "public int a() {\r\n/* 63 */ return 4;\r\n/* */ }", "static void method_2537() {\r\n // $FF: Couldn't be decompiled\r\n }", "static void method_2537() {\r\n // $FF: Couldn't be decompiled\r\n }", "public String b()\r\n/* 35: */ {\r\n/* 36:179 */ return a();\r\n/* 37: */ }", "protected void method_2141() {\r\n // $FF: Couldn't be decompiled\r\n }", "public void method_2046() {\r\n // $FF: Couldn't be decompiled\r\n }", "public void method_2113() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected void method_2247() {\r\n // $FF: Couldn't be decompiled\r\n }", "public JBlock _finally() {\n // This method could not be decompiled.\n // \n // Original Bytecode:\n // \n // 0: iconst_0 \n // 1: nop \n // 2: nop \n // 3: nop \n // 4: aload_3 \n // 5: nop \n // 6: lconst_0 \n // 7: nop \n // 8: iaload \n // 9: nop \n // 10: ldc2_w \"Lcom/sun/codemodel/JFormatter;\"\n // 13: nop \n // 14: fload_0 /* this */\n // 15: nop \n // 16: nop \n // 17: nop \n // 18: lload_2 \n // 19: nop \n // 20: iconst_0 \n // 21: nop \n // 22: nop \n // LocalVariableTable:\n // Start Length Slot Name Signature\n // ----- ------ ---- ---- -----------------------------\n // 0 23 0 this Lcom/sun/codemodel/JTryBlock;\n // \n // The error that occurred was:\n // \n // java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number\n // at com.strobel.assembler.ir.StackMappingVisitor$InstructionAnalyzer.execute(StackMappingVisitor.java:935)\n // at com.strobel.assembler.ir.StackMappingVisitor$InstructionAnalyzer.visit(StackMappingVisitor.java:398)\n // at com.strobel.decompiler.ast.AstBuilder.performStackAnalysis(AstBuilder.java:2030)\n // at com.strobel.decompiler.ast.AstBuilder.build(AstBuilder.java:108)\n // at com.strobel.decompiler.languages.java.ast.AstMethodBodyBuilder.createMethodBody(AstMethodBodyBuilder.java:210)\n // at com.strobel.decompiler.languages.java.ast.AstMethodBodyBuilder.createMethodBody(AstMethodBodyBuilder.java:99)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createMethodBody(AstBuilder.java:757)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createMethod(AstBuilder.java:655)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.addTypeMembers(AstBuilder.java:532)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createTypeCore(AstBuilder.java:499)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createTypeNoCache(AstBuilder.java:141)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createType(AstBuilder.java:130)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.addType(AstBuilder.java:105)\n // at com.strobel.decompiler.languages.java.JavaLanguage.buildAst(JavaLanguage.java:71)\n // at com.strobel.decompiler.languages.java.JavaLanguage.decompileType(JavaLanguage.java:59)\n // at com.strobel.decompiler.DecompilerDriver.decompileType(DecompilerDriver.java:317)\n // at com.strobel.decompiler.DecompilerDriver.decompileJar(DecompilerDriver.java:238)\n // at com.strobel.decompiler.DecompilerDriver.main(DecompilerDriver.java:123)\n // \n throw new IllegalStateException(\"An error occurred while decompiling this method.\");\n }", "public void method_7081() {\r\n // $FF: Couldn't be decompiled\r\n }", "private void m25427g() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r2 = this;\n r0 = r2.f19111m;\n if (r0 == 0) goto L_0x000f;\n L_0x0004:\n r0 = r2.f19104f;\t Catch:{ Exception -> 0x000f }\n r0 = android.support.v4.content.C0396d.m1465a(r0);\t Catch:{ Exception -> 0x000f }\n r1 = r2.f19111m;\t Catch:{ Exception -> 0x000f }\n r0.m1468a(r1);\t Catch:{ Exception -> 0x000f }\n L_0x000f:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.adapters.w.g():void\");\n }", "static void method_6338() {\r\n // $FF: Couldn't be decompiled\r\n }", "public void a() {\n block8 : {\n block9 : {\n var1_1 = this.f();\n var2_2 = false;\n if (var1_1) break block8;\n this.j.c();\n var6_3 = this.k;\n var7_4 = this.b;\n var8_5 = (l)var6_3;\n var9_6 = var8_5.a(var7_4);\n if (var9_6 != null) break block9;\n this.a(false);\n var2_2 = true;\n ** GOTO lbl30\n }\n if (var9_6 != n.b) ** GOTO lbl26\n this.a(this.g);\n var11_7 = this.k;\n var12_8 = this.b;\n var13_9 = (l)var11_7;\n try {\n block10 : {\n var2_2 = var13_9.a(var12_8).d();\n break block10;\nlbl26: // 1 sources:\n var10_10 = var9_6.d();\n var2_2 = false;\n if (!var10_10) {\n this.b();\n }\n }\n this.j.g();\n }\n finally {\n this.j.d();\n }\n }\n if ((var3_12 = this.c) == null) return;\n if (var2_2) {\n var4_13 = var3_12.iterator();\n while (var4_13.hasNext()) {\n ((d)var4_13.next()).a(this.b);\n }\n }\n e.a(this.h, this.j, this.c);\n }\n\n /*\n * Exception decompiling\n */\n public final void a(ListenableWorker.a var1_1) {\n // This method has failed to decompile. When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.\n // org.benf.cfr.reader.util.ConfusedCFRException: Tried to end blocks [4[TRYBLOCK]], but top level block is 10[WHILELOOP]\n // org.benf.cfr.reader.b.a.a.j.a(Op04StructuredStatement.java:432)\n // org.benf.cfr.reader.b.a.a.j.d(Op04StructuredStatement.java:484)\n // org.benf.cfr.reader.b.a.a.i.a(Op03SimpleStatement.java:607)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:692)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:182)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:127)\n // org.benf.cfr.reader.entities.attributes.f.c(AttributeCode.java:96)\n // org.benf.cfr.reader.entities.g.p(Method.java:396)\n // org.benf.cfr.reader.entities.d.e(ClassFile.java:890)\n // org.benf.cfr.reader.entities.d.b(ClassFile.java:792)\n // org.benf.cfr.reader.b.a(Driver.java:128)\n // org.benf.cfr.reader.a.a(CfrDriverImpl.java:63)\n // com.njlabs.showjava.decompilers.JavaExtractionWorker.decompileWithCFR(JavaExtractionWorker.kt:61)\n // com.njlabs.showjava.decompilers.JavaExtractionWorker.doWork(JavaExtractionWorker.kt:130)\n // com.njlabs.showjava.decompilers.BaseDecompiler.withAttempt(BaseDecompiler.kt:108)\n // com.njlabs.showjava.workers.DecompilerWorker$b.run(DecompilerWorker.kt:118)\n // java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)\n // java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)\n // java.lang.Thread.run(Thread.java:919)\n throw new IllegalStateException(\"Decompilation failed\");\n }\n\n public final void a(String string) {\n LinkedList linkedList = new LinkedList();\n linkedList.add((Object)string);\n while (!linkedList.isEmpty()) {\n String string2 = (String)linkedList.remove();\n if (((l)this.k).a(string2) != n.f) {\n k k2 = this.k;\n n n2 = n.d;\n String[] arrstring = new String[]{string2};\n ((l)k2).a(n2, arrstring);\n }\n linkedList.addAll((Collection)((a.i.r.p.c)this.l).a(string2));\n }\n }\n\n /*\n * Enabled aggressive block sorting\n * Enabled unnecessary exception pruning\n * Enabled aggressive exception aggregation\n */\n public final void a(boolean bl) {\n this.j.c();\n k k2 = this.j.k();\n l l2 = (l)k2;\n List list = l2.a();\n ArrayList arrayList = (ArrayList)list;\n boolean bl2 = arrayList.isEmpty();\n if (bl2) {\n f.a(this.a, RescheduleReceiver.class, false);\n }\n this.j.g();\n this.p.c((Object)bl);\n return;\n finally {\n this.j.d();\n }\n }\n\n public final void b() {\n this.j.c();\n k k2 = this.k;\n n n2 = n.a;\n String[] arrstring = new String[]{this.b};\n l l2 = (l)k2;\n l2.a(n2, arrstring);\n k k3 = this.k;\n String string = this.b;\n long l3 = System.currentTimeMillis();\n l l4 = (l)k3;\n l4.b(string, l3);\n k k4 = this.k;\n String string2 = this.b;\n l l5 = (l)k4;\n try {\n l5.a(string2, -1L);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(true);\n }\n }\n\n public final void c() {\n this.j.c();\n k k2 = this.k;\n String string = this.b;\n long l2 = System.currentTimeMillis();\n l l3 = (l)k2;\n l3.b(string, l2);\n k k3 = this.k;\n n n2 = n.a;\n String[] arrstring = new String[]{this.b};\n l l4 = (l)k3;\n l4.a(n2, arrstring);\n k k4 = this.k;\n String string2 = this.b;\n l l5 = (l)k4;\n l5.f(string2);\n k k5 = this.k;\n String string3 = this.b;\n l l6 = (l)k5;\n try {\n l6.a(string3, -1L);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(false);\n }\n }\n\n public final void d() {\n k k2 = this.k;\n String string = this.b;\n n n2 = ((l)k2).a(string);\n if (n2 == n.b) {\n h h2 = h.a();\n String string2 = s;\n Object[] arrobject = new Object[]{this.b};\n h2.a(string2, String.format((String)\"Status for %s is RUNNING;not doing any work and rescheduling for later execution\", (Object[])arrobject), new Throwable[0]);\n this.a(true);\n return;\n }\n h h4 = h.a();\n String string3 = s;\n Object[] arrobject = new Object[]{this.b, n2};\n h4.a(string3, String.format((String)\"Status for %s is %s; not doing any work\", (Object[])arrobject), new Throwable[0]);\n this.a(false);\n }\n\n public void e() {\n this.j.c();\n this.a(this.b);\n a.i.e e2 = ((ListenableWorker.a.a)this.g).a;\n k k2 = this.k;\n String string = this.b;\n l l2 = (l)k2;\n try {\n l2.a(string, e2);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(false);\n }\n }\n\n public final boolean f() {\n if (this.r) {\n h h2 = h.a();\n String string = s;\n Object[] arrobject = new Object[]{this.o};\n h2.a(string, String.format((String)\"Work interrupted for %s\", (Object[])arrobject), new Throwable[0]);\n k k2 = this.k;\n String string2 = this.b;\n n n2 = ((l)k2).a(string2);\n if (n2 == null) {\n this.a(false);\n return true;\n }\n this.a(true ^ n2.d());\n return true;\n }\n return false;\n }\n\n /*\n * Loose catch block\n * Enabled aggressive block sorting\n * Enabled unnecessary exception pruning\n * Enabled aggressive exception aggregation\n * Lifted jumps to return sites\n */\n public void run() {\n int n2;\n block42 : {\n block41 : {\n i i2;\n Cursor cursor;\n block48 : {\n block46 : {\n ListenableWorker listenableWorker;\n block47 : {\n a.i.e e2;\n block44 : {\n g g2;\n block45 : {\n block40 : {\n boolean bl;\n Iterator iterator;\n j j2;\n StringBuilder stringBuilder;\n block43 : {\n a.i.r.p.n n3 = this.m;\n String string = this.b;\n o o2 = (o)n3;\n if (o2 == null) throw null;\n n2 = 1;\n i i3 = i.a((String)\"SELECT DISTINCT tag FROM worktag WHERE work_spec_id=?\", (int)n2);\n if (string == null) {\n i3.bindNull(n2);\n } else {\n i3.bindString(n2, string);\n }\n o2.a.b();\n Cursor cursor2 = a.f.l.a.a(o2.a, (a.g.a.e)i3, false);\n ArrayList arrayList = new ArrayList(cursor2.getCount());\n while (cursor2.moveToNext()) {\n arrayList.add((Object)cursor2.getString(0));\n }\n this.n = arrayList;\n stringBuilder = new StringBuilder(\"Work [ id=\");\n stringBuilder.append(this.b);\n stringBuilder.append(\", tags={ \");\n iterator = arrayList.iterator();\n bl = true;\n break block43;\n finally {\n cursor2.close();\n i3.b();\n }\n }\n while (iterator.hasNext()) {\n String string = (String)iterator.next();\n if (bl) {\n bl = false;\n } else {\n stringBuilder.append(\", \");\n }\n stringBuilder.append(string);\n }\n stringBuilder.append(\" } ]\");\n this.o = stringBuilder.toString();\n if (this.f()) {\n return;\n }\n this.j.c();\n k k2 = this.k;\n String string = this.b;\n l l2 = (l)k2;\n this.e = j2 = l2.d(string);\n if (j2 == null) {\n h h2 = h.a();\n String string2 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.b;\n h2.b(string2, String.format((String)\"Didn't find WorkSpec for id %s\", (Object[])arrobject), new Throwable[0]);\n this.a(false);\n return;\n }\n if (j2.b != n.a) {\n this.d();\n this.j.g();\n h h4 = h.a();\n String string3 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h4.a(string3, String.format((String)\"%s is not in ENQUEUED state. Nothing more to do.\", (Object[])arrobject), new Throwable[0]);\n return;\n }\n if (j2.d() || this.e.c()) {\n long l3 = System.currentTimeMillis();\n boolean bl2 = this.e.n == 0L;\n if (!bl2 && l3 < this.e.a()) {\n h h5 = h.a();\n String string4 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h5.a(string4, String.format((String)\"Delaying execution for %s because it is being executed before schedule.\", (Object[])arrobject), new Throwable[0]);\n this.a((boolean)n2);\n return;\n }\n }\n this.j.g();\n if (!this.e.d()) break block40;\n e2 = this.e.e;\n break block44;\n }\n g2 = g.a(this.e.d);\n if (g2 != null) break block45;\n h h6 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.d;\n h6.b(string, String.format((String)\"Could not create Input Merger %s\", (Object[])arrobject), new Throwable[0]);\n break block46;\n }\n ArrayList arrayList = new ArrayList();\n arrayList.add((Object)this.e.e);\n k k3 = this.k;\n String string = this.b;\n l l4 = (l)k3;\n if (l4 == null) throw null;\n i2 = i.a((String)\"SELECT output FROM workspec WHERE id IN (SELECT prerequisite_id FROM dependency WHERE work_spec_id=?)\", (int)n2);\n if (string == null) {\n i2.bindNull(n2);\n } else {\n i2.bindString(n2, string);\n }\n l4.a.b();\n cursor = a.f.l.a.a(l4.a, (a.g.a.e)i2, false);\n ArrayList arrayList2 = new ArrayList(cursor.getCount());\n while (cursor.moveToNext()) {\n arrayList2.add((Object)a.i.e.b(cursor.getBlob(0)));\n }\n arrayList.addAll((Collection)arrayList2);\n e2 = g2.a((List<a.i.e>)arrayList);\n }\n a.i.e e3 = e2;\n UUID uUID = UUID.fromString((String)this.b);\n List<String> list = this.n;\n WorkerParameters.a a2 = this.d;\n int n5 = this.e.k;\n a.i.b b2 = this.h;\n WorkerParameters workerParameters = new WorkerParameters(uUID, e3, list, a2, n5, b2.a, this.i, b2.c);\n if (this.f == null) {\n this.f = this.h.c.a(this.a, this.e.c, workerParameters);\n }\n if ((listenableWorker = this.f) != null) break block47;\n h h7 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h7.b(string, String.format((String)\"Could not create Worker %s\", (Object[])arrobject), new Throwable[0]);\n break block46;\n }\n if (!listenableWorker.isUsed()) break block48;\n h h8 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h8.b(string, String.format((String)\"Received an already-used Worker %s; WorkerFactory should return new instances\", (Object[])arrobject), new Throwable[0]);\n }\n this.e();\n return;\n }\n this.f.setUsed();\n this.j.c();\n k k4 = this.k;\n String string = this.b;\n l l5 = (l)k4;\n if (l5.a(string) != n.a) break block41;\n k k5 = this.k;\n n n7 = n.b;\n String[] arrstring = new String[n2];\n arrstring[0] = this.b;\n l l6 = (l)k5;\n l6.a(n7, arrstring);\n k k6 = this.k;\n String string5 = this.b;\n l l7 = (l)k6;\n try {\n l7.e(string5);\n break block42;\n }\n finally {\n cursor.close();\n i2.b();\n }\n catch (Throwable throwable) {\n throw throwable;\n }\n finally {\n this.j.d();\n }\n }\n n2 = 0;\n }\n this.j.g();\n if (n2 != 0) {\n if (this.f()) {\n return;\n }\n c c2 = new c();\n ((a.i.r.q.m.b)this.i).c.execute((Runnable)new a.i.r.k(this, c2));\n c2.a((Runnable)new a.i.r.l(this, c2, this.o), ((a.i.r.q.m.b)this.i).a);\n return;\n }\n this.d();\n return;\n finally {\n this.j.d();\n }\n }\n\n public static class a {\n public Context a;\n public ListenableWorker b;\n public a.i.r.q.m.a c;\n public a.i.b d;\n public WorkDatabase e;\n public String f;\n public List<d> g;\n public WorkerParameters.a h = new WorkerParameters.a();\n\n public a(Context context, a.i.b b2, a.i.r.q.m.a a2, WorkDatabase workDatabase, String string) {\n this.a = context.getApplicationContext();\n this.c = a2;\n this.d = b2;\n this.e = workDatabase;\n this.f = string;\n }\n }\n\n}", "static void method_28() {\r\n // $FF: Couldn't be decompiled\r\n }", "void a(bu var1_1, f var2_2, Map var3_3, double var4_4, double var6_5) {\n block6 : {\n var14_6 = fj.z;\n var8_7 = M.b();\n var9_8 = var2_2.a();\n while (var9_8.f()) {\n var10_9 = var9_8.a();\n if (var14_6) break block6;\n if (!var10_9.e() || var1_1.i((y.c.d)var10_9).bendCount() > 1) ** GOTO lbl-1000\n var11_10 = var1_1.i((y.c.d)var10_9);\n var12_11 = var11_10.getSourceRealizer();\n if (var1_1.i((y.c.d)var10_9).bendCount() == 0) {\n var11_10.appendBend(var11_10.getSourcePort().a(var12_11), var11_10.getSourcePort().b(var12_11) - 20.0 - var12_11.getHeight());\n }\n this.a(var1_1, var4_4, var6_5, (y.c.d)var10_9, true, false, false, var10_9.c());\n if (var14_6) lbl-1000: // 2 sources:\n {\n var8_7.a(var10_9, true);\n var8_7.a((Object)var3_3.get(var10_9), true);\n }\n var9_8.g();\n if (!var14_6) continue;\n }\n var1_1.a(as.a, var8_7);\n }\n var9_8 = new as();\n var9_8.a(5.0);\n var9_8.b(false);\n var9_8.a(true);\n try {\n var10_9 = new bI(1);\n var10_9.a(false);\n var10_9.b(true);\n var10_9.d().a(true);\n var10_9.a(var1_1, (ah)var9_8);\n return;\n }\n finally {\n var1_1.d_(as.a);\n }\n }", "static void method_2226() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected String codeBlockSource(Block block) {\n block.removeFirstOperation(); // aload_0\n block.removeFirstOperation(); // aload_1\n block.removeFirstOperation(); // iload_2\n block.removeFirstOperation(); // invokespecial <init>\n\n if (getTopBlock().getOperations().size() == 1 &&\n getTopBlock().getOperations().get(0) instanceof ReturnView) {\n return null;\n }\n\n return super.codeBlockSource(block);\n }", "public synchronized void m6495a(int r6, int r7) throws fr.pcsoft.wdjava.geo.C0918i {\n /* JADX: method processing error */\n/*\nError: jadx.core.utils.exceptions.JadxRuntimeException: Exception block dominator not found, method:fr.pcsoft.wdjava.geo.a.b.a(int, int):void. bs: [B:13:0x001d, B:18:0x0027, B:23:0x0031, B:28:0x003a, B:44:0x005d, B:55:0x006c, B:64:0x0079]\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:86)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/70807318.run(Unknown Source)\n*/\n /*\n r5 = this;\n r4 = 2;\n r1 = 0;\n r0 = 1;\n monitor-enter(r5);\n r5.m6487e();\t Catch:{ all -> 0x0053 }\n switch(r6) {\n case 2: goto L_0x0089;\n case 3: goto L_0x000a;\n case 4: goto L_0x0013;\n default: goto L_0x000a;\n };\t Catch:{ all -> 0x0053 }\n L_0x000a:\n r0 = f2486z;\t Catch:{ all -> 0x0053 }\n r1 = 3;\t Catch:{ all -> 0x0053 }\n r0 = r0[r1];\t Catch:{ all -> 0x0053 }\n r5.f2488b = r0;\t Catch:{ all -> 0x0053 }\n L_0x0011:\n monitor-exit(r5);\n return;\n L_0x0013:\n r3 = new android.location.Criteria;\t Catch:{ all -> 0x0053 }\n r3.<init>();\t Catch:{ all -> 0x0053 }\n r2 = r7 & 2;\n if (r2 != r4) goto L_0x0058;\n L_0x001c:\n r2 = 1;\n r3.setAccuracy(r2);\t Catch:{ i -> 0x0056 }\n L_0x0020:\n r2 = r7 & 128;\n r4 = 128; // 0x80 float:1.794E-43 double:6.32E-322;\n if (r2 != r4) goto L_0x0065;\n L_0x0026:\n r2 = 3;\n r3.setPowerRequirement(r2);\t Catch:{ i -> 0x0063 }\n L_0x002a:\n r2 = r7 & 8;\n r4 = 8;\n if (r2 != r4) goto L_0x007f;\n L_0x0030:\n r2 = r0;\n L_0x0031:\n r3.setAltitudeRequired(r2);\t Catch:{ i -> 0x0081 }\n r2 = r7 & 4;\n r4 = 4;\n if (r2 != r4) goto L_0x0083;\n L_0x0039:\n r2 = r0;\n L_0x003a:\n r3.setAltitudeRequired(r2);\t Catch:{ i -> 0x0085 }\n r2 = r7 & 16;\n r4 = 16;\n if (r2 != r4) goto L_0x0087;\n L_0x0043:\n r3.setAltitudeRequired(r0);\t Catch:{ all -> 0x0053 }\n r0 = 0;\t Catch:{ all -> 0x0053 }\n r0 = r5.m6485a(r0);\t Catch:{ all -> 0x0053 }\n r1 = 1;\t Catch:{ all -> 0x0053 }\n r0 = r0.getBestProvider(r3, r1);\t Catch:{ all -> 0x0053 }\n r5.f2488b = r0;\t Catch:{ all -> 0x0053 }\n goto L_0x0011;\n L_0x0053:\n r0 = move-exception;\n monitor-exit(r5);\n throw r0;\n L_0x0056:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0058:\n r2 = r7 & 1;\n if (r2 != r0) goto L_0x0020;\n L_0x005c:\n r2 = 2;\n r3.setAccuracy(r2);\t Catch:{ i -> 0x0061 }\n goto L_0x0020;\n L_0x0061:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0063:\n r0 = move-exception;\t Catch:{ all -> 0x0053 }\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0065:\n r2 = r7 & 64;\n r4 = 64;\n if (r2 != r4) goto L_0x0072;\n L_0x006b:\n r2 = 2;\n r3.setPowerRequirement(r2);\t Catch:{ i -> 0x0070 }\n goto L_0x002a;\n L_0x0070:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0072:\n r2 = r7 & 32;\n r4 = 32;\n if (r2 != r4) goto L_0x002a;\n L_0x0078:\n r2 = 1;\n r3.setPowerRequirement(r2);\t Catch:{ i -> 0x007d }\n goto L_0x002a;\n L_0x007d:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x007f:\n r2 = r1;\t Catch:{ all -> 0x0053 }\n goto L_0x0031;\t Catch:{ all -> 0x0053 }\n L_0x0081:\n r0 = move-exception;\t Catch:{ all -> 0x0053 }\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0083:\n r2 = r1;\t Catch:{ all -> 0x0053 }\n goto L_0x003a;\t Catch:{ all -> 0x0053 }\n L_0x0085:\n r0 = move-exception;\t Catch:{ all -> 0x0053 }\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0087:\n r0 = r1;\t Catch:{ all -> 0x0053 }\n goto L_0x0043;\t Catch:{ all -> 0x0053 }\n L_0x0089:\n r0 = f2486z;\t Catch:{ all -> 0x0053 }\n r1 = 2;\t Catch:{ all -> 0x0053 }\n r0 = r0[r1];\t Catch:{ all -> 0x0053 }\n r5.f2488b = r0;\t Catch:{ all -> 0x0053 }\n goto L_0x0011;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: fr.pcsoft.wdjava.geo.a.b.a(int, int):void\");\n }", "public ItemStack func_70304_b(int par1)\n/* */ {\n/* 45 */ return null;\n/* */ }", "void m1864a() {\r\n }", "public void method_2250() {\r\n // $FF: Couldn't be decompiled\r\n }", "public final void mo56977b() {\n /*\n r2 = this;\n com.ss.android.ugc.aweme.common.e r0 = r2.f67572c\n com.ss.android.ugc.aweme.feed.ui.masklayer2.a.i r0 = (com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28951i) r0\n if (r0 == 0) goto L_0x001a\n com.ss.android.ugc.aweme.common.a r1 = r2.f67571b\n com.ss.android.ugc.aweme.feed.ui.masklayer2.a.d r1 = (com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28944d) r1\n if (r1 == 0) goto L_0x0014\n java.lang.Object r1 = r1.getData()\n java.lang.String r1 = (java.lang.String) r1\n if (r1 != 0) goto L_0x0016\n L_0x0014:\n java.lang.String r1 = \"\"\n L_0x0016:\n r0.mo74240a(r1)\n return\n L_0x001a:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28946e.mo56977b():void\");\n }", "public int method_7084(String param1) {\r\n // $FF: Couldn't be decompiled\r\n }", "public int h(Block parambec)\r\n/* 29: */ {\r\n/* 30: 44 */ return F();\r\n/* 31: */ }", "public void method_2197() {\r\n // $FF: Couldn't be decompiled\r\n }", "@org.jetbrains.annotations.NotNull\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public static /* synthetic */ com.bitcoin.mwallet.core.models.p009tx.slputxo.SlpUtxoSelection copy$default(com.bitcoin.mwallet.core.models.p009tx.slputxo.SlpUtxoSelection r4, com.bitcoin.mwallet.core.models.slp.Slp r5, java.util.List<kotlin.ULong> r6, com.bitcoin.bitcoink.p008tx.Satoshis r7, com.bitcoin.bitcoink.p008tx.Satoshis r8, java.util.List<com.bitcoin.mwallet.core.models.p009tx.utxo.Utxo> r9, com.bitcoin.mwallet.core.models.p009tx.slputxo.SlpUtxoSelection.Error r10, int r11, java.lang.Object r12) {\n /*\n r12 = r11 & 1\n if (r12 == 0) goto L_0x0006\n com.bitcoin.mwallet.core.models.slp.Slp r5 = r4.token\n L_0x0006:\n r12 = r11 & 2\n if (r12 == 0) goto L_0x000c\n java.util.List<kotlin.ULong> r6 = r4.quantities\n L_0x000c:\n r12 = r6\n r6 = r11 & 4\n if (r6 == 0) goto L_0x0013\n com.bitcoin.bitcoink.tx.Satoshis r7 = r4.fee\n L_0x0013:\n r0 = r7\n r6 = r11 & 8\n if (r6 == 0) goto L_0x001a\n com.bitcoin.bitcoink.tx.Satoshis r8 = r4.change\n L_0x001a:\n r1 = r8\n r6 = r11 & 16\n if (r6 == 0) goto L_0x0021\n java.util.List<com.bitcoin.mwallet.core.models.tx.utxo.Utxo> r9 = r4.utxos\n L_0x0021:\n r2 = r9\n r6 = r11 & 32\n if (r6 == 0) goto L_0x0028\n com.bitcoin.mwallet.core.models.tx.slputxo.SlpUtxoSelection$Error r10 = r4.error\n L_0x0028:\n r3 = r10\n r6 = r4\n r7 = r5\n r8 = r12\n r9 = r0\n r10 = r1\n r11 = r2\n r12 = r3\n com.bitcoin.mwallet.core.models.tx.slputxo.SlpUtxoSelection r4 = r6.copy(r7, r8, r9, r10, r11, r12)\n return r4\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.bitcoin.mwallet.core.models.p009tx.slputxo.SlpUtxoSelection.copy$default(com.bitcoin.mwallet.core.models.tx.slputxo.SlpUtxoSelection, com.bitcoin.mwallet.core.models.slp.Slp, java.util.List, com.bitcoin.bitcoink.tx.Satoshis, com.bitcoin.bitcoink.tx.Satoshis, java.util.List, com.bitcoin.mwallet.core.models.tx.slputxo.SlpUtxoSelection$Error, int, java.lang.Object):com.bitcoin.mwallet.core.models.tx.slputxo.SlpUtxoSelection\");\n }", "static Object a(bu var0, y.c.d var1_1) {\n block4 : {\n var8_2 = fj.z;\n var2_3 = 0;\n var3_4 = false;\n var4_5 = var0.l(var1_1).j();\n while (var4_5.f()) {\n var5_6 = var4_5.a();\n var6_7 = var5_6.c();\n var7_8 = var5_6.d();\n v0 = Math.abs(var6_7.a() - var7_8.a()) DCMPG 1.0E-12;\n if (var8_2) break block4;\n if (v0 >= 0) ** GOTO lbl-1000\n var3_4 = true;\n if (var8_2) lbl-1000: // 2 sources:\n {\n if (Math.abs(var6_7.b() - var7_8.b()) >= 1.0E-12) return hV.a;\n var2_3 = 1;\n if (var8_2) {\n return hV.a;\n }\n }\n var4_5.g();\n if (!var8_2) continue;\n }\n v0 = var2_3;\n }\n if (v0 != 0 && var3_4) {\n v1 = hV.b;\n return v1;\n }\n v1 = hV.c;\n return v1;\n }", "private void method_7082(class_1293 param1) {\r\n // $FF: Couldn't be decompiled\r\n }", "public int g()\r\n/* 173: */ {\r\n/* 174:198 */ return 0;\r\n/* 175: */ }", "static void method_7086() {\r\n // $FF: Couldn't be decompiled\r\n }", "public int g()\r\n/* 601: */ {\r\n/* 602:645 */ return 0;\r\n/* 603: */ }", "public ItemStack func_70301_a(int par1)\n/* */ {\n/* 25 */ return null;\n/* */ }", "public void mo2485a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r2 = this;\n r0 = r2.f11863a;\n monitor-enter(r0);\n r1 = r2.f11873l;\t Catch:{ all -> 0x002a }\n if (r1 != 0) goto L_0x0028;\t Catch:{ all -> 0x002a }\n L_0x0007:\n r1 = r2.f11872k;\t Catch:{ all -> 0x002a }\n if (r1 == 0) goto L_0x000c;\t Catch:{ all -> 0x002a }\n L_0x000b:\n goto L_0x0028;\t Catch:{ all -> 0x002a }\n L_0x000c:\n r1 = r2.f11875n;\t Catch:{ all -> 0x002a }\n if (r1 == 0) goto L_0x0015;\n L_0x0010:\n r1 = r2.f11875n;\t Catch:{ RemoteException -> 0x0015 }\n r1.cancel();\t Catch:{ RemoteException -> 0x0015 }\n L_0x0015:\n r1 = r2.f11870i;\t Catch:{ all -> 0x002a }\n m14216b(r1);\t Catch:{ all -> 0x002a }\n r1 = 1;\t Catch:{ all -> 0x002a }\n r2.f11873l = r1;\t Catch:{ all -> 0x002a }\n r1 = com.google.android.gms.common.api.Status.zzfnm;\t Catch:{ all -> 0x002a }\n r1 = r2.mo3568a(r1);\t Catch:{ all -> 0x002a }\n r2.m14217c(r1);\t Catch:{ all -> 0x002a }\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n return;\t Catch:{ all -> 0x002a }\n L_0x0028:\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n return;\t Catch:{ all -> 0x002a }\n L_0x002a:\n r1 = move-exception;\t Catch:{ all -> 0x002a }\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n throw r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.common.api.internal.BasePendingResult.a():void\");\n }", "static void m13383b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r0 = com.foursquare.internal.data.db.C1916a.getDatabase();\t Catch:{ Exception -> 0x000a }\n r1 = \"battery_watcher\";\t Catch:{ Exception -> 0x000a }\n r2 = 0;\t Catch:{ Exception -> 0x000a }\n r0.delete(r1, r2, r2);\t Catch:{ Exception -> 0x000a }\n L_0x000a:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.foursquare.pilgrim.e.b():void\");\n }", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "private boolean method_2253(class_1033 param1) {\r\n // $FF: Couldn't be decompiled\r\n }", "private void m14210a(java.io.IOException r4, java.io.IOException r5) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r3 = this;\n r0 = f12370a;\n if (r0 == 0) goto L_0x000f;\n L_0x0004:\n r0 = f12370a;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1 = 1;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1 = new java.lang.Object[r1];\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r2 = 0;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1[r2] = r5;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r0.invoke(r4, r1);\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n L_0x000f:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: okhttp3.internal.connection.RouteException.a(java.io.IOException, java.io.IOException):void\");\n }", "void m5768b() throws C0841b;", "protected void method_2045(class_1045 param1) {\r\n // $FF: Couldn't be decompiled\r\n }", "public void a(IBlockAccess paramard, BlockPosition paramdt)\r\n/* 119: */ {\r\n/* 120:148 */ bdv localbdv = e(paramard, paramdt);\r\n/* 121:149 */ if (localbdv != null)\r\n/* 122: */ {\r\n/* 123:150 */ Block localbec = localbdv.b();\r\n/* 124:151 */ BlockType localatr = localbec.getType();\r\n/* 125:152 */ if ((localatr == this) || (localatr.getMaterial() == Material.air)) {\r\n/* 126:153 */ return;\r\n/* 127: */ }\r\n/* 128:156 */ float f = localbdv.a(0.0F);\r\n/* 129:157 */ if (localbdv.d()) {\r\n/* 130:158 */ f = 1.0F - f;\r\n/* 131: */ }\r\n/* 132:160 */ localatr.a(paramard, paramdt);\r\n/* 133:161 */ if ((localatr == BlockList.J) || (localatr == BlockList.F)) {\r\n/* 134:162 */ f = 0.0F;\r\n/* 135: */ }\r\n/* 136:164 */ EnumDirection localej = localbdv.e();\r\n/* 137:165 */ this.B = (localatr.z() - localej.g() * f);\r\n/* 138:166 */ this.C = (localatr.B() - localej.h() * f);\r\n/* 139:167 */ this.D = (localatr.D() - localej.i() * f);\r\n/* 140:168 */ this.E = (localatr.A() - localej.g() * f);\r\n/* 141:169 */ this.F = (localatr.C() - localej.h() * f);\r\n/* 142:170 */ this.G = (localatr.E() - localej.i() * f);\r\n/* 143: */ }\r\n/* 144: */ }", "public final synchronized com.google.android.m4b.maps.bu.C4910a m21843a(java.lang.String r10) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r9 = this;\n monitor-enter(r9);\n r0 = r9.f17909e;\t Catch:{ all -> 0x0056 }\n r1 = 0;\n if (r0 != 0) goto L_0x0008;\n L_0x0006:\n monitor-exit(r9);\n return r1;\n L_0x0008:\n r0 = r9.f17907c;\t Catch:{ all -> 0x0056 }\n r2 = com.google.android.m4b.maps.az.C4733b.m21060a(r10);\t Catch:{ all -> 0x0056 }\n r0 = r0.m21933a(r2, r1);\t Catch:{ all -> 0x0056 }\n if (r0 == 0) goto L_0x0054;\t Catch:{ all -> 0x0056 }\n L_0x0014:\n r2 = r0.length;\t Catch:{ all -> 0x0056 }\n r3 = 9;\t Catch:{ all -> 0x0056 }\n if (r2 <= r3) goto L_0x0054;\t Catch:{ all -> 0x0056 }\n L_0x0019:\n r2 = 0;\t Catch:{ all -> 0x0056 }\n r2 = r0[r2];\t Catch:{ all -> 0x0056 }\n r4 = 1;\t Catch:{ all -> 0x0056 }\n if (r2 == r4) goto L_0x0020;\t Catch:{ all -> 0x0056 }\n L_0x001f:\n goto L_0x0054;\t Catch:{ all -> 0x0056 }\n L_0x0020:\n r5 = com.google.android.m4b.maps.bs.C4891e.m21914c(r0, r4);\t Catch:{ all -> 0x0056 }\n r2 = new com.google.android.m4b.maps.ar.a;\t Catch:{ all -> 0x0056 }\n r7 = com.google.android.m4b.maps.de.C5350x.f20104b;\t Catch:{ all -> 0x0056 }\n r2.<init>(r7);\t Catch:{ all -> 0x0056 }\n r7 = new java.io.ByteArrayInputStream;\t Catch:{ IOException -> 0x0052 }\n r8 = r0.length;\t Catch:{ IOException -> 0x0052 }\n r8 = r8 - r3;\t Catch:{ IOException -> 0x0052 }\n r7.<init>(r0, r3, r8);\t Catch:{ IOException -> 0x0052 }\n r2.m20818a(r7);\t Catch:{ IOException -> 0x0052 }\n r0 = 2;\n r0 = r2.m20843h(r0);\t Catch:{ all -> 0x0056 }\n r10 = r10.equals(r0);\t Catch:{ all -> 0x0056 }\n if (r10 != 0) goto L_0x0042;\n L_0x0040:\n monitor-exit(r9);\n return r1;\n L_0x0042:\n r10 = new com.google.android.m4b.maps.bu.a;\t Catch:{ all -> 0x0056 }\n r10.<init>();\t Catch:{ all -> 0x0056 }\n r10.m22018a(r4);\t Catch:{ all -> 0x0056 }\n r10.m22020a(r2);\t Catch:{ all -> 0x0056 }\n r10.m22016a(r5);\t Catch:{ all -> 0x0056 }\n monitor-exit(r9);\n return r10;\n L_0x0052:\n monitor-exit(r9);\n return r1;\n L_0x0054:\n monitor-exit(r9);\n return r1;\n L_0x0056:\n r10 = move-exception;\n monitor-exit(r9);\n throw r10;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.bs.b.a(java.lang.String):com.google.android.m4b.maps.bu.a\");\n }", "public int a()\r\n/* 64: */ {\r\n/* 65:70 */ return this.a;\r\n/* 66: */ }", "void m5769c() throws C0841b;", "private p000a.p001a.p002a.p003a.C0916s m1655b(p000a.p001a.p002a.p003a.p022i.p024b.C0112x r7, p000a.p001a.p002a.p003a.p034n.C0157e r8) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/293907205.run(Unknown Source)\n*/\n /*\n r6 = this;\n r0 = r7.m321a();\n r7 = r7.m322b();\n r1 = 0;\n r2 = r1;\n L_0x000a:\n r3 = r6.f1533u;\n r3 = r3 + 1;\n r6.f1533u = r3;\n r0.m2803e();\n r3 = r0.mo2010a();\n if (r3 != 0) goto L_0x0032;\n L_0x0019:\n r7 = r6.f1513a;\n r8 = \"Cannot retry non-repeatable request\";\n r7.m260a(r8);\n if (r2 == 0) goto L_0x002a;\n L_0x0022:\n r7 = new a.a.a.a.b.m;\n r8 = \"Cannot retry request with a non-repeatable request entity. The cause lists the reason the original request failed.\";\n r7.<init>(r8, r2);\n throw r7;\n L_0x002a:\n r7 = new a.a.a.a.b.m;\n r8 = \"Cannot retry request with a non-repeatable request entity.\";\n r7.<init>(r8);\n throw r7;\n L_0x0032:\n r2 = r6.f1529q;\t Catch:{ IOException -> 0x0086 }\n r2 = r2.mo1932c();\t Catch:{ IOException -> 0x0086 }\n if (r2 != 0) goto L_0x0057;\t Catch:{ IOException -> 0x0086 }\n L_0x003a:\n r2 = r7.mo15e();\t Catch:{ IOException -> 0x0086 }\n if (r2 != 0) goto L_0x004f;\t Catch:{ IOException -> 0x0086 }\n L_0x0040:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r3 = \"Reopening the direct connection.\";\t Catch:{ IOException -> 0x0086 }\n r2.m260a(r3);\t Catch:{ IOException -> 0x0086 }\n r2 = r6.f1529q;\t Catch:{ IOException -> 0x0086 }\n r3 = r6.f1528p;\t Catch:{ IOException -> 0x0086 }\n r2.mo2023a(r7, r8, r3);\t Catch:{ IOException -> 0x0086 }\n goto L_0x0057;\t Catch:{ IOException -> 0x0086 }\n L_0x004f:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r3 = \"Proxied connection. Need to start over.\";\t Catch:{ IOException -> 0x0086 }\n r2.m260a(r3);\t Catch:{ IOException -> 0x0086 }\n goto L_0x0085;\t Catch:{ IOException -> 0x0086 }\n L_0x0057:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r2 = r2.m262a();\t Catch:{ IOException -> 0x0086 }\n if (r2 == 0) goto L_0x007c;\t Catch:{ IOException -> 0x0086 }\n L_0x005f:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r3 = new java.lang.StringBuilder;\t Catch:{ IOException -> 0x0086 }\n r3.<init>();\t Catch:{ IOException -> 0x0086 }\n r4 = \"Attempt \";\t Catch:{ IOException -> 0x0086 }\n r3.append(r4);\t Catch:{ IOException -> 0x0086 }\n r4 = r6.f1533u;\t Catch:{ IOException -> 0x0086 }\n r3.append(r4);\t Catch:{ IOException -> 0x0086 }\n r4 = \" to execute request\";\t Catch:{ IOException -> 0x0086 }\n r3.append(r4);\t Catch:{ IOException -> 0x0086 }\n r3 = r3.toString();\t Catch:{ IOException -> 0x0086 }\n r2.m260a(r3);\t Catch:{ IOException -> 0x0086 }\n L_0x007c:\n r2 = r6.f1518f;\t Catch:{ IOException -> 0x0086 }\n r3 = r6.f1529q;\t Catch:{ IOException -> 0x0086 }\n r2 = r2.m464a(r0, r3, r8);\t Catch:{ IOException -> 0x0086 }\n r1 = r2;\n L_0x0085:\n return r1;\n L_0x0086:\n r2 = move-exception;\n r3 = r6.f1513a;\n r4 = \"Closing the connection.\";\n r3.m260a(r4);\n r3 = r6.f1529q;\t Catch:{ IOException -> 0x0093 }\n r3.close();\t Catch:{ IOException -> 0x0093 }\n L_0x0093:\n r3 = r6.f1520h;\n r4 = r0.m2802d();\n r3 = r3.retryRequest(r2, r4, r8);\n if (r3 == 0) goto L_0x010a;\n L_0x009f:\n r3 = r6.f1513a;\n r3 = r3.m270d();\n if (r3 == 0) goto L_0x00d9;\n L_0x00a7:\n r3 = r6.f1513a;\n r4 = new java.lang.StringBuilder;\n r4.<init>();\n r5 = \"I/O exception (\";\n r4.append(r5);\n r5 = r2.getClass();\n r5 = r5.getName();\n r4.append(r5);\n r5 = \") caught when processing request to \";\n r4.append(r5);\n r4.append(r7);\n r5 = \": \";\n r4.append(r5);\n r5 = r2.getMessage();\n r4.append(r5);\n r4 = r4.toString();\n r3.m269d(r4);\n L_0x00d9:\n r3 = r6.f1513a;\n r3 = r3.m262a();\n if (r3 == 0) goto L_0x00ea;\n L_0x00e1:\n r3 = r6.f1513a;\n r4 = r2.getMessage();\n r3.m261a(r4, r2);\n L_0x00ea:\n r3 = r6.f1513a;\n r3 = r3.m270d();\n if (r3 == 0) goto L_0x000a;\n L_0x00f2:\n r3 = r6.f1513a;\n r4 = new java.lang.StringBuilder;\n r4.<init>();\n r5 = \"Retrying request to \";\n r4.append(r5);\n r4.append(r7);\n r4 = r4.toString();\n r3.m269d(r4);\n goto L_0x000a;\n L_0x010a:\n r8 = r2 instanceof p000a.p001a.p002a.p003a.C0176z;\n if (r8 == 0) goto L_0x0134;\n L_0x010e:\n r8 = new a.a.a.a.z;\n r0 = new java.lang.StringBuilder;\n r0.<init>();\n r7 = r7.mo10a();\n r7 = r7.m474e();\n r0.append(r7);\n r7 = \" failed to respond\";\n r0.append(r7);\n r7 = r0.toString();\n r8.<init>(r7);\n r7 = r2.getStackTrace();\n r8.setStackTrace(r7);\n throw r8;\n L_0x0134:\n throw r2;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: a.a.a.a.i.b.p.b(a.a.a.a.i.b.x, a.a.a.a.n.e):a.a.a.a.s\");\n }", "public void mo23813b() {\n }", "public static java.lang.String m5217a() {\n /*\n r0 = f4109a;\n monitor-enter(r0);\n r1 = f4109a;\t Catch:{ all -> 0x003e }\n r1 = r1.isEmpty();\t Catch:{ all -> 0x003e }\n if (r1 == 0) goto L_0x000f;\n L_0x000b:\n r1 = \"\";\n monitor-exit(r0);\t Catch:{ all -> 0x003e }\n return r1;\n L_0x000f:\n r1 = new java.util.ArrayList;\t Catch:{ all -> 0x003e }\n r2 = f4109a;\t Catch:{ all -> 0x003e }\n r1.<init>(r2);\t Catch:{ all -> 0x003e }\n r2 = f4109a;\t Catch:{ all -> 0x003e }\n r2.clear();\t Catch:{ all -> 0x003e }\n monitor-exit(r0);\t Catch:{ all -> 0x003e }\n r0 = new org.json.JSONArray;\n r0.<init>();\n r1 = r1.iterator();\n L_0x0025:\n r2 = r1.hasNext();\n if (r2 == 0) goto L_0x0039;\n L_0x002b:\n r2 = r1.next();\n r2 = (com.facebook.ads.internal.p047k.C1481b) r2;\n r2 = r2.m5216a();\n r0.put(r2);\n goto L_0x0025;\n L_0x0039:\n r0 = r0.toString();\n return r0;\n L_0x003e:\n r1 = move-exception;\n monitor-exit(r0);\t Catch:{ all -> 0x003e }\n throw r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.k.c.a():java.lang.String\");\n }", "private final void zzR(Object var1_1, zzha var2_2) {\n block94: {\n var3_3 = this;\n var4_4 = var1_1;\n var5_5 = var2_2;\n var6_6 = this.zzh;\n if (var6_6 != 0) break block94;\n var7_7 = this.zzc;\n var6_6 = ((int[])var7_7).length;\n var8_8 = zzja.zzb;\n var9_9 = 1048575;\n var10_10 = 1.469367E-39f;\n var11_11 = var9_9;\n var13_13 = 0;\n for (var12_12 = 0; var12_12 < var6_6; var12_12 += 3) {\n block95: {\n var14_14 = var3_3.zzA(var12_12);\n var15_15 = var3_3.zzc;\n var16_16 = var15_15[var12_12];\n var17_17 = zzja.zzC(var14_14);\n var18_18 = 17;\n var19_19 = 1;\n if (var17_17 <= var18_18) {\n var20_20 = var3_3.zzc;\n var21_21 = var12_12 + 2;\n var18_18 = var20_20[var21_21];\n if ((var21_21 = var18_18 & var9_9) != var11_11) {\n var22_22 = var21_21;\n var13_13 = var8_8.getInt(var4_4, var22_22);\n var11_11 = var21_21;\n }\n var18_18 >>>= 20;\n var18_18 = var19_19 << var18_18;\n } else {\n var18_18 = 0;\n var20_20 = null;\n }\n var24_23 = var14_14 &= var9_9;\n switch (var17_17) lbl-1000:\n // 56 sources\n\n {\n default: {\n var17_17 = 0;\n break block95;\n }\n case 68: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzs(var16_16, var26_24, var27_25);\n ** GOTO lbl-1000\n }\n case 67: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzq(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 66: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzp(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 65: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzd(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 64: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzb(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 63: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzg(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 62: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzo(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 61: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = (zzgs)var8_8.getObject(var4_4, var24_23);\n var5_5.zzn(var16_16, (zzgs)var26_24);\n ** GOTO lbl-1000\n }\n case 60: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzr(var16_16, var26_24, var27_25);\n ** GOTO lbl-1000\n }\n case 59: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n zzja.zzT(var16_16, var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 58: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = (int)zzja.zzH(var4_4, var24_23);\n var5_5.zzl(var16_16, (boolean)var9_9);\n ** GOTO lbl-1000\n }\n case 57: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzk(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 56: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzj(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 55: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzi(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 54: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzh(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 53: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzc(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 52: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var10_10 = zzja.zzE(var4_4, var24_23);\n var5_5.zze(var16_16, var10_10);\n ** GOTO lbl-1000\n }\n case 51: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var28_26 = zzja.zzD(var4_4, var24_23);\n var5_5.zzf(var16_16, var28_26);\n ** GOTO lbl-1000\n }\n case 50: {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var3_3.zzS(var5_5, var16_16, var26_24, var12_12);\n ** GOTO lbl-1000\n }\n case 49: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n zzjk.zzaa(var14_14, (List)var26_24, var5_5, var27_25);\n ** GOTO lbl-1000\n }\n case 48: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzN(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 47: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzS(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 46: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzP(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 45: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzU(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 44: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzV(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 43: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzR(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 42: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzW(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 41: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzT(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 40: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzO(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 39: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzQ(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 38: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzM(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 37: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzL(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 36: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzK(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 35: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzJ(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 34: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var16_16 = 0;\n var15_15 = null;\n zzjk.zzN(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 33: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzS(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 32: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzP(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 31: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzU(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 30: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzV(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 29: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzR(var14_14, (List)var26_24, var5_5, false);\nlbl290:\n // 6 sources\n\n var17_17 = 0;\n break block95;\n }\n case 28: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzY(var14_14, (List)var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 27: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n zzjk.zzZ(var14_14, (List)var26_24, var5_5, var27_25);\n ** GOTO lbl-1000\n }\n case 26: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzX(var14_14, (List)var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 25: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var17_17 = 0;\n zzjk.zzW(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 24: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzT(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 23: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzO(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 22: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzQ(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 21: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzM(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 20: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzL(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 19: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzK(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 18: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzJ(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 17: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzs(var16_16, var26_24, var27_25);\n }\n break block95;\n }\n case 16: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzq(var16_16, var24_23);\n }\n break block95;\n }\n case 15: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzp(var16_16, var9_9);\n }\n break block95;\n }\n case 14: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzd(var16_16, var24_23);\n }\n break block95;\n }\n case 13: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzb(var16_16, var9_9);\n }\n break block95;\n }\n case 12: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzg(var16_16, var9_9);\n }\n break block95;\n }\n case 11: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzo(var16_16, var9_9);\n }\n break block95;\n }\n case 10: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = (zzgs)var8_8.getObject(var4_4, var24_23);\n var5_5.zzn(var16_16, (zzgs)var26_24);\n }\n break block95;\n }\n case 9: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzr(var16_16, var26_24, var27_25);\n }\n break block95;\n }\n case 8: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n zzja.zzT(var16_16, var26_24, var5_5);\n }\n break block95;\n }\n case 7: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = (int)zzkh.zzh(var4_4, var24_23);\n var5_5.zzl(var16_16, (boolean)var9_9);\n }\n break block95;\n }\n case 6: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzk(var16_16, var9_9);\n }\n break block95;\n }\n case 5: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzj(var16_16, var24_23);\n }\n break block95;\n }\n case 4: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzi(var16_16, var9_9);\n }\n break block95;\n }\n case 3: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzh(var16_16, var24_23);\n }\n break block95;\n }\n case 2: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzc(var16_16, var24_23);\n }\n break block95;\n }\n case 1: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var10_10 = zzkh.zzj(var4_4, var24_23);\n var5_5.zze(var16_16, var10_10);\n }\n break block95;\n }\n case 0: \n }\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var28_26 = zzkh.zzl(var4_4, var24_23);\n var5_5.zzf(var16_16, var28_26);\n }\n }\n var9_9 = 1048575;\n var10_10 = 1.469367E-39f;\n }\n var7_7 = var3_3.zzn;\n var4_4 = var7_7.zzd(var4_4);\n var7_7.zzi(var4_4, var5_5);\n return;\n }\n this.zzo.zzb(var1_1);\n throw null;\n }", "public final void a(com.tencent.mm.plugin.game.c.ai r12, java.lang.String r13, int r14, int r15) {\n /*\n r11 = this;\n if (r12 == 0) goto L_0x000a;\n L_0x0002:\n r0 = r12.nmz;\n r0 = com.tencent.mm.sdk.platformtools.bi.cC(r0);\n if (r0 == 0) goto L_0x0010;\n L_0x000a:\n r0 = 8;\n r11.setVisibility(r0);\n L_0x000f:\n return;\n L_0x0010:\n r11.mAppId = r13;\n r11.niV = r15;\n r0 = r12.nmz;\n r7 = r0.iterator();\n L_0x001a:\n r0 = r7.hasNext();\n if (r0 == 0) goto L_0x000f;\n L_0x0020:\n r0 = r7.next();\n r4 = r0;\n r4 = (com.tencent.mm.plugin.game.c.k) r4;\n if (r4 == 0) goto L_0x001a;\n L_0x0029:\n r5 = new com.tencent.mm.plugin.game.d.e$a$a;\n r5.<init>();\n r0 = r4.nlz;\n switch(r0) {\n case 1: goto L_0x004a;\n case 2: goto L_0x00e3;\n default: goto L_0x0033;\n };\n L_0x0033:\n r0 = 2;\n if (r14 != r0) goto L_0x001a;\n L_0x0036:\n r0 = r11.mContext;\n r1 = 10;\n r2 = 1002; // 0x3ea float:1.404E-42 double:4.95E-321;\n r3 = r4.nlw;\n r4 = r4.nlr;\n r6 = com.tencent.mm.plugin.game.model.ap.CD(r4);\n r4 = r13;\n r5 = r15;\n com.tencent.mm.plugin.game.model.ap.a(r0, r1, r2, r3, r4, r5, r6);\n goto L_0x001a;\n L_0x004a:\n r0 = r4.nlx;\n if (r0 == 0) goto L_0x001a;\n L_0x004e:\n r11.e(r11);\n r0 = r11.DF;\n r1 = com.tencent.mm.R.i.djD;\n r2 = 1;\n r6 = r0.inflate(r1, r11, r2);\n r0 = com.tencent.mm.R.h.cxP;\n r0 = r6.findViewById(r0);\n r0 = (android.widget.TextView) r0;\n r1 = com.tencent.mm.R.h.cxR;\n r1 = r6.findViewById(r1);\n r1 = (android.widget.TextView) r1;\n r2 = com.tencent.mm.R.h.cxO;\n r2 = r6.findViewById(r2);\n r2 = (com.tencent.mm.plugin.game.widget.EllipsizingTextView) r2;\n r3 = 2;\n r2.setMaxLines(r3);\n r3 = com.tencent.mm.R.h.cxQ;\n r3 = r6.findViewById(r3);\n r3 = (android.widget.ImageView) r3;\n r8 = r11.mContext;\n r9 = r4.nlv;\n r10 = r0.getTextSize();\n r8 = com.tencent.mm.pluginsdk.ui.d.i.b(r8, r9, r10);\n r0.setText(r8);\n r0 = r11.mContext;\n r8 = r4.nlx;\n r8 = r8.fpg;\n r9 = r1.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r8, r9);\n r1.setText(r0);\n r0 = r11.mContext;\n r1 = r4.nlx;\n r1 = r1.nkL;\n r8 = r2.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r1, r8);\n r2.setText(r0);\n r0 = r4.nlx;\n r0 = r0.nkM;\n r0 = com.tencent.mm.sdk.platformtools.bi.oN(r0);\n if (r0 != 0) goto L_0x00dd;\n L_0x00b9:\n r0 = com.tencent.mm.plugin.game.d.e.aSC();\n r1 = r4.nlx;\n r1 = r1.nkM;\n r2 = r5.aSD();\n r0.a(r3, r1, r2);\n L_0x00c8:\n r0 = new com.tencent.mm.plugin.game.ui.f$a;\n r1 = r4.nlw;\n r2 = r4.nlx;\n r2 = r2.nkN;\n r3 = r4.nlr;\n r0.<init>(r1, r2, r3);\n r6.setTag(r0);\n r6.setOnClickListener(r11);\n goto L_0x0033;\n L_0x00dd:\n r0 = 8;\n r3.setVisibility(r0);\n goto L_0x00c8;\n L_0x00e3:\n r0 = r4.nly;\n if (r0 == 0) goto L_0x001a;\n L_0x00e7:\n r11.e(r11);\n r0 = r11.DF;\n r1 = com.tencent.mm.R.i.djE;\n r2 = 1;\n r3 = r0.inflate(r1, r11, r2);\n r0 = com.tencent.mm.R.h.cOG;\n r0 = r3.findViewById(r0);\n r0 = (android.widget.TextView) r0;\n r1 = com.tencent.mm.R.h.cOI;\n r1 = r3.findViewById(r1);\n r1 = (android.widget.TextView) r1;\n r2 = com.tencent.mm.R.h.cOH;\n r2 = r3.findViewById(r2);\n r2 = (android.widget.ImageView) r2;\n r6 = r11.mContext;\n r8 = r4.nlv;\n r9 = r0.getTextSize();\n r6 = com.tencent.mm.pluginsdk.ui.d.i.b(r6, r8, r9);\n r0.setText(r6);\n r0 = r11.mContext;\n r6 = r4.nly;\n r6 = r6.fpg;\n r8 = r1.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r6, r8);\n r1.setText(r0);\n r0 = r4.nly;\n r0 = r0.nkM;\n r0 = com.tencent.mm.sdk.platformtools.bi.oN(r0);\n if (r0 != 0) goto L_0x016f;\n L_0x0135:\n r0 = r4.nly;\n r0 = r0.npS;\n r1 = 1;\n if (r0 != r1) goto L_0x0167;\n L_0x013c:\n r0 = 1;\n r5.nDa = r0;\n r0 = com.tencent.mm.R.g.bCF;\n r5.nDd = r0;\n L_0x0143:\n r0 = com.tencent.mm.plugin.game.d.e.aSC();\n r1 = r4.nly;\n r1 = r1.nkM;\n r5 = r5.aSD();\n r0.a(r2, r1, r5);\n L_0x0152:\n r0 = new com.tencent.mm.plugin.game.ui.f$a;\n r1 = r4.nlw;\n r2 = r4.nly;\n r2 = r2.nkN;\n r5 = r4.nlr;\n r0.<init>(r1, r2, r5);\n r3.setTag(r0);\n r3.setOnClickListener(r11);\n goto L_0x0033;\n L_0x0167:\n r0 = 1;\n r5.hFJ = r0;\n r0 = com.tencent.mm.R.g.bCE;\n r5.nDd = r0;\n goto L_0x0143;\n L_0x016f:\n r0 = 8;\n r2.setVisibility(r0);\n goto L_0x0152;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.mm.plugin.game.ui.f.a(com.tencent.mm.plugin.game.c.ai, java.lang.String, int, int):void\");\n }", "public final synchronized void mo5320b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r1 = 0;\t Catch:{ all -> 0x004c }\n r2 = 0;\t Catch:{ all -> 0x004c }\n if (r0 == 0) goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0007:\n r0 = r6.f24851a;\t Catch:{ all -> 0x004c }\n if (r0 != 0) goto L_0x0013;\t Catch:{ all -> 0x004c }\n L_0x000b:\n r0 = r6.f24854d;\t Catch:{ all -> 0x004c }\n r3 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r0.deleteFile(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0013:\n r0 = com.google.android.m4b.maps.cg.bx.m23058b();\t Catch:{ all -> 0x004c }\n r3 = r6.f24854d;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24853c;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r3 = r3.openFileOutput(r4, r1);\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24851a;\t Catch:{ IOException -> 0x0033 }\n r4 = r4.m20837d();\t Catch:{ IOException -> 0x0033 }\n r3.write(r4);\t Catch:{ IOException -> 0x0033 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n L_0x002b:\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\n L_0x002f:\n r1 = move-exception;\n r3 = r2;\n goto L_0x003f;\n L_0x0032:\n r3 = r2;\n L_0x0033:\n r4 = r6.f24854d;\t Catch:{ all -> 0x003e }\n r5 = r6.f24853c;\t Catch:{ all -> 0x003e }\n r4.deleteFile(r5);\t Catch:{ all -> 0x003e }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n goto L_0x002b;\t Catch:{ all -> 0x004c }\n L_0x003e:\n r1 = move-exception;\t Catch:{ all -> 0x004c }\n L_0x003f:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n throw r1;\t Catch:{ all -> 0x004c }\n L_0x0046:\n r6.f24851a = r2;\t Catch:{ all -> 0x004c }\n r6.f24852b = r1;\t Catch:{ all -> 0x004c }\n monitor-exit(r6);\n return;\n L_0x004c:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.b():void\");\n }", "@Override\n public void func_104112_b() {\n \n }", "void m5771e() throws C0841b;", "public int getLiveRegion() {\n/* 1213 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public ItemStack func_70298_a(int par1, int par2)\n/* */ {\n/* 35 */ return null;\n/* */ }", "@Override\n public void a() {\n block25 : {\n block24 : {\n block22 : {\n var17_1 = a.a;\n var3_2 = this.c.i();\n var4_3 = var3_2.a().a();\n this.d = new w();\n this.e = new y.f.h.D(this.d);\n this.h = M.a(new Object[this.b.e()]);\n this.i = M.b(new Object[this.b.g()]);\n var5_4 = this.b.o();\n while (var5_4.f()) {\n var6_5 = var5_4.e();\n if (var17_1 == 0) {\n if (var6_5.c() <= this.l) {\n var7_6 = this.d.d();\n this.h.a(var6_5, var7_6);\n }\n var5_4.g();\n if (var17_1 == 0) continue;\n }\n break block22;\n }\n this.j = M.b(new Object[this.b.g()]);\n this.k = M.b(new Object[this.b.g()]);\n this.a(this.j, this.k);\n }\n var2_8 = this.b.o();\n block3 : do {\n v0 = var2_8.f();\n block4 : while (v0 != 0) {\n var5_4 = var2_8.e();\n if (var5_4.c() != 0) {\n var1_9 = var5_4.l();\n var6_5 = var1_9.a();\n var7_6 = (y.c.q)this.j.b(var6_5);\n var1_9.b();\n while (var1_9.f()) {\n var8_10 = var1_9.a();\n var9_11 = (y.c.q)this.j.b(var8_10);\n var10_12 = (y.c.q)this.k.b(var8_10);\n var11_13 = this.a((y.c.q)var7_6, (y.c.q)var9_11);\n v0 = var5_4.c();\n if (var17_1 != 0) continue block4;\n if (v0 > this.l) {\n this.h.a(var5_4, var11_13);\n }\n var7_6 = (y.c.q)this.j.b(var8_10);\n var12_14 /* !! */ = this.d.a((y.c.q)var9_11, (y.c.q)var10_12);\n this.i.a(var8_10, var12_14 /* !! */ );\n if (var8_10 == var6_5) break;\n var1_9.b();\n if (var17_1 == 0) continue;\n }\n }\n var2_8.g();\n if (var17_1 == 0) continue block3;\n }\n break block3;\n break;\n } while (true);\n var1_9 = this.b.p();\n while (var1_9.f()) {\n var5_4 = var1_9.a();\n v1 = this;\n if (var17_1 == 0) {\n block23 : {\n if (v1.c.n((y.c.d)var5_4)) {\n this.e.m((y.c.d)this.i.b(var5_4));\n if (var17_1 == 0) break block23;\n }\n this.e.e((y.c.d)this.i.b(var5_4));\n }\n var6_5 = this.c.h((y.c.d)var5_4);\n this.e.b((y.c.d)this.i.b(var5_4), (y.c.d)this.i.b(var6_5));\n var1_9.g();\n if (var17_1 == 0) continue;\n }\n break block24;\n }\n v1 = this;\n }\n var5_4 = v1.e.m();\n this.d.a(\"y.layout.orthogonal.general.NodeSplitter.NODE_FACES\", (y.c.c)var5_4);\n var6_5 = this.e.m();\n this.d.a(\"y.layout.orthogonal.ring.FixedSizeNodeSplitter#NODE_SIZE\", (y.c.c)var6_5);\n this.m = this.e.g().t();\n this.d.a(\"y.layout.orthogonal.ring.FixedSizeNodeSplitter#NODE_SIZE\", new c((r)var6_5, this.m));\n try {\n this.e.l();\n var7_6 = (y.c.d)this.i.b(var4_3);\n this.e.b(this.e.i((y.c.d)var7_6));\n var8_10 = this.e.h();\n while (var8_10.f()) {\n var5_4.a(var8_10.a(), false);\n var8_10.g();\n if (var17_1 == 0) {\n if (var17_1 == 0) continue;\n }\n break block25;\n }\n var8_10 = this.b.o();\n while (var8_10.f()) {\n var9_11 = var8_10.e();\n if (var17_1 != 0) break;\n if (var9_11.c() <= this.l) ** GOTO lbl-1000\n var10_12 = (y.c.d)this.h.b(var9_11);\n var11_13 = this.e.i((y.c.d)var10_12);\n this.h.a(var9_11, var11_13);\n var5_4.a((p)var11_13, true);\n var12_14 /* !! */ = (y.c.d)this.b.p((y.c.q)var9_11);\n var14_15 = this.b.q((y.c.q)var9_11);\n var16_16 = new Dimension((int)var12_14 /* !! */ , (int)var14_15);\n var6_5.a((p)var11_13, var16_16);\n if (var17_1 != 0) lbl-1000: // 2 sources:\n {\n var10_12 = this.b.r((y.c.q)var9_11);\n if (var10_12.a > 0.0 || var10_12.b > 0.0) {\n var11_13 = (y.c.q)this.h.b(var9_11);\n this.m.a(var11_13, this.b.r((y.c.q)var9_11));\n }\n }\n var8_10.g();\n if (var17_1 == 0) continue;\n break;\n }\n }\n catch (Exception var7_7) {\n System.err.println(\"Internal Error in Face calculation !\");\n var7_7.printStackTrace(System.err);\n }\n }\n var7_6 = this.e.h();\n block9 : do {\n if (var7_6.f() == false) return;\n var8_10 = (p)var7_6.d();\n if (var5_4.d(var8_10)) {\n var9_11 = var8_10.a();\n while (var9_11.f()) {\n var10_12 = var9_11.a();\n this.e.m(this.e.h((y.c.d)var10_12));\n this.e.e((y.c.d)var10_12);\n var9_11.g();\n if (var17_1 != 0) continue block9;\n if (var17_1 == 0) continue;\n }\n }\n var7_6.g();\n } while (var17_1 == 0);\n }", "public void mo115190b() {\n }", "public boolean c()\r\n/* 56: */ {\r\n/* 57: 77 */ return false;\r\n/* 58: */ }", "private synchronized void m29549c() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x0050 }\n if (r0 == 0) goto L_0x004b;\t Catch:{ all -> 0x0050 }\n L_0x0005:\n r0 = com.google.android.m4b.maps.cg.bx.m23056a();\t Catch:{ all -> 0x0050 }\n r1 = 0;\n r2 = r6.f24854d;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r3 = r6.f24853c;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r2 = r2.openFileInput(r3);\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n if (r2 == 0) goto L_0x0027;\n L_0x0014:\n r3 = new com.google.android.m4b.maps.ar.a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.de.af.f19891a;\t Catch:{ IOException -> 0x0036 }\n r3.<init>(r4);\t Catch:{ IOException -> 0x0036 }\n r6.f24851a = r3;\t Catch:{ IOException -> 0x0036 }\n r3 = r6.f24851a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.ap.C4655c.m20771a(r2);\t Catch:{ IOException -> 0x0036 }\n r3.m20819a(r4);\t Catch:{ IOException -> 0x0036 }\n goto L_0x0029;\t Catch:{ IOException -> 0x0036 }\n L_0x0027:\n r6.f24851a = r1;\t Catch:{ IOException -> 0x0036 }\n L_0x0029:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n L_0x002c:\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n goto L_0x004b;\n L_0x0030:\n r2 = move-exception;\n r5 = r2;\n r2 = r1;\n r1 = r5;\n goto L_0x0044;\n L_0x0035:\n r2 = r1;\n L_0x0036:\n r6.f24851a = r1;\t Catch:{ all -> 0x0043 }\n r1 = r6.f24854d;\t Catch:{ all -> 0x0043 }\n r3 = r6.f24853c;\t Catch:{ all -> 0x0043 }\n r1.deleteFile(r3);\t Catch:{ all -> 0x0043 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n goto L_0x002c;\t Catch:{ all -> 0x0050 }\n L_0x0043:\n r1 = move-exception;\t Catch:{ all -> 0x0050 }\n L_0x0044:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n throw r1;\t Catch:{ all -> 0x0050 }\n L_0x004b:\n r0 = 1;\t Catch:{ all -> 0x0050 }\n r6.f24852b = r0;\t Catch:{ all -> 0x0050 }\n monitor-exit(r6);\n return;\n L_0x0050:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.c():void\");\n }", "void m5770d() throws C0841b;", "static void complete_return_requirements(){\n\t\tString ad = memory.get(SP+1)+memory.get(SP);\n\t\tSP+=2;\n\t\tPC = hexa_to_deci(ad);\n\t\tmodified =true;\n\t}", "public boolean c()\r\n/* 36: */ {\r\n/* 37:51 */ return false;\r\n/* 38: */ }", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "void mo80452a();", "public void b(World paramaqu, Random paramRandom, BlockPosition paramdt, Block parambec)\r\n/* 77: */ {\r\n/* 78: 93 */ BlockPosition localdt1 = paramdt.up();\r\n/* 79: */ label260:\r\n/* 80: 95 */ for (int i = 0; i < 128; i++)\r\n/* 81: */ {\r\n/* 82: 96 */ BlockPosition localdt2 = localdt1;\r\n/* 83: 97 */ for (int j = 0; j < i / 16; j++)\r\n/* 84: */ {\r\n/* 85: 98 */ localdt2 = localdt2.offset(paramRandom.nextInt(3) - 1, (paramRandom.nextInt(3) - 1) * paramRandom.nextInt(3) / 2, paramRandom.nextInt(3) - 1);\r\n/* 86: 99 */ if ((paramaqu.getBlock(localdt2.down()).getType() != BlockList.grass) || (paramaqu.getBlock(localdt2).getType().blocksMovement())) {\r\n/* 87: */ break label260;\r\n/* 88: */ }\r\n/* 89: */ }\r\n/* 90:104 */ if (paramaqu.getBlock(localdt2).getType().material == Material.air)\r\n/* 91: */ {\r\n/* 92: */ Object localObject;\r\n/* 93:108 */ if (paramRandom.nextInt(8) == 0)\r\n/* 94: */ {\r\n/* 95:109 */ localObject = paramaqu.b(localdt2).a(paramRandom, localdt2);\r\n/* 96:110 */ avy localavy = ((EnumFlowerVariant)localObject).a().a();\r\n/* 97:111 */ Block localbec = localavy.instance().setData(localavy.l(), (Comparable)localObject);\r\n/* 98:112 */ if (localavy.f(paramaqu, localdt2, localbec)) {\r\n/* 99:113 */ paramaqu.setBlock(localdt2, localbec, 3);\r\n/* 100: */ }\r\n/* 101: */ }\r\n/* 102: */ else\r\n/* 103: */ {\r\n/* 104:116 */ localObject = BlockList.tallgrass.instance().setData(bbh.a, bbi.b);\r\n/* 105:117 */ if (BlockList.tallgrass.f(paramaqu, localdt2, (Block)localObject)) {\r\n/* 106:118 */ paramaqu.setBlock(localdt2, (Block)localObject, 3);\r\n/* 107: */ }\r\n/* 108: */ }\r\n/* 109: */ }\r\n/* 110: */ }\r\n/* 111: */ }", "@Override // X.AnonymousClass0l1\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public final void A04(int r29) throws java.io.IOException {\n /*\n // Method dump skipped, instructions count: 801\n */\n throw new UnsupportedOperationException(\"Method not decompiled: X.AnonymousClass0T3.A04(int):void\");\n }", "public final void mo1285b() {\n }", "public void c() {\n /*\n r4 = this;\n com.shopee.app.data.store.o r0 = r4.f16997c\n boolean r0 = r0.c()\n r1 = 1\n r2 = 0\n if (r0 == 0) goto L_0x000c\n L_0x000a:\n r0 = 0\n goto L_0x0023\n L_0x000c:\n com.shopee.app.data.store.o r0 = r4.f16997c\n boolean r0 = r0.a()\n if (r0 != 0) goto L_0x001c\n com.shopee.app.data.store.o r0 = r4.f16997c\n int r0 = r0.b()\n r2 = r0\n goto L_0x000a\n L_0x001c:\n com.shopee.app.data.store.o r0 = r4.f16997c\n int r2 = r0.e()\n r0 = 1\n L_0x0023:\n boolean r3 = r4.f16998d\n if (r3 == 0) goto L_0x0032\n if (r0 == 0) goto L_0x003a\n com.shopee.app.network.d.c.d r0 = new com.shopee.app.network.d.c.d\n r0.<init>()\n r0.a(r2, r1)\n goto L_0x003a\n L_0x0032:\n com.shopee.app.network.d.c.d r1 = new com.shopee.app.network.d.c.d\n r1.<init>()\n r1.a(r2, r0)\n L_0x003a:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.shopee.app.d.c.f.m.c():void\");\n }", "public boolean func_102008_b(int par1, ItemStack par2ItemStack, int par3)\n/* */ {\n/* 125 */ return false;\n/* */ }", "TACBlock optimise(TACBlock code);", "private synchronized void m3985g() {\n /*\n r8 = this;\n monitor-enter(r8);\n r2 = java.lang.Thread.currentThread();\t Catch:{ all -> 0x0063 }\n r3 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r3 = r3.mo1186c();\t Catch:{ all -> 0x0063 }\n r2 = r2.equals(r3);\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0021;\n L_0x0011:\n r2 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1185b();\t Catch:{ all -> 0x0063 }\n r3 = new com.google.analytics.tracking.android.aa;\t Catch:{ all -> 0x0063 }\n r3.<init>(r8);\t Catch:{ all -> 0x0063 }\n r2.add(r3);\t Catch:{ all -> 0x0063 }\n L_0x001f:\n monitor-exit(r8);\n return;\n L_0x0021:\n r2 = r8.f2122n;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x0028;\n L_0x0025:\n r8.m3999d();\t Catch:{ all -> 0x0063 }\n L_0x0028:\n r2 = com.google.analytics.tracking.android.ab.f1966a;\t Catch:{ all -> 0x0063 }\n r3 = r8.f2110b;\t Catch:{ all -> 0x0063 }\n r3 = r3.ordinal();\t Catch:{ all -> 0x0063 }\n r2 = r2[r3];\t Catch:{ all -> 0x0063 }\n switch(r2) {\n case 1: goto L_0x0036;\n case 2: goto L_0x006e;\n case 3: goto L_0x00aa;\n default: goto L_0x0035;\n };\t Catch:{ all -> 0x0063 }\n L_0x0035:\n goto L_0x001f;\n L_0x0036:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0066;\n L_0x003e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.poll();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to store\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2112d;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1197a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n goto L_0x0036;\n L_0x0063:\n r2 = move-exception;\n monitor-exit(r8);\n throw r2;\n L_0x0066:\n r2 = r8.f2121m;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x001f;\n L_0x006a:\n r8.m3987h();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x006e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x00a0;\n L_0x0076:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.peek();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to service\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2111c;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1204a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2.poll();\t Catch:{ all -> 0x0063 }\n goto L_0x006e;\n L_0x00a0:\n r2 = r8.f2123o;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1198a();\t Catch:{ all -> 0x0063 }\n r8.f2109a = r2;\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x00aa:\n r2 = \"Need to reconnect\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x001f;\n L_0x00b7:\n r8.m3991j();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.analytics.tracking.android.y.g():void\");\n }", "public final void mo91715d() {\n }", "public long mo915b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r4 = this;\n r0 = -1;\n r2 = r4.f18088d;\t Catch:{ NumberFormatException -> 0x000e }\n if (r2 == 0) goto L_0x000d;\t Catch:{ NumberFormatException -> 0x000e }\n L_0x0006:\n r2 = r4.f18088d;\t Catch:{ NumberFormatException -> 0x000e }\n r2 = java.lang.Long.parseLong(r2);\t Catch:{ NumberFormatException -> 0x000e }\n r0 = r2;\n L_0x000d:\n return r0;\n L_0x000e:\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: okhttp3.c.b.b():long\");\n }", "public void mo3613a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r4 = this;\n r0 = r4.f18081b;\n monitor-enter(r0);\n r1 = r4.f18080a;\t Catch:{ all -> 0x001f }\n if (r1 == 0) goto L_0x0009;\t Catch:{ all -> 0x001f }\n L_0x0007:\n monitor-exit(r0);\t Catch:{ all -> 0x001f }\n return;\t Catch:{ all -> 0x001f }\n L_0x0009:\n r1 = 1;\t Catch:{ all -> 0x001f }\n r4.f18080a = r1;\t Catch:{ all -> 0x001f }\n r2 = r4.f18081b;\t Catch:{ all -> 0x001f }\n r3 = r2.f12200d;\t Catch:{ all -> 0x001f }\n r3 = r3 + r1;\t Catch:{ all -> 0x001f }\n r2.f12200d = r3;\t Catch:{ all -> 0x001f }\n monitor-exit(r0);\t Catch:{ all -> 0x001f }\n r0 = r4.f18083d;\n okhttp3.internal.C2933c.m14194a(r0);\n r0 = r4.f18082c;\t Catch:{ IOException -> 0x001e }\n r0.m14100c();\t Catch:{ IOException -> 0x001e }\n L_0x001e:\n return;\n L_0x001f:\n r1 = move-exception;\n monitor-exit(r0);\t Catch:{ all -> 0x001f }\n throw r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: okhttp3.c.a.a():void\");\n }", "void mo80455b();", "public Snippet visit(MethodDeclaration n, Snippet argu) {\n\t\t Snippet _ret=null;\n\t\t\ttPlasmaCode = \"\";\n\t n.nodeToken.accept(this, argu);\n\t n.nodeToken1.accept(this, argu);\n\t Snippet f2 = n.returnType.accept(this, argu);\n\t String tempString = \"\";\n\t\t\tif(f2 != null){\n\t\t\t\t//System.out.println(\" \"+f2.expType+\" \"+f2.returnTemp);\n\t\t\t\ttempString = f2.expType.typeName;\n\t\t\t}else{\n\t\t\t\ttempString = \"void \";\n\t\t\t}\n\t Snippet f3 = n.identifier.accept(this, argu);\n\t String methodName = f3.expType.getTypeName();\n\t memberSig = new MethodSignature();\n\t\t\tmemberSig.methodName = methodName;\n\t\t\tcurrentMethod = currentClass.methods.get(methodName);\n\t\t\t\n\t\t\t\n\t\t\ttempCounter = tempZero;\n\t\t\tblockId = 1;\n\t\t\tcurrentBlock = 1;\n\t n.nodeToken2.accept(this, argu);\n\t Snippet f5 = n.nodeOptional.accept(this, argu);\n\t // n.nodeToken3.accept(this, argu);\n\t memberSig = null;\n\t\t\tblockId = 0;\n\t\t\tcurrentBlock = 0;\n\t\t\t\n\t\t\tString tempFormal = \"\";\n\t\t\tif(f5 != null){\n\t\t\t\ttempFormal = f5.returnTemp+\",\";\n\t\t\t}else{\n\t\t\t\ttempFormal = \"\";\n\t\t\t}\n\t\t\t\n\t\t\ttempString+=\" \"+methodName+\" \"+\"( \"+tempFormal+\" int myUniquePlacePoint)\";\n\t\t\t\n\t\t\ttPlasmaCode += \"public static \"+tempString+\"\\n\";\n\t\t\t//String placeCheckString = \"final HashMap<Integer, HashSet<Integer>> globalPointerHashMap = new final HashMap<Integer, HashSet<Integer>>(4)\";\n\t\t\t//placeCheckString += \"final int maxPlaces = 4; \\n for(int i =0; i <maxPlaces; ++i){globalPointerHashMap.put(i, new HashSet<Integer>());}\";\n\t\t\tn.block.accept(this, argu);\n\t currentClassBody.methods += tPlasmaCode;\n\t\t\ttPlasmaCode = \"\";\n\t return _ret;\n\t }", "final com.google.bV a(java.util.Map r14) {\n /*\n r13_this = this;\n r6 = f;\n if (r14 == 0) goto L_0x013c;\n L_0x0004:\n r0 = com.google.fm.TRY_HARDER;\n r0 = r14.containsKey(r0);\n if (r0 == 0) goto L_0x013c;\n L_0x000c:\n r0 = 1;\n r2 = r0;\n L_0x000e:\n if (r14 == 0) goto L_0x0140;\n L_0x0010:\n r0 = com.google.fm.PURE_BARCODE;\n r0 = r14.containsKey(r0);\n if (r0 == 0) goto L_0x0140;\n L_0x0018:\n r0 = 1;\n L_0x0019:\n r1 = r13.b;\n r7 = r1.f();\n r1 = r13.b;\n r8 = r1.b();\n r1 = r7 * 3;\n r1 = r1 / 228;\n r3 = 3;\n if (r1 < r3) goto L_0x002e;\n L_0x002c:\n if (r2 == 0) goto L_0x002f;\n L_0x002e:\n r1 = 3;\n L_0x002f:\n r2 = 0;\n r3 = 5;\n r9 = new int[r3];\n r4 = r1 + -1;\n r5 = r1;\n L_0x0036:\n if (r4 >= r7) goto L_0x0127;\n L_0x0038:\n if (r2 != 0) goto L_0x0127;\n L_0x003a:\n r1 = 0;\n r3 = 0;\n r9[r1] = r3;\n r1 = 1;\n r3 = 0;\n r9[r1] = r3;\n r1 = 2;\n r3 = 0;\n r9[r1] = r3;\n r1 = 3;\n r3 = 0;\n r9[r1] = r3;\n r1 = 4;\n r3 = 0;\n r9[r1] = r3;\n r1 = 0;\n r3 = 0;\n L_0x0050:\n if (r3 >= r8) goto L_0x010d;\n L_0x0052:\n r10 = r13.b;\n r10 = r10.a(r3, r4);\n if (r10 == 0) goto L_0x0069;\n L_0x005a:\n r10 = r1 & 1;\n r11 = 1;\n if (r10 != r11) goto L_0x0061;\n L_0x005f:\n r1 = r1 + 1;\n L_0x0061:\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n if (r6 == 0) goto L_0x0109;\n L_0x0069:\n r10 = r1 & 1;\n if (r10 != 0) goto L_0x0103;\n L_0x006d:\n r10 = 4;\n if (r1 != r10) goto L_0x00f9;\n L_0x0070:\n r1 = a(r9);\n if (r1 == 0) goto L_0x015f;\n L_0x0076:\n r1 = r13.a(r9, r4, r3, r0);\n if (r1 == 0) goto L_0x0159;\n L_0x007c:\n r5 = 2;\n r1 = r13.a;\n if (r1 == 0) goto L_0x0156;\n L_0x0081:\n r1 = r13.b();\n if (r6 == 0) goto L_0x00c2;\n L_0x0087:\n r2 = r13.c();\n r10 = 2;\n r10 = r9[r10];\n if (r2 <= r10) goto L_0x0152;\n L_0x0090:\n r3 = 2;\n r3 = r9[r3];\n r2 = r2 - r3;\n r2 = r2 - r5;\n r3 = r4 + r2;\n r2 = r8 + -1;\n L_0x0099:\n if (r6 == 0) goto L_0x014e;\n L_0x009b:\n r4 = r5;\n r12 = r3;\n r3 = r1;\n r1 = r2;\n r2 = r12;\n L_0x00a0:\n r5 = 0;\n r10 = 2;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 1;\n r10 = 3;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 2;\n r10 = 4;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 3;\n r10 = 1;\n r9[r5] = r10;\n r5 = 4;\n r10 = 0;\n r9[r5] = r10;\n r5 = 3;\n if (r6 == 0) goto L_0x0147;\n L_0x00bd:\n r5 = r4;\n r4 = r2;\n r12 = r3;\n r3 = r1;\n r1 = r12;\n L_0x00c2:\n r2 = 0;\n r10 = 0;\n r11 = 0;\n r9[r10] = r11;\n r10 = 1;\n r11 = 0;\n r9[r10] = r11;\n r10 = 2;\n r11 = 0;\n r9[r10] = r11;\n r10 = 3;\n r11 = 0;\n r9[r10] = r11;\n r10 = 4;\n r11 = 0;\n r9[r10] = r11;\n if (r6 == 0) goto L_0x0143;\n L_0x00d9:\n r2 = 0;\n r10 = 2;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 1;\n r10 = 3;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 2;\n r10 = 4;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 3;\n r10 = 1;\n r9[r2] = r10;\n r2 = 4;\n r10 = 0;\n r9[r2] = r10;\n r2 = 3;\n if (r6 == 0) goto L_0x0143;\n L_0x00f6:\n r12 = r2;\n r2 = r1;\n r1 = r12;\n L_0x00f9:\n r1 = r1 + 1;\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n if (r6 == 0) goto L_0x0109;\n L_0x0103:\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n L_0x0109:\n r3 = r3 + 1;\n if (r6 == 0) goto L_0x0050;\n L_0x010d:\n r1 = a(r9);\n if (r1 == 0) goto L_0x0124;\n L_0x0113:\n r1 = r13.a(r9, r4, r8, r0);\n if (r1 == 0) goto L_0x0124;\n L_0x0119:\n r1 = 0;\n r5 = r9[r1];\n r1 = r13.a;\n if (r1 == 0) goto L_0x0124;\n L_0x0120:\n r2 = r13.b();\n L_0x0124:\n r4 = r4 + r5;\n if (r6 == 0) goto L_0x0036;\n L_0x0127:\n r0 = r13.a();\n com.google.bm.a(r0);\n r1 = new com.google.bV;\n r1.<init>(r0);\n r0 = com.google.gC.a;\n if (r0 == 0) goto L_0x013b;\n L_0x0137:\n r0 = r6 + 1;\n f = r0;\n L_0x013b:\n return r1;\n L_0x013c:\n r0 = 0;\n r2 = r0;\n goto L_0x000e;\n L_0x0140:\n r0 = 0;\n goto L_0x0019;\n L_0x0143:\n r12 = r2;\n r2 = r1;\n r1 = r12;\n goto L_0x0109;\n L_0x0147:\n r12 = r1;\n r1 = r5;\n r5 = r4;\n r4 = r2;\n r2 = r3;\n r3 = r12;\n goto L_0x0109;\n L_0x014e:\n r4 = r3;\n r3 = r2;\n goto L_0x00c2;\n L_0x0152:\n r2 = r3;\n r3 = r4;\n goto L_0x0099;\n L_0x0156:\n r1 = r2;\n goto L_0x0087;\n L_0x0159:\n r1 = r3;\n r3 = r2;\n r2 = r4;\n r4 = r5;\n goto L_0x00a0;\n L_0x015f:\n r1 = r2;\n goto L_0x00d9;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.bj.a(java.util.Map):com.google.bV\");\n }", "public int p_()\r\n/* 463: */ {\r\n/* 464:477 */ return 64;\r\n/* 465: */ }", "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 }", "private boolean m2248a(java.lang.String r3, com.onesignal.La.C0596a r4) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/318857719.run(Unknown Source)\n*/\n /*\n r2 = this;\n r0 = 0;\n r1 = 1;\n java.lang.Float.parseFloat(r3);\t Catch:{ Throwable -> 0x0007 }\n r3 = 1;\n goto L_0x0008;\n L_0x0007:\n r3 = 0;\n L_0x0008:\n if (r3 != 0) goto L_0x0017;\n L_0x000a:\n r3 = com.onesignal.sa.C0650i.ERROR;\n r1 = \"Missing Google Project number!\\nPlease enter a Google Project number / Sender ID on under App Settings > Android > Configuration on the OneSignal dashboard.\";\n com.onesignal.sa.m1656a(r3, r1);\n r3 = 0;\n r1 = -6;\n r4.mo1392a(r3, r1);\n return r0;\n L_0x0017:\n return r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.onesignal.Pa.a(java.lang.String, com.onesignal.La$a):boolean\");\n }", "protected int b(i var1_1, y.c.q var2_2, y.c.q var3_3, h var4_4, h var5_5, int var6_6, ArrayList var7_7, ArrayList var8_8, h var9_9, h var10_10) {\n block26 : {\n block25 : {\n var24_11 = o.p;\n this.c = var6_6;\n this.d = var2_2;\n this.e = var3_3;\n this.n = var1_1.h();\n this.o = var1_1.f();\n this.h = var1_1;\n this.i = new int[this.n];\n this.j = new int[this.n];\n this.k = new int[this.o];\n this.l = new int[this.o];\n this.m = new int[this.n];\n this.b = new Object[this.o];\n this.t = new int[this.n];\n this.r = new d[this.n];\n this.s = new d[this.n];\n this.f = var4_4;\n this.a = new a[this.n];\n this.q = new ArrayList<E>(var1_1.f());\n this.p = new I(this.o);\n var11_12 = 0;\n block0 : do {\n v0 = var11_12;\n block1 : while (v0 < var7_7.size()) {\n var12_15 = (a)var7_7.get(var11_12);\n v1 /* !! */ = var12_15.b();\n if (var24_11) break block25;\n var13_17 = v1 /* !! */ ;\n while (var13_17.f()) {\n var14_20 = var13_17.a();\n var15_23 = var14_20.b();\n this.a[var14_20.b()] = var12_15;\n this.i[var15_23] = var12_15.a();\n v0 = this.i[var15_23];\n if (var24_11) continue block1;\n if (v0 < 0) {\n throw new B(\"found negative capacity\");\n }\n var13_17.g();\n if (!var24_11) continue;\n }\n ++var11_12;\n if (!var24_11) continue block0;\n }\n break block0;\n break;\n } while (true);\n v1 /* !! */ = var11_13 = this.h.p();\n }\n while (var11_13.f()) {\n var12_15 = var11_13.a();\n this.r[var12_15.b()] = (d)var10_10.b(var12_15);\n this.s[var12_15.b()] = (d)var9_9.b(var12_15);\n var11_13.g();\n if (!var24_11) {\n if (!var24_11) continue;\n }\n break block26;\n }\n this.g = new u[this.o];\n }\n var11_13 = var1_1.o();\n while (var11_13.f()) {\n var12_15 = var11_13.e();\n v2 = this;\n if (!var24_11) {\n v2.g[var12_15.d()] = new u((y.c.q)var12_15, var12_15.d());\n var11_13.g();\n if (!var24_11) continue;\n }\n ** GOTO lbl65\n }\n block5 : do {\n v2 = this;\nlbl65: // 2 sources:\n var11_14 = var13_18 = v2.a();\n var12_16 = 0;\n var14_21 = 0;\n block6 : do {\n v3 = var14_21;\n v4 = var8_8.size();\n block7 : while (v3 < v4) {\n v5 = var8_8.get(var14_21);\n do {\n var15_24 = (ArrayList)v5;\n var16_26 = false;\n var17_27 = 0;\n var18_28 = 0;\n v6 = 0;\n if (!var24_11) {\n for (var19_29 = v1574606; var19_29 < var15_24.size(); ++var19_29) {\n block28 : {\n block27 : {\n var20_30 = (a)var15_24.get(var19_29);\n v3 = this.m[var20_30.b[0].b()];\n v4 = 1;\n if (var24_11) continue block7;\n if (v3 != v4 || this.m[var20_30.b[1].b()] != 1) continue;\n ++var12_16;\n var21_31 = this.s[var20_30.b[0].b()];\n var22_32 = 0;\n while (this.m[var21_31.b()] == 1) {\n var22_32 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n var21_31 = this.s[var21_31.b()];\n if (!var24_11) {\n if (!var24_11) continue;\n }\n break block27;\n }\n var22_32 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n }\n var23_33 = 0;\n var21_31 = this.s[var20_30.b[1].b()];\n while (this.m[var21_31.b()] == 1) {\n var23_33 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n var21_31 = this.s[var21_31.b()];\n if (!var24_11) {\n if (!var24_11) continue;\n }\n break block28;\n }\n var23_33 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n }\n if (var23_33 > 400 || var22_32 > 400) {\n block29 : {\n if (var23_33 < var22_32) {\n this.a(var20_30);\n if (!var24_11) break block29;\n }\n this.b(var20_30);\n }\n var16_26 = true;\n }\n var18_28 += var23_33;\n var17_27 += var22_32;\n if (!var24_11) continue;\n }\n if (!var16_26) {\n for (var19_29 = 0; var19_29 < var15_24.size(); ++var19_29) {\n var20_30 = (a)var15_24.get(var19_29);\n v3 = this.m[var20_30.b[0].b()];\n v4 = 1;\n if (var24_11) continue block7;\n if (v3 != v4 || this.m[var20_30.b[1].b()] != 1) continue;\n if (var18_28 < var17_27) {\n this.a(var20_30);\n if (!var24_11) continue;\n }\n this.b(var20_30);\n if (!var24_11) continue;\n }\n }\n ++var14_21;\n if (!var24_11) continue block6;\n }\n ** GOTO lbl133\n v6 = var12_16;\nlbl133: // 2 sources:\n if (v6 > 0) continue block5;\n v5 = this.h.p();\n } while (var24_11);\n }\n break;\n } while (true);\n break;\n } while (true);\n var13_19 = v5;\n while (var13_19.f()) {\n var14_22 = var13_19.a();\n v7 = var14_22.b();\n if (var24_11 != false) return v7;\n var15_25 = v7;\n var5_5.a((Object)var14_22, this.m[var15_25]);\n var13_19.g();\n if (!var24_11) continue;\n }\n v7 = var11_14;\n return v7;\n }", "public int b()\r\n/* 69: */ {\r\n/* 70:74 */ return this.b;\r\n/* 71: */ }", "private final com.google.android.p306h.p307a.p308a.C5685v m26927b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 8: goto L_0x000e;\n case 18: goto L_0x0043;\n case 24: goto L_0x0054;\n case 32: goto L_0x005f;\n case 42: goto L_0x006a;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x0034 }\n switch(r2) {\n case 0: goto L_0x003c;\n case 1: goto L_0x003c;\n case 2: goto L_0x003c;\n case 3: goto L_0x003c;\n case 4: goto L_0x003c;\n case 5: goto L_0x003c;\n case 101: goto L_0x003c;\n case 102: goto L_0x003c;\n case 103: goto L_0x003c;\n case 104: goto L_0x003c;\n case 105: goto L_0x003c;\n case 106: goto L_0x003c;\n case 107: goto L_0x003c;\n case 108: goto L_0x003c;\n case 201: goto L_0x003c;\n case 202: goto L_0x003c;\n case 203: goto L_0x003c;\n case 204: goto L_0x003c;\n case 205: goto L_0x003c;\n case 206: goto L_0x003c;\n case 207: goto L_0x003c;\n case 208: goto L_0x003c;\n case 209: goto L_0x003c;\n case 301: goto L_0x003c;\n case 302: goto L_0x003c;\n case 303: goto L_0x003c;\n case 304: goto L_0x003c;\n case 305: goto L_0x003c;\n case 306: goto L_0x003c;\n case 307: goto L_0x003c;\n case 401: goto L_0x003c;\n case 402: goto L_0x003c;\n case 403: goto L_0x003c;\n case 404: goto L_0x003c;\n case 501: goto L_0x003c;\n case 502: goto L_0x003c;\n case 503: goto L_0x003c;\n case 504: goto L_0x003c;\n case 601: goto L_0x003c;\n case 602: goto L_0x003c;\n case 603: goto L_0x003c;\n case 604: goto L_0x003c;\n case 605: goto L_0x003c;\n case 606: goto L_0x003c;\n case 607: goto L_0x003c;\n case 608: goto L_0x003c;\n case 609: goto L_0x003c;\n case 610: goto L_0x003c;\n case 611: goto L_0x003c;\n case 612: goto L_0x003c;\n case 613: goto L_0x003c;\n case 614: goto L_0x003c;\n case 615: goto L_0x003c;\n case 616: goto L_0x003c;\n case 617: goto L_0x003c;\n case 618: goto L_0x003c;\n case 619: goto L_0x003c;\n case 620: goto L_0x003c;\n case 621: goto L_0x003c;\n case 622: goto L_0x003c;\n case 623: goto L_0x003c;\n case 624: goto L_0x003c;\n case 625: goto L_0x003c;\n case 626: goto L_0x003c;\n case 627: goto L_0x003c;\n case 628: goto L_0x003c;\n case 629: goto L_0x003c;\n case 630: goto L_0x003c;\n case 631: goto L_0x003c;\n case 632: goto L_0x003c;\n case 633: goto L_0x003c;\n case 634: goto L_0x003c;\n case 635: goto L_0x003c;\n case 636: goto L_0x003c;\n case 637: goto L_0x003c;\n case 638: goto L_0x003c;\n case 639: goto L_0x003c;\n case 640: goto L_0x003c;\n case 641: goto L_0x003c;\n case 701: goto L_0x003c;\n case 702: goto L_0x003c;\n case 703: goto L_0x003c;\n case 704: goto L_0x003c;\n case 705: goto L_0x003c;\n case 706: goto L_0x003c;\n case 707: goto L_0x003c;\n case 708: goto L_0x003c;\n case 709: goto L_0x003c;\n case 710: goto L_0x003c;\n case 711: goto L_0x003c;\n case 712: goto L_0x003c;\n case 713: goto L_0x003c;\n case 714: goto L_0x003c;\n case 715: goto L_0x003c;\n case 716: goto L_0x003c;\n case 717: goto L_0x003c;\n case 718: goto L_0x003c;\n case 719: goto L_0x003c;\n case 720: goto L_0x003c;\n case 721: goto L_0x003c;\n case 722: goto L_0x003c;\n case 801: goto L_0x003c;\n case 802: goto L_0x003c;\n case 803: goto L_0x003c;\n case 901: goto L_0x003c;\n case 902: goto L_0x003c;\n case 903: goto L_0x003c;\n case 904: goto L_0x003c;\n case 905: goto L_0x003c;\n case 906: goto L_0x003c;\n case 907: goto L_0x003c;\n case 908: goto L_0x003c;\n case 909: goto L_0x003c;\n case 910: goto L_0x003c;\n case 911: goto L_0x003c;\n case 912: goto L_0x003c;\n case 1001: goto L_0x003c;\n case 1002: goto L_0x003c;\n case 1003: goto L_0x003c;\n case 1004: goto L_0x003c;\n case 1005: goto L_0x003c;\n case 1006: goto L_0x003c;\n case 1101: goto L_0x003c;\n case 1102: goto L_0x003c;\n case 1201: goto L_0x003c;\n case 1301: goto L_0x003c;\n case 1302: goto L_0x003c;\n case 1303: goto L_0x003c;\n case 1304: goto L_0x003c;\n case 1305: goto L_0x003c;\n case 1306: goto L_0x003c;\n case 1307: goto L_0x003c;\n case 1308: goto L_0x003c;\n case 1309: goto L_0x003c;\n case 1310: goto L_0x003c;\n case 1311: goto L_0x003c;\n case 1312: goto L_0x003c;\n case 1313: goto L_0x003c;\n case 1314: goto L_0x003c;\n case 1315: goto L_0x003c;\n case 1316: goto L_0x003c;\n case 1317: goto L_0x003c;\n case 1318: goto L_0x003c;\n case 1319: goto L_0x003c;\n case 1320: goto L_0x003c;\n case 1321: goto L_0x003c;\n case 1322: goto L_0x003c;\n case 1323: goto L_0x003c;\n case 1324: goto L_0x003c;\n case 1325: goto L_0x003c;\n case 1326: goto L_0x003c;\n case 1327: goto L_0x003c;\n case 1328: goto L_0x003c;\n case 1329: goto L_0x003c;\n case 1330: goto L_0x003c;\n case 1331: goto L_0x003c;\n case 1332: goto L_0x003c;\n case 1333: goto L_0x003c;\n case 1334: goto L_0x003c;\n case 1335: goto L_0x003c;\n case 1336: goto L_0x003c;\n case 1337: goto L_0x003c;\n case 1338: goto L_0x003c;\n case 1339: goto L_0x003c;\n case 1340: goto L_0x003c;\n case 1341: goto L_0x003c;\n case 1342: goto L_0x003c;\n case 1343: goto L_0x003c;\n case 1344: goto L_0x003c;\n case 1345: goto L_0x003c;\n case 1346: goto L_0x003c;\n case 1347: goto L_0x003c;\n case 1401: goto L_0x003c;\n case 1402: goto L_0x003c;\n case 1403: goto L_0x003c;\n case 1404: goto L_0x003c;\n case 1405: goto L_0x003c;\n case 1406: goto L_0x003c;\n case 1407: goto L_0x003c;\n case 1408: goto L_0x003c;\n case 1409: goto L_0x003c;\n case 1410: goto L_0x003c;\n case 1411: goto L_0x003c;\n case 1412: goto L_0x003c;\n case 1413: goto L_0x003c;\n case 1414: goto L_0x003c;\n case 1415: goto L_0x003c;\n case 1416: goto L_0x003c;\n case 1417: goto L_0x003c;\n case 1418: goto L_0x003c;\n case 1419: goto L_0x003c;\n case 1420: goto L_0x003c;\n case 1421: goto L_0x003c;\n case 1422: goto L_0x003c;\n case 1423: goto L_0x003c;\n case 1424: goto L_0x003c;\n case 1425: goto L_0x003c;\n case 1426: goto L_0x003c;\n case 1427: goto L_0x003c;\n case 1601: goto L_0x003c;\n case 1602: goto L_0x003c;\n case 1603: goto L_0x003c;\n case 1604: goto L_0x003c;\n case 1605: goto L_0x003c;\n case 1606: goto L_0x003c;\n case 1607: goto L_0x003c;\n case 1608: goto L_0x003c;\n case 1609: goto L_0x003c;\n case 1610: goto L_0x003c;\n case 1611: goto L_0x003c;\n case 1612: goto L_0x003c;\n case 1613: goto L_0x003c;\n case 1614: goto L_0x003c;\n case 1615: goto L_0x003c;\n case 1616: goto L_0x003c;\n case 1617: goto L_0x003c;\n case 1618: goto L_0x003c;\n case 1619: goto L_0x003c;\n case 1620: goto L_0x003c;\n case 1621: goto L_0x003c;\n case 1622: goto L_0x003c;\n case 1623: goto L_0x003c;\n case 1624: goto L_0x003c;\n case 1625: goto L_0x003c;\n case 1626: goto L_0x003c;\n case 1627: goto L_0x003c;\n case 1628: goto L_0x003c;\n case 1629: goto L_0x003c;\n case 1630: goto L_0x003c;\n case 1631: goto L_0x003c;\n case 1632: goto L_0x003c;\n case 1633: goto L_0x003c;\n case 1634: goto L_0x003c;\n case 1635: goto L_0x003c;\n case 1636: goto L_0x003c;\n case 1637: goto L_0x003c;\n case 1638: goto L_0x003c;\n case 1639: goto L_0x003c;\n case 1640: goto L_0x003c;\n case 1641: goto L_0x003c;\n case 1642: goto L_0x003c;\n case 1643: goto L_0x003c;\n case 1644: goto L_0x003c;\n case 1645: goto L_0x003c;\n case 1646: goto L_0x003c;\n case 1647: goto L_0x003c;\n case 1648: goto L_0x003c;\n case 1649: goto L_0x003c;\n case 1650: goto L_0x003c;\n case 1651: goto L_0x003c;\n case 1652: goto L_0x003c;\n case 1653: goto L_0x003c;\n case 1654: goto L_0x003c;\n case 1655: goto L_0x003c;\n case 1656: goto L_0x003c;\n case 1657: goto L_0x003c;\n case 1658: goto L_0x003c;\n case 1659: goto L_0x003c;\n case 1660: goto L_0x003c;\n case 1801: goto L_0x003c;\n case 1802: goto L_0x003c;\n case 1803: goto L_0x003c;\n case 1804: goto L_0x003c;\n case 1805: goto L_0x003c;\n case 1806: goto L_0x003c;\n case 1807: goto L_0x003c;\n case 1808: goto L_0x003c;\n case 1809: goto L_0x003c;\n case 1810: goto L_0x003c;\n case 1811: goto L_0x003c;\n case 1812: goto L_0x003c;\n case 1813: goto L_0x003c;\n case 1814: goto L_0x003c;\n case 1815: goto L_0x003c;\n case 1816: goto L_0x003c;\n case 1817: goto L_0x003c;\n case 1901: goto L_0x003c;\n case 1902: goto L_0x003c;\n case 1903: goto L_0x003c;\n case 1904: goto L_0x003c;\n case 1905: goto L_0x003c;\n case 1906: goto L_0x003c;\n case 1907: goto L_0x003c;\n case 1908: goto L_0x003c;\n case 1909: goto L_0x003c;\n case 2001: goto L_0x003c;\n case 2101: goto L_0x003c;\n case 2102: goto L_0x003c;\n case 2103: goto L_0x003c;\n case 2104: goto L_0x003c;\n case 2105: goto L_0x003c;\n case 2106: goto L_0x003c;\n case 2107: goto L_0x003c;\n case 2108: goto L_0x003c;\n case 2109: goto L_0x003c;\n case 2110: goto L_0x003c;\n case 2111: goto L_0x003c;\n case 2112: goto L_0x003c;\n case 2113: goto L_0x003c;\n case 2114: goto L_0x003c;\n case 2115: goto L_0x003c;\n case 2116: goto L_0x003c;\n case 2117: goto L_0x003c;\n case 2118: goto L_0x003c;\n case 2119: goto L_0x003c;\n case 2120: goto L_0x003c;\n case 2121: goto L_0x003c;\n case 2122: goto L_0x003c;\n case 2123: goto L_0x003c;\n case 2124: goto L_0x003c;\n case 2201: goto L_0x003c;\n case 2202: goto L_0x003c;\n case 2203: goto L_0x003c;\n case 2204: goto L_0x003c;\n case 2205: goto L_0x003c;\n case 2206: goto L_0x003c;\n case 2207: goto L_0x003c;\n case 2208: goto L_0x003c;\n case 2209: goto L_0x003c;\n case 2210: goto L_0x003c;\n case 2211: goto L_0x003c;\n case 2212: goto L_0x003c;\n case 2213: goto L_0x003c;\n case 2214: goto L_0x003c;\n case 2215: goto L_0x003c;\n case 2301: goto L_0x003c;\n case 2302: goto L_0x003c;\n case 2303: goto L_0x003c;\n case 2304: goto L_0x003c;\n case 2401: goto L_0x003c;\n case 2402: goto L_0x003c;\n case 2501: goto L_0x003c;\n case 2502: goto L_0x003c;\n case 2503: goto L_0x003c;\n case 2504: goto L_0x003c;\n case 2505: goto L_0x003c;\n case 2506: goto L_0x003c;\n case 2507: goto L_0x003c;\n case 2508: goto L_0x003c;\n case 2509: goto L_0x003c;\n case 2510: goto L_0x003c;\n case 2511: goto L_0x003c;\n case 2512: goto L_0x003c;\n case 2513: goto L_0x003c;\n case 2514: goto L_0x003c;\n case 2515: goto L_0x003c;\n case 2516: goto L_0x003c;\n case 2517: goto L_0x003c;\n case 2518: goto L_0x003c;\n case 2519: goto L_0x003c;\n case 2601: goto L_0x003c;\n case 2602: goto L_0x003c;\n case 2701: goto L_0x003c;\n case 2702: goto L_0x003c;\n case 2703: goto L_0x003c;\n case 2704: goto L_0x003c;\n case 2705: goto L_0x003c;\n case 2706: goto L_0x003c;\n case 2707: goto L_0x003c;\n case 2801: goto L_0x003c;\n case 2802: goto L_0x003c;\n case 2803: goto L_0x003c;\n case 2804: goto L_0x003c;\n case 2805: goto L_0x003c;\n case 2806: goto L_0x003c;\n case 2807: goto L_0x003c;\n case 2808: goto L_0x003c;\n case 2809: goto L_0x003c;\n case 2810: goto L_0x003c;\n case 2811: goto L_0x003c;\n case 2812: goto L_0x003c;\n case 2813: goto L_0x003c;\n case 2814: goto L_0x003c;\n case 2815: goto L_0x003c;\n case 2816: goto L_0x003c;\n case 2817: goto L_0x003c;\n case 2818: goto L_0x003c;\n case 2819: goto L_0x003c;\n case 2820: goto L_0x003c;\n case 2821: goto L_0x003c;\n case 2822: goto L_0x003c;\n case 2823: goto L_0x003c;\n case 2824: goto L_0x003c;\n case 2825: goto L_0x003c;\n case 2826: goto L_0x003c;\n case 2901: goto L_0x003c;\n case 2902: goto L_0x003c;\n case 2903: goto L_0x003c;\n case 2904: goto L_0x003c;\n case 2905: goto L_0x003c;\n case 2906: goto L_0x003c;\n case 2907: goto L_0x003c;\n case 3001: goto L_0x003c;\n case 3002: goto L_0x003c;\n case 3003: goto L_0x003c;\n case 3004: goto L_0x003c;\n case 3005: goto L_0x003c;\n default: goto L_0x0019;\n };\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0019:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = 41;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = \" is not a valid enum EventType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0034 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0034:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x003c:\n r2 = java.lang.Integer.valueOf(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r6.f28837a = r2;\t Catch:{ IllegalArgumentException -> 0x0034 }\n goto L_0x0000;\n L_0x0043:\n r0 = r6.f28838b;\n if (r0 != 0) goto L_0x004e;\n L_0x0047:\n r0 = new com.google.android.h.a.a.u;\n r0.<init>();\n r6.f28838b = r0;\n L_0x004e:\n r0 = r6.f28838b;\n r7.a(r0);\n goto L_0x0000;\n L_0x0054:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28839c = r0;\n goto L_0x0000;\n L_0x005f:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28840d = r0;\n goto L_0x0000;\n L_0x006a:\n r0 = r6.f28841e;\n if (r0 != 0) goto L_0x0075;\n L_0x006e:\n r0 = new com.google.android.h.a.a.o;\n r0.<init>();\n r6.f28841e = r0;\n L_0x0075:\n r0 = r6.f28841e;\n r7.a(r0);\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.h.a.a.v.b(com.google.protobuf.nano.a):com.google.android.h.a.a.v\");\n }", "protected void method_2246(class_1045 param1) {\r\n // $FF: Couldn't be decompiled\r\n }", "public boolean mo3969a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r4 = this;\n r0 = r4.f19005h;\n if (r0 != 0) goto L_0x0011;\n L_0x0004:\n r0 = r4.f19004g;\n if (r0 == 0) goto L_0x000f;\n L_0x0008:\n r0 = r4.f19004g;\n r1 = com.facebook.ads.C1700b.f5123e;\n r0.mo1313a(r4, r1);\n L_0x000f:\n r0 = 0;\n return r0;\n L_0x0011:\n r0 = new android.content.Intent;\n r1 = r4.f19002e;\n r2 = com.facebook.ads.AudienceNetworkActivity.class;\n r0.<init>(r1, r2);\n r1 = \"predefinedOrientationKey\";\n r2 = r4.m25306b();\n r0.putExtra(r1, r2);\n r1 = \"uniqueId\";\n r2 = r4.f18999b;\n r0.putExtra(r1, r2);\n r1 = \"placementId\";\n r2 = r4.f19000c;\n r0.putExtra(r1, r2);\n r1 = \"requestTime\";\n r2 = r4.f19001d;\n r0.putExtra(r1, r2);\n r1 = \"viewType\";\n r2 = r4.f19009l;\n r0.putExtra(r1, r2);\n r1 = \"useCache\";\n r2 = r4.f19010m;\n r0.putExtra(r1, r2);\n r1 = r4.f19008k;\n if (r1 == 0) goto L_0x0052;\n L_0x004a:\n r1 = \"ad_data_bundle\";\n r2 = r4.f19008k;\n r0.putExtra(r1, r2);\n goto L_0x005b;\n L_0x0052:\n r1 = r4.f19006i;\n if (r1 == 0) goto L_0x005b;\n L_0x0056:\n r1 = r4.f19006i;\n r1.m18953a(r0);\n L_0x005b:\n r1 = 268435456; // 0x10000000 float:2.5243549E-29 double:1.32624737E-315;\n r0.addFlags(r1);\n r1 = r4.f19002e;\t Catch:{ ActivityNotFoundException -> 0x0066 }\n r1.startActivity(r0);\t Catch:{ ActivityNotFoundException -> 0x0066 }\n goto L_0x0072;\n L_0x0066:\n r1 = r4.f19002e;\n r2 = com.facebook.ads.InterstitialAdActivity.class;\n r0.setClass(r1, r2);\n r1 = r4.f19002e;\n r1.startActivity(r0);\n L_0x0072:\n r0 = 1;\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.adapters.k.a():boolean\");\n }", "public org.a9 a() {\n /*\n r4 = this;\n r1 = 0;\n r0 = r4.c;\n if (r0 != 0) goto L_0x0040;\n L_0x0005:\n monitor-enter(r4);\n r0 = r4.c;\t Catch:{ all -> 0x0043 }\n if (r0 != 0) goto L_0x003f;\n L_0x000a:\n r2 = r4.e;\t Catch:{ IllegalArgumentException -> 0x0041 }\n if (r2 != 0) goto L_0x003f;\n L_0x000e:\n r0 = r4.b;\t Catch:{ all -> 0x0043 }\n r2 = z;\t Catch:{ all -> 0x0043 }\n r3 = 8;\n r2 = r2[r3];\t Catch:{ all -> 0x0043 }\n r3 = 0;\n r0 = r0.getSharedPreferences(r2, r3);\t Catch:{ all -> 0x0043 }\n r2 = z;\t Catch:{ all -> 0x0043 }\n r3 = 6;\n r2 = r2[r3];\t Catch:{ all -> 0x0043 }\n r3 = \"\";\n r0 = r0.getString(r2, r3);\t Catch:{ all -> 0x0043 }\n r2 = android.text.TextUtils.isEmpty(r0);\t Catch:{ IllegalArgumentException -> 0x0046 }\n if (r2 == 0) goto L_0x0053;\n L_0x002d:\n r2 = r1;\n L_0x002e:\n if (r2 == 0) goto L_0x0039;\n L_0x0030:\n r0 = new org.a9;\t Catch:{ IllegalArgumentException -> 0x0048 }\n r0.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0048 }\n r2 = com.whatsapp.DialogToastActivity.f;\t Catch:{ IllegalArgumentException -> 0x0048 }\n if (r2 == 0) goto L_0x003a;\n L_0x0039:\n r0 = r1;\n L_0x003a:\n r4.c = r0;\t Catch:{ all -> 0x0043 }\n r1 = 1;\n r4.e = r1;\t Catch:{ all -> 0x0043 }\n L_0x003f:\n monitor-exit(r4);\t Catch:{ all -> 0x0043 }\n L_0x0040:\n return r0;\n L_0x0041:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0043 }\n L_0x0043:\n r0 = move-exception;\n monitor-exit(r4);\t Catch:{ all -> 0x0043 }\n throw r0;\n L_0x0046:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x0048 }\n L_0x0048:\n r0 = move-exception;\n r2 = z;\t Catch:{ all -> 0x0043 }\n r3 = 7;\n r2 = r2[r3];\t Catch:{ all -> 0x0043 }\n com.whatsapp.util.Log.c(r2, r0);\t Catch:{ all -> 0x0043 }\n r0 = r1;\n goto L_0x003a;\n L_0x0053:\n r2 = 3;\n r0 = android.backport.util.Base64.decode(r0, r2);\t Catch:{ IllegalArgumentException -> 0x0048 }\n r2 = r0;\n goto L_0x002e;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.whatsapp.l9.a():org.a9\");\n }", "public static boolean a(android.content.Context r4, byte[] r5) {\n /*\n r1 = d;\n r0 = 0;\n L_0x0003:\n r2 = c();\t Catch:{ Exception -> 0x003a }\n if (r2 != 0) goto L_0x0010;\n L_0x0009:\n r2 = e;\t Catch:{ Exception -> 0x003a }\n r2.block();\t Catch:{ Exception -> 0x003a }\n if (r1 == 0) goto L_0x0003;\n L_0x0010:\n r1 = z;\t Catch:{ Exception -> 0x003a }\n r2 = 22;\n r1 = r1[r2];\t Catch:{ Exception -> 0x003a }\n com.whatsapp.util.Log.i(r1);\t Catch:{ Exception -> 0x003a }\n r1 = com.whatsapp.contact.o.NOTIFICATION_DELTA;\t Catch:{ Exception -> 0x003a }\n r0 = a(r4, r1, r5);\t Catch:{ Exception -> 0x003a }\n r1 = b();\t Catch:{ Exception -> 0x0038 }\n if (r1 != 0) goto L_0x002e;\n L_0x0025:\n r1 = z;\t Catch:{ Exception -> 0x0038 }\n r2 = 16;\n r1 = r1[r2];\t Catch:{ Exception -> 0x0038 }\n com.whatsapp.util.Log.e(r1);\t Catch:{ Exception -> 0x0038 }\n L_0x002e:\n r1 = z;\n r2 = 18;\n r1 = r1[r2];\n com.whatsapp.util.Log.i(r1);\n L_0x0037:\n return r0;\n L_0x0038:\n r0 = move-exception;\n throw r0;\n L_0x003a:\n r1 = move-exception;\n r2 = z;\t Catch:{ all -> 0x005d }\n r3 = 20;\n r2 = r2[r3];\t Catch:{ all -> 0x005d }\n com.whatsapp.util.Log.b(r2, r1);\t Catch:{ all -> 0x005d }\n r1 = b();\n if (r1 != 0) goto L_0x0053;\n L_0x004a:\n r1 = z;\n r2 = 19;\n r1 = r1[r2];\n com.whatsapp.util.Log.e(r1);\n L_0x0053:\n r1 = z;\n r2 = 23;\n r1 = r1[r2];\n com.whatsapp.util.Log.i(r1);\n goto L_0x0037;\n L_0x005d:\n r0 = move-exception;\n r1 = b();\t Catch:{ Exception -> 0x0077 }\n if (r1 != 0) goto L_0x006d;\n L_0x0064:\n r1 = z;\t Catch:{ Exception -> 0x0077 }\n r2 = 21;\n r1 = r1[r2];\t Catch:{ Exception -> 0x0077 }\n com.whatsapp.util.Log.e(r1);\t Catch:{ Exception -> 0x0077 }\n L_0x006d:\n r1 = z;\n r2 = 17;\n r1 = r1[r2];\n com.whatsapp.util.Log.i(r1);\n throw r0;\n L_0x0077:\n r0 = move-exception;\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.whatsapp.contact.i.a(android.content.Context, byte[]):boolean\");\n }", "void mo80457c();", "static void method_461() {\r\n // $FF: Couldn't be decompiled\r\n }", "public final void mo51373a() {\n }", "private static void removeBreakPoint() {\n for (int i=1;i<=dvm.getSourceCodeLength();i++) {\n dvm.setBreakPoint(i-1, false);\n }\n }", "private final com.google.wireless.android.finsky.dfe.p515h.p516a.ae m35733b(com.google.protobuf.nano.C7213a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.m33550a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 18: goto L_0x001f;\n case 26: goto L_0x002c;\n case 34: goto L_0x0039;\n case 42: goto L_0x004a;\n case 50: goto L_0x0057;\n case 56: goto L_0x0064;\n case 64: goto L_0x00a3;\n case 72: goto L_0x00b1;\n case 82: goto L_0x00bf;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r6.f38026c;\n if (r0 != 0) goto L_0x0019;\n L_0x0012:\n r0 = new com.google.android.finsky.cv.a.bd;\n r0.<init>();\n r6.f38026c = r0;\n L_0x0019:\n r0 = r6.f38026c;\n r7.m33552a(r0);\n goto L_0x0000;\n L_0x001f:\n r0 = r7.m33564f();\n r6.f38027d = r0;\n r0 = r6.f38025b;\n r0 = r0 | 1;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x002c:\n r0 = r7.m33564f();\n r6.f38028e = r0;\n r0 = r6.f38025b;\n r0 = r0 | 2;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x0039:\n r0 = r6.f38029f;\n if (r0 != 0) goto L_0x0044;\n L_0x003d:\n r0 = new com.google.android.finsky.cv.a.ax;\n r0.<init>();\n r6.f38029f = r0;\n L_0x0044:\n r0 = r6.f38029f;\n r7.m33552a(r0);\n goto L_0x0000;\n L_0x004a:\n r0 = r7.m33564f();\n r6.f38030g = r0;\n r0 = r6.f38025b;\n r0 = r0 | 4;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x0057:\n r0 = r7.m33564f();\n r6.f38031h = r0;\n r0 = r6.f38025b;\n r0 = r0 | 8;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x0064:\n r1 = r6.f38025b;\n r1 = r1 | 16;\n r6.f38025b = r1;\n r1 = r7.m33573o();\n r2 = r7.m33567i();\t Catch:{ IllegalArgumentException -> 0x0090 }\n switch(r2) {\n case 0: goto L_0x0099;\n case 1: goto L_0x0099;\n case 2: goto L_0x0099;\n case 3: goto L_0x0099;\n case 4: goto L_0x0099;\n default: goto L_0x0075;\n };\t Catch:{ IllegalArgumentException -> 0x0090 }\n L_0x0075:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r4 = 36;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0090 }\n r4 = \" is not a valid enum Type\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0090 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0090 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0090 }\n L_0x0090:\n r2 = move-exception;\n r7.m33562e(r1);\n r6.a(r7, r0);\n goto L_0x0000;\n L_0x0099:\n r6.f38032i = r2;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r6.f38025b;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r2 | 16;\n r6.f38025b = r2;\t Catch:{ IllegalArgumentException -> 0x0090 }\n goto L_0x0000;\n L_0x00a3:\n r0 = r7.m33563e();\n r6.f38033j = r0;\n r0 = r6.f38025b;\n r0 = r0 | 32;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x00b1:\n r0 = r7.m33563e();\n r6.f38034k = r0;\n r0 = r6.f38025b;\n r0 = r0 | 64;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x00bf:\n r0 = r6.f38035l;\n if (r0 != 0) goto L_0x00ca;\n L_0x00c3:\n r0 = new com.google.android.finsky.cv.a.cv;\n r0.<init>();\n r6.f38035l = r0;\n L_0x00ca:\n r0 = r6.f38035l;\n r7.m33552a(r0);\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.wireless.android.finsky.dfe.h.a.ae.b(com.google.protobuf.nano.a):com.google.wireless.android.finsky.dfe.h.a.ae\");\n }", "public com.google.cX a(com.google.cM r5) {\n /*\n r4 = this;\n r0 = 0;\n r1 = com.google.bA.b;\n r2 = com.google.cM.k();\n if (r5 != r2) goto L_0x000a;\n L_0x0009:\n return r4;\n L_0x000a:\n r2 = r4.h;\n if (r2 != 0) goto L_0x003f;\n L_0x000e:\n r2 = com.google.cM.a(r5);\n r2 = r2.isEmpty();\n if (r2 != 0) goto L_0x0079;\n L_0x0018:\n r2 = r4.g;\n r2 = r2.isEmpty();\n if (r2 == 0) goto L_0x002e;\n L_0x0020:\n r2 = com.google.cM.a(r5);\n r4.g = r2;\n r2 = r4.f;\n r2 = r2 & -2;\n r4.f = r2;\n if (r1 == 0) goto L_0x003a;\n L_0x002e:\n r4.j();\n r2 = r4.g;\n r3 = com.google.cM.a(r5);\n r2.addAll(r3);\n L_0x003a:\n r4.g();\n if (r1 == 0) goto L_0x0079;\n L_0x003f:\n r2 = com.google.cM.a(r5);\n r2 = r2.isEmpty();\n if (r2 != 0) goto L_0x0079;\n L_0x0049:\n r2 = r4.h;\n r2 = r2.i();\n if (r2 == 0) goto L_0x0070;\n L_0x0051:\n r2 = r4.h;\n r2.b();\n r4.h = r0;\n r2 = com.google.cM.a(r5);\n r4.g = r2;\n r2 = r4.f;\n r2 = r2 & -2;\n r4.f = r2;\n r2 = com.google.bL.d;\n if (r2 == 0) goto L_0x006c;\n L_0x0068:\n r0 = r4.b();\n L_0x006c:\n r4.h = r0;\n if (r1 == 0) goto L_0x0079;\n L_0x0070:\n r0 = r4.h;\n r1 = com.google.cM.a(r5);\n r0.a(r1);\n L_0x0079:\n r4.a(r5);\n r0 = r5.getUnknownFields();\n r4.a(r0);\n goto L_0x0009;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.cX.a(com.google.cM):com.google.cX\");\n }", "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 }", "static /* synthetic */ void m200-wrap4(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.-wrap4(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.-wrap4(com.mediatek.internal.telephony.worldphone.WorldPhoneOp01):void\");\n }" ]
[ "0.64882326", "0.6488166", "0.6487444", "0.64081126", "0.6405632", "0.63993806", "0.638596", "0.6360098", "0.63354456", "0.632815", "0.632815", "0.6289964", "0.6274478", "0.62720394", "0.62550086", "0.62457234", "0.6237503", "0.6236446", "0.6194814", "0.61863", "0.61854386", "0.61822957", "0.6170527", "0.6163299", "0.614789", "0.61396754", "0.61313653", "0.610755", "0.6107205", "0.6105595", "0.60851413", "0.606751", "0.6049307", "0.6043152", "0.60430694", "0.6040952", "0.60330117", "0.6029913", "0.6026909", "0.60243523", "0.6021271", "0.60157794", "0.60083514", "0.59901124", "0.59775776", "0.59755754", "0.59685117", "0.5944828", "0.5933175", "0.5922329", "0.5910355", "0.59056985", "0.5902673", "0.5900235", "0.5897805", "0.5894883", "0.5889048", "0.58888304", "0.587676", "0.5876278", "0.58755535", "0.5873786", "0.587207", "0.5867853", "0.5864628", "0.5847749", "0.5844972", "0.5843641", "0.5829684", "0.58221394", "0.58169526", "0.5815376", "0.5812233", "0.5810586", "0.58101296", "0.58059543", "0.5804221", "0.5798493", "0.57974094", "0.5791911", "0.57894117", "0.5779605", "0.5779501", "0.5759391", "0.5759331", "0.5744981", "0.5744028", "0.57387275", "0.57327425", "0.57245475", "0.5709082", "0.5703123", "0.5698602", "0.56942266", "0.56849533", "0.5676212", "0.56516963", "0.5646846", "0.5644485", "0.5638287", "0.56329876" ]
0.0
-1
/ renamed from: a
public final boolean mo3772a(ViewGroup viewGroup, int i) { if (viewGroup.getChildAt(i) == this.f1297g) { return false; } return super.mo3772a(viewGroup, i); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: b
public final boolean mo3712b() { int i; ArrayList<MenuItemImpl> arrayList; int i2; int i3; int i4; boolean z; ActionMenuPresenter actionMenuPresenter = this; int i5 = 0; if (actionMenuPresenter.f1155c != null) { arrayList = actionMenuPresenter.f1155c.mo3615l(); i = arrayList.size(); } else { arrayList = null; i = 0; } int i6 = actionMenuPresenter.f1309s; int i7 = actionMenuPresenter.f1308r; int makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(0, 0); ViewGroup viewGroup = (ViewGroup) actionMenuPresenter.f1158f; int i8 = i6; int i9 = 0; boolean z2 = false; int i10 = 0; for (int i11 = 0; i11 < i; i11++) { MenuItemImpl menuItemImpl = arrayList.get(i11); if (menuItemImpl.mo3658h()) { i9++; } else if (menuItemImpl.mo3645g()) { i10++; } else { z2 = true; } if (actionMenuPresenter.f1313w && menuItemImpl.isActionViewExpanded()) { i8 = 0; } } if (actionMenuPresenter.f1305o && (z2 || i10 + i9 > i8)) { i8--; } int i12 = i8 - i9; SparseBooleanArray sparseBooleanArray = actionMenuPresenter.f1315y; sparseBooleanArray.clear(); if (actionMenuPresenter.f1311u) { i3 = i7 / actionMenuPresenter.f1314x; i2 = ((i7 % actionMenuPresenter.f1314x) / i3) + actionMenuPresenter.f1314x; } else { i3 = 0; i2 = 0; } int i13 = i7; int i14 = 0; int i15 = 0; while (i14 < i) { MenuItemImpl menuItemImpl2 = arrayList.get(i14); if (menuItemImpl2.mo3658h()) { View a = actionMenuPresenter.mo3768a(menuItemImpl2, actionMenuPresenter.f1316z, viewGroup); if (actionMenuPresenter.f1316z == null) { actionMenuPresenter.f1316z = a; } if (actionMenuPresenter.f1311u) { i3 -= ActionMenuView.m877a(a, i2, i3, makeMeasureSpec, i5); } else { a.measure(makeMeasureSpec, makeMeasureSpec); } int measuredWidth = a.getMeasuredWidth(); i13 -= measuredWidth; if (i15 != 0) { measuredWidth = i15; } int groupId = menuItemImpl2.getGroupId(); if (groupId != 0) { z = true; sparseBooleanArray.put(groupId, true); } else { z = true; } menuItemImpl2.mo3640d(z); i4 = i; i15 = measuredWidth; } else if (menuItemImpl2.mo3645g()) { int groupId2 = menuItemImpl2.getGroupId(); boolean z3 = sparseBooleanArray.get(groupId2); boolean z4 = (i12 > 0 || z3) && i13 > 0 && (!actionMenuPresenter.f1311u || i3 > 0); if (z4) { boolean z5 = z4; View a2 = actionMenuPresenter.mo3768a(menuItemImpl2, actionMenuPresenter.f1316z, viewGroup); i4 = i; if (actionMenuPresenter.f1316z == null) { actionMenuPresenter.f1316z = a2; } if (actionMenuPresenter.f1311u) { int a3 = ActionMenuView.m877a(a2, i2, i3, makeMeasureSpec, 0); i3 -= a3; if (a3 == 0) { z5 = false; } } else { a2.measure(makeMeasureSpec, makeMeasureSpec); } int measuredWidth2 = a2.getMeasuredWidth(); i13 -= measuredWidth2; if (i15 == 0) { i15 = measuredWidth2; } z4 = z5 & (!actionMenuPresenter.f1311u ? i13 + i15 > 0 : i13 >= 0); } else { boolean z6 = z4; i4 = i; } if (z4 && groupId2 != 0) { sparseBooleanArray.put(groupId2, true); } else if (z3) { sparseBooleanArray.put(groupId2, false); int i16 = 0; while (i16 < i14) { MenuItemImpl menuItemImpl3 = arrayList.get(i16); if (menuItemImpl3.getGroupId() == groupId2) { if (menuItemImpl3.mo3644f()) { i12++; } menuItemImpl3.mo3640d(false); } i16++; } } if (z4) { i12--; } menuItemImpl2.mo3640d(z4); } else { i4 = i; menuItemImpl2.mo3640d(false); i14++; i = i4; actionMenuPresenter = this; i5 = 0; } i14++; i = i4; actionMenuPresenter = this; i5 = 0; } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "@Override\n\tpublic void b() {\n\n\t}", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public bb b() {\n return a(this.a);\n }", "@Override\n\tpublic void b1() {\n\t\t\n\t}", "public void b() {\r\n }", "@Override\n\tpublic void bbb() {\n\t\t\n\t}", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public abstract void b(StringBuilder sb);", "public void b() {\n }", "public void b() {\n }", "protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }", "public u(b paramb)\r\n/* 7: */ {\r\n/* 8: 9 */ this.a = paramb;\r\n/* 9: */ }", "public interface b {\n void H_();\n\n void I_();\n\n void J_();\n\n void a(C0063d dVar);\n\n void a(byte[] bArr);\n\n void b(boolean z);\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public void b() {\n ((a) this.a).b();\n }", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "b(a aVar) {\n super(0);\n this.this$0 = aVar;\n }", "public t b() {\n return a(this.a);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "public static String a(int c) {\n/* 89 */ return b.a(c);\n/* */ }", "private void m678b(byte b) {\n byte[] bArr = this.f523r;\n bArr[0] = b;\n this.f552g.mo502b(bArr);\n }", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "public abstract T zzm(B b);", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public void b(World paramaqu, BlockPosition paramdt, Block parambec)\r\n/* 27: */ {\r\n/* 28: 47 */ bcm localbcm = paramaqu.s(paramdt);\r\n/* 29: 48 */ if ((localbcm instanceof bdv)) {\r\n/* 30: 49 */ ((bdv)localbcm).h();\r\n/* 31: */ } else {\r\n/* 32: 51 */ super.b(paramaqu, paramdt, parambec);\r\n/* 33: */ }\r\n/* 34: */ }", "public abstract void zzc(B b, int i, int i2);", "public interface b {\n}", "public interface b {\n}", "private void m10263b(byte b) throws cf {\r\n this.f6483r[0] = b;\r\n this.g.m10347b(this.f6483r);\r\n }", "BSubstitution createBSubstitution();", "public void b(ahd paramahd) {}", "void b();", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "B database(S database);", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public abstract C0631bt mo9227aB();", "public an b() {\n return a(this.a);\n }", "protected abstract void a(bru parambru);", "static void go(Base b) {\n\t\tb.add(8);\n\t}", "void mo46242a(bmc bmc);", "public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }", "public interface bca extends bbn {\n bca a();\n\n bca a(String str);\n\n bca b(String str);\n\n bca c(String str);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public abstract BoundType b();", "public void b(amj paramamj)\r\n/* 538: */ {\r\n/* 539:579 */ this.f = paramamj;\r\n/* 540: */ }", "b(a aVar, com.bytedance.jedi.model.h.a aVar2) {\n super(aVar2);\n this.f21531a = aVar;\n this.f21532b = new com.bytedance.jedi.model.h.f(aVar);\n }", "private void b(int paramInt)\r\n/* 193: */ {\r\n/* 194:203 */ this.h.a(a(paramInt));\r\n/* 195: */ }", "public void b(ahb paramahb)\r\n/* 583: */ {\r\n/* 584:625 */ for (int i = 0; i < this.a.length; i++) {\r\n/* 585:626 */ this.a[i] = amj.b(paramahb.a[i]);\r\n/* 586: */ }\r\n/* 587:628 */ for (i = 0; i < this.b.length; i++) {\r\n/* 588:629 */ this.b[i] = amj.b(paramahb.b[i]);\r\n/* 589: */ }\r\n/* 590:631 */ this.c = paramahb.c;\r\n/* 591: */ }", "interface b {\n\n /* compiled from: CreditAccountContract */\n public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }\n\n /* compiled from: CreditAccountContract */\n public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }\n}", "@Override\n\tpublic void visit(PartB partB) {\n\n\t}", "public abstract void zzb(B b, int i, long j);", "public abstract void zza(B b, int i, zzeh zzeh);", "int metodo2(int a, int b) {\r\n\r\n\t\tthis.a += 5; // se modifica el campo del objeto, el uso de la palabra reservada this se utiliza para referenciar al campo.\r\n\t\tb += 7;\r\n\t\treturn a; // modifica en la asignaci\\u00f3n\r\n\t}", "private void internalCopy(Board b) {\n for (int i = 0; i < SIDE * SIDE; i += 1) {\n set(i, b.get(i));\n }\n\n _directions = b._directions;\n _whoseMove = b._whoseMove;\n _history = b._history;\n }", "public int b()\r\n/* 69: */ {\r\n/* 70:74 */ return this.b;\r\n/* 71: */ }", "public void b(StringBuilder sb) {\n sb.append(this.a);\n sb.append(')');\n }", "public void b() {\n e$a e$a;\n try {\n e$a = this.b;\n }\n catch (IOException iOException) {\n return;\n }\n Object object = this.c;\n e$a.b(object);\n }", "public abstract void a(StringBuilder sb);", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public abstract void zzf(Object obj, B b);", "public interface bdp {\n\n /* renamed from: a */\n public static final bdp f3422a = new bdo();\n\n /* renamed from: a */\n bdm mo1784a(akh akh);\n}", "@Override\n\tpublic void parse(Buffer b) {\n\t\t\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public abstract void a(b paramb, int paramInt1, int paramInt2);", "public void mo1945a(byte b) throws cf {\r\n m10263b(b);\r\n }", "void mo83703a(C32456b<T> bVar);", "public void a(String str) {\n ((b.b) this.b).d(str);\n }", "public void selectB() { }", "BOperation createBOperation();", "void metodo1(int a, int b) {\r\n\t\ta += 5;//par\\u00e1metro con el mismo nombre que el campo.\r\n\t\tb += 7;\r\n\t}", "private static void m2196a(StringBuffer stringBuffer, byte b) {\n stringBuffer.append(\"0123456789ABCDEF\".charAt((b >> 4) & 15)).append(\"0123456789ABCDEF\".charAt(b & 15));\n }", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public void b(fv paramfv)\r\n/* 408: */ {\r\n/* 409:423 */ this.a = new amj[36];\r\n/* 410:424 */ this.b = new amj[4];\r\n/* 411:425 */ for (int i = 0; i < paramfv.c(); i++)\r\n/* 412: */ {\r\n/* 413:426 */ fn localfn = paramfv.b(i);\r\n/* 414:427 */ int j = localfn.d(\"Slot\") & 0xFF;\r\n/* 415:428 */ amj localamj = amj.a(localfn);\r\n/* 416:429 */ if (localamj != null)\r\n/* 417: */ {\r\n/* 418:430 */ if ((j >= 0) && (j < this.a.length)) {\r\n/* 419:431 */ this.a[j] = localamj;\r\n/* 420: */ }\r\n/* 421:433 */ if ((j >= 100) && (j < this.b.length + 100)) {\r\n/* 422:434 */ this.b[(j - 100)] = localamj;\r\n/* 423: */ }\r\n/* 424: */ }\r\n/* 425: */ }\r\n/* 426: */ }", "public void b(String str) {\n ((b.b) this.b).e(str);\n }", "public String b()\r\n/* 35: */ {\r\n/* 36:179 */ return a();\r\n/* 37: */ }", "public abstract void zza(B b, int i, T t);", "public Item b(World paramaqu, BlockPosition paramdt)\r\n/* 189: */ {\r\n/* 190:220 */ return null;\r\n/* 191: */ }", "public abstract void zza(B b, int i, long j);", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public abstract void mo9798a(byte b);", "public void mo9798a(byte b) {\n if (this.f9108f == this.f9107e) {\n mo9827i();\n }\n byte[] bArr = this.f9106d;\n int i = this.f9108f;\n this.f9108f = i + 1;\n bArr[i] = b;\n this.f9109g++;\n }", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "private void m676a(TField bkVar, byte b) {\n if (b == -1) {\n b = m687e(bkVar.f538b);\n }\n short s = bkVar.f539c;\n short s2 = this.f519n;\n if (s <= s2 || s - s2 > 15) {\n m678b(b);\n mo446a(bkVar.f539c);\n } else {\n m686d(b | ((s - s2) << 4));\n }\n this.f519n = bkVar.f539c;\n }", "private static void m831a(C0741g<?> gVar, C0747b bVar) {\n gVar.mo9477a(C0743i.f718b, (C0739e<? super Object>) bVar);\n gVar.mo9476a(C0743i.f718b, (C0738d) bVar);\n gVar.mo9474a(C0743i.f718b, (C0736b) bVar);\n }", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "private void j()\n/* */ {\n/* 223 */ c localc = this.b;\n/* 224 */ this.b = this.c;\n/* 225 */ this.c = localc;\n/* 226 */ this.c.b();\n/* */ }", "public lj ar(byte b) {\n throw new Runtime(\"d2j fail translate: java.lang.RuntimeException: can not merge I and Z\\r\\n\\tat com.googlecode.dex2jar.ir.TypeClass.merge(TypeClass.java:100)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeRef.updateTypeClass(TypeTransformer.java:174)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.provideAs(TypeTransformer.java:780)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.e1expr(TypeTransformer.java:496)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:713)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.enexpr(TypeTransformer.java:698)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:719)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.s1stmt(TypeTransformer.java:810)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.sxStmt(TypeTransformer.java:840)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.analyze(TypeTransformer.java:206)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer.transform(TypeTransformer.java:44)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.optimize(Dex2jar.java:162)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertCode(Dex2Asm.java:414)\\r\\n\\tat com.googlecode.d2j.dex.ExDex2Asm.convertCode(ExDex2Asm.java:42)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.convertCode(Dex2jar.java:128)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertMethod(Dex2Asm.java:509)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:406)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertDex(Dex2Asm.java:422)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.doTranslate(Dex2jar.java:172)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.to(Dex2jar.java:272)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:108)\\r\\n\\tat com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:32)\\r\\n\");\n }", "public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.5886636", "0.58828026", "0.5855491", "0.584618", "0.5842517", "0.5824137", "0.5824071", "0.58097327", "0.5802052", "0.58012927", "0.579443", "0.5792392", "0.57902914", "0.5785124", "0.57718205", "0.57589084", "0.5735892", "0.5735892", "0.5734873", "0.5727929", "0.5720821", "0.5712531", "0.5706813", "0.56896514", "0.56543154", "0.5651059", "0.5649904", "0.56496733", "0.5647035", "0.5640965", "0.5640109", "0.563993", "0.5631903", "0.5597427", "0.55843794", "0.5583287", "0.557783", "0.55734867", "0.55733293", "0.5572254", "0.55683887", "0.55624336", "0.55540246", "0.5553985", "0.55480546", "0.554261", "0.5535739", "0.5529958", "0.5519634", "0.5517503", "0.55160624", "0.5511545", "0.5505353", "0.5500533", "0.5491741", "0.5486198", "0.5481978", "0.547701", "0.54725856", "0.5471632", "0.5463497", "0.5460805", "0.5454913", "0.5454885", "0.54519916", "0.5441594", "0.5436747", "0.5432453", "0.5425923", "0.5424724", "0.54189867", "0.54162544", "0.54051477", "0.53998184", "0.53945845", "0.53887725", "0.5388146", "0.5387678", "0.53858143", "0.53850687", "0.5384439" ]
0.0
-1
/ renamed from: c
public final void mo3955c() { if (!this.f1310t) { this.f1309s = C0270a.m488a(this.f1154b).mo3458a(); } if (this.f1155c != null) { this.f1155c.mo3596b(true); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo5289a(C5102c c5102c);", "public static void c0() {\n\t}", "void mo57278c();", "private static void cajas() {\n\t\t\n\t}", "void mo5290b(C5102c c5102c);", "void mo80457c();", "void mo12638c();", "void mo28717a(zzc zzc);", "void mo21072c();", "@Override\n\tpublic void ccc() {\n\t\t\n\t}", "public void c() {\n }", "void mo17012c();", "C2451d mo3408a(C2457e c2457e);", "void mo88524c();", "void mo86a(C0163d c0163d);", "void mo17021c();", "public abstract void mo53562a(C18796a c18796a);", "void mo4874b(C4718l c4718l);", "void mo4873a(C4718l c4718l);", "C12017a mo41088c();", "public abstract void mo70702a(C30989b c30989b);", "void mo72114c();", "public void mo12628c() {\n }", "C2841w mo7234g();", "public interface C0335c {\n }", "public void mo1403c() {\n }", "public static void c3() {\n\t}", "public static void c1() {\n\t}", "void mo8712a(C9714a c9714a);", "void mo67924c();", "public void mo97906c() {\n }", "public abstract void mo27385c();", "String mo20731c();", "public int c()\r\n/* 74: */ {\r\n/* 75:78 */ return this.c;\r\n/* 76: */ }", "public interface C0939c {\n }", "void mo1582a(String str, C1329do c1329do);", "void mo304a(C0366h c0366h);", "void mo1493c();", "private String getString(byte c) {\n\t\treturn c==1? \"$ \": \" \";\n\t}", "java.lang.String getC3();", "C45321i mo90380a();", "public interface C11910c {\n}", "void mo57277b();", "String mo38972c();", "static int type_of_cnc(String passed){\n\t\treturn 1;\n\t}", "public static void CC2_1() {\n\t}", "static int type_of_cc(String passed){\n\t\treturn 1;\n\t}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public void mo56167c() {\n }", "public interface C0136c {\n }", "private void kk12() {\n\n\t}", "abstract String mo1748c();", "public abstract void mo70710a(String str, C24343db c24343db);", "public interface C0303q extends C0291e {\n /* renamed from: a */\n void mo1747a(int i);\n\n /* renamed from: a */\n void mo1749a(C0288c cVar);\n\n /* renamed from: a */\n void mo1751a(byte[] bArr);\n\n /* renamed from: b */\n void mo1753b(int i);\n\n /* renamed from: c */\n void mo1754c(int i);\n\n /* renamed from: d */\n void mo1755d(int i);\n\n /* renamed from: e */\n int mo1756e(int i);\n\n /* renamed from: g */\n int mo1760g();\n\n /* renamed from: g */\n void mo1761g(int i);\n\n /* renamed from: h */\n void mo1763h(int i);\n}", "C3577c mo19678C();", "public abstract int c();", "public abstract int c();", "public final void mo11687c() {\n }", "byte mo30283c();", "private java.lang.String c(java.lang.String r7) {\n /*\n r6 = this;\n r2 = \"\";\n r0 = r6.e;\t Catch:{ FileNotFoundException -> 0x0052 }\n if (r0 == 0) goto L_0x0050;\n L_0x0006:\n r0 = new java.lang.StringBuilder;\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = java.lang.String.valueOf(r7);\t Catch:{ FileNotFoundException -> 0x0052 }\n r0.<init>(r1);\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = \".\";\n r0 = r0.append(r1);\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = r6.e;\t Catch:{ FileNotFoundException -> 0x0052 }\n r0 = r0.append(r1);\t Catch:{ FileNotFoundException -> 0x0052 }\n r0 = r0.toString();\t Catch:{ FileNotFoundException -> 0x0052 }\n L_0x001f:\n r1 = r6.d;\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = r1.openFileInput(r0);\t Catch:{ FileNotFoundException -> 0x0052 }\n L_0x0025:\n r3 = new java.io.BufferedReader;\n r4 = new java.io.InputStreamReader;\n r0 = r1;\n r0 = (java.io.InputStream) r0;\n r5 = \"UTF-8\";\n r5 = java.nio.charset.Charset.forName(r5);\n r4.<init>(r0, r5);\n r3.<init>(r4);\n r0 = new java.lang.StringBuffer;\n r0.<init>();\n L_0x003d:\n r4 = r3.readLine();\t Catch:{ IOException -> 0x0065, all -> 0x0073 }\n if (r4 != 0) goto L_0x0061;\n L_0x0043:\n r0 = r0.toString();\t Catch:{ IOException -> 0x0065, all -> 0x0073 }\n r1 = (java.io.InputStream) r1;\t Catch:{ IOException -> 0x007d }\n r1.close();\t Catch:{ IOException -> 0x007d }\n r3.close();\t Catch:{ IOException -> 0x007d }\n L_0x004f:\n return r0;\n L_0x0050:\n r0 = r7;\n goto L_0x001f;\n L_0x0052:\n r0 = move-exception;\n r0 = r6.d;\t Catch:{ IOException -> 0x005e }\n r0 = r0.getAssets();\t Catch:{ IOException -> 0x005e }\n r1 = r0.open(r7);\t Catch:{ IOException -> 0x005e }\n goto L_0x0025;\n L_0x005e:\n r0 = move-exception;\n r0 = r2;\n goto L_0x004f;\n L_0x0061:\n r0.append(r4);\t Catch:{ IOException -> 0x0065, all -> 0x0073 }\n goto L_0x003d;\n L_0x0065:\n r0 = move-exception;\n r1 = (java.io.InputStream) r1;\t Catch:{ IOException -> 0x0070 }\n r1.close();\t Catch:{ IOException -> 0x0070 }\n r3.close();\t Catch:{ IOException -> 0x0070 }\n r0 = r2;\n goto L_0x004f;\n L_0x0070:\n r0 = move-exception;\n r0 = r2;\n goto L_0x004f;\n L_0x0073:\n r0 = move-exception;\n r1 = (java.io.InputStream) r1;\t Catch:{ IOException -> 0x007f }\n r1.close();\t Catch:{ IOException -> 0x007f }\n r3.close();\t Catch:{ IOException -> 0x007f }\n L_0x007c:\n throw r0;\n L_0x007d:\n r1 = move-exception;\n goto L_0x004f;\n L_0x007f:\n r1 = move-exception;\n goto L_0x007c;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.a.b.b.c(java.lang.String):java.lang.String\");\n }", "@Override\n\tpublic void compile(CodeBlock c, CompilerEnvironment environment) {\n\n\t}", "public interface C3196it extends C3208jc {\n /* renamed from: a */\n void mo30275a(long j);\n\n /* renamed from: b */\n C3197iu mo30281b(long j);\n\n /* renamed from: b */\n boolean mo30282b();\n\n /* renamed from: c */\n byte mo30283c();\n\n /* renamed from: c */\n String mo30285c(long j);\n\n /* renamed from: d */\n void mo30290d(long j);\n\n /* renamed from: e */\n int mo30291e();\n\n /* renamed from: f */\n long mo30295f();\n}", "public static void mmcc() {\n\t}", "java.lang.String getCit();", "public abstract C mo29734a();", "C15430g mo56154a();", "void mo41086b();", "@Override\n public void func_104112_b() {\n \n }", "public interface C9223b {\n }", "public abstract String mo11611b();", "void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);", "String getCmt();", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "interface C2578d {\n}", "public interface C1803l extends C1813t {\n /* renamed from: b */\n C1803l mo7382b(C2778au auVar);\n\n /* renamed from: f */\n List<C1700ar> mo7233f();\n\n /* renamed from: g */\n C2841w mo7234g();\n\n /* renamed from: q */\n C1800i mo7384q();\n}", "double fFromC(double c) {\n return (c * 9 / 5) + 32;\n }", "void mo72113b();", "void mo1749a(C0288c cVar);", "public interface C0764b {\n}", "void mo41083a();", "String[] mo1153c();", "C1458cs mo7613iS();", "public interface C0333a {\n }", "public abstract int mo41077c();", "public interface C8843g {\n}", "public abstract void mo70709a(String str, C41018cm c41018cm);", "void mo28307a(zzgd zzgd);", "public static void mcdc() {\n\t}", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "C1435c mo1754a(C1433a c1433a, C1434b c1434b);", "public interface C0389gj extends C0388gi {\n}", "C5727e mo33224a();", "C12000e mo41087c(String str);", "public abstract String mo118046b();", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C0938b {\n }", "void mo80455b();", "public interface C0385a {\n }", "public interface C5527c {\n /* renamed from: a */\n int mo4095a(int i);\n\n /* renamed from: b */\n C5537g mo4096b(int i);\n}", "public interface C32231g {\n /* renamed from: a */\n void mo8280a(int i, int i2, C1207m c1207m);\n}", "public interface C11994b {\n /* renamed from: a */\n C11996a mo41079a(String str);\n\n /* renamed from: a */\n C11996a mo41080a(String str, C11997b bVar, String... strArr);\n\n /* renamed from: a */\n C11998c mo41081a(String str, C11999d dVar, String... strArr);\n\n /* renamed from: a */\n C12000e mo41082a(String str, C12001f fVar, String... strArr);\n\n /* renamed from: a */\n void mo41083a();\n\n /* renamed from: a */\n void mo41084a(C12018b bVar, ConnectionState... connectionStateArr);\n\n /* renamed from: b */\n C11996a mo41085b(String str);\n\n /* renamed from: b */\n void mo41086b();\n\n /* renamed from: c */\n C12000e mo41087c(String str);\n\n /* renamed from: c */\n C12017a mo41088c();\n\n /* renamed from: d */\n void mo41089d(String str);\n\n /* renamed from: e */\n C11998c mo41090e(String str);\n\n /* renamed from: f */\n C12000e mo41091f(String str);\n\n /* renamed from: g */\n C11998c mo41092g(String str);\n}" ]
[ "0.64592767", "0.644052", "0.6431582", "0.6418656", "0.64118475", "0.6397491", "0.6250796", "0.62470585", "0.6244832", "0.6232792", "0.618864", "0.61662376", "0.6152657", "0.61496663", "0.6138441", "0.6137171", "0.6131197", "0.6103783", "0.60983956", "0.6077118", "0.6061723", "0.60513836", "0.6049069", "0.6030368", "0.60263443", "0.60089093", "0.59970635", "0.59756917", "0.5956231", "0.5949343", "0.5937446", "0.5911776", "0.59034705", "0.5901311", "0.5883238", "0.5871533", "0.5865361", "0.5851141", "0.581793", "0.5815705", "0.58012", "0.578891", "0.57870495", "0.5775621", "0.57608724", "0.5734331", "0.5731584", "0.5728505", "0.57239383", "0.57130504", "0.57094604", "0.570793", "0.5697671", "0.56975955", "0.56911296", "0.5684489", "0.5684489", "0.56768984", "0.56749034", "0.5659463", "0.56589085", "0.56573", "0.56537443", "0.5651912", "0.5648272", "0.5641736", "0.5639226", "0.5638583", "0.56299245", "0.56297386", "0.56186295", "0.5615729", "0.56117755", "0.5596015", "0.55905765", "0.55816257", "0.55813104", "0.55723965", "0.5572061", "0.55696625", "0.5566985", "0.55633485", "0.555888", "0.5555646", "0.55525774", "0.5549722", "0.5548184", "0.55460495", "0.5539394", "0.5535825", "0.55300397", "0.5527975", "0.55183905", "0.5517322", "0.5517183", "0.55152744", "0.5514932", "0.55128884", "0.5509501", "0.55044043", "0.54984957" ]
0.0
-1
/ renamed from: d
public final void mo3956d() { this.f1305o = true; this.f1306p = true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void d() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public int d()\r\n/* 79: */ {\r\n/* 80:82 */ return this.d;\r\n/* 81: */ }", "public String d_()\r\n/* 445: */ {\r\n/* 446:459 */ return \"container.inventory\";\r\n/* 447: */ }", "public abstract int d();", "private void m2248a(double d, String str) {\n this.f2954c = d;\n this.f2955d = (long) d;\n this.f2953b = str;\n this.f2952a = ValueType.doubleValue;\n }", "public int d()\n {\n return 1;\n }", "public interface C19512d {\n /* renamed from: dd */\n void mo34676dd(int i, int i2);\n }", "void mo21073d();", "@Override\n public boolean d() {\n return false;\n }", "int getD();", "public void dor(){\n }", "public int getD() {\n\t\treturn d;\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}", "public String getD() {\n return d;\n }", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "public final void mo91715d() {\n }", "public D() {}", "void mo17013d();", "public int getD() {\n return d_;\n }", "void mo83705a(C32458d<T> dVar);", "public void d() {\n\t\tSystem.out.println(\"d method\");\n\t}", "public float d()\r\n/* 15: */ {\r\n/* 16:163 */ return this.b;\r\n/* 17: */ }", "double d();", "protected DNA(Population pop, DNA d) {\n\t\t// TODO: implement this\n\t}", "public ahb(ahd paramahd)\r\n/* 12: */ {\r\n/* 13: 36 */ this.d = paramahd;\r\n/* 14: */ }", "public abstract C17954dh<E> mo45842a();", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\n\tpublic void visitTdetree(Tdetree p) {\n\n\t}", "public abstract void mo56925d();", "void mo54435d();", "public void mo21779D() {\n }", "public void d() {\n this.f20599d.a(this.f20598c);\n this.f20598c.a(this);\n this.f20601f = new a(new d());\n d.a(this.f20596a, this.f20597b, this.f20601f);\n this.f20596a.setLayoutManager(new NPALinearLayoutManager(getContext()));\n ((s) this.f20596a.getItemAnimator()).setSupportsChangeAnimations(false);\n this.f20596a.setAdapter(this.f20601f);\n this.f20598c.a(this.f20602g);\n }", "@Override\r\n public String getStringRepresentation()\r\n {\r\n return \"D\";\r\n }", "void mo28307a(zzgd zzgd);", "List<String> d();", "d(l lVar, m mVar, b bVar) {\n super(mVar);\n this.f11484d = lVar;\n this.f11483c = bVar;\n }", "public void addDField(String d){\n\t\tdfield.add(d);\n\t}", "public int getD() {\n return d_;\n }", "public void mo3749d() {\n }", "public a dD() {\n return new a(this.HG);\n }", "public String amd_to_dma(java.sql.Date d)\n {\n String resp = \"\";\n if (d!=null)\n {\n String sdat = d.toString();\n String sano = sdat.substring(0,4);\n String smes = sdat.substring(5,7);\n String sdia = sdat.substring(8,10);\n resp = sdia+\"/\"+smes+\"/\"+sano;\n }\n return resp;\n }", "public void mo130970a(double d) {\n SinkDefaults.m149818a(this, d);\n }", "public abstract int getDx();", "public void mo97908d() {\n }", "public com.c.a.d.d d() {\n return this.k;\n }", "private static String toPsString(double d) {\n return \"(\" + d + \")\";\n }", "public boolean d() {\n return false;\n }", "void mo17023d();", "String dibujar();", "@Override\n\tpublic void setDurchmesser(int d) {\n\n\t}", "public void mo2470d() {\n }", "public abstract VH mo102583a(ViewGroup viewGroup, D d);", "public abstract String mo41079d();", "public void setD ( boolean d ) {\n\n\tthis.d = d;\n }", "public Dx getDx() {\n/* 32 */ return this.dx;\n/* */ }", "DoubleNode(int d) {\n\t data = d; }", "DD createDD();", "@java.lang.Override\n public float getD() {\n return d_;\n }", "public void setD(String d) {\n this.d = d == null ? null : d.trim();\n }", "public int d()\r\n {\r\n return 20;\r\n }", "public static int m22546b(double d) {\n return 8;\n }", "float getD();", "void mo12650d();", "String mo20732d();", "static void feladat4() {\n\t}", "@Override\n public void d(String TAG, String msg) {\n }", "void mo130799a(double d);", "public void mo2198g(C0317d dVar) {\n }", "private double convert(double d){\n\t\tDecimalFormatSymbols symbols = DecimalFormatSymbols.getInstance();\n\t\tsymbols.setDecimalSeparator('.');\n\t\tDecimalFormat df = new DecimalFormat(\"#.##\",symbols); \n\t\treturn Double.valueOf(df.format(d));\n\t}", "public void d(String str) {\n ((b.b) this.b).g(str);\n }", "public abstract void mo42329d();", "public abstract long mo9229aD();", "public abstract String getDnForPerson(String inum);", "public interface ddd {\n public String dan();\n\n}", "@Override\n public void func_104112_b() {\n \n }", "public Nodo (String d){\n\t\tthis.dato = d;\n\t\tthis.siguiente = null; //para que apunte el nodo creado a nulo\n\t}", "public void mo5117a(C0371d c0371d, double d) {\n new C0369b(this, c0371d, d).start();\n }", "public interface C27442s {\n /* renamed from: d */\n List<EffectPointModel> mo70331d();\n}", "public final void m22595a(double d) {\n mo4383c(Double.doubleToRawLongBits(d));\n }", "public void d() {\n this.f23522d.a(this.f23521c);\n this.f23521c.a(this);\n this.i = new a();\n this.i.a(new ae(this.f23519a));\n this.f23519a.setAdapter(this.i);\n this.f23519a.setOnItemClickListener(this);\n this.f23521c.e();\n this.h.a(hashCode(), this.f23520b);\n }", "public Vector2d(double d) {\n\t\tthis.x = d;\n\t\tthis.y = d;\n\t}", "DomainHelper dh();", "static double DEG_to_RAD(double d) {\n return d * Math.PI / 180.0;\n }", "private Pares(PLoc p, PLoc s, int d){\n\t\t\tprimero=p;\n\t\t\tsegundo=s;\n\t\t\tdistancia=d;\n\t\t}", "@java.lang.Override\n public float getD() {\n return d_;\n }", "private final VH m112826b(ViewGroup viewGroup, D d) {\n return mo102583a(viewGroup, d);\n }", "public void m25658a(double d) {\n if (d <= 0.0d) {\n d = 1.0d;\n }\n this.f19276f = (float) (50.0d / d);\n this.f19277g = new C4658a(this, this.f19273c);\n }", "public Double getDx();", "boolean hasD();", "public abstract void mo27386d();", "MergedMDD() {\n }", "@ReflectiveMethod(name = \"d\", types = {})\n public void d(){\n NMSWrapper.getInstance().exec(nmsObject);\n }", "@Override\n public Chunk d(int i0, int i1) {\n return null;\n }", "public void d(World paramaqu, BlockPosition paramdt, Block parambec)\r\n/* 47: */ {\r\n/* 48: 68 */ BlockPosition localdt = paramdt.offset(((EnumDirection)parambec.getData(a)).opposite());\r\n/* 49: 69 */ Block localbec = paramaqu.getBlock(localdt);\r\n/* 50: 70 */ if (((localbec.getType() instanceof bdq)) && (((Boolean)localbec.getData(bdq.b)).booleanValue())) {\r\n/* 51: 71 */ paramaqu.g(localdt);\r\n/* 52: */ }\r\n/* 53: */ }", "double defendre();", "public static int setDimension( int d ) {\n int temp = DPoint.d;\n DPoint.d = d;\n return temp;\n }", "public Datum(Datum d) {\n this.dan = d.dan;\n this.mesec = d.mesec;\n this.godina = d.godina;\n }", "public Nodo (String d, Nodo n){\n\t\tdato = d;\n\t\tsiguiente=n;\n\t}" ]
[ "0.63814974", "0.6161482", "0.6071298", "0.59962976", "0.58773404", "0.58716977", "0.58259004", "0.5758642", "0.5701838", "0.5660324", "0.56520164", "0.56360936", "0.5623887", "0.56160694", "0.5611214", "0.5611214", "0.5606199", "0.5599611", "0.5588785", "0.5571922", "0.55582964", "0.55423015", "0.55344766", "0.5533354", "0.55043095", "0.5504303", "0.5501346", "0.5494267", "0.5475417", "0.5466324", "0.5449285", "0.54475653", "0.54453534", "0.5438683", "0.5437", "0.5430767", "0.5427588", "0.54237705", "0.54230636", "0.5418128", "0.5418011", "0.5408366", "0.5393063", "0.5391241", "0.5380766", "0.53726333", "0.5368622", "0.536752", "0.5353385", "0.53531873", "0.5339773", "0.53326386", "0.5326814", "0.5324123", "0.53218675", "0.53191435", "0.5317969", "0.53118885", "0.52981716", "0.52759254", "0.5271429", "0.5261579", "0.52474463", "0.52447283", "0.5244465", "0.524065", "0.52404076", "0.5233004", "0.5231902", "0.52317077", "0.52313095", "0.52206594", "0.52147377", "0.5212631", "0.520846", "0.5204979", "0.51949364", "0.5192334", "0.5187471", "0.5181762", "0.5178257", "0.51717854", "0.5165535", "0.516073", "0.5158238", "0.515774", "0.5157613", "0.51567996", "0.51565725", "0.51556337", "0.51544553", "0.51538175", "0.5150055", "0.5143673", "0.5142951", "0.5139338", "0.51383114", "0.5132878", "0.51298827", "0.5126112", "0.51213324" ]
0.0
-1
/ renamed from: e
public final void mo3957e() { this.f1313w = true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void e() {\n\n\t}", "public void e() {\n }", "@Override\n\tpublic void processEvent(Event e) {\n\n\t}", "@Override\n public void e(String TAG, String msg) {\n }", "public String toString()\r\n {\r\n return e.toString();\r\n }", "@Override\n\t\t\t\t\t\t\tpublic void error(Exception e) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}", "public Object element() { return e; }", "@Override\n public void e(int i0, int i1) {\n\n }", "@Override\r\n\t\t\tpublic void execute(LiftEvent e) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void execute(LiftEvent e) {\n\t\t\t\t\r\n\t\t\t}", "private static Throwable handle(final Throwable e) {\r\n\t\te.printStackTrace();\r\n\r\n\t\tif (e.getCause() != null) {\r\n\t\t\te.getCause().printStackTrace();\r\n\t\t}\r\n\t\tif (e instanceof SAXException) {\r\n\t\t\t((SAXException) e).getException().printStackTrace();\r\n\t\t}\r\n\t\treturn e;\r\n\t}", "void event(Event e) throws Exception;", "Event getE();", "public int getE() {\n return e_;\n }", "@Override\n\tpublic void onException(Exception e) {\n\n\t}", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tevent(e, et.get(2));\r\n\t\t\t}", "public byte e()\r\n/* 84: */ {\r\n/* 85:86 */ return this.e;\r\n/* 86: */ }", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tevent(e, et.get(1));\r\n\t\t\t}", "public void toss(Exception e);", "private void log(IndexObjectException e) {\n\t\t\r\n\t}", "public int getE() {\n return e_;\n }", "@Override\n\tpublic void einkaufen() {\n\t}", "private String getStacktraceFromException(Exception e) {\n\t\tByteArrayOutputStream baos = new ByteArrayOutputStream();\n\t\tPrintStream ps = new PrintStream(baos);\n\t\te.printStackTrace(ps);\n\t\tps.close();\n\t\treturn baos.toString();\n\t}", "protected void processEdge(Edge e) {\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn \"E \" + super.toString();\n\t}", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tevent(e, et.get(0));\r\n\t\t\t}", "public Element getElement() {\n/* 78 */ return this.e;\n/* */ }", "@Override\r\n public void actionPerformed( ActionEvent e )\r\n {\n }", "void mo57276a(Exception exc);", "@Override\r\n\tpublic void onEvent(Object e) {\n\t}", "public Throwable getOriginalException()\n/* 28: */ {\n/* 29:56 */ return this.originalE;\n/* 30: */ }", "@Override\r\n\t\t\tpublic void onError(Throwable e) {\n\r\n\t\t\t}", "private void sendOldError(Exception e) {\n }", "private V e() throws com.amap.api.col.n3.gh {\n /*\n r6 = this;\n r0 = 0\n r1 = 0\n L_0x0002:\n int r2 = r6.b\n if (r1 >= r2) goto L_0x00cd\n com.amap.api.col.n3.ki r2 = com.amap.api.col.n3.ki.c() // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n android.content.Context r3 = r6.d // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n java.net.Proxy r3 = com.amap.api.col.n3.ik.a(r3) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n r6.a((java.net.Proxy) r3) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n byte[] r2 = r2.a((com.amap.api.col.n3.kj) r6) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n java.lang.Object r2 = r6.a((byte[]) r2) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n int r0 = r6.b // Catch:{ ic -> 0x0025, gh -> 0x0020, Throwable -> 0x002a }\n r1 = r0\n r0 = r2\n goto L_0x0002\n L_0x0020:\n r0 = move-exception\n r5 = r2\n r2 = r0\n r0 = r5\n goto L_0x0033\n L_0x0025:\n r0 = move-exception\n r5 = r2\n r2 = r0\n r0 = r5\n goto L_0x0044\n L_0x002a:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = \"未知错误\"\n r0.<init>(r1)\n throw r0\n L_0x0032:\n r2 = move-exception\n L_0x0033:\n int r1 = r1 + 1\n int r3 = r6.b\n if (r1 < r3) goto L_0x0002\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = r2.a()\n r0.<init>(r1)\n throw r0\n L_0x0043:\n r2 = move-exception\n L_0x0044:\n int r1 = r1 + 1\n int r3 = r6.b\n if (r1 >= r3) goto L_0x008a\n int r3 = r6.e // Catch:{ InterruptedException -> 0x0053 }\n int r3 = r3 * 1000\n long r3 = (long) r3 // Catch:{ InterruptedException -> 0x0053 }\n java.lang.Thread.sleep(r3) // Catch:{ InterruptedException -> 0x0053 }\n goto L_0x0002\n L_0x0053:\n java.lang.String r0 = \"http连接失败 - ConnectionException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x0082\n java.lang.String r0 = \"socket 连接异常 - SocketException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x0082\n java.lang.String r0 = \"服务器连接失败 - UnknownServiceException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 == 0) goto L_0x0078\n goto L_0x0082\n L_0x0078:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = r2.a()\n r0.<init>(r1)\n throw r0\n L_0x0082:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = \"http或socket连接失败 - ConnectionException\"\n r0.<init>(r1)\n throw r0\n L_0x008a:\n java.lang.String r0 = \"http连接失败 - ConnectionException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x00c5\n java.lang.String r0 = \"socket 连接异常 - SocketException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x00c5\n java.lang.String r0 = \"未知的错误\"\n java.lang.String r1 = r2.a()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x00c5\n java.lang.String r0 = \"服务器连接失败 - UnknownServiceException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 == 0) goto L_0x00bb\n goto L_0x00c5\n L_0x00bb:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = r2.a()\n r0.<init>(r1)\n throw r0\n L_0x00c5:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = \"http或socket连接失败 - ConnectionException\"\n r0.<init>(r1)\n throw r0\n L_0x00cd:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.amap.api.col.n3.gi.e():java.lang.Object\");\n }", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\r\n\t\t\t}", "@Override\n protected void processMouseEvent(MouseEvent e) {\n super.processMouseEvent(e);\n }", "private void printInfo(SAXParseException e) {\n\t}", "@Override\n\t\tpublic void onError(Throwable e) {\n\t\t\tSystem.out.println(\"onError\");\n\t\t}", "String exceptionToStackTrace( Exception e ) {\n StringWriter stringWriter = new StringWriter();\n PrintWriter printWriter = new PrintWriter(stringWriter);\n e.printStackTrace( printWriter );\n return stringWriter.toString();\n }", "public <E> E getE(E e){\n return e;\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}", "@PortedFrom(file = \"tSignatureUpdater.h\", name = \"vE\")\n private void vE(NamedEntity e) {\n sig.add(e);\n }", "@Override\n\t\tpublic void onException(Exception arg0) {\n\t\t\t\n\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\r\n\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\r\n\t\t}", "protected E eval()\n\t\t{\n\t\tE e=this.e;\n\t\tthis.e=null;\n\t\treturn e;\n\t\t}", "void showResultMoError(String e);", "public int E() {\n \treturn E;\n }", "@Override\r\n public void processEvent(IAEvent e) {\n\r\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "static public String getStackTrace(Exception e) {\n java.io.StringWriter s = new java.io.StringWriter(); \n e.printStackTrace(new java.io.PrintWriter(s));\n String trace = s.toString();\n \n if(trace==null || trace.length()==0 || trace.equals(\"null\"))\n return e.toString();\n else\n return trace;\n }", "@Override\n public String toString() {\n return \"[E]\" + super.toString() + \"(at: \" + details + \")\";\n }", "public static void error(boolean e) {\n E = e;\n }", "public void out_ep(Edge e) {\r\n\r\n\t\tif (triangulate == 0 & plot == 1) {\r\n\t\t\tclip_line(e);\r\n\t\t}\r\n\r\n\t\tif (triangulate == 0 & plot == 0) {\r\n\t\t\tSystem.err.printf(\"e %d\", e.edgenbr);\r\n\t\t\tSystem.err.printf(\" %d \", e.ep[le] != null ? e.ep[le].sitenbr : -1);\r\n\t\t\tSystem.err.printf(\"%d\\n\", e.ep[re] != null ? e.ep[re].sitenbr : -1);\r\n\t\t}\r\n\r\n\t}", "public void m58944a(E e) {\n this.f48622a = e;\n }", "void mo43357a(C16726e eVar) throws RemoteException;", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t}", "@Override\n\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\n\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t\t}", "static String getElementText(Element e) {\n if (e.getChildNodes().getLength() == 1) {\n Text elementText = (Text) e.getFirstChild();\n return elementText.getNodeValue();\n }\n else\n return \"\";\n }", "public RuntimeException processException(RuntimeException e)\n\n {\n\treturn new RuntimeException(e);\n }", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\n\t\t\t}", "@java.lang.Override\n public java.lang.String getE() {\n java.lang.Object ref = e_;\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 e_ = s;\n return s;\n }\n }", "protected void onEvent(DivRepEvent e) {\n\t\t}", "protected void onEvent(DivRepEvent e) {\n\t\t}", "protected void logException(Exception e) {\r\n if (log.isErrorEnabled()) {\r\n log.logError(LogCodes.WPH2004E, e, e.getClass().getName() + \" processing field \");\r\n }\r\n }", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tevent(e, vt.get(2));\r\n\t\t\t}", "@Override\n\t\t\t\t\t\t\t\t\t\t\tpublic void keyPressed(KeyEvent e) {\n\n\t\t\t\t\t\t\t\t\t\t\t}", "com.walgreens.rxit.ch.cda.EIVLEvent getEvent();", "@Override\n protected void getExras() {\n }", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tevent(e, vt.get(4));\r\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\t\r\n\t\t\t}", "public e o() {\r\n return k();\r\n }", "@Override\n\t\t\tpublic void focusGained(FocusEvent e) {\n\t\t\t\t\n\t\t\t}" ]
[ "0.72328156", "0.66032064", "0.6412127", "0.6362734", "0.633999", "0.62543726", "0.6232265", "0.6159535", "0.61226326", "0.61226326", "0.60798717", "0.6049423", "0.60396963", "0.60011584", "0.5998842", "0.59709895", "0.59551716", "0.5937381", "0.58854383", "0.5870234", "0.5863486", "0.58606255", "0.58570576", "0.5832809", "0.57954526", "0.5784194", "0.57723534", "0.576802", "0.57466", "0.57258075", "0.5722709", "0.5722404", "0.57134414", "0.56987166", "0.5683048", "0.5671214", "0.5650087", "0.56173986", "0.56142104", "0.56100404", "0.5604611", "0.55978096", "0.5597681", "0.55941516", "0.55941516", "0.55941516", "0.5578516", "0.55689955", "0.5568649", "0.5564652", "0.5561944", "0.5561737", "0.5560318", "0.555748", "0.5550611", "0.5550611", "0.5550611", "0.5550611", "0.5547971", "0.55252135", "0.5523029", "0.55208814", "0.5516037", "0.5512", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118227", "0.5509796", "0.5509671", "0.5503605", "0.55015326", "0.5499632", "0.54921895", "0.54892236", "0.5483562", "0.5483562", "0.5482999", "0.54812574", "0.5479943", "0.54787004", "0.54778624", "0.5472073", "0.54695076", "0.54695076", "0.54695076", "0.54695076", "0.54695076", "0.54695076", "0.54695076", "0.54695076", "0.5468417", "0.54673034", "0.54645115" ]
0.0
-1
/ renamed from: f
public final boolean mo3958f() { if (!this.f1305o || mo3962j() || this.f1155c == null || this.f1158f == null || this.f1300j != null || this.f1155c.mo3618o().isEmpty()) { return false; } this.f1300j = new C0429i(this, new C0432l(this, this.f1154b, this.f1155c, this.f1297g)); ((View) this.f1158f).post(this.f1300j); super.mo3711a((SubMenuBuilder) null); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void func_70305_f() {}", "public static Forca get_f(){\n\t\treturn f;\n\t}", "void mo84656a(float f);", "public final void mo8765a(float f) {\n }", "@Override\n public int f() {\n return 0;\n }", "public void f() {\n }", "void mo9704b(float f, float f2, int i);", "void mo56155a(float f);", "public void f() {\n }", "void mo9696a(float f, float f2, int i);", "@Override\n\tpublic void f2() {\n\t\t\n\t}", "public void f() {\n Message q_ = q_();\n e.c().a(new f(255, a(q_.toByteArray())), getClass().getSimpleName(), i().a(), q_);\n }", "void mo72112a(float f);", "void mo9694a(float f, float f2);", "void f1() {\r\n\t}", "public amj p()\r\n/* 543: */ {\r\n/* 544:583 */ return this.f;\r\n/* 545: */ }", "double cFromF(double f) {\n return (f-32) * 5 / 9;\n }", "void mo34547J(float f, float f2);", "@Override\n\tpublic void f1() {\n\n\t}", "public void f() {\n this.f25459e.J();\n }", "public abstract void mo70718c(String str, float f);", "public byte f()\r\n/* 89: */ {\r\n/* 90:90 */ return this.f;\r\n/* 91: */ }", "C3579d mo19694a(C3581f fVar) throws IOException;", "public abstract void mo70714b(String str, float f);", "void mo9705c(float f, float f2);", "FunctionCall getFc();", "@Override\n\tpublic void af(String t) {\n\n\t}", "void mo9695a(float f, float f2, float f3, float f4, float f5);", "public abstract void mo70705a(String str, float f);", "void mo21075f();", "static double transform(int f) {\n return (5.0 / 9.0 * (f - 32));\n\n }", "private int m216e(float f) {\n int i = (int) (f + 0.5f);\n return i % 2 == 1 ? i - 1 : i;\n }", "void mo9703b(float f, float f2);", "public abstract int mo123247f();", "void mo6072a(float f) {\n this.f2347q = this.f2342e.mo6054a(f);\n }", "public float mo12718a(float f) {\n return f;\n }", "public abstract void mo70706a(String str, float f, float f2);", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "protected float l()\r\n/* 72: */ {\r\n/* 73: 84 */ return 0.0F;\r\n/* 74: */ }", "public int getF() {\n\t\treturn f;\n\t}", "public void f()\r\n {\r\n float var1 = 0.5F;\r\n float var2 = 0.125F;\r\n float var3 = 0.5F;\r\n this.a(0.5F - var1, 0.5F - var2, 0.5F - var3, 0.5F + var1, 0.5F + var2, 0.5F + var3);\r\n }", "void mo9698a(String str, float f);", "private static float m82748a(float f) {\n if (f == 0.0f) {\n return 1.0f;\n }\n return 0.0f;\n }", "static void feladat4() {\n\t}", "public int getf(){\r\n return f;\r\n}", "private static double FToC(double f) {\n\t\treturn (f-32)*5/9;\n\t}", "public void a(Float f) {\n ((b.b) this.b).a(f);\n }", "public Flt(float f) {this.f = new Float(f);}", "static double f(double x){\n \treturn Math.sin(x);\r\n }", "private float m23258a(float f, float f2, float f3) {\n return f + ((f2 - f) * f3);\n }", "public double getF();", "protected float m()\r\n/* 234: */ {\r\n/* 235:247 */ return 0.03F;\r\n/* 236: */ }", "final void mo6072a(float f) {\n this.f2349i = this.f2348h.mo6057b(f);\n }", "private float m87322b(float f) {\n return (float) Math.sin((double) ((float) (((double) (f - 0.5f)) * 0.4712389167638204d)));\n }", "public void colores(int f) {\n this.f = f;\n }", "static float m51586b(float f, float f2, float f3) {\n return ((f2 - f) * f3) + f;\n }", "void mo3193f();", "public void mo3777a(float f) {\n this.f1443S = f;\n }", "@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}", "static void feladat9() {\n\t}", "private double f2c(double f)\n {\n return (f-32)*5/9;\n }", "public void e(Float f) {\n ((b.b) this.b).e(f);\n }", "int mo9691a(String str, String str2, float f);", "void mo196b(float f) throws RemoteException;", "public void d(Float f) {\n ((b.b) this.b).d(f);\n }", "static void feladat7() {\n\t}", "public void b(Float f) {\n ((b.b) this.b).b(f);\n }", "long mo54439f(int i);", "public void c(Float f) {\n ((b.b) this.b).c(f);\n }", "@java.lang.Override\n public java.lang.String getF() {\n java.lang.Object ref = f_;\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 f_ = s;\n return s;\n }\n }", "public static void detectComponents(String f) {\n\t\t\n\t}", "public void b(amj paramamj)\r\n/* 538: */ {\r\n/* 539:579 */ this.f = paramamj;\r\n/* 540: */ }", "public void f() {\n if (this instanceof b) {\n b bVar = (b) this;\n Message q_ = bVar.q_();\n e.c().a(new f(bVar.b(), q_.toByteArray()), getClass().getSimpleName(), i().a(), q_);\n return;\n }\n f a2 = a();\n if (a2 != null) {\n e.c().a(a2, getClass().getSimpleName(), i().a(), (Message) null);\n }\n }", "void mo54440f();", "public int F()\r\n/* 24: */ {\r\n/* 25: 39 */ return aqt.a(0.5D, 1.0D);\r\n/* 26: */ }", "@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}", "public abstract int mo9741f();", "void testMethod() {\n f();\n }", "public static int m22547b(float f) {\n return 4;\n }", "public float mo12728b(float f) {\n return f;\n }", "public void mo1963f() throws cf {\r\n }", "public abstract File mo41087j();", "@Override\n\tpublic void visit(Function arg0) {\n\t\t\n\t}", "public abstract int f(int i2);", "static void feladat6() {\n\t}", "public void furyo ()\t{\n }", "long mo30295f();", "public void a(zf zfVar, Canvas canvas, float f, float f2) {\n }", "public T fjern();", "public static void feec() {\n\t}", "@Override\n\tdouble f(double x) {\n\t\treturn x;\n\t}", "static void feladat3() {\n\t}", "static void feladat8() {\n\t}", "public void mo3797c(float f) {\n this.f1455ad[0] = f;\n }", "public abstract double fct(double x);", "public interface b {\n boolean f(@NonNull File file);\n }", "public void setF(){\n\t\tf=calculateF();\n\t}", "public FI_() {\n }", "static void feladat5() {\n\t}", "private final void m57544f(int i) {\n this.f47568d.m63092a(new C15335a(i, true));\n }", "public abstract long f();" ]
[ "0.7323683", "0.65213245", "0.649907", "0.64541733", "0.6415534", "0.63602704", "0.6325114", "0.63194084", "0.630473", "0.62578535", "0.62211406", "0.6209556", "0.6173324", "0.61725706", "0.61682224", "0.6135272", "0.6130462", "0.6092916", "0.6089471", "0.6073019", "0.6069227", "0.6045645", "0.60285485", "0.6017334", "0.60073197", "0.59810024", "0.59757596", "0.5967885", "0.5942414", "0.59418225", "0.5939683", "0.59241796", "0.58987755", "0.5894165", "0.58801377", "0.5879881", "0.5830818", "0.57981277", "0.5790314", "0.578613", "0.5775656", "0.5772591", "0.57630384", "0.5752546", "0.5752283", "0.5735288", "0.5733957", "0.57191586", "0.57179475", "0.57131994", "0.57131445", "0.5706053", "0.5689441", "0.56773764", "0.5667179", "0.56332076", "0.5623908", "0.56229013", "0.5620846", "0.5620233", "0.5616687", "0.5610022", "0.5601161", "0.55959773", "0.5594083", "0.55762523", "0.5570697", "0.5569185", "0.5552703", "0.55498457", "0.5549487", "0.5540512", "0.55403346", "0.5538902", "0.5538738", "0.55373883", "0.55234814", "0.55215186", "0.551298", "0.5508332", "0.5507449", "0.55046654", "0.550407", "0.55029416", "0.5494386", "0.5493873", "0.54900146", "0.5487203", "0.54866016", "0.54843825", "0.5478175", "0.547722", "0.54764897", "0.5472811", "0.54662675", "0.5460087", "0.5458977", "0.54567033", "0.54565614", "0.5454854", "0.5442333" ]
0.0
-1
/ renamed from: g
public final boolean mo3959g() { if (this.f1300j == null || this.f1158f == null) { C0432l lVar = this.f1298h; if (lVar == null) { return false; } lVar.mo3703e(); return true; } ((View) this.f1158f).removeCallbacks(this.f1300j); this.f1300j = null; return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void g() {\n }", "public void gored() {\n\t\t\n\t}", "public boolean g()\r\n/* 94: */ {\r\n/* 95:94 */ return this.g;\r\n/* 96: */ }", "public int g()\r\n/* 173: */ {\r\n/* 174:198 */ return 0;\r\n/* 175: */ }", "public void stg() {\n\n\t}", "public xm n()\r\n/* 274: */ {\r\n/* 275:287 */ if ((this.g == null) && (this.h != null) && (this.h.length() > 0)) {\r\n/* 276:288 */ this.g = this.o.a(this.h);\r\n/* 277: */ }\r\n/* 278:290 */ return this.g;\r\n/* 279: */ }", "int getG();", "private final zzgy zzgb() {\n }", "public int g()\r\n/* 601: */ {\r\n/* 602:645 */ return 0;\r\n/* 603: */ }", "private static void g() {\n h h10 = q;\n synchronized (h10) {\n h10.f();\n Object object = h10.e();\n object = object.iterator();\n boolean bl2;\n while (bl2 = object.hasNext()) {\n Object object2 = object.next();\n object2 = (g)object2;\n Object object3 = ((g)object2).getName();\n object3 = i.h.d.j((String)object3);\n ((g)object2).h((i.h.c)object3);\n }\n return;\n }\n }", "public int g()\r\n {\r\n return 1;\r\n }", "void mo28307a(zzgd zzgd);", "void mo21076g();", "void mo56163g();", "void mo98971a(C29296g gVar, int i);", "public int getG();", "void mo98970a(C29296g gVar);", "public abstract long g();", "public com.amap.api.col.n3.al g(java.lang.String r6) {\n /*\n r5 = this;\n r0 = 0\n if (r6 == 0) goto L_0x003a\n int r1 = r6.length()\n if (r1 > 0) goto L_0x000a\n goto L_0x003a\n L_0x000a:\n java.util.List<com.amap.api.col.n3.al> r1 = r5.c\n monitor-enter(r1)\n java.util.List<com.amap.api.col.n3.al> r2 = r5.c // Catch:{ all -> 0x0037 }\n java.util.Iterator r2 = r2.iterator() // Catch:{ all -> 0x0037 }\n L_0x0013:\n boolean r3 = r2.hasNext() // Catch:{ all -> 0x0037 }\n if (r3 == 0) goto L_0x0035\n java.lang.Object r3 = r2.next() // Catch:{ all -> 0x0037 }\n com.amap.api.col.n3.al r3 = (com.amap.api.col.n3.al) r3 // Catch:{ all -> 0x0037 }\n java.lang.String r4 = r3.getCity() // Catch:{ all -> 0x0037 }\n boolean r4 = r6.equals(r4) // Catch:{ all -> 0x0037 }\n if (r4 != 0) goto L_0x0033\n java.lang.String r4 = r3.getPinyin() // Catch:{ all -> 0x0037 }\n boolean r4 = r6.equals(r4) // Catch:{ all -> 0x0037 }\n if (r4 == 0) goto L_0x0013\n L_0x0033:\n monitor-exit(r1) // Catch:{ all -> 0x0037 }\n return r3\n L_0x0035:\n monitor-exit(r1)\n return r0\n L_0x0037:\n r6 = move-exception\n monitor-exit(r1)\n throw r6\n L_0x003a:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.amap.api.col.n3.am.g(java.lang.String):com.amap.api.col.n3.al\");\n }", "public int getG() {\r\n\t\treturn g;\r\n\t}", "private Gng() {\n }", "void mo57277b();", "int mo98967b(C29296g gVar);", "public void mo21782G() {\n }", "public final void mo74763d(C29296g gVar) {\n }", "private final java.lang.String m14284g() {\n /*\n r3 = this;\n b.h.b.a.b.b.ah r0 = r3.f8347b\n b.h.b.a.b.b.m r0 = r0.mo7065b()\n b.h.b.a.b.b.ah r1 = r3.f8347b\n b.h.b.a.b.b.az r1 = r1.mo7077p()\n b.h.b.a.b.b.az r2 = p073b.p085h.p087b.p088a.p090b.p094b.C1710ay.f5339d\n boolean r1 = p073b.p079e.p081b.C1489j.m6971a(r1, r2)\n if (r1 == 0) goto L_0x0056\n boolean r1 = r0 instanceof p073b.p085h.p087b.p088a.p090b.p127j.p128a.p129a.C2608e\n if (r1 == 0) goto L_0x0056\n b.h.b.a.b.j.a.a.e r0 = (p073b.p085h.p087b.p088a.p090b.p127j.p128a.p129a.C2608e) r0\n b.h.b.a.b.e.a$c r0 = r0.mo9643H()\n b.h.b.a.b.g.i$c r0 = (p073b.p085h.p087b.p088a.p090b.p117g.C2383i.C2387c) r0\n b.h.b.a.b.g.i$f<b.h.b.a.b.e.a$c, java.lang.Integer> r1 = p073b.p085h.p087b.p088a.p090b.p112e.p114b.C2330b.f7137i\n java.lang.String r2 = \"JvmProtoBuf.classModuleName\"\n p073b.p079e.p081b.C1489j.m6969a(r1, r2)\n java.lang.Object r0 = p073b.p085h.p087b.p088a.p090b.p112e.p113a.C2288f.m11197a(r0, r1)\n java.lang.Integer r0 = (java.lang.Integer) r0\n if (r0 == 0) goto L_0x003e\n b.h.b.a.b.e.a.c r1 = r3.f8350e\n java.lang.Number r0 = (java.lang.Number) r0\n int r0 = r0.intValue()\n java.lang.String r0 = r1.mo8811a(r0)\n if (r0 == 0) goto L_0x003e\n goto L_0x0040\n L_0x003e:\n java.lang.String r0 = \"main\"\n L_0x0040:\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>()\n java.lang.String r2 = \"$\"\n r1.append(r2)\n java.lang.String r0 = p073b.p085h.p087b.p088a.p090b.p116f.C2361g.m11709a(r0)\n r1.append(r0)\n java.lang.String r0 = r1.toString()\n return r0\n L_0x0056:\n b.h.b.a.b.b.ah r1 = r3.f8347b\n b.h.b.a.b.b.az r1 = r1.mo7077p()\n b.h.b.a.b.b.az r2 = p073b.p085h.p087b.p088a.p090b.p094b.C1710ay.f5336a\n boolean r1 = p073b.p079e.p081b.C1489j.m6971a(r1, r2)\n if (r1 == 0) goto L_0x00a0\n boolean r0 = r0 instanceof p073b.p085h.p087b.p088a.p090b.p094b.C1680ab\n if (r0 == 0) goto L_0x00a0\n b.h.b.a.b.b.ah r0 = r3.f8347b\n if (r0 == 0) goto L_0x0098\n b.h.b.a.b.j.a.a.j r0 = (p073b.p085h.p087b.p088a.p090b.p127j.p128a.p129a.C2638j) r0\n b.h.b.a.b.j.a.a.f r0 = r0.mo9635N()\n boolean r1 = r0 instanceof p073b.p085h.p087b.p088a.p090b.p100d.p110b.C2129i\n if (r1 == 0) goto L_0x00a0\n b.h.b.a.b.d.b.i r0 = (p073b.p085h.p087b.p088a.p090b.p100d.p110b.C2129i) r0\n b.h.b.a.b.i.d.b r1 = r0.mo8045e()\n if (r1 == 0) goto L_0x00a0\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>()\n java.lang.String r2 = \"$\"\n r1.append(r2)\n b.h.b.a.b.f.f r0 = r0.mo8042b()\n java.lang.String r0 = r0.mo9039a()\n r1.append(r0)\n java.lang.String r0 = r1.toString()\n return r0\n L_0x0098:\n b.u r0 = new b.u\n java.lang.String r1 = \"null cannot be cast to non-null type org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedPropertyDescriptor\"\n r0.<init>(r1)\n throw r0\n L_0x00a0:\n java.lang.String r0 = \"\"\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p073b.p085h.p087b.p088a.C3008g.C3011c.m14284g():java.lang.String\");\n }", "void mo16687a(T t, C4621gg ggVar) throws IOException;", "public final void mo74759a(C29296g gVar) {\n }", "int mo98966a(C29296g gVar);", "void mo57278c();", "public double getG();", "public boolean h()\r\n/* 189: */ {\r\n/* 190:187 */ return this.g;\r\n/* 191: */ }", "private void kk12() {\n\n\t}", "gp(go goVar, String str) {\n super(str);\n this.f82115a = goVar;\n }", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n\tpublic void draw(Graphics g) {\n\t\t\n\t}", "@Override\n\tpublic void draw(Graphics g) {\n\t\t\n\t}", "C2841w mo7234g();", "public abstract long g(int i2);", "public final h.c.b<java.lang.Object> g() {\n /*\n r2 = this;\n h.c.b<java.lang.Object> r0 = r2.f15786a\n if (r0 == 0) goto L_0x0005\n goto L_0x001d\n L_0x0005:\n h.c.e r0 = r2.b()\n h.c.c$b r1 = h.c.c.f14536c\n h.c.e$b r0 = r0.get(r1)\n h.c.c r0 = (h.c.c) r0\n if (r0 == 0) goto L_0x001a\n h.c.b r0 = r0.c(r2)\n if (r0 == 0) goto L_0x001a\n goto L_0x001b\n L_0x001a:\n r0 = r2\n L_0x001b:\n r2.f15786a = r0\n L_0x001d:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: kotlin.coroutines.jvm.internal.ContinuationImpl.g():h.c.b\");\n }", "void mo41086b();", "public abstract int mo123248g();", "public void getK_Gelisir(){\n K_Gelistir();\r\n }", "int mo54441g(int i);", "private static String m11g() {\n StringBuilder stringBuilder = new StringBuilder();\n stringBuilder.append(\"sh\");\n stringBuilder.append(\"el\");\n stringBuilder.append(\"la\");\n stringBuilder.append(\"_ve\");\n stringBuilder.append(\"rs\");\n stringBuilder.append(\"i\");\n stringBuilder.append(\"on\");\n return stringBuilder.toString();\n }", "@Override\n\tpublic void jugar() {\n\t\t\n\t}", "Groepen maakGroepsindeling(Groepen aanwezigheidsGroepen);", "public String getGg() {\n return gg;\n }", "public void g() {\n this.f25459e.Q();\n }", "void mo1761g(int i);", "public abstract void bepaalGrootte();", "public void referToGP(){\r\n\t\t//here is some code that we do not have access to\r\n\t}", "public final i g() {\n return new i();\n }", "public abstract void mo42331g();", "@Override\n public void func_104112_b() {\n \n }", "public int g2dsg(int v) { return g2dsg[v]; }", "void NhapGT(int thang, int nam) {\n }", "Gruppo getGruppo();", "public void method_4270() {}", "public abstract String mo41079d();", "public abstract String mo118046b();", "public void setGg(String gg) {\n this.gg = gg;\n }", "public abstract CharSequence mo2161g();", "void mo119582b();", "private void strin() {\n\n\t}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public String BFS(int g) {\n\t\t//TODO\n\t}", "void mo21073d();", "private stendhal() {\n\t}", "public void golpearJugador(Jugador j) {\n\t\t\n\t}", "public void ganar() {\n // TODO implement here\n }", "public static Object gvRender(Object... arg) {\r\nUNSUPPORTED(\"e2g1sf67k7u629a0lf4qtd4w8\"); // int gvRender(GVC_t *gvc, graph_t *g, const char *format, FILE *out)\r\nUNSUPPORTED(\"erg9i1970wdri39osu8hx2a6e\"); // {\r\nUNSUPPORTED(\"1bh3yj957he6yv2dkeg4pzwdk\"); // int rc;\r\nUNSUPPORTED(\"1ag9dz4apxn0w3cz8w2bfm6se\"); // GVJ_t *job;\r\nUNSUPPORTED(\"8msotrfl0cngiua3j57ylm26b\"); // g = g->root;\r\nUNSUPPORTED(\"exts51afuertju5ed5v7pdpg7\"); // /* create a job for the required format */\r\nUNSUPPORTED(\"dn6z1r1bbrtmr58m8dnfgfnm0\"); // rc = gvjobs_output_langname(gvc, format);\r\nUNSUPPORTED(\"5apijrijm2r8b1g2l4x7iee7s\"); // job = gvc->job;\r\nUNSUPPORTED(\"5wvj0ph8uqfgg8jl3g39jsf51\"); // if (rc == 999) {\r\nUNSUPPORTED(\"4lkoedjryn54aff3fyrsewwu5\"); // agerr (AGERR, \"Format: \\\"%s\\\" not recognized. Use one of:%s\\n\",\r\nUNSUPPORTED(\"2pjgp86rkudo6mihbako5yps2\"); // format, gvplugin_list(gvc, API_device, format));\r\nUNSUPPORTED(\"f3a98gxettwtewduvje9y3524\"); // return -1;\r\nUNSUPPORTED(\"dvgyxsnyeqqnyzq696k3vskib\"); // }\r\nUNSUPPORTED(\"ect62lxc3zm51lhzifift55m\"); // job->output_lang = gvrender_select(job, job->output_langname);\r\nUNSUPPORTED(\"ewlceg1k4gs2e6syq4ear5kzo\"); // if (!(agbindrec(g, \"Agraphinfo_t\", 0, NOT(0)) && GD_drawing(g)) && !(job->flags & (1<<26))) {\r\nUNSUPPORTED(\"3yo4xyapbp7osp8uyz4kff98s\"); // \tagerrorf( \"Layout was not done\\n\");\r\nUNSUPPORTED(\"8d9xfgejx5vgd6shva5wk5k06\"); // \treturn -1;\r\nUNSUPPORTED(\"dvgyxsnyeqqnyzq696k3vskib\"); // }\r\nUNSUPPORTED(\"2ai20uylya195fbdqwjy9bz0n\"); // job->output_file = out;\r\nUNSUPPORTED(\"10kpqi6pvibjsxjyg0g76lix3\"); // if (out == NULL)\r\nUNSUPPORTED(\"d47ukby9krmz2k8ycmzzynnfr\"); // \tjob->flags |= (1<<27);\r\nUNSUPPORTED(\"9szsye4q9jykqvtk0bc1r91d0\"); // rc = gvRenderJobs(gvc, g);\r\nUNSUPPORTED(\"7l8ugws8ptgtlxc1ymmh3cf18\"); // gvrender_end_job(job);\r\nUNSUPPORTED(\"a9p7yonln7g91ge7xab3xf9dr\"); // gvjobs_delete(gvc);\r\nUNSUPPORTED(\"5bc9k4vsl6g7wejc5xefc5964\"); // return rc;\r\nUNSUPPORTED(\"c24nfmv9i7o5eoqaymbibp7m7\"); // }\r\n\r\nthrow new UnsupportedOperationException();\r\n}", "void mo41083a();", "@VisibleForTesting\n public final long g(long j) {\n long j2 = j - this.f10062b;\n this.f10062b = j;\n return j2;\n }", "void mo72113b();", "@Override\n\tpublic void render(Graphics g) {\n\t\t\n\t}", "@Override\n\tpublic void render(Graphics g) {\n\t\t\n\t}", "public void b(gy ☃) {}\r\n/* */ \r\n/* */ \r\n/* */ \r\n/* */ public void a(gy ☃) {}", "Gtr createGtr();", "TGG createTGG();", "public abstract String mo9239aw();", "public void setG(boolean g) {\n\tthis.g = g;\n }", "private static C8504ba m25889b(C2272g gVar) throws Exception {\n return m25888a(gVar);\n }", "void mo21074e();", "private String pcString(String g, String d) {\n return g+\"^part_of(\"+d+\")\";\n }", "public abstract String mo13682d();", "public void mo38117a() {\n }", "public abstract void mo70713b();", "public Gitlet(int a) {\n\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n\tpublic void draw(Graphics2D g) {\n\t\t\n\t}", "public abstract T zzg(T t, T t2);", "public int mo9232aG() {\n return 0;\n }", "public void mo3286a(C0813g gVar) {\n this.f2574g = gVar;\n }", "public void mo21787L() {\n }", "@Override\n public String toString(){\n return \"G(\"+this.getVidas()+\")\";\n }", "public String DFS(int g) {\n\t\t//TODO\n\t}", "public static Object gvRenderContext(Object... arg) {\r\nUNSUPPORTED(\"6bxfu9f9cshxn0i97berfl9bw\"); // int gvRenderContext(GVC_t *gvc, graph_t *g, const char *format, void *context)\r\nUNSUPPORTED(\"erg9i1970wdri39osu8hx2a6e\"); // {\r\nUNSUPPORTED(\"1bh3yj957he6yv2dkeg4pzwdk\"); // int rc;\r\nUNSUPPORTED(\"1ag9dz4apxn0w3cz8w2bfm6se\"); // GVJ_t *job;\r\nUNSUPPORTED(\"8msotrfl0cngiua3j57ylm26b\"); // g = g->root;\r\nUNSUPPORTED(\"exts51afuertju5ed5v7pdpg7\"); // /* create a job for the required format */\r\nUNSUPPORTED(\"dn6z1r1bbrtmr58m8dnfgfnm0\"); // rc = gvjobs_output_langname(gvc, format);\r\nUNSUPPORTED(\"5apijrijm2r8b1g2l4x7iee7s\"); // job = gvc->job;\r\nUNSUPPORTED(\"5wvj0ph8uqfgg8jl3g39jsf51\"); // if (rc == 999) {\r\nUNSUPPORTED(\"8r1a6szpsnku0jhatqkh0qo75\"); // \t\tagerr(AGERR, \"Format: \\\"%s\\\" not recognized. Use one of:%s\\n\",\r\nUNSUPPORTED(\"2pj79j8toe6bactkaedt54xcv\"); // \t\t\t format, gvplugin_list(gvc, API_device, format));\r\nUNSUPPORTED(\"b0epxudfxjm8kichhaautm2qi\"); // \t\treturn -1;\r\nUNSUPPORTED(\"dvgyxsnyeqqnyzq696k3vskib\"); // }\r\nUNSUPPORTED(\"ect62lxc3zm51lhzifift55m\"); // job->output_lang = gvrender_select(job, job->output_langname);\r\nUNSUPPORTED(\"ewlceg1k4gs2e6syq4ear5kzo\"); // if (!(agbindrec(g, \"Agraphinfo_t\", 0, NOT(0)) && GD_drawing(g)) && !(job->flags & (1<<26))) {\r\nUNSUPPORTED(\"3yo4xyapbp7osp8uyz4kff98s\"); // \tagerrorf( \"Layout was not done\\n\");\r\nUNSUPPORTED(\"b0epxudfxjm8kichhaautm2qi\"); // \t\treturn -1;\r\nUNSUPPORTED(\"dvgyxsnyeqqnyzq696k3vskib\"); // }\r\nUNSUPPORTED(\"ex1rhur9nlj950oe8r621uxxk\"); // job->context = context;\r\nUNSUPPORTED(\"3hvm1mza6yapsb3hi7bkw03cs\"); // job->external_context = NOT(0);\r\nUNSUPPORTED(\"9szsye4q9jykqvtk0bc1r91d0\"); // rc = gvRenderJobs(gvc, g);\r\nUNSUPPORTED(\"7l8ugws8ptgtlxc1ymmh3cf18\"); // gvrender_end_job(job);\r\nUNSUPPORTED(\"dql0bth0nzsrpiu9vnffonrhf\"); // gvdevice_finalize(job);\r\nUNSUPPORTED(\"a9p7yonln7g91ge7xab3xf9dr\"); // gvjobs_delete(gvc);\r\nUNSUPPORTED(\"5bc9k4vsl6g7wejc5xefc5964\"); // return rc;\r\nUNSUPPORTED(\"c24nfmv9i7o5eoqaymbibp7m7\"); // }\r\n\r\nthrow new UnsupportedOperationException();\r\n}", "private static void cajas() {\n\t\t\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "void mo54435d();" ]
[ "0.678414", "0.67709124", "0.6522526", "0.64709187", "0.6450875", "0.62853396", "0.6246107", "0.6244691", "0.6212993", "0.61974055", "0.61380696", "0.6138033", "0.6105423", "0.6057178", "0.60355175", "0.60195917", "0.59741", "0.596904", "0.59063077", "0.58127505", "0.58101356", "0.57886875", "0.5771653", "0.57483286", "0.57415104", "0.5739937", "0.5737405", "0.5734033", "0.5716611", "0.5702987", "0.5702633", "0.568752", "0.5673585", "0.5656889", "0.5654594", "0.56383264", "0.56383264", "0.5633443", "0.5619376", "0.56107736", "0.55950445", "0.55687404", "0.5560633", "0.5544451", "0.553233", "0.55284953", "0.5526995", "0.5523609", "0.5522537", "0.5520261", "0.5508765", "0.54931", "0.5475987", "0.5471256", "0.5469798", "0.54696023", "0.5466119", "0.5450189", "0.5445573", "0.54424983", "0.54304206", "0.5423924", "0.54234356", "0.5420949", "0.54093313", "0.53971386", "0.53892636", "0.53887594", "0.5388692", "0.53799766", "0.5377014", "0.5375743", "0.53676707", "0.53666615", "0.53654546", "0.536411", "0.536411", "0.5361922", "0.53584075", "0.5357915", "0.53526837", "0.53503513", "0.534265", "0.5342214", "0.53399533", "0.533597", "0.5332819", "0.5331027", "0.5329743", "0.5329616", "0.5325393", "0.53252953", "0.5323291", "0.53207254", "0.5314264", "0.53122807", "0.53109974", "0.5310432", "0.53044266", "0.5304416", "0.5302328" ]
0.0
-1
/ renamed from: h
public final boolean mo3960h() { return mo3959g() | mo3961i(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void h() {}", "public void h() {\n }", "public abstract long h();", "float getH() {\n return _h;\n }", "H1 createH1();", "@Override\n public String toString() {\n return \"H\";\n }", "public void add2Hash( Hashtable h, String source ) {\n \n AstCursor c = new AstCursor();\n \n for ( c.FirstElement( this ); c.MoreElement(); c.NextElement() ) {\n Es es = ( Es ) c.node;\n es.add2Hash( h, source );\n }\n }", "public Husdjurshotell(){}", "public abstract int mo123249h();", "public int getH() {\n\t\treturn h;\n\t}", "public ho e_()\r\n/* 455: */ {\r\n/* 456:469 */ if (k_()) {\r\n/* 457:470 */ return new hy(d_());\r\n/* 458: */ }\r\n/* 459:472 */ return new hz(d_(), new Object[0]);\r\n/* 460: */ }", "public H(String a, String b, String c, String d, String e, String f, String g, String h, X x) {\n super(a, b, c, d, e, f, g, x);\n this.h = h;\n }", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n\tpublic int getH() {\n\t\treturn 100;\n\t}", "public double getH();", "static int hash(int h) {\n\t\t // This function ensures that hashCodes that differ only by constant \n\t\t // multiples at each bit position have a bounded number of collisions \n\t\t // (approximately 8 at default load factor).\n\t\th ^= (h >>> 20) ^ (h >>> 12);\n\t\treturn h ^ (h >>> 7) ^ (h >>> 4);\n\t}", "public boolean h()\r\n/* 189: */ {\r\n/* 190:187 */ return this.g;\r\n/* 191: */ }", "public void setH(int h) {\n\t\tthis.H = h;\n\t}", "private int hash(String str, int h){\n int v=0;\n\n /* FILL IN HERE */\n v = Math.floorMod(MurmurHash.hash32(str, seeds[h]) >>> h, 1 << logNbOfBuckets);\n\n return v;\n }", "public double utilisation(int h)\n {\n \tDouble result;\n \tDouble n1=(Math.pow(2,h))-1;\n \tresult=size()/n1;\n \treturn result;\n \t \t\n }", "public void setH(int h) {\n this.H = h;\n\n }", "public void setH(double h) {\n this.h = h;\n }", "public void mo21783H() {\n }", "public int hash2(int h, int m) {\r\n//\t\tint m = this.capability>>1 + 1;\r\n\t\treturn 1+(h%(m-1));\r\n\t}", "public double getH_() {\n\t\treturn h_;\n\t}", "H4 createH4();", "public abstract long mo9743h();", "private int h1(int p){\n\t\t return p % table.length;\n\t}", "public void applyHorn() {\n\t\t\r\n\t}", "public double getH() {\n return h;\n }", "public double getH() {\n return h;\n }", "public amj h()\r\n/* 17: */ {\r\n/* 18: 41 */ if ((this.c < 9) && (this.c >= 0)) {\r\n/* 19: 42 */ return this.a[this.c];\r\n/* 20: */ }\r\n/* 21: 44 */ return null;\r\n/* 22: */ }", "public int indexFor(int h) {\n\t\treturn (int) (h & (allLength - 1));\n\t}", "@Override\n\tpublic void visit(Have h) {\n\t\t// Reception de l'entier indiquant\n\t\t// l'index de la piŹce possédée par\n\t\t// le pair.\n\t\tSystem.out.println(\"visit have\");\n\t\tif (pieces == null) {\n\t\t\tpieces = new ArrayList<Integer>();\n\t\t}\n\t\tpieces.add(byteArrayToInt(h.getIndex()));\n\t}", "public abstract C17954dh<E> mo45842a();", "void mo1501h();", "static int indexFor(int h, int length) {\n return h & (length-1);\r\n }", "public int getH() {\n\t\treturn this.H;\n\t}", "public void setH_(double h_) {\n\t\tthis.h_ = h_;\n\t}", "public void setH(boolean h) {\n\tthis.h = h;\n }", "protected abstract void calculateH(Node node);", "private void attachHeader(SIPHeader h) {\n if (h == null) throw new IllegalArgumentException(\"null header!\");\n try {\n if (h instanceof SIPHeaderList) {\n SIPHeaderList hl = (SIPHeaderList) h;\n if (hl.isEmpty()) {\n return;\n }\n }\n attachHeader(h,false,false);\n } catch ( SIPDuplicateHeaderException ex) {\n // InternalErrorHandler.handleException(ex);\n }\n }", "void mo304a(C0366h c0366h);", "static int indexFor(int h, int length) {\n return h & (length - 1);\n }", "public final j h() {\n return new d(this);\n }", "C32446a mo21077h() throws Exception;", "private HSBC() {\n\t\t\n\t\t\n\t}", "@Hide\n private final zzs zzahx() {\n }", "public void mo9233aH() {\n }", "public abstract String header();", "abstract public void header();", "public static void hehe(){\n \n }", "H3 createH3();", "public void setH(Double h);", "private HeaderUtil() {}", "public void visit(Have h);", "private stendhal() {\n\t}", "private void add0(int h, int i, final String name, final String value) {\n HeaderEntry e = entries[i];\n HeaderEntry newEntry;\n entries[i] = newEntry = new HeaderEntry(h, name, value);\n newEntry.next = e;\n\n // Update the linked list.\n newEntry.addBefore(head);\n }", "int numberofhc()\n{\n\treturn hc.size();}", "static void dad_with_hl_internal(int h,int l){\n\t\tl+=hexa_to_deci(registers.get('L'));\n\t\tint carry = l>255?1:0;\n\t\tregisters.put('L',decimel_to_hexa_8bit(l));\n\t\th+=hexa_to_deci(registers.get('H'));\n\t\th+=carry;\n\t\tCS = h>255?true:false;\n\t\tregisters.put('H',decimel_to_hexa_8bit(h));\n\t}", "public Void mo7069h() {\n return null;\n }", "public Lechuga(Hamburguesa h){\n this.hamburguesa = h;\n }", "double normalizeHeading(double h) {\n double nh = h;\n if( h>-180 && h<180 ) {\n } else if( h <= -180 ) {\n nh = h+360;\n } else if( h > 180 ) {\n nh = h-360;\n }\n return nh;\n }", "@java.lang.Override\n public java.lang.String getH() {\n java.lang.Object ref = h_;\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 h_ = s;\n return s;\n }\n }", "private static String printH(Tuple[] h){\n\t\tString answer = \"ISOMORPHISM:\\t{\";\n\t\tfor(int i = 0; i < h.length; i++){\n\t\t\tanswer = answer + h[i] + (i < h.length-1? \",\": \"\");\n\t\t}\n\t\t\n\t\tanswer = answer + \"}\";\n\t\treturn answer;\n\t}", "double getStartH();", "private void rehash()\n {\n int hTmp = 37;\n\n if ( isHR != null )\n {\n hTmp = hTmp * 17 + isHR.hashCode();\n }\n\n if ( id != null )\n {\n hTmp = hTmp * 17 + id.hashCode();\n }\n\n if ( attributeType != null )\n {\n hTmp = hTmp * 17 + attributeType.hashCode();\n }\n \n h = hTmp;\n }", "public String createH() {\n\t\t// Create H per the algorithm\n\t\t// Create vertices of X --- The number of vertices in X is taken from the paper\n\t\t// k = (2 + epsilon)log n\n\t\tthis.createXVertices();\n\t\t// Create edges within X (both successive and random)\n\t\tthis.createXEdges();\n\n\t\treturn \"H Created (X Vertices)\";\n\n\t}", "public ahb(ahd paramahd)\r\n/* 12: */ {\r\n/* 13: 36 */ this.d = paramahd;\r\n/* 14: */ }", "protected void b(dh paramdh) {}", "public interface HTableWrapper {\n\n /**\n * To get the table name.\n * \n * @return\n */\n public byte[] getName();\n\n /**\n * To get a row.\n * \n * @param get\n * @return\n * @throws IOException\n */\n public Result get(Get get) throws IOException;\n\n /**\n * To get a row using lockId.\n * \n * @param get\n * @param lockId\n * @return\n * @throws IOException\n */\n public Result get(Get get, Integer lockId) throws IOException;\n\n /**\n * To rollback a row.\n * \n * @param row\n * @param startId\n * @param lockId\n * @throws IOException\n */\n public void rollbackRow(byte[] row, long startId, Integer lockId)\n throws IOException;\n\n /**\n * To commit a row.\n * \n * @param row\n * @param startId\n * @param commitId\n * @param isDelete\n * @param lockId\n * @throws IOException\n */\n public void commitRow(byte[] row, long startId, long commitId,\n boolean isDelete, Integer lockId) throws IOException;\n\n}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getHBytes() {\n java.lang.Object ref = h_;\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 h_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "HEAD createHEAD();", "private void insertItem(Hashtable<String, List<Integer>> h, Element e) {\n\t\tString key = e.attribute(\"sourcefilepath\").getValue().replace('/', '\\\\') + e.attribute(\"sourcefile\").getValue();\r\n\t\tint line = Integer.parseInt(e.attribute(\"line\").getValue().trim());\r\n\t\tList<Integer> l = h.get(key);\r\n\t\tif(l==null){\r\n\t\t\tl = new ArrayList<Integer>();\r\n\t\t\th.put(key, l);\r\n\t\t}\r\n\t\tl.add(line);\r\n\t}", "private Parser(FScript h,HashMap l,HashMap g, HashMap f) {\n vars=l;\n gVars=g;\n funcs=f;\n host=h;\n }", "String getHashControl();", "public static void printHHSV(FqImage imh){\n\t\tint\ti,j;\r\n\t\tfor( i = 0 ; i < imh.width ; i++ ){\r\n\t\t\tfor( j = 0 ; j < imh.height ; j++ ){\r\n\t\t\t\tSystem.out.print(\"h\"+imh.points[i][j].getHHSV() );\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t\t\r\n\t}", "String mo7388hl() throws RemoteException;", "static String d(NetLoginHandler var0)\n {\n return var0.h;\n }", "private static char toHexDigit(int h) {\n char out;\n if (h <= 9) out = (char) (h + 0x30);\n else out = (char) (h + 0x37);\n //System.err.println(h + \": \" + out);\n return out;\n }", "void mo7372a(C0802fh fhVar) throws RemoteException;", "double getEndH();", "public String getParameterFromH();", "public interface C22383h {\n}", "public void setH(double value) {\n this.h = value;\n }", "public void b(ahd paramahd) {}", "void mo35722a(C14235h hVar);", "public abstract void mo102585a(VH vh, int i);", "SmilHead getHead();", "@Override\n public void computeHash(Hasher hasher) {\n }", "HSet entrySet();", "public HELPFit getHF(){\n return HF;\n }", "protected MetadataUGWD() {/* intentionally empty block */}", "void reconstruct(HashMap<Integer, Vertex> h, Vertex next) {\n while (h.containsKey(next.toIdentifier())) {\n next.path = true;\n next = h.get(next.toIdentifier());\n }\n }", "void reconstruct(HashMap<Integer, Vertex> h, Vertex next) {\n while (h.containsKey(next.toIdentifier())) {\n next.path = true;\n next = h.get(next.toIdentifier());\n }\n }", "H getProfile();", "@Override\n\tpublic String getHead(Handler h) {\n\t\tStringBuffer buf = new StringBuffer(10000);\n\t\tbuf.append(\"<!DOCTYPE html>\\n\");\n\t\t\n\t\tbuf.append(\"\\t<head>\\n\");\n\t\tbuf.append(\"\\t\\t<style>\\n\");\n\t\tbuf.append(\"\\t\\ttable { width: 100% }\\n\");\n\t\tbuf.append(\"\\t\\tth { font: bold 10pt Tahoma; }\\n\");\n\t\tbuf.append(\"\\t\\ttd { font: normal 10pt Tahoma; }\\n\");\n\t\tbuf.append(\"\\t\\th1 { font: normal 11pt Tahoma; }\\n\");\n\t\tbuf.append(\"\\t\\t</style>\\n\");\n\t\tbuf.append(\"\\t</head>\\n\");\n\t\t\n\t\tbuf.append(\"\\t<body>\\n\");\n\t\tbuf.append(\"\\t\\t<h1>\" + (new Date()) + \"\\n\");\n\t\tbuf.append(\"\\t\\t<table border=\\\"0\\\" cellpadding=\\\"5\\\" cellspacing=\\\"3\\\">\\n\");\n\t\tbuf.append(\"\\t\\t\\t<tr align=\\\"left\\\">\\n\");\n\t\tbuf.append(\"\\t\\t\\t\\t<th style=\\\"width:10%\\\">LogLevel</th>\\n\");\n\t\tbuf.append(\"\\t\\t\\t\\t<th style=\\\"width:15%\\\">Time</th>\\n\");\n\t\tbuf.append(\"\\t\\t\\t\\t<th style=\\\"width:75%\\\">LogMessage</th>\\n\");\n\t\tbuf.append(\"\\t\\t\\t</tr>\\n\");\n\t\t\n\t\treturn buf.toString();\n\t}", "protected void a(dh paramdh) {}", "public com.google.protobuf.ByteString\n getHBytes() {\n java.lang.Object ref = h_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n h_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@Override\n\tprotected void interr() {\n\t}", "public int func_176881_a() {\n/* */ return this.field_176893_h;\n/* */ }" ]
[ "0.7006457", "0.6376803", "0.6152193", "0.6099337", "0.599903", "0.5976422", "0.5881053", "0.5878019", "0.5851139", "0.5840173", "0.58104765", "0.57935345", "0.5784397", "0.577195", "0.5760394", "0.5758641", "0.57195157", "0.5717094", "0.5712681", "0.57083744", "0.5691357", "0.5675319", "0.5654622", "0.5647394", "0.5633566", "0.5630044", "0.5611922", "0.5607437", "0.55959165", "0.55954385", "0.55954385", "0.5585786", "0.55847657", "0.5573256", "0.5557641", "0.55522007", "0.55487716", "0.55462223", "0.55379975", "0.55343676", "0.55202854", "0.55091685", "0.5500832", "0.54957825", "0.5495365", "0.548653", "0.5483489", "0.54801226", "0.5476092", "0.54691756", "0.5457996", "0.5454038", "0.54173815", "0.54168785", "0.5415112", "0.54006886", "0.53944254", "0.53781533", "0.5358132", "0.5352097", "0.5350295", "0.53456247", "0.53152686", "0.5314088", "0.5306762", "0.53060544", "0.5305655", "0.5299146", "0.52944684", "0.52934664", "0.5282273", "0.52762216", "0.52678543", "0.52643436", "0.5263177", "0.52619565", "0.52585053", "0.5258431", "0.5251732", "0.5248985", "0.524418", "0.52275395", "0.5224416", "0.5206976", "0.5205791", "0.5202667", "0.5201214", "0.5192617", "0.5188043", "0.5187125", "0.51868486", "0.5182988", "0.51596665", "0.5158084", "0.5158084", "0.51560694", "0.5155596", "0.51440835", "0.5138143", "0.51342785", "0.51331306" ]
0.0
-1
/ renamed from: i
public final boolean mo3961i() { if (this.f1299i == null) { return false; } this.f1299i.mo3703e(); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo17022c(int i);", "public final void mo5394iy(int i) {\n }", "void mo88773a(int i);", "void mo32046rn(int i);", "void mo54447l(int i);", "public final void mo91727g(int i) {\n }", "void mo1761g(int i);", "void mo54406a(int i);", "void mo23327tY(int i);", "void mo1753b(int i);", "@Override\n\tpublic void aumenta(int i) {\n\t\t\n\t}", "private void info3(int i) {\n\t\t\n\t}", "void mo54436d(int i);", "void mo6247nm(int i);", "void mo1933b(int i);", "void mo1494c(int i);", "void m15858a(int i);", "void mo54437e(int i);", "void mo1754c(int i);", "public int i() {\n \treturn i; \n }", "public final int getPos() { return i; }", "void mo1755d(int i);", "void mo54452q(int i);", "void mo1747a(int i);", "static int fixIndex(int i)\r\n {\r\n return i >= 0 ? i : -(i + 1);\r\n }", "void mo21050ml(int i);", "void mo37668e(int i);", "public final void mo91947k(int i) {\n }", "public abstract void mo4376b(int i);", "public void mo5332a(int i) {\n }", "void mo38565a(int i);", "public String select(int i)\r\n\t {\t\t \r\n\t\t String[] arr = this.infoToArray();\r\n\t\t if(i > arr.length)\r\n\t\t {\r\n\t\t\t return \"-1\";\r\n\t\t }\r\n\t\t return arr[i-1];\r\n\t }", "void mo22044oA(int i);", "void mo3796b(int i);", "void mo54446k(int i);", "void mo66998a(int i);", "private Index(int i) {\r\n _value = i;\r\n }", "void mo1485a(int i);", "void mo54448m(int i);", "private int elementNC(int i) {\n return first + i * stride;\n }", "public void setIndex(int i) {\n\t\t\n\t}", "public abstract void mo4385d(int i);", "void mo26876a(int i);", "void mo122221a(int i);", "private final void i() {\n }", "public abstract void mo9814c(int i);", "protected void dataTablePlan2(int i) {\n\t\t\r\n\t}", "void mo27576a(int i);", "public void mo44231a(int i) {\n }", "void mo85a(int i);", "void mo63039b(int i, int i2);", "void mo17020b(int i);", "void mo62991a(int i);", "public void mo3350a(int i) {\n }", "public int index(int i){\n \t\tif (i < 0 || i >= length()) throw new IllegalArgumentException();\n \t\treturn csa[i];\n \t}", "public abstract int mo12581RU(int i);", "public abstract void mo2156b(int i);", "private final int m28109e(int i) {\n return i + i;\n }", "public abstract void mo9809b(int i);", "@Override\n public String apply(Integer i) {\n //kombinowałem długo ale nie udało mi sie wykminić jak zrobić to zadanie przy użuciu tego interfejsu funkcyjnego\n //i zrobiłem to iteracyjnie\n return null;\n }", "public abstract int mo12574RN(int i);", "public abstract int mo12579RS(int i);", "void mo1763h(int i);", "public void mo23980a(int i, String str) {\n }", "void mo13163e(int i);", "private int advance(int[] n, int i) {\n i += n[i];\n i%=len;\n while (i<0) i+=len;\n return i;\n }", "public final void mo91724f(int i) {\n }", "private int parentIndex(int i) {\n return i / 2;\n }", "public void worked(int i) {\n\t\t\n\t}", "public int nextIndex(int i) {\n\t\treturn (i + 1) % data.length;\n\t}", "void mo17016a(int i);", "public abstract void mo4361a(int i);", "void mo1491b(int i);", "void mo7304b(int i, int i2);", "public int index(int i) {\n\t\tif (i < 0 || i >= text.length) throw new IndexOutOfBoundsException();\n\t\treturn r2p[i];\n\t}", "public abstract int start(int i);", "private int rightIndex(int i) {\n return i * 2 + 1;\n }", "public abstract void mo9734b(int i);", "void mo3767a(int i);", "protected void dataTableleibie(int i) {\n\t\r\n}", "void mo34684de(int i, int i2);", "public void mo29749op(int i) {\n if (i == 0) {\n C6638d.this.daT.mo29698og(0);\n }\n }", "private int leftIndex(int i) {\n return i * 2;\n }", "public abstract AbstractC5666g mo39572a(int i);", "C3579d mo19710g(int i) throws IOException;", "void mo7306c(int i, int i2);", "public abstract C14407a mo11609c(int i);", "void mo54424b(int i);", "public abstract int mo12582RV(int i);", "void mo63037a(int i, int i2);", "public abstract void mo4377b(int i, int i2);", "public void processed(int i);", "private int convertX(int i) {\n return i % width;\n }", "public abstract void mo4379b(int i, zzwt zzwt);", "public item getI() {\n return i;\n }", "public void getResult (int i){\n\t\tString result = items.get(i).toString();\n\t\tformatText(result);\n\t System.out.println(result);\n\t}", "public int index(int i) {\n if (i < 0 || i >= lng) {\n throw new IllegalArgumentException(\"index out of range.\");\n }\n\n return arr[i];\n }", "void setIdx(int i);", "public int withdraw(int i) {\n\t\treturn i;\n\t}", "public abstract C14407a mo11604a(int i);", "void mo54408a(int i, int i2, int i3, int i4);" ]
[ "0.6814251", "0.6791054", "0.67141014", "0.67082477", "0.6697361", "0.6696495", "0.66768324", "0.66522545", "0.66506225", "0.66473114", "0.6642119", "0.66363925", "0.6592755", "0.65895766", "0.65869564", "0.65632737", "0.6560748", "0.65470266", "0.6536829", "0.65297914", "0.65127593", "0.64910436", "0.6475078", "0.6474579", "0.6453788", "0.6449947", "0.64423084", "0.643925", "0.64370835", "0.6435097", "0.6393611", "0.6377644", "0.63709825", "0.6361261", "0.63309604", "0.6324192", "0.63111883", "0.6308764", "0.6303613", "0.62915045", "0.6283118", "0.6279513", "0.6277226", "0.6260732", "0.6252936", "0.6244241", "0.62374526", "0.62289596", "0.6224372", "0.62223464", "0.6217344", "0.62157923", "0.6201605", "0.6201401", "0.6192293", "0.6187045", "0.61829", "0.6181645", "0.61738485", "0.6170852", "0.617046", "0.61667144", "0.6165859", "0.61595744", "0.6159086", "0.6144851", "0.61408836", "0.6139398", "0.61274415", "0.6116618", "0.6108977", "0.6104106", "0.60988563", "0.60880226", "0.6079969", "0.60698235", "0.60688525", "0.606842", "0.60552436", "0.60544693", "0.60476667", "0.6044652", "0.60406977", "0.603512", "0.6025365", "0.6022614", "0.60220104", "0.6019621", "0.5996024", "0.5991862", "0.5989539", "0.598887", "0.5987865", "0.5970536", "0.5967256", "0.5967037", "0.59660614", "0.5965706", "0.59619015", "0.595908", "0.5954689" ]
0.0
-1
/ renamed from: j
public final boolean mo3962j() { return this.f1298h != null && this.f1298h.mo3705g(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void j() {\n }", "public int j() {\n \treturn j; \n }", "protected float j()\r\n/* 67: */ {\r\n/* 68: 80 */ return 1.5F;\r\n/* 69: */ }", "public abstract void mo4383c(long j);", "void mo1638a(long j, long j2, List list, ayp ayp);", "void mo30290d(long j);", "void mo30275a(long j);", "public abstract void mo9243b(long j);", "void mo80454a(File file, long j);", "void mo24142a(long j);", "public abstract void mo9813b(long j);", "static void jinfo() {\n\n }", "@Override\n\tpublic void jugar() {\n\t\t\n\t}", "static void jmap() {\n\n }", "static void jstat() {\n\n }", "static void jcmd() {\n\n }", "public final void mo7668gn(long j) {\n }", "public final void mo7668gn(long j) {\n }", "public abstract void mo4369a(long j);", "public void golpearJugador(Jugador j) {\n\t\t\n\t}", "public int j()\r\n/* 60: */ {\r\n/* 61: 79 */ for (int i = 0; i < this.a.length; i++) {\r\n/* 62: 80 */ if (this.a[i] == null) {\r\n/* 63: 81 */ return i;\r\n/* 64: */ }\r\n/* 65: */ }\r\n/* 66: 84 */ return -1;\r\n/* 67: */ }", "public abstract C7035a mo24417b(long j);", "public abstract AbstractC5663d mo39570a(long j, int i);", "int mo1635a(long j, List list);", "private void m50957b(long j) {\n if (!this.f36886a.isEmpty()) {\n C8785fs.m51740a(new C8671cf(this), j);\n }\n }", "private void kk12() {\n\n\t}", "void mo18324a(C7260j jVar);", "public abstract AbstractC5665f mo39571a(long j);", "private void pojedi (int i, int j) {\n\t\trezultat++;\n\t\tthis.zmija.add(0, new Cvor(i,j));\n\t\tthis.dodajZmiju();\n\t\tthis.dodajHranu();\n\t}", "public String func_176882_c() {\n/* */ return this.field_176891_j;\n/* */ }", "@Override\n\tpublic void jugar() {}", "public abstract void mo9811b(int i, long j);", "void mo1941j();", "public abstract void mo4382c(int i, long j);", "public RamasserArtefact(Joueur j) {\r\n\t\tsuper(j);\r\n\t}", "private int m150332e(long j) {\n return m150326a(this.f111579b, j);\n }", "C3579d mo19716j(long j) throws IOException;", "public void mo21785J() {\n }", "private static void cajas() {\n\t\t\n\t}", "public final void mo7667gm(long j) {\n }", "public long mo1597a(long j) {\n return 0;\n }", "void mo708a(long j) throws RemoteException;", "public abstract void mo9803a(int i, C3635j jVar);", "public void mo9223a(long j, int i, int i2) {\n }", "void mo723b(long j) throws RemoteException;", "void mo13371a(int i, long j);", "public synchronized float j() {\n return this.j;\n }", "public abstract void mo20156a(long j);", "public static jn J(Context param0) {\n }", "static void jstack() {\n\n }", "public void mo5335a(int i, C0268jw jwVar) {\n }", "protected void mo1603c(long j) {\n this.f7046g = j;\n }", "void mo25957a(long j, long j2);", "public abstract void mo2624j();", "static int type_of_jnz(String passed){\n\t\treturn 1;\n\t}", "public abstract void mo4363a(int i, long j);", "private void m50953a(long j) {\n C8667b peek = this.f36886a.peek();\n if (peek != null && peek.mo54372d()) {\n m50957b(j);\n }\n }", "static void jhat() {\n\n }", "public abstract void mo9812b(int i, C3635j jVar);", "public byte[] getJ() {\n return j;\n }", "public abstract boolean mo43853a(long j);", "JPackage _package();", "public void setJ(boolean j) {\n\tthis.j = j;\n }", "static void setX(int j) {\n\t\tpy = j;\n\t}", "void mo28891b(int i, long j) throws zzlm;", "void mo5870a(C1111j jVar);", "private final void m27242i(long j) {\n this.f20661c.position((int) (j - this.f20662d));\n }", "@Override\n public String toString() {\n\t\treturn i+\",\"+j; \n }", "public abstract void mo9247b(String str, long j, List<String> list);", "void m6858a(long j) {\n this.f5234e = j;\n }", "public static int getIndex(int i,int j){\r\n\t\t return i+(Variables.N+2)*j;\r\n\t }", "final void jbk()\n\t{\n\t\tfor(int i=0;i<5;i++)\n\t\t\tSystem.out.println(\"value of i=n\"+i);\n\t\t}", "private final void m691a(long j) {\n akl akl = this.f531p.f601d;\n if (akl != null) {\n j = akl.mo435a(j);\n }\n this.f513D = j;\n this.f528m.f443a.mo2108a(j);\n for (akx a : this.f535t) {\n a.mo348a(this.f513D);\n }\n for (akl akl2 = this.f531p.f601d; akl2 != null; akl2 = akl2.f583g) {\n for (bgl bgl : akl2.f585i.f3835c.mo1862a()) {\n if (bgl != null) {\n bgl.mo1839i();\n }\n }\n }\n }", "static /* synthetic */ void m34120F(int i, long j) {\n AppMethodBeat.m2504i(114776);\n C22440b c22440b;\n if (i == 11) {\n c22440b = new C22440b();\n c22440b.startTime = System.currentTimeMillis();\n sJR.put(Long.valueOf(j), c22440b);\n AppMethodBeat.m2505o(114776);\n return;\n }\n if (i == 12) {\n if (!sJR.containsKey(Long.valueOf(j))) {\n new C22440b().startTime = System.currentTimeMillis();\n AppMethodBeat.m2505o(114776);\n return;\n }\n } else if (i == 13) {\n c22440b = (C22440b) sJR.get(Long.valueOf(j));\n if (c22440b != null) {\n c22440b.endTime = System.currentTimeMillis();\n sJT.add(c22440b);\n sJR.remove(Long.valueOf(j));\n }\n }\n AppMethodBeat.m2505o(114776);\n }", "public boolean j(long j2) {\n return false;\n }", "public int func_70297_j_()\n/* */ {\n/* 71 */ return 64;\n/* */ }", "public abstract void mo9801a(int i, long j);", "static void perform_jpo(String passed){\n\t\tint type = type_of_jpo(passed);\n\t\tswitch(type){\n\t\tcase 1:\n\t\t\tjump_when_parity_not(passed);\n\t\t\tbreak;\n\t\t}\n\t}", "void mo54410a(int i, int i2, long j);", "@Nullable\r\n/* */ public ji Z_() {\r\n/* 257 */ return new ji(this.d_, 3, aa_());\r\n/* */ }", "public List<BlockPosition> e()\r\n/* 228: */ {\r\n/* 229:238 */ return this.j;\r\n/* 230: */ }", "public void mo41813c(long j) {\n this.f39214N.mo41813c(j);\n }", "static void jps() {\n\n }", "static void jhsdb() {\n\n }", "public void mo63648e(Class cls, long j) {\n }", "void jugar(Jugada jugada);", "public void mo55286a(long j) {\n mo55578b(j);\n }", "private int matrixColToV1(int j) \n {\n return (j % dimSquared) / gDim + 1;\n }", "public void mo41813c(long j) {\n this.f39210N.mo41813c(j);\n }", "@WorkerThread\n public final void zza(long j) {\n if (this.zza.zzs().zza(zzat.zzbk)) {\n this.zzb = new zzkf(this, this.zza.zzl().currentTimeMillis(), j);\n this.zza.zzc.postDelayed(this.zzb, AdaptiveTrackSelection.DEFAULT_MIN_TIME_BETWEEN_BUFFER_REEVALUTATION_MS);\n }\n }", "void mo54409a(int i, int i2, int i3, long j);", "void mo5875b(String str, long j);", "public void mo130971b(long j) {\n SinkDefaults.m149820a((AbstractC32394bh) this, j);\n }", "String mo30285c(long j);", "public final void zza(long j) {\n if (this.zza.zzt().zza(zzas.zzbp)) {\n this.zzb = new zzjw(this, this.zza.zzm().currentTimeMillis(), j);\n this.zza.zzc.postDelayed(this.zzb, AdLoader.RETRY_DELAY);\n }\n }", "static int type_of_jpo(String passed){\n\t\treturn 1;\n\t}", "public abstract void mo9807a(long j);", "public final void mo45606a(long j) {\n long[] jArr = this.f42592d;\n int a = mo45659a();\n mo45661a(a + 1);\n jArr[a] = j;\n }", "private void y(long j, int i) {\n AppMethodBeat.i(111255);\n com.tencent.mm.plugin.downloader.f.a hv = c.hv(j);\n if (hv != null) {\n b bVar = (b) mVU.get(hv.field_downloadUrl);\n int i2 = 0;\n switch (i) {\n case 1:\n i2 = 1;\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 0);\n if (bVar != null) {\n if (!bVar.mVY) {\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 2);\n break;\n } else {\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 1);\n break;\n }\n }\n break;\n case 2:\n i2 = 6;\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 3);\n break;\n case 3:\n i2 = 3;\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 6);\n break;\n case 4:\n i2 = 2;\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 5);\n break;\n case 5:\n i2 = 8;\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 7);\n break;\n case 6:\n break;\n case 7:\n i2 = 7;\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 4);\n break;\n }\n }\n AppMethodBeat.o(111255);\n }", "private void m2250a(long j, String str) {\n this.f2955d = j;\n this.f2954c = (double) j;\n this.f2953b = str;\n this.f2952a = ValueType.longValue;\n }", "public final void mo4383c(long j) {\n this.f20661c.putLong((int) (this.f20666h - this.f20662d), j);\n this.f20666h += 8;\n }" ]
[ "0.6920922", "0.6371147", "0.62772214", "0.62051874", "0.6196064", "0.61860317", "0.61813456", "0.61330765", "0.612021", "0.6117321", "0.60567325", "0.6037512", "0.6028698", "0.6012394", "0.60016197", "0.59795195", "0.59551346", "0.59551346", "0.59095114", "0.5901377", "0.58654326", "0.5850215", "0.5848516", "0.58406955", "0.58376837", "0.58231217", "0.5816042", "0.58083224", "0.5805999", "0.5781714", "0.5779426", "0.57651263", "0.57576513", "0.5751878", "0.57502306", "0.57305235", "0.5724092", "0.5721408", "0.57169926", "0.57142895", "0.57082576", "0.5689641", "0.56709594", "0.56662416", "0.56538963", "0.5650623", "0.5644059", "0.564363", "0.5641206", "0.5638489", "0.5633938", "0.5633441", "0.56331617", "0.5620591", "0.5609695", "0.5603794", "0.559072", "0.55898005", "0.55892336", "0.5580859", "0.5580648", "0.55729127", "0.5571454", "0.55711466", "0.5566113", "0.5562708", "0.5549191", "0.5536386", "0.5534856", "0.55241644", "0.55182606", "0.55117303", "0.5511151", "0.5498748", "0.5495115", "0.54897016", "0.54886824", "0.54766834", "0.547588", "0.5474448", "0.54613054", "0.54601675", "0.54601073", "0.5446704", "0.5437747", "0.5433653", "0.5428909", "0.5411171", "0.5406155", "0.54037815", "0.54023516", "0.5397151", "0.53934664", "0.53870785", "0.53749967", "0.5374616", "0.5361992", "0.5351139", "0.5350617", "0.5346173", "0.534467" ]
0.0
-1
Created by mac on 2017/3/2.
public interface PlanProcedureRepository extends JpaRepository<PlanProcedure, Integer> { public PlanProcedure findByProcedureName(String procedureName); public List<PlanProcedure> findByPlanId(Integer planId); public PlanProcedure findByPlanIdAndProcedureName(Integer planId, String procedureName); public List<PlanProcedure> findByProcedureNameLike(String procedureName); public PlanProcedure findByProcedureId(Integer procedureId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "private static void cajas() {\n\t\t\n\t}", "public final void mo51373a() {\n }", "private void kk12() {\n\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public void mo6081a() {\n }", "private void init() {\n\n\t}", "@Override\n public int describeContents() { return 0; }", "private void m50366E() {\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\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}", "private void poetries() {\n\n\t}", "private void strin() {\n\n\t}", "@Override\n public void init() {\n\n }", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "private void init() {\n\n\n\n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@SuppressWarnings(\"unused\")\n\tprivate void version() {\n\n\t}", "public void mo4359a() {\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 initialize() {\n }", "@Override\n void init() {\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 mo55254a() {\n }", "@Override\n\tprotected void interr() {\n\t}", "protected void mo6255a() {\n }", "private void getStatus() {\n\t\t\n\t}", "@Override\n public void init() {\n }", "private NativeSupport() {\n\t}", "public void mo21877s() {\n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\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 final zzgy zzgb() {\n }", "@Override\n\tpublic void nadar() {\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\tpublic void init() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n protected void initialize() \n {\n \n }", "private void initialize() {\n\t\t\n\t}", "zzang mo29839S() throws RemoteException;", "@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}", "private Platform() {\n\t\t\n\t}", "private void init() {\n }", "public static void main(String args[]) throws Exception\n {\n \n \n \n }", "protected boolean func_70814_o() { return true; }", "public void mo12628c() {\n }", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public void mo55254a() {\n }", "static void feladat9() {\n\t}", "public static void main(String[]args) {\n\t\n\t\t\n\n}", "public void m23075a() {\n }", "private void m50367F() {\n }", "@Override\n public void init() {\n\n }", "@Override\n public void init() {\n\n }", "zzafe mo29840Y() throws RemoteException;", "public void identify() {\n\n\t}", "@Override\n public void initialize() { \n }", "@Override\n public void init() {}", "@Override\n protected void init() {\n }", "public final void mo91715d() {\n }", "public abstract void mo56925d();", "private Rekenhulp()\n\t{\n\t}", "public void mo115190b() {\n }", "static void feladat7() {\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "public void mo21825b() {\n }", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "public void baocun() {\n\t\t\n\t}", "public abstract void mo70713b();", "@Override public int describeContents() { return 0; }", "public void mo21785J() {\n }", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\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}", "private Unescaper() {\n\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n public void memoria() {\n \n }" ]
[ "0.5834651", "0.5677659", "0.5615881", "0.55136126", "0.548783", "0.5475282", "0.5439289", "0.54324263", "0.5411622", "0.5400599", "0.53946984", "0.53935623", "0.53686816", "0.53469837", "0.53469837", "0.5343857", "0.5341684", "0.534035", "0.5334693", "0.5326733", "0.52885395", "0.5276568", "0.527268", "0.527249", "0.5268791", "0.5268791", "0.5268791", "0.5268791", "0.5268791", "0.5268791", "0.52555466", "0.5248805", "0.5248805", "0.5248805", "0.5248805", "0.5248805", "0.5248805", "0.5248805", "0.5246658", "0.5236272", "0.52347994", "0.52275103", "0.522471", "0.52245986", "0.52203655", "0.5217386", "0.52170265", "0.5209471", "0.5209471", "0.5208769", "0.5199844", "0.5196799", "0.5196799", "0.5196799", "0.5196799", "0.5196799", "0.5191661", "0.5191661", "0.5190062", "0.51883054", "0.5185393", "0.5179151", "0.5169311", "0.51645637", "0.5163963", "0.5157073", "0.5150783", "0.5142135", "0.5137454", "0.51351434", "0.5133846", "0.51323754", "0.51317734", "0.51305044", "0.51305044", "0.51296026", "0.5126879", "0.5123227", "0.5117827", "0.5116675", "0.51164657", "0.51127917", "0.51047194", "0.510095", "0.5100584", "0.5100066", "0.509362", "0.5087987", "0.5087375", "0.5080419", "0.50728285", "0.50704354", "0.50700635", "0.50689286", "0.50684786", "0.50684786", "0.50684786", "0.506823", "0.50679886", "0.50677747", "0.5066629" ]
0.0
-1
Created by mohamed on 25/01/2017.
@WebService @SOAPBinding (style = SOAPBinding.Style.RPC) public interface SystemeAmendes { @WebMethod void enregistrer (Voiture car); @WebMethod int signaler(String immatriculation, String modele, int tarif); @WebMethod String lister(String immatriculation); @WebMethod int payer(int numero, String nom, String prenom); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "public final void mo51373a() {\n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\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}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public void mo38117a() {\n }", "private void poetries() {\n\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\n protected void getExras() {\n }", "public void mo4359a() {\n }", "private static void cajas() {\n\t\t\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n public void init() {\n\n }", "@Override\n public int describeContents() { return 0; }", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\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}", "private void m50366E() {\n }", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n public void init() {\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 initialize() {\n }", "@Override\n public void memoria() {\n \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}", "@Override\n protected void initialize() {\n\n \n }", "@Override\n void init() {\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 mo55254a() {\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "private Rekenhulp()\n\t{\n\t}", "private void init() {\n\n\t}", "@Override\n protected void initialize() \n {\n \n }", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n public void init() {}", "@Override\r\n\tpublic void init() {}", "@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\tpublic void einkaufen() {\n\t}", "@Override\n\tpublic void jugar() {\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 protected void init() {\n }", "@Override\n\tprotected void initialize() {\n\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n public void init() {\n\n }", "@Override\n public void init() {\n\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\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 Pitonyak_09_02() {\r\n }", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "protected MetadataUGWD() {/* intentionally empty block */}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "public void mo12930a() {\n }", "@Override\n\tpublic void init() {\n\t}", "public void mo6081a() {\n }", "@Override\n\tpublic void init()\n\t{\n\n\t}", "private MetallicityUtils() {\n\t\t\n\t}", "Petunia() {\r\n\t\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public void mo55254a() {\n }", "@Override\n public void initialize() { \n }", "Constructor() {\r\n\t\t \r\n\t }", "private TMCourse() {\n\t}", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "private void kk12() {\n\n\t}", "public void mo21877s() {\n }", "@Override\n\t\tpublic void init() {\n\t\t}" ]
[ "0.6022008", "0.5931558", "0.5854459", "0.5814318", "0.57880837", "0.5756786", "0.5756786", "0.5726124", "0.57198715", "0.57197577", "0.5685303", "0.5682956", "0.56249046", "0.56041163", "0.55990815", "0.5566506", "0.55652004", "0.555276", "0.55518746", "0.5532569", "0.5523295", "0.55226755", "0.55209196", "0.5516578", "0.550749", "0.55014557", "0.54921776", "0.54921776", "0.54921776", "0.54921776", "0.54921776", "0.54905427", "0.546866", "0.54577327", "0.5456365", "0.54528326", "0.54528326", "0.54528326", "0.54528326", "0.54528326", "0.54528326", "0.5451754", "0.54506403", "0.54506403", "0.54456", "0.5441467", "0.543075", "0.543075", "0.543075", "0.543075", "0.543075", "0.543075", "0.543075", "0.5425964", "0.5425964", "0.5416379", "0.54071826", "0.54040205", "0.5403634", "0.5402852", "0.540172", "0.54010904", "0.5388342", "0.53828835", "0.53828835", "0.53828835", "0.53823614", "0.5376456", "0.5371718", "0.5371718", "0.5371718", "0.5371601", "0.53608274", "0.53586465", "0.5353253", "0.5353253", "0.5351942", "0.5347734", "0.5347734", "0.5347734", "0.53327596", "0.53295743", "0.53155255", "0.5314461", "0.5313739", "0.5308059", "0.53061396", "0.53055006", "0.5294829", "0.5290353", "0.52837664", "0.5273221", "0.52690804", "0.52675635", "0.5263079", "0.52612054", "0.52577835", "0.52503884", "0.52503014", "0.5249169", "0.5244005" ]
0.0
-1
TODO Autogenerated method stub
@Override public void visited(ComputerPartVisitor visitor) { visitor.visit(this); }
{ "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
Sets the target command to execute.
protected void setTarget(Command target) { proxy.setTarget(target); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void setCommand(String command)\n {\n Command = command;\n }", "public abstract void setCommand(String cmd);", "public void setCommand(String command) {\n _command = command;\n }", "public void setCommand(String command)\r\n\t{\r\n\t\tthis.command = command;\r\n\t}", "public void setCommand(String command)\n {\n this.command = command;\n }", "public void setCommand(Command c) {\r\n\t\tcommand = c;\r\n\t}", "protected void setCommand(CommandManager command) {\n\tthis.command = command;\n }", "@Override\n\tpublic void setCommand(String cmd) {\n\t\t\n\t}", "public void setCommand(String command) {\n this.command = command;\n }", "final public void setActionCommand(String command) {\n this.command = command;\n }", "public void setCommand(String command) {\n this.command = command;\n }", "void setTarget(java.lang.String target);", "@Override\n\tpublic void setCommand(String command) {\n\t\tmodel.setCommand(command);\n\t}", "public void setCommand(int command)\n\t{\n\t\tthis.command = command;\n\t}", "public void setActionCommand(String command) {\n this.command = command;\n }", "public void setCommand(@NonNull Command<Boolean, String> command) {\n this.command = command;\n }", "public Builder setCommand(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n command_ = value;\n onChanged();\n return this;\n }", "public void setTarget(Object method)\n {\n __m_Target = method;\n }", "public void setTarget(java.lang.String target) {\n this.target = target;\n }", "public void setTarget(String val)\r\n\t{\r\n\t\t_target = val;\r\n\t}", "public void setTarget(String newValue);", "public void setTarget(String target) {\n this.target = target;\n }", "public boolean setToolCommand(String command);", "public void setTarget(String s) { \n shortcutValue(s, GENERAL_TARGET);\n }", "public void setCmd(String cmd) {\r\n this.cmd = cmd;\r\n }", "public void setTarget(TestExecutionTarget target) {\n this.target = target;\n }", "@Override\n\tpublic void setTarget(Object arg0) {\n\t\tdefaultEdgle.setTarget(arg0);\n\t}", "public void setTarget(Target target) {\n\t\tthis.target = target;\n\t}", "public void setRemoteCommand(String remoteCommand) {\n agentConfig.setRemoteCommand(remoteCommand);\n }", "public void setTarget(String target) {\n this.target = target == null ? null : target.trim();\n }", "void\t\tsetCommandLabel(String command, String label);", "@Override\n public void initDefaultCommand() {\n setDefaultCommand(new ValidTarget());\n }", "public void setCommand(DockerCommand<?> command) {\n builder.command(command);\n }", "public void setCommand(String command){\r\n commandUpdate=command;\r\n }", "private void setGoCommand() {\n myCanvas.removeCommand(myPauseCommand);\n myCanvas.removeCommand(myNewCommand);\n myCanvas.addCommand(myGoCommand);\n }", "void setTarget(Node target) {\n\t\tthis.target = target;\n\t}", "public void setTarget(String targetToAdd) {\n if (targetToAdd.equals(\"\")) {\n throw new BuildException(\"target attribute must not be empty\");\n }\n targets.add(targetToAdd);\n targetAttributeSet = true;\n }", "void setNewCommand() {\n myCanvas.removeCommand(myPauseCommand);\n myCanvas.removeCommand(myGoCommand);\n myCanvas.addCommand(myNewCommand);\n }", "public void setDelegateCmd(PmCommand delegateCmd) {\n this.delegateCmd = delegateCmd;\n }", "public void initDefaultCommand() {\n setDefaultCommand(new IdentifyBestTarget());\n }", "public void setSetPropertyTarget(String setPropertyTarget) {\n \n this.setPropertyTarget = setPropertyTarget;\n }", "void\t\tsetCommandPropertyValue(String command, String propertyName, String propertyValue);", "public void setTarget(CPointer<BlenderObject> target) throws IOException\n\t{\n\t\tlong __address = ((target == null) ? 0 : target.getAddress());\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeLong(__io__address + 128, __address);\n\t\t} else {\n\t\t\t__io__block.writeLong(__io__address + 104, __address);\n\t\t}\n\t}", "public void setCommandKey(String commandKey)\n\t{\n\t\tthis.commandKey = Toolbox.trim(commandKey, 1);\n\t}", "public void setStartCommand(String startCommand) {\n this.startCommand = startCommand;\n }", "public void setTarget(DmcObjectName value) {\n DmcAttribute<?> attr = get(DmpDMSAG.__target);\n if (attr == null)\n attr = new DmcTypeNameContainerSV(DmpDMSAG.__target);\n \n try{\n attr.set(value);\n set(DmpDMSAG.__target,attr);\n }\n catch(DmcValueException ex){\n throw(new IllegalStateException(\"The alternative type specific set() method shouldn't throw exceptions!\",ex));\n }\n }", "void setTarget(String target) {\n try {\n int value = Integer.valueOf(target);\n game.setTarget(value);\n } catch (NumberFormatException e) {\n // caused by inputting strings\n } catch (IllegalArgumentException e) {\n // caused by number < 6.\n game.setTarget(10);\n }\n }", "public Builder setCommand(int value) {\n bitField0_ |= 0x00000004;\n command_ = value;\n onChanged();\n return this;\n }", "private void setPauseCommand() {\n myCanvas.removeCommand(myNewCommand);\n myCanvas.removeCommand(myGoCommand);\n myCanvas.addCommand(myPauseCommand);\n }", "public void updateCommand(Command command) {\n this.command = command;\n }", "@Override\n int setImmediate(ImmediateCommand command) {\n\n int handle = addCommand(command);\n postMessage(window, MESSAGE_PREFIX + handle);\n return handle;\n }", "public void setExecutable(String executable);", "public void command (int action, Unit target) throws PPException{\n\t\tif (PPNative.Unit_ActionOnUnit (id, action, target.getId()) == -1)\n\t\t\tthrow new PPException (\"command -> \"+PPNative.GetError());\n\t}", "void\t\tsetCommandOptions(String command, Strings options);", "public void setSyntaxCheckCommand(String syntaxCheckCommand) {\n this.syntaxCheckCommand = syntaxCheckCommand;\n }", "public DefaultCommand(com.netflix.hystrix.HystrixCommand.Setter setter) {\n\t\tsuper(setter);\n\t}", "@JsonProperty(\"target\")\n public void setTarget(String target) {\n this.target = target;\n }", "public void setTarget(NameContainer value) {\n DmcAttribute<?> attr = get(DmpDMSAG.__target);\n if (attr == null)\n attr = new DmcTypeNameContainerSV(DmpDMSAG.__target);\n \n try{\n attr.set(value);\n set(DmpDMSAG.__target,attr);\n }\n catch(DmcValueException ex){\n throw(new IllegalStateException(\"The type specific set() method shouldn't throw exceptions!\",ex));\n }\n }", "public void setTarget(Vector3f target) \n {\n float distance = FastMath.abs(target.y - this.getPosition().y);\n this.motionTarget = target;\n this.motionPath = new MotionPath();\n \n this.motionPath.addWayPoint(this.getPosition());\n\n this.motionPath.addWayPoint(new Vector3f(this.getPosition().x, target.y, this.getPosition().z));\n \n grabberMotion = new MotionEvent(this.node, this.motionPath);\n grabberMotion.setInitialDuration(distance / this.speed);\n }", "public void setCommandString(String cs)\n\t{\n\t\tcommandString = new String(cs);\n\t}", "public void execute(Command command) {\n\t\texecute(command.getLabel(), command);\n\t}", "public void setLastCommand(String lastCommand) {\n this.lastCommand = lastCommand;\n }", "@objid (\"8fb70c43-b102-4a64-9424-c7cc07d58fcf\")\n void setTarget(Instance value);", "public void setTarget(Object t) {\n\n if (!(t instanceof UMLDiagram)) {\n // This is perfectly normal and happens among other things\n // within the call to setDiagram (below).\n LOG.debug(\"target is null in set target or \"\n\t\t + \"not an instance of UMLDiagram\");\n return;\n }\n UMLDiagram newTarget = (UMLDiagram) t;\n\n if (target != null) {\n target.removePropertyChangeListener(\"remove\", this);\n }\n \n newTarget.addPropertyChangeListener(\"remove\", this);\n\n setToolBar(newTarget.getJToolBar());\n\n // NOTE: This listener needs to always be active \n // even if this tab isn't visible\n graph.removeGraphSelectionListener(this);\n graph.setDiagram(newTarget);\n graph.addGraphSelectionListener(this);\n target = newTarget;\n }", "public void setTargetPos(final int target) {\n \n switch(target){\n // Set target position right from current position\n case T_RIGHT:\n if(this.columnT < this.buffer.get(lineT).size()) // Check if position exists\n this.columnT++;\n break;\n // Set target position left from current position\n case T_LEFT:\n if(this.columnT > 0) // Check if position exists\n this.columnT--;\n break;\n // Set target position up from current position\n case T_UP:\n if(this.lineT > 0) { // Check if position exists\n this.lineT--;\n if(this.columnT > this.buffer.get(lineT).size()) // Check for correct positioning\n this.columnT = this.buffer.get(lineT).size();\n }\n break;\n // Set target position down from current position\n case T_DOWN:\n if(this.lineT < this.buffer.size() - 1) { // Check if position exists\n this.lineT++;\n if(this.columnT > this.buffer.get(lineT).size()) // Check for correct positioning\n this.columnT = this.buffer.get(lineT).size();\n }\n break;\n // Set target position to first position\n case T_HOME:\n this.columnT = 0;\n break;\n // Set target position to last position\n case T_END:\n this.columnT = this.buffer.get(lineT).size();\n break;\n default:\n System.out.println(\"Invalid target position\");\n break;\n }\n }", "public Builder setCommand(network.message.PlayerResponses.Command value) {\n if (commandBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n response_ = value;\n onChanged();\n } else {\n commandBuilder_.setMessage(value);\n }\n responseCase_ = 2;\n return this;\n }", "public void\n\t\t\thandleCommand(/*@ non_null */ String command);", "public Builder setCommand(\n int index, java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureCommandIsMutable();\n command_.set(index, value);\n onChanged();\n return this;\n }", "public void setCommandPackage(CommandPackage commandPackage) {\n this.commandPackage = commandPackage;\n }", "public void setCommandValue(String command, int argIndex, String newValue)\n\t{\n\t\tfor(int x = 0; x < this.commands.size(); x++)\n\t\t{\n\t\t\tif(this.commands.get(x).toString().startsWith(\"#descr\") && this.commands.get(x).args.size() > argIndex)\n\t\t\t{\n\t\t\t\tif(newValue.startsWith(\"\\\"\"))\n\t\t\t\t\tthis.commands.get(x).args.set(argIndex, newValue);\n\t\t\t\telse\n\t\t\t\t\tthis.commands.get(x).args.set(argIndex, \"\\\"\" + newValue + \"\\\"\");\n\t\t\t}\n\t\t}\n\t}", "public void setTarget(ObjectSequentialNumber target) {\n this.target = target;\n }", "public void setTarget(Object value) throws DmcValueException {\n DmcTypeNameContainerSV attr = (DmcTypeNameContainerSV) get(DmpDMSAG.__target);\n if (attr == null)\n attr = new DmcTypeNameContainerSV(DmpDMSAG.__target);\n \n attr.set(value);\n set(DmpDMSAG.__target,attr);\n }", "public void setCurrentTarget(Object target) {\r\n if (target instanceof IModelNode) {\r\n newSource = null;\r\n newTarget = (IModelNode) target;\r\n }\r\n }", "public void execute(String label, Command command) {\n\t\texecuteViaUndoManager(label, command);\n\t}", "private static String getSetCommand()\n {\n String setCmd;\n String osName = System.getProperty(\"os.name\");\n\n if (osName.indexOf(\"indows\") != -1)\n {\n if (osName.indexOf(\"indows 9\") != -1)\n {\n setCmd = \"command.com /c set\";\n }\n else\n {\n setCmd = \"cmd.exe /c set\";\n }\n }\n else\n {\n setCmd = \"/usr/bin/env\";\n //should double check for all unix platforms\n }\n return setCmd;\n }", "void\t\tsetCommandState(String command, String state);", "public void setCommandExecutor(CommandExecutorInterface commandExecutor) {\n\t\tthis.commandExecutor = commandExecutor;\n\t}", "public void setTargetString(String key) {\n/* 108 */ this.m_targetString = key;\n/* */ }", "public void initDefaultCommand() {\n \tsetDefaultCommand(new SetCanMove());\n // Set the default command for a subsystem here.\n //setDefaultCommand(new MySpecialCommand());\n }", "public void initDefaultCommand() {\n super.setDefaultCommand(new DriveJoystick());\n }", "public void commandAction(Command cmd, Displayable displayable) {\r\n\t\t\tAbstractCommand myCommand = (AbstractCommand) cmd;\r\n\t\t\tmyCommand.execute();\r\n\t\t}", "public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n \tsetDefaultCommand(new DriveWithJoystick());\n }", "T setUrlTarget(String urlTarget);", "@Override\n\tpublic void setChaseTarget(){\n\t\tthis.setTarget(_pacman.getX()+Constants.SQUARE_SIDE,_pacman.getY()-(4*Constants.SQUARE_SIDE));\n\t}", "public void setTargetPosition(double position){\n targetPosition = position;\n }", "public void initDefaultCommand() {\n \tsetDefaultCommand(new SetPlungerMove());\n // Set the default command for a subsystem here.\n //setDefaultCommand(new MySpecialCommand());\n }", "public static ProcessResult setPermissions(String target, String permissions) {\n String command = \"sudo chmod -R \" + permissions + \" \" + target;\n LOG.debug(\"ics.core.io.FileUtils.setPermissions(): \");\n return ShellUtil.executeShellCommand(command);\n }", "public Builder setActionCommand(int value) {\n bitField0_ |= 0x00000010;\n actionCommand_ = value;\n onChanged();\n return this;\n }", "public abstract void doCommand(String command);", "public MethodBuilder command(String command) {\n\t\tif (!command.endsWith(\";\")) {\n\t\t\tcommand += \";\";\n\t\t}\n\t\tcommands.add(command);\n\t\treturn this;\n\t}", "void\t\tsetCommandState(String command, boolean flag);", "protected final void addCommandSequence(ChessSpace target, ChessSpace...liftPlaceSequence){\n\t\tcommandSequences.add( new MoveSequence(owner, this, target, liftPlaceSequence));\n\t}", "public Builder setTargetPath(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n targetPath_ = value;\n onChanged();\n return this;\n }", "public void setCommand1(Command command1) {\n this.command1 = command1;\n }", "public void setTargetType(TargetTypes targetType) {\n this.targetType = targetType.getValue();\n }", "public void initDefaultCommand() {\n\t\tsetDefaultCommand(new JoystickLiftCommand());\n\t}", "public String target(String target)\n {\n return target + \":\" + this.getPort();\n }", "public void setCurrentAbilityTarget(int enemyTargetIntentX, int enemyTargetIntentY, boolean hitOrSplat) {\n this.currentAbilityTargetX = enemyTargetIntentX;\n this.currentAbilityTargetY = enemyTargetIntentY;\n this.currentlyAbilityHit = hitOrSplat;\n }", "public Builder setCmd(int value) {\n \n cmd_ = value;\n onChanged();\n return this;\n }", "public static void setLogTarget(final String logTarget)\n {\n BaseBoot.getConfiguration().setConfigProperty (LOGTARGET, logTarget);\n }" ]
[ "0.6930902", "0.6771006", "0.6734751", "0.67098", "0.66737086", "0.66541797", "0.6649033", "0.66392785", "0.66334593", "0.662279", "0.6598392", "0.65410537", "0.64607835", "0.6352029", "0.6269724", "0.6233649", "0.62079173", "0.61255556", "0.61146873", "0.6104036", "0.6090406", "0.60855323", "0.60792327", "0.6074815", "0.6030688", "0.5909607", "0.5905391", "0.5855138", "0.5820115", "0.58052886", "0.5794675", "0.57757086", "0.5774873", "0.5748554", "0.5736162", "0.5717813", "0.5673847", "0.56452596", "0.56307375", "0.56257284", "0.56235534", "0.5589478", "0.55839616", "0.5577531", "0.55680263", "0.5553057", "0.5532319", "0.55289716", "0.54882157", "0.5452301", "0.54319185", "0.543077", "0.5429879", "0.5410273", "0.5404218", "0.53497815", "0.5346648", "0.5341292", "0.5321783", "0.5309917", "0.52902436", "0.52878445", "0.52873224", "0.5271747", "0.52678126", "0.5265351", "0.5255442", "0.52429324", "0.52373767", "0.5227164", "0.5226778", "0.5212248", "0.5206851", "0.5156344", "0.5152642", "0.5149175", "0.51440287", "0.51336896", "0.5119813", "0.5110433", "0.51059294", "0.5103254", "0.5092527", "0.50793463", "0.5073954", "0.5071082", "0.5070543", "0.50667596", "0.50658625", "0.505749", "0.5056937", "0.5056607", "0.50551033", "0.50542134", "0.5050742", "0.5049866", "0.50489885", "0.50470084", "0.5044994", "0.5043802" ]
0.7662365
0
Sets the type of the command to execute. In this case the actual instance will be created by the proxy.
protected void setType(Class<?> type) { proxy.setType(type); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCommandType(CommandType commandType) {\n this.commandType = commandType;\n }", "public void setCommandType(String commandType) {\n this.commandType = commandType == null ? null : commandType.trim();\n }", "CommandTypes(String command) {\n this.command = command;\n }", "public DockerExecuteActionParser(Class<? extends DockerCommand<?>> commandType) {\n this.commandType = commandType;\n }", "@Test\n public void type() throws IllegalArgumentException {\n WebDriverCommandProcessor proc = new WebDriverCommandProcessor(\"http://localhost/\", manager.get());\n CommandFactory factory = new CommandFactory(proc);\n factory.newCommand(1, \"type\", \"aaa\", \"\");\n }", "void setType(Type type)\n {\n this.type = type;\n }", "public void setType(Object type)\r\n {\r\n\tthis.type = type;\r\n }", "void setType(String type) {\n this.type = type;\n }", "public Script(String type){\r\n setType(type);\r\n }", "private CommandType(String name) {\n\t\t\n\t\tthis.name = name;\n\t}", "public void setType (String type) {\n this.type = type;\n }", "public void setType (String type) {\n this.type = type;\n }", "public void setType (String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "@Override\n public void setObjectType(String type) {\n this.objectType = type;\n }", "@VTID(14)\n void setCommandType(\n com.exceljava.com4j.excel.XlCmdType rhs);", "public void setType(String type) \n {\n this.type = type;\n }", "public void setType(Type type) {\n this.type = type;\n }", "public void setType(Type type) {\n this.type = type;\n }", "public void setType(Type type) {\n this.type = type;\n }", "public void setType(String type);", "public void setType(String type);", "public void setType(String type);", "@Override\n public void setType(String type) {\n this.type = type;\n }", "public void setType(type type) {\r\n\t\tthis.Type = type;\r\n\t}", "public void setType(String type){\n this.type = type;\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setCommandType(typekey.LoadCommandType value);", "private void setType(String type) {\n mType = type;\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setType(String type) {\r\n this.type = type;\r\n }", "@Override\n\tpublic void setType(String type) {\n\t}", "public void setType(String type) {\r\n this.type = type;\r\n }", "public void setType(String type){\n \tthis.type = type;\n }", "final public void setType(String type)\n {\n setProperty(TYPE_KEY, (type));\n }", "public void setType( String type )\n {\n this.type = type;\n }", "void setType(java.lang.String type);", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType( String type ) {\n this.type = type;\n }", "public void setType(Type type){\n\t\tthis.type = type;\n\t}", "public interface CommandType {\n\n /** Returns unique identifier for this command type. */\n @NotNull\n String getId();\n\n /** Returns the display name of the command type. */\n @NotNull\n String getDisplayName();\n\n /** Returns the icon used to represent the command type. */\n @NotNull\n SVGResource getIcon();\n\n /** Returns the {@link CommandConfigurationPage}s that allow to configure specific command parameters. */\n @NotNull\n Collection<CommandConfigurationPage<? extends CommandConfiguration>> getConfigurationPages();\n\n /** Returns factory for {@link CommandConfiguration} instances. */\n @NotNull\n CommandConfigurationFactory<? extends CommandConfiguration> getConfigurationFactory();\n\n /** Returns command template that will be used for newly created command. */\n @NotNull\n String getCommandTemplate();\n\n /** Returns template for preview Url. */\n String getPreviewUrlTemplate();\n}", "public void setType(Class type) {\n\t this.type = type;\n\t }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type) {\n\n this.type = type;\n }", "public abstract void setCommand(String cmd);", "public void setType(String type) {\n m_Type = type;\n }", "public void setType(org.aspectj.compiler.base.ast.Type type) {\n this.type = type;\n }", "public final native void setType(String type) /*-{\n this.setType(type);\n }-*/;", "public final void setType(String type){\n\t\tthis.type = type;\t\n\t}", "public final void setType(String type) {\n this.type = type;\n }", "public MethodBuilder type(String type) {\n\t\tthis.type = type;\n\t\treturn this;\n\t}", "@Override\n\tpublic void setType(String type) {\n\t\tthis.type = type;\n\t}", "public void setType(String type) {\r\r\n\t\tthis.type = type;\r\r\n\t}", "public void setType(String type) {\r\n\t\tthis.type = type;\r\n\t}", "public void setType(String type) {\r\n\t\tthis.type = type;\r\n\t}", "public void setType(String type) {\r\n\t\tthis.type = type;\r\n\t}", "public void setType(String type){\n\t\tthis.type = type;\n\t}", "public void setType(String type)\r\n {\r\n this.mType = type;\r\n }", "public void set_type(String type)\r\n\t{\r\n\t\tthis.type = type;\r\n\t}", "public void setType(Type t) {\n type = t;\n }", "public void setType(String type) {\r\n\t\tthis.type=type;\r\n\t}", "public void setType(String type)\n\t{\n\t\tthis.type = type;\n\t}", "public void setType (String typ) {\n type = typ;\n }", "public void setType(String type) {\n\t\tthis.type = type;\n\t}", "public void setType(String type) {\n\t\tthis.type = type;\n\t}", "public void setType(String type) {\n\t\tthis.type = type;\n\t}", "public void setType(String type) {\n\t\tthis.type = type;\n\t}", "public void setType(String type) {\n\t\tthis.type = type;\n\t}", "public void setType(String type) {\n\t\tthis.type = type;\n\t}", "public void setType(String type) {\n\t\tthis.type = type;\n\t}", "public void setType(String type) {\n\t\tthis.type = type;\n\t}", "public void setType(String type) {\n\t\tthis.type = type;\n\t}", "public void setType(String type) {\n\t\tthis.type = type;\n\t}" ]
[ "0.7013431", "0.6659336", "0.6447241", "0.6155122", "0.60867095", "0.60258067", "0.5974219", "0.5970945", "0.59009755", "0.58412546", "0.582998", "0.582998", "0.582998", "0.58271855", "0.58191115", "0.57971144", "0.5794928", "0.57932574", "0.57932574", "0.57932574", "0.5790467", "0.5790467", "0.5790467", "0.57889414", "0.57842743", "0.57681847", "0.5762195", "0.57621896", "0.57621896", "0.57620686", "0.57440114", "0.57383394", "0.57383394", "0.57383394", "0.57383394", "0.5720997", "0.5719493", "0.5709999", "0.5705665", "0.5700893", "0.5700472", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56989384", "0.56939244", "0.5679739", "0.567768", "0.5670077", "0.5667311", "0.5666182", "0.5666182", "0.5652117", "0.5643247", "0.563887", "0.56301963", "0.56276196", "0.56271195", "0.5616483", "0.5614329", "0.5608834", "0.5608581", "0.5605396", "0.5605396", "0.5605396", "0.56033534", "0.55968624", "0.5585469", "0.55680287", "0.5556903", "0.5545218", "0.55403346", "0.5538377", "0.5538377", "0.5538377", "0.5538377", "0.5538377", "0.5538377", "0.5538377", "0.5538377", "0.5538377", "0.5538377" ]
0.59412843
8
Adds a value that can get passed to any command executed by the command proxy this builder creates.
protected void addData(Object value) { proxy.addData(value); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder addCommand(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureCommandIsMutable();\n command_.add(value);\n onChanged();\n return this;\n }", "public Builder addArgs(\n godot.wire.Wire.Value.Builder builderForValue) {\n if (argsBuilder_ == null) {\n ensureArgsIsMutable();\n args_.add(builderForValue.build());\n onChanged();\n } else {\n argsBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }", "public Builder addArgs(godot.wire.Wire.Value value) {\n if (argsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureArgsIsMutable();\n args_.add(value);\n onChanged();\n } else {\n argsBuilder_.addMessage(value);\n }\n return this;\n }", "public void addCommand(final String key, final String value) {\n this.commands.put(key, value);\n }", "public void addValue() {\n addValue(1);\n }", "public Builder addData(com.rpg.framework.database.Protocol.ActionCommand value) {\n if (dataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureDataIsMutable();\n data_.add(value);\n onChanged();\n } else {\n dataBuilder_.addMessage(value);\n }\n return this;\n }", "public Builder addArguments(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureArgumentsIsMutable();\n arguments_.add(value);\n onChanged();\n return this;\n }", "public Builder addCommandBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n ensureCommandIsMutable();\n command_.add(value);\n onChanged();\n return this;\n }", "public Builder addArgs(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureArgsIsMutable();\n args_.add(value);\n onChanged();\n return this;\n }", "public Builder addArgs(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureArgsIsMutable();\n args_.add(value);\n onChanged();\n return this;\n }", "public Builder addArgs(\n\t\t\t\t\tjava.lang.String value) {\n\t\t\t\tif (value == null) {\n\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t}\n\t\t\t\tensureArgsIsMutable();\n\t\t\t\targs_.add(value);\n\t\t\t\tonChanged();\n\t\t\t\treturn this;\n\t\t\t}", "@Override\n\tpublic void builder(String name, Object value)\n\t{\n\t\tthis._data.put( name, this.preprocessObject(value));\n\t}", "@Override\n public void addCommand(CommandConfig command) {\n }", "public void add(Object value) {\n\n\t}", "public Builder addData(\n com.rpg.framework.database.Protocol.ActionCommand.Builder builderForValue) {\n if (dataBuilder_ == null) {\n ensureDataIsMutable();\n data_.add(builderForValue.build());\n onChanged();\n } else {\n dataBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }", "public Builder addArgs(\n int index, godot.wire.Wire.Value.Builder builderForValue) {\n if (argsBuilder_ == null) {\n ensureArgsIsMutable();\n args_.add(index, builderForValue.build());\n onChanged();\n } else {\n argsBuilder_.addMessage(index, builderForValue.build());\n }\n return this;\n }", "Builder addPotentialAction(String value);", "public void addEncodedArgument(String name, String value) {\n this.addEncodedArgument(name, value, ARG_VAL_SEP);\n }", "public void addEncodedArgument(String name, String value) {\n this.addEncodedArgument(name, value, ARG_VAL_SEP);\n }", "private void addAdditionalBindings(\n com.google.api.HttpRule.Builder builderForValue) {\n ensureAdditionalBindingsIsMutable();\n additionalBindings_.add(builderForValue.build());\n }", "private void registerArgument(final CmdProperties baseCmd) {\n commandClasses.put(baseCmd.getCommand(), baseCmd);\n }", "public void addPostArg(String key, String value);", "public void addOption(String option, String value) {\n args.add(\"--\" + option);\n if (value != null) {\n args.add(value);\n }\n }", "public Builder setCommand(\n network.message.PlayerResponses.Command.Builder builderForValue) {\n if (commandBuilder_ == null) {\n response_ = builderForValue.build();\n onChanged();\n } else {\n commandBuilder_.setMessage(builderForValue.build());\n }\n responseCase_ = 2;\n return this;\n }", "public AbstractJob addArgument(String argkey, String argvalue) {\n this.addArgument(argkey, argvalue, ARG_DELIMITER);\n return this;\n }", "public Builder setCommand(int value) {\n bitField0_ |= 0x00000004;\n command_ = value;\n onChanged();\n return this;\n }", "Builder addAbout(String value);", "public void addCommand(CommandIF command) {\r\n\t\tmelody.add(command);\r\n\t}", "public void add (int value) {\r\n\t\ttotal = total + value;\r\n\t\thistory = history + \" + \" + value;\r\n\t}", "Builder addExampleOfWork(String value);", "public void addCommand(Object cmd) {\n Message msg = this.handler.obtainMessage(0);\n msg.obj = cmd;\n this.handler.sendMessage(msg);\n }", "public Builder setCommand(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n command_ = value;\n onChanged();\n return this;\n }", "private static void push(String flag, String value) {\r\n\t\tboolean supported = isFlagValid(flag, value, false);\r\n\r\n\t\tOption opt = new Option(flag, null);\r\n\t\topt.value = value;\r\n\t\topt.supported = supported;\r\n\t\toptionsParsed.add(opt);\r\n\t\t\r\n\t\tif(flag.equals(\"help\"))\r\n\t\t\thelp(); /* Trigger help */\r\n\t}", "public void addValue(Object value)\n\t{\n\t\tif (!values.contains(value))\n\t\t{\n\t\t\tvalues.add(value + \"\");\n\t\t}\n\t}", "public void add(int value) {\n m_value += value;\n }", "public void add (int value) {\n\t\ttotal = total + value;\n\n\t\thistory = history + \" + \" + value;\n\t\t\n\t}", "public void setProperty(String key, Object value) {\n commandData.put(key, value);\n }", "Builder addProperty(String name, String value);", "public Command(User owner, String value) {\n this(owner, \"Untitled\", \"None\", LocalDate.now(), false, value);\n }", "public void addValueLine(String line) {\n\t\tvaluesBuilder.append(line);\n\t\tif (!line.endsWith(NEW_LINE)) {\n\t\t\tvaluesBuilder.append(NEW_LINE);\n\t\t}\n\t\tthis.dirtyAttributes.add(Constants.VALUES);\n\t}", "@Override\r\n\tpublic void addValue(final IScope scope, final T value) {}", "public Builder addArgs(\n int index, godot.wire.Wire.Value value) {\n if (argsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureArgsIsMutable();\n args_.add(index, value);\n onChanged();\n } else {\n argsBuilder_.addMessage(index, value);\n }\n return this;\n }", "public Builder setCommand(network.message.PlayerResponses.Command value) {\n if (commandBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n response_ = value;\n onChanged();\n } else {\n commandBuilder_.setMessage(value);\n }\n responseCase_ = 2;\n return this;\n }", "Builder addPotentialAction(Action.Builder value);", "public Builder addArgsBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureArgsIsMutable();\n args_.add(value);\n onChanged();\n return this;\n }", "public Builder addData(\n int index, com.rpg.framework.database.Protocol.ActionCommand value) {\n if (dataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureDataIsMutable();\n data_.add(index, value);\n onChanged();\n } else {\n dataBuilder_.addMessage(index, value);\n }\n return this;\n }", "public Command(User owner, String name, String group, LocalDate dateModified, boolean shared, String value) {\n this.name = name;\n this.group = group;\n this.dateModified = dateModified;\n this.value = value;\n this.shared = shared;\n this.owner = owner;\n }", "@Override\n\tpublic void builder( String name, Object value)\n\t{\n\t\t\n\t\tthis._criteria.put( name , value);\n\t\t\n\t}", "private void addUser(\n People.Builder builderForValue) {\n ensureUserIsMutable();\n user_.add(builderForValue.build());\n }", "public Builder addInstrumentedOps(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureInstrumentedOpsIsMutable();\n instrumentedOps_.add(value);\n onChanged();\n return this;\n }", "public Builder addAdditionalBindings(\n com.google.api.HttpRule.Builder builderForValue) {\n copyOnWrite();\n instance.addAdditionalBindings(builderForValue);\n return this;\n }", "public SetValueCommand(String name) {\n\t\tthis.name = name;\n\t}", "public Context addValue(String value) {\n String squery = getQueryString();\n if (getURI() == null && squery != null) {\n setQueryString(squery + value);\n }\n return this;\n }", "Property addValue(PropertyValue<?, ?> value);", "public Builder setCmd(int value) {\n \n cmd_ = value;\n onChanged();\n return this;\n }", "public Builder addArgsBytes(\n\t\t\t\t\tcom.google.protobuf.ByteString value) {\n\t\t\t\tif (value == null) {\n\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t}\n\t\t\t\tcheckByteStringIsUtf8(value);\n\t\t\t\tensureArgsIsMutable();\n\t\t\t\targs_.add(value);\n\t\t\t\tonChanged();\n\t\t\t\treturn this;\n\t\t\t}", "public void addArgument(String arg) {\n\t\tthis.arguments.add(arg);\n\t}", "public void addChild(String value){\n\t\tInstructionNode child = new InstructionNode();\n\t\tchild.setMyRunValue(value);\n\t\tArrayList<InstructionNode> newChildren = new ArrayList<InstructionNode> ();\n\t\tnewChildren.add(child);\n\t\tgetHead().setMyChildren(newChildren);\n\t}", "private void addParameter(int param) {\r\n command_parameters.addInt(param);\r\n }", "public void add(Qryop a) {\n this.args.add(a);\n // flip the flag to accept weight\n this.acceptWeight = true;\n }", "public void _add(CommandInterpreter ci) {\n int a = Integer.parseInt(ci.nextArgument());\n int b = Integer.parseInt(ci.nextArgument());\n ci.println(a+b);\n }", "public void addCommand(Command m);", "Builder addAbout(Thing value);", "public void addUrlArg(String key, String value);", "public abstract void setCommand(String cmd);", "public void addValue(String value) {\n synchronized (values) {\n values.add(value);\n }\n }", "public godot.wire.Wire.Value.Builder addArgsBuilder() {\n return getArgsFieldBuilder().addBuilder(\n godot.wire.Wire.Value.getDefaultInstance());\n }", "@NonNull\n\t\tBuilder addProperty(@NonNull String key, Object value);", "Builder addAbout(Thing.Builder value);", "public AbstractJob addArgument(String argkey, String argvalue, String argdelimiter) {\n argdelimiter = (argdelimiter == null) ? ARG_DELIMITER : argdelimiter;\n if (argkey != null && argvalue != null) {\n this.addArgument(argkey + argdelimiter + argvalue);\n }\n return this;\n }", "Builder addEditor(String value);", "public Builder addParameters(datawave.webservice.query.QueryMessages.QueryImpl.Parameter.Builder builderForValue) {\n ensureParametersIsMutable();\n parameters_.add(builderForValue.build());\n\n return this;\n }", "public void appendInputValue(String value, boolean opFlag) {\n\t\tif( opFlag == true || calcDisplay.getText().equals(DEFAULT_VALUE) ) {\n\t\t\tcalcDisplay.setText(value);\n\t\t}\n\t\telse {\n\t\t\tcalcDisplay.setText( calcDisplay.getText() + value );\n\t\t}\n\t}", "public void add(String value) {\n add(value, false);\n }", "Builder addProvider(String value);", "Builder addName(String value);", "private void addMsg(\n Msg.Builder builderForValue) {\n ensureMsgIsMutable();\n msg_.add(builderForValue.build());\n }", "private void addMsg(\n Msg.Builder builderForValue) {\n ensureMsgIsMutable();\n msg_.add(builderForValue.build());\n }", "public static void register(LiteralArgumentBuilder<CommandSource> subCommand) {\n subCommand.requires(sender -> sender.hasPermissionLevel(MantleCommand.PERMISSION_GAME_COMMANDS))\n .then(Commands.argument(\"targets\", EntityArgument.entities())\n // slots <target> add <slot_type> [<count>]\n .then(Commands.literal(\"add\")\n .then(Commands.argument(\"slot_type\", SlotTypeArgument.slotType(false))\n .executes(context -> run(context, Operation.ADD, 1))\n .then(Commands.argument(\"count\", IntegerArgumentType.integer())\n .executes(context -> run(context, Operation.ADD)))))\n // slots <target> set <slot_type> <count>\n .then(Commands.literal(\"set\")\n .then(Commands.argument(\"slot_type\", SlotTypeArgument.slotType(false))\n .then(Commands.argument(\"count\", IntegerArgumentType.integer(0))\n .executes(context -> run(context, Operation.SET))))));\n }", "public Builder addChannel(\n io.grpc.channelz.v1.Channel.Builder builderForValue) {\n if (channelBuilder_ == null) {\n ensureChannelIsMutable();\n channel_.add(builderForValue.build());\n onChanged();\n } else {\n channelBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }", "public void add(String value);", "@Override\n\tprotected final void setFromArgument(CommandContext<ServerCommandSource> context, String name) {\n\t}", "public void push(Object value) {\n\t\tthis.add(value);\n\t}", "Builder addProperty(String name, Thing.Builder builder);", "public Builder addArgsBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n ensureArgsIsMutable();\n args_.add(value);\n onChanged();\n return this;\n }", "public Builder addVc(\n pb4client.ValueChange.Builder builderForValue) {\n if (vcBuilder_ == null) {\n ensureVcIsMutable();\n vc_.add(builderForValue.build());\n onChanged();\n } else {\n vcBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }", "Builder addPublisher(String value);", "public boolean add(String token, Object value)\n {\n // look up the token\n String type = _meta.get(token);\n if (type == null) {\n return false;\n }\n\n Object oldVal = _result.get(token);\n\n if (DoubleListArg.equals(type)) {\n if (!(value instanceof String[])) {\n return false;\n }\n List<String[]> valueList = (List<String[]>)oldVal;\n if (valueList == null) {\n valueList = new ArrayList<String[]>(1);\n _result.put(token, valueList);\n }\n valueList.add((String[])value);\n }\n else if (StringArg.equals(type) || oldVal != null) {\n if (!(value instanceof String)) {\n return false;\n }\n _result.put(token, value);\n }\n else if (ListArg.equals(type)) {\n if (!(value instanceof String)) {\n return false;\n }\n List<String> valueList = (List<String>)oldVal;\n if (valueList == null) {\n valueList = new ArrayList<String>(1);\n _result.put(token, valueList);\n }\n valueList.add((String)value);\n }\n else if (IntegerArg.equals(type) || oldVal != null) {\n if (!(value instanceof Integer)) {\n return false;\n }\n _result.put(token, value);\n }\n else if (FlagArgFalse.equals(type) || FlagArgTrue.equals(type)) {\n if (!(value instanceof Boolean)) {\n return false;\n }\n _result.put(token, value);\n }\n\n return true;\n }", "public void handleAddCoinCommand(int xPos, int yPos, int spawnedCoinValue) {\n coinController.addNewEntity(xPos, yPos, spawnedCoinValue);\n }", "private void setAddFriendFromOtherRsp(\n AddFriendFromOther.Rsp.Builder builderForValue) {\n rsp_ = builderForValue.build();\n rspCase_ = 12;\n }", "public Builder<T> append(T value) {\n basicBuilder.append(value);\n return this;\n }", "public static Argument CreateThisArgument(JValue value){\n\t\treturn new Argument(Keywords.THIS, value);\n\t}", "public Builder addAllCommand(\n java.lang.Iterable<java.lang.String> values) {\n ensureCommandIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, command_);\n onChanged();\n return this;\n }", "public Builder addItem(\n io.opencannabis.schema.commerce.OrderItem.Item.Builder builderForValue) {\n if (itemBuilder_ == null) {\n ensureItemIsMutable();\n item_.add(builderForValue.build());\n onChanged();\n } else {\n itemBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }", "public Builder setArg(\n\t\t\t\t\tjava.lang.String value) {\n\t\t\t\tif (value == null) {\n\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t}\n\n\t\t\t\targ_ = value;\n\t\t\t\tonChanged();\n\t\t\t\treturn this;\n\t\t\t}", "@Override\n int setImmediate(ImmediateCommand command) {\n\n int handle = addCommand(command);\n postMessage(window, MESSAGE_PREFIX + handle);\n return handle;\n }", "public void setCommandValue(String command, int argIndex, String newValue)\n\t{\n\t\tfor(int x = 0; x < this.commands.size(); x++)\n\t\t{\n\t\t\tif(this.commands.get(x).toString().startsWith(\"#descr\") && this.commands.get(x).args.size() > argIndex)\n\t\t\t{\n\t\t\t\tif(newValue.startsWith(\"\\\"\"))\n\t\t\t\t\tthis.commands.get(x).args.set(argIndex, newValue);\n\t\t\t\telse\n\t\t\t\t\tthis.commands.get(x).args.set(argIndex, \"\\\"\" + newValue + \"\\\"\");\n\t\t\t}\n\t\t}\n\t}", "public void add(Boolean value) {\r\n\t\tif(size < capacity) {\r\n\t\t\tvalues.add(value);\r\n\t\t\tsize++;\r\n\t\t}\t\t\r\n\t}", "public void setNewestValueCommad(TangoCommand getNewestValue) {\n newestValueCommand = getNewestValue;\n }", "public void add(Object value) {\n verifyModifiable();\n\n elements.add(value);\n }" ]
[ "0.6574412", "0.617883", "0.609438", "0.6069036", "0.5989077", "0.5987776", "0.58930004", "0.5871648", "0.5866499", "0.5866499", "0.5802411", "0.5780911", "0.5723434", "0.5612543", "0.55886364", "0.5586671", "0.5586517", "0.5514164", "0.5514164", "0.5478876", "0.54654187", "0.5465095", "0.5448923", "0.54407305", "0.54399604", "0.5388183", "0.5372565", "0.53429013", "0.53413314", "0.533415", "0.5333965", "0.5318997", "0.5318009", "0.5317895", "0.5302225", "0.52995175", "0.5296848", "0.52959055", "0.5292594", "0.5291748", "0.5289213", "0.5287203", "0.52682763", "0.5265816", "0.5260103", "0.52579224", "0.5248117", "0.524698", "0.52439195", "0.52350837", "0.52241355", "0.5202959", "0.52006805", "0.5197986", "0.5195797", "0.517798", "0.51694465", "0.5168474", "0.51671195", "0.515941", "0.5159158", "0.5158959", "0.5158469", "0.5152506", "0.51521194", "0.5150451", "0.51397014", "0.5127633", "0.5124288", "0.51216567", "0.5121422", "0.51171", "0.51105344", "0.5107845", "0.5101455", "0.5089827", "0.507519", "0.507519", "0.50720376", "0.50665605", "0.50633115", "0.5060572", "0.5056413", "0.50561094", "0.50522166", "0.50395083", "0.50391567", "0.50390357", "0.50274503", "0.502259", "0.5018877", "0.50182545", "0.5017876", "0.50115025", "0.50113726", "0.50042576", "0.5003075", "0.49997708", "0.4986993", "0.49862677" ]
0.5923194
6
Sets the timeout for this proxy. When the specified amount of time is elapsed the command execution will abort with an error.
protected void setTimeout(long milliseconds) { proxy.setTimeout(milliseconds); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setOperationTimeout(int timeout) throws RemoteException;", "public SetIdleTimeoutCommand(int timeout) {\n this.timeout = timeout;\n }", "public void setTimeout(double timeout){\n this.timeout = timeout;\n }", "public void setTimeout(long timeout) {\n this.timeout = timeout;\n }", "public void setTimeout(long timeout) {\n this.timeout = timeout;\n }", "public void setTimeout(int timeout) {\n this.timeout = timeout;\n }", "public void setTimeout( int timeout ) {\n this.timeout = timeout;\n }", "public void setTimeout(int timeout) {\r\n this.timeout = timeout;\r\n }", "public void setTimeout(int timeout) {\r\n\t\tthis.TIMEOUT = timeout;\r\n\t}", "public void setTimeout(org.apache.axis.types.UnsignedInt timeout) {\n this.timeout = timeout;\n }", "public void setTimeout(int timeout) {\r\n\t\tconnTimeout = timeout;\r\n\t}", "public void setTimeout(final String timeout);", "public void setTimeout(long timeout) {\n\t\tthis.timeout = timeout;\n\t}", "public void setTimeout(long timeout)\r\n\t{\r\n\t\tthis.timeout = timeout;\r\n\t}", "T setStartTimeout(Integer timeout);", "public void setTimeout(int _timeout) {\n if (timeout < 0)\n return;\n timeout = _timeout;\n }", "public void setTimeout(Integer timeout) {\n\t\tthis.timeout = timeout;\n\t}", "public void setTimeout(final int timeout) {\n this.timeout = timeout;\n }", "public long timeout(long timeout);", "public void setTimeout(final long timeout);", "public void setHttpClientTimeout(int timeout) {\n this.connectTimeout = timeout;\n this.customized = true;\n }", "public void setTimeout(int newTimeout) {\n this.timeout = newTimeout;\n }", "public void setTimeoutLength(int timeout) {\n\t\tmyTimeoutLength = timeout;\n\t\tif (myPort == null) {\n\t\t\treturn;\n\t\t}\n\t\tmyPort.setTimeoutLength(timeout);\n\t}", "public void setNortpTimeout(int seconds);", "public ClientBuilder timeout(int timeout) {\n this.connectTimeout = Predicates.bigThanZero(timeout);\n this.socksTimeout = timeout;\n return this;\n }", "public void setTimeout(long t) {\n StepTimeout = t;\n }", "public void setTimeout(int timeout);", "public void setTimeOut(long timeOut) {\n _timeOut = timeOut;\n }", "public void setSipTransportTimeout(int timeoutMs);", "private void setTimedOut() {\n\t\tthis.timedOut.set(true);\n\t}", "public final synchronized void setConnectionTimeout(final int timeout) {\n HttpConnectionParams.setConnectionTimeout(params, timeout);\n }", "void setTimeout(long timeout) {\n if(timeout < 0) {\n throw new RuntimeException(buildMessage(\"Timeout value must be positive, not \" + timeout));\n }\n this.timeout = timeout;\n }", "public void setTimeOut(int value) {\n this.timeOut = value;\n }", "public void setTimeout(Long value) {\r\n timeout = value;\r\n incompatibleWithSpawn |= timeout != null;\r\n }", "@Override\n\tpublic void setConnectTimeout(long arg0) {\n\n\t}", "public void setTimeout (int timeout) {\n\tif (timeout >= 0)\n\t call.setTimeout (new Integer (timeout));\n }", "public void setConnectTimeout(int connectTimeout){\n return; //TODO codavaj!!\n }", "public HttpClient setConnectionTimeout(Env env, NumberValue timeout) {\n client.setConnectTimeout(timeout.toInt());\n return this;\n }", "public ClientBuilder socksTimeout(int timeout) {\n this.socksTimeout = Predicates.bigThanZero(timeout);\n return this;\n }", "@Override\r\n\t\tpublic void setNetworkTimeout(Executor executor, int milliseconds)\r\n\t\t\t\tthrows SQLException {\n\t\t\t\r\n\t\t}", "void setStartTimeout(int startTimeout);", "protected void setTimeout() {\r\n\t\tTimeout timeout = new Timeout();\r\n\t\tt.schedule(timeout, TIMEOUT);\r\n\t}", "public void setSendTimeout(int sendTimeout){\n return; //TODO codavaj!!\n }", "public void setConnectionTimeout(Duration connectionTimeout) {\n this.connectionTimeout = connectionTimeout;\n }", "@Override\n public void setQueryTimeout( int x ) throws SQLException {\n timeout = x;\n }", "public void setConnectionTimeout(int connectionTimeout) {\r\n this.connectionTimeout = connectionTimeout;\r\n }", "public void setResponseTimeOut(int timeOut)\n {\n fResponseTimeOut = timeOut;\n }", "void setTimeout(@Nullable Duration timeout);", "public void setDelayedTimeout(int seconds);", "public void setQueryTimeout(long timeout) {\n queryTimeout = timeout;\n }", "@Override\n\tpublic void setOpTimeout(long arg0) {\n\n\t}", "public void resetTimeout(){\n this.timeout = this.timeoutMax;\n }", "public void setConnectionTimeout(double connectionTimeout) {\n this.connectionTimeout = connectionTimeout;\n saveProperties();\n }", "public TimeoutException(long time) {\n\t\tduration = time;\n\t}", "public void setConnectionTimeout(int connectionTimeout)\r\n\t{\r\n\t\tthis.connectionTimeout = connectionTimeout;\r\n\t}", "@Override\n public ConfigurationImpl setNetworkCheckTimeout(int timeout) {\n this.networkCheckTimeout = timeout;\n return this;\n }", "public Params setConnectionTimeout(Duration connectionTimeout) {\n this.connectionTimeout = Optional.of(connectionTimeout);\n return this;\n }", "void setStopTimeout(int stopTimeout);", "public TerminalPropertiesBuilder setExpectationTimeout(final long expectationTimeout) {\n this.expectationTimeout = expectationTimeout;\n return this;\n }", "public void setTimeout(final int timeout) {\r\n clock.setTimeout(timeout);\r\n }", "public AutonDelay(double timeout) {\n super(\"autonDelay\");\n setTimeout(timeout);\n }", "public void setLogOnTimeout(String timeout) {\n\t\tsetProperty(LOGON_TIMEOUT_PROP, timeout);\n\t}", "public Builder timeout(long timeout) {\r\n configurationBuilder.timeout(timeout);\r\n return this;\r\n }", "void setTransactionTimeout(int seconds) throws SystemException;", "public ClientBuilder connectTimeout(int timeout) {\n this.connectTimeout = Predicates.bigThanZero(timeout);\n return this;\n }", "public void setConnectionTimeOut(int connectionTimeOut) {\n this.connectionTimeOut = connectionTimeOut;\n }", "public final synchronized void setSocketTimeout(final int timeout) {\n HttpConnectionParams.setSoTimeout(params, timeout);\n }", "public native void setKeepAliveTimeout (int timeout);", "public void setHttpClientRequestTimeout(int timeout) {\n this.requestTimeout = timeout;\n this.customized = true;\n }", "public void setLoginTimeout(int paramLoginTimeout) {\n\tiLoginTimeout = paramLoginTimeout ;\n }", "public Delete timeout(long timeout){\n\t\taddParams(\"timeout\", timeout);\n\t\treturn this;\n\t}", "public final GetHTTP setConnectionTimeout(final String connectionTimeout) {\n properties.put(CONNECTION_TIMEOUT_PROPERTY, connectionTimeout);\n return this;\n }", "private static void timeout(String user, int time) { sendMessage(\"/timeout \" + user + \" \" + time); }", "@Override public ServerConfig timeout(final int value, final TimeUnit units) {\n this.timeout = units.toMillis(value);\n return this;\n }", "public ConnectInfo setConnectTimeout(final int connectTimeout) {\n\t\tif(connectTimeout<0) throw new IllegalArgumentException(\"The passed connectTimeout [\" + connectTimeout + \"] was invalid\");\n\t\tthis.connectTimeout = connectTimeout;\n\t\treturn this;\n\t}", "public void setConnectTimeout(int connectTimeout) {\n this.connectTimeout = connectTimeout;\n }", "@Deprecated\r\n\tpublic void setTimeout(int timeout) {\r\n\t\tsetClientSoTimeout(timeout);\r\n\t\tsetServerSoTimeout(timeout);\r\n\t}", "public final GetHTTP setDataTimeout(final String dataTimeout) {\n properties.put(DATA_TIMEOUT_PROPERTY, dataTimeout);\n return this;\n }", "@Override\n public void configure(ConfigParams configParams) throws ConfigException {\n this._timeout = configParams.getAsLongWithDefault(\"options.timeout\", this._timeout);\n }", "public void setRemoteRequestTimeout(String value) {\n\t\tnew LabeledText(OpenShiftLabel.TextLabels.REMOTE_REQUEST_TIMEOUT).setText(value);\n\t}", "public TimeoutException(long time, String message) {\n\t\tsuper(message);\n\t\tduration = time;\n\t}", "@Override\n public void setRpcHandleTimeout(int rpcHandleTimeout) {\n // This value is ignored.\n }", "public void setQueryTimeout(int queryTimeout) {\n\t\tthis.queryTimeout = queryTimeout;\n\t}", "void setTimeout(long timeoutInNanos);", "public TimeoutMetadata(long timeout) {\n super(instance);\n this.expiry = System.currentTimeMillis() + timeout;\n }", "public void setSocketTimeout(int socketTimeout)\n {\n this._socketTimeout = socketTimeout;\n }", "@Override\r\n\tpublic void setLoginTimeout(int arg0) throws SQLException {\n\r\n\t}", "public T handshakeTimeout(long timeout, TimeUnit unit) {\n throw new UnsupportedOperationException();\n }", "public void setSocketTimeout(int socketTimeout) {\r\n this.socketTimeout = socketTimeout;\r\n }", "@Override\n default UserpostPrx ice_invocationTimeout(int newTimeout)\n {\n return (UserpostPrx)_ice_invocationTimeout(newTimeout);\n }", "public void requestTimeout(Pdu packet);", "public long getTimeout() { return timeout; }", "public void setInCallTimeout(int seconds);", "public TimeoutModelEnumerationHandler(final long timeout) {\n super(timeout);\n }", "public void setConnTimeout(int connTimeout)\n {\n this._connTimeout = connTimeout;\n }", "public ConnectInfo setKexTimeout(final int kexTimeout) {\n\t\tif(kexTimeout<0) throw new IllegalArgumentException(\"The passed kexTimeout [\" + kexTimeout + \"] was invalid\");\n\t\tthis.kexTimeout = kexTimeout;\n\t\treturn this;\n\t}", "public void setConnectionTimeout(final int connTimeout) {\n this.newConnTimeout = connTimeout;\n }", "public LWTRTPdu timeout() throws IncorrectTransitionException;", "public void setTimeout (double seconds) {\n multiPathTimeout = seconds;\n }", "Builder withHardTimeout(int timeout);" ]
[ "0.72155863", "0.71883714", "0.6793889", "0.6723821", "0.6723821", "0.66749585", "0.6659004", "0.66588557", "0.658984", "0.6585278", "0.6564029", "0.6561195", "0.6561134", "0.65438265", "0.6507152", "0.6489953", "0.64724", "0.64585036", "0.64280707", "0.6396154", "0.6394876", "0.639289", "0.63360417", "0.63303244", "0.6289649", "0.6285634", "0.62802184", "0.62768435", "0.62669", "0.62633866", "0.61662596", "0.6156881", "0.6147028", "0.6135219", "0.61271137", "0.6114075", "0.60794044", "0.6074112", "0.6060183", "0.6040765", "0.6027612", "0.6018759", "0.596881", "0.5959913", "0.5951149", "0.59269583", "0.59149253", "0.5912714", "0.5912124", "0.5898864", "0.5894106", "0.587186", "0.5865302", "0.5854125", "0.58538413", "0.5846134", "0.58410823", "0.58387643", "0.5834504", "0.5830109", "0.5817968", "0.58168566", "0.5797942", "0.5787837", "0.57874995", "0.57817435", "0.57718194", "0.5767688", "0.5740973", "0.57332903", "0.5730465", "0.5724081", "0.56652313", "0.5661972", "0.56477326", "0.56422263", "0.5623502", "0.5604425", "0.5570069", "0.5564067", "0.5563385", "0.5546024", "0.5518053", "0.5502402", "0.55020446", "0.5481069", "0.54798996", "0.5475616", "0.5470275", "0.54614234", "0.5455264", "0.54441583", "0.54324013", "0.5425249", "0.5419439", "0.5419356", "0.54007745", "0.5393601", "0.5392084", "0.5387525" ]
0.6193509
30
Adds a callback to invoke when the target command completes successfully. The result produced by the command will get passed to the callback.
@SuppressWarnings({"rawtypes", "unchecked"}) // Java 1.8 forward-compatibility. protected <T> void addResultCallback(final ResultCallback<T> callback) { EventListener l = new EventListener<CommandResultEvent>() { @Override public void process(CommandResultEvent event) { callback.result((T) event.getValue()); } }; proxy.addEventListener(CommandResultEvent.COMPLETE, l); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onCompletion(Runnable callback)\n/* */ {\n/* 158 */ this.completionCallback = callback;\n/* */ }", "@Override\n public void onSuccess() {\n if (callback != null) {\n callback.run();\n }\n }", "@Override\n public void onSuccess() {\n if (callback != null) {\n callback.run();\n }\n }", "public interface CommandCallback {\n void done(String result, IOException e);\n}", "public void callback() {\n }", "public void onCompletion();", "public void onComplete(T result);", "public void callback();", "@Override\n\tpublic void onEvent() {\n\t\tSystem.out.println(\"Performing callback after synchronous task!\");\n\t}", "void execute(final Callback callback);", "public void invokeCompletionListener() {\n if (completionListener == null) return;\n completionListener.onCompletion( player );\n }", "@Override\n\tpublic void onComplete(String arg0) {\n\n\t}", "static void addCompletionCallback(QueryExecution queryExecution, Runnable callback)\n {\n AtomicBoolean taskExecuted = new AtomicBoolean();\n queryExecution.addStateChangeListener(newValue -> {\n if (newValue.isDone() && taskExecuted.compareAndSet(false, true)) {\n callback.run();\n }\n });\n // Need to do this check in case the state changed before we added the previous state change listener\n if (queryExecution.getState().isDone() && taskExecuted.compareAndSet(false, true)) {\n callback.run();\n }\n }", "public void onComplete() {\r\n\r\n }", "@Override\n\tpublic void onComplete() {\n\t\tSystem.out.println(\"Its Done!!!\");\n\t}", "public void setCommandInvokedCallback(CommandInvokedCallback commandInvokedCallback) {\n this.commandInvokedCallback = commandInvokedCallback;\n }", "@Override\n public void onComplete() {\n System.out.println (\"Suree onComplete\" );\n }", "void execute(Handler handler, Callback callback);", "void onComplete(String status);", "public interface CommandCallback {\n /**\n * Sends a response on the previously handled command.\n *\n * @param response a raw byte array of the response to studio command.\n */\n // Users don't implement this callback, but call methods on it themselves\n @SuppressLint(\"CallbackMethodName\")\n void reply(@NonNull byte[] response);\n\n /**\n * Handles a signal sent from Studio that this command should be cancelled, if possible.\n *\n * @param executor There is no guarantee on which thread the listener will be triggered on,\n * and as an inspector developer, you should be aware of this explicitly.\n * As a result, we require you to pass in a custom executor to provide the\n * flexibility to allow running the cancellation behavior on a different\n * thread. If you don't care about this, use a direct executor instead.\n * @param runnable the listener to run when command is cancelled.\n */\n // Users don't implement this callback, but call methods on it themselves\n @SuppressLint({\"PairedRegistration\", \"CallbackMethodName\"})\n void addCancellationListener(@NonNull Executor executor, @NonNull Runnable runnable);\n }", "@Override\n\t\t\t\t\tpublic void onComplete() {\n\t\t\t\t\t}", "public abstract void callback(Instruction instruction);", "@Override\n\t\tpublic void onComplete() {\n\t\t\tSystem.out.println(\"onComplete\");\n\t\t}", "public interface Callback<T> {\n\t/**\n\t * Executes when the method is complete\n\t * @param result The result of the method\n\t */\n\tpublic void onComplete(T result);\n}", "@Override\n\tpublic void callback() {\n\t}", "ProcessTaskFactory<T> addCompletionListener(Function<ProcessTaskWrapper<?>, Void> function);", "private void maybeOnSucceededOnExecutor() {\n synchronized (mNativeStreamLock) {\n if (isDoneLocked()) {\n return;\n }\n if (!(mWriteState == State.WRITING_DONE && mReadState == State.READING_DONE)) {\n return;\n }\n mReadState = mWriteState = State.SUCCESS;\n // Destroy native stream first, so UrlRequestContext could be shut\n // down from the listener.\n destroyNativeStreamLocked(false);\n }\n try {\n mCallback.onSucceeded(CronetBidirectionalStream.this, mResponseInfo);\n } catch (Exception e) {\n Log.e(CronetUrlRequestContext.LOG_TAG, \"Exception in onSucceeded method\", e);\n }\n mInflightDoneCallbackCount.decrement();\n }", "void onComplete(Consumer<? super Try<T>> action);", "void onComplete();", "@Override\r\n\t\t\tpublic void onComplete() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void onComplete() {\n\t\t\t\t\r\n\t\t\t}", "interface MyCallBack {\n\tpublic void onComplete(); \n}", "public interface CompletionListener {\n\n /** Notifies the completion of \"ConnectDevice\" command. */\n void onConnectDeviceComplete();\n\n /** Notifies the completion of \"SendMessage\" echo command. */\n void onSendMessageComplete(String message);\n\n /** Notifies that the device is ready to receive Wi-Fi network credentials. */\n void onNetworkCredentialsRequested();\n\n /** Notifies that the device is ready to receive operational credentials. */\n void onOperationalCredentialsRequested(byte[] csr);\n\n /** Notifies the pairing status. */\n void onStatusUpdate(int status);\n\n /** Notifies the completion of pairing. */\n void onPairingComplete(int errorCode);\n\n /** Notifies the deletion of pairing session. */\n void onPairingDeleted(int errorCode);\n\n /** Notifies that the Chip connection has been closed. */\n void onNotifyChipConnectionClosed();\n\n /** Notifies the completion of the \"close BLE connection\" command. */\n void onCloseBleComplete();\n\n /** Notifies the listener of the error. */\n void onError(Throwable error);\n }", "void onCompleteActionWithSuccess(SmartEvent smartEvent);", "public CommandInvokedCallback getCommandInvokedCallback() {\n return commandInvokedCallback;\n }", "public interface MyCallback {\n void done(String result);\n}", "void onTaskComplete(T result);", "@Override\n\tpublic void callback(Object o) {}", "public void onCompletion(RecordSend send);", "public void callback() {\n showProgress(false);\n this.completed = true;\n if (!isActive()) {\n skip(this.url, this.result, this.status);\n } else if (this.callback != null) {\n Class[] clsArr = {String.class, this.type, AjaxStatus.class};\n AQUtility.invokeHandler(getHandler(), this.callback, true, true, clsArr, DEFAULT_SIG, this.url, this.result, this.status);\n } else {\n try {\n callback(this.url, this.result, this.status);\n } catch (Exception e) {\n AQUtility.report(e);\n }\n }\n filePut();\n if (!this.blocked) {\n this.status.close();\n }\n wake();\n AQUtility.debugNotify();\n }", "@Override\n public void outputCompletedNotification(String scriptId, OutputStats outputStats) { }", "public interface OnActionFinishedListener<TResult> {\n /* will be called for each Action (which in a Task action chain by continuation) finished its execution\n */\n void Finished(Task task, Action<TResult> lastFinishedAction);\n}", "private Callback<Boolean> wrapCallback(final TaskFinishedCallback callback) {\n return new Callback<Boolean>() {\n @Override\n public void onResult(Boolean result) {\n callback.taskFinished(result);\n }\n };\n }", "default void finalizeCommand(Guid cmdId, boolean succeeded) {\n // empty\n }", "public interface OnSuccessCallback {\n public void execute(Object body);\n}", "public interface CommandResponse {\n void onSuccess(String response);\n void onFailure(Exception e);\n void onCompleted(int id,int exitCode);\n}", "void addCallback(Executor executor, BiConsumer<Boolean, Boolean> callback);", "public void executer(Callback callback){\n exec();\n if(callback != null){\n System.out.println(\" \" +\n \"[ Callback : callback() : 调用回调函数 ]\");\n callback.call();\n }\n }", "public void executeCommand(Topic topic, AbstractCommand command, AsyncCallback<Void> callback) {\r\n\r\n\t\ttry {\r\n\t\t\tcommand.executeCommand();\r\n\t\t} catch (HippoException e) {\r\n\t\t\tLogger.log(\"command execution problem: \" + e);\r\n\t\t}\r\n\r\n\t\ttopicService.saveCommand(command, new SaveCallbackWrapper(topic, command, callback));\r\n\t}", "@Override\n public void onComplete() {\n }", "@Override\n public void onComplete() {\n }", "@Override\n public void onComplete() {\n }", "@Override\n public void onComplete() {\n }", "@Override\n public void onComplete() {\n }", "@Override\n public void onComplete() {\n }", "@Override\n public void onComplete() {\n }", "@Override\n public void onComplete() {\n }", "@Override\n public void onComplete() {\n }", "@Override\n public void onComplete() {\n }", "@Override\n public void onComplete() {\n }", "@Override\n public void onComplete() {\n }", "void instanceCompleted(String pid, ICompletedResult result);", "public void onShellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, String[] args, ShellCallback callback, ResultReceiver resultReceiver) {\n new Shell(this, this).exec(this, in, out, err, args, callback, resultReceiver);\n }", "public void postExecution() throws CommandListenerException;", "public void onRemoteExecutionComplete(Method method, Object invoker, Object[] args, Object returnValue,\n boolean isSuccess, Throwable exception);", "void Finished(Task task, Action<TResult> lastFinishedAction);", "void onComplete(ResultModel result);", "void registerCallback(BundleTriggerCallback callback);", "public interface Callback\n {\n void cbAnalyze();\n \n /** @see GtpShell#send */\n boolean sendGtpCommand(String command, boolean sync) throws GtpError;\n }", "@Override\n\t\t\tpublic void callbackCall() {\n\t\t\t}", "public interface Callback {\n\n /**\n * A callback method the user should implement. This method will be called when the send to the server has\n * completed.\n * @param send The results of the call. This send is guaranteed to be completed so none of its methods will block.\n */\n public void onCompletion(RecordSend send);\n}", "@Override\r\n public final void onSuccess(T result) {\n delegate.onSuccess(result);\r\n }", "public void addFinishedListener(ActionListener listener)\n {\n VerifyButton.addActionListener(listener); \n }", "private void sendResultSuccess(CallbackContext callbackContext, String payload) {\n\n if (callbackContext != null) {\n // Compone el mensaje de respuesta.\n PluginResult pluginResult = new PluginResult(PluginResult.Status.OK, payload);\n pluginResult.setKeepCallback(true);\n\n // Envia la respuesta a la llamada.\n callbackContext.sendPluginResult(pluginResult);\n }\n }", "protected abstract void onCustomSuccess(T result);", "interface OnResultListener {\n void onFinished();\n }", "@Override\r\n\tpublic void moveSuccessfullyExecuted(Move move) {\n\t\tSystem.out.println(\"executed: \"+move);\r\n\t}", "@Override\n\tpublic void onSuccess(String result, int callbackflag) {\n\n\t}", "public interface Callback {\n\n public void done(Object result);\n\n}", "private void handleCompleteCommand(Command command) {\n if (command.getCommandStatus() == CommandStatus.COMPLETE) {\n List<Frame> frames = commandToFrames(command);\n frames.forEach(frame -> connection.addFrameToSend(frame));\n } else {\n //throw exception\n }\n }", "private void informCallback(SuccessCallback callback, boolean success) {\n callback.setSuccess(success);\n callback.run();\n }", "protected interface InvocationCallback {\n\n\t\tObject proceedWithInvocation() throws Throwable;\n\t}", "public void onCompletedImpl() {\n }", "void actionCompleted(ActionLookupData actionLookupData);", "public interface IOperationFinishWithDataCallback {\n\n void operationFinished(Object data);\n}", "@Override\n public void execute(boolean refresh, Callback callback) {\n this.refresh = refresh;\n this.callback = callback;\n\n getInteractorExecutor().run(this);\n }", "public void addCompletionListener(Runnable listener) {\n\t\tcompletionListeners.add(listener);\n\t\tif(isDone() || isCancelled()) {\n\t\t\tlistener.run();\n\t\t}\t\t\n\t}", "public interface CallBackListener {\n void onResult(boolean isSuccess, Object result);\n}", "public void onCompletion(CountedCompleter<?> paramCountedCompleter) {}", "Object run(Callback<String> callback, String input);", "@Override\n public void onSuccess(IMqttToken asyncActionToken) {\n }", "protected boolean onExecute(String command, long hconv)\n {\n return onExecute(command);\n }", "public Response callback() throws Exception;", "public static interface SuccessCallback {\n void onResponse(boolean success);\n }", "interface OnVerificationFinish {\n /**\n * Called when verification finishes.\n * @param withError True if there is an error in the verification.\n */\n void verificationFinish(boolean withError);\n }", "<C, R> void dispatch( CommandMessage<C> command, CommandCallback<? super C, ? super R> callback );", "@Override\n public void onComplete() {\n callback.getRandomUserResponse(randomUserResponse);\n }", "private void setApplicationConnectionResultCallback(\n\t\t\tResultCallback_c<Fling.ApplicationConnectionResult> callback) {\n\t\tsynchronized (mLock_xU) {\n\t\t\tif (mResultCallback != null) {\n\t\t\t\tmResultCallback\n\t\t\t\t\t\t.onResult(new ApplicationConnectionResultImpl(\n\t\t\t\t\t\t\t\tnew Status(FlingStatusCodes.CANCELED)));\n\t\t\t}\n\t\t\tmResultCallback = callback;\n\t\t}\n\t}", "@Override\n public void setResultCallback(ResultCallback<? super TokenResult> resultCallback) {\n if (latch.getCount() == 0) {\n resultCallback.onResult(getResult());\n } else {\n setCallback(resultCallback);\n }\n }", "public interface Callback {\n public void run(Object result, Exception err, Object rock);\n }" ]
[ "0.62086403", "0.61414754", "0.61414754", "0.6104384", "0.60845435", "0.600478", "0.59640783", "0.5947603", "0.5869166", "0.5844731", "0.583106", "0.58032167", "0.5781799", "0.5682227", "0.56617236", "0.5660005", "0.5632373", "0.56165934", "0.5589253", "0.55650926", "0.5552165", "0.5547256", "0.5546054", "0.554458", "0.5503334", "0.5461636", "0.54607934", "0.54437226", "0.5433913", "0.5431747", "0.5431747", "0.54173774", "0.54050475", "0.5400365", "0.5388741", "0.53834075", "0.5380983", "0.5377565", "0.5375225", "0.5374251", "0.5372555", "0.53723353", "0.53637815", "0.535325", "0.5352826", "0.5345352", "0.53415287", "0.53413945", "0.53283966", "0.5311296", "0.5311296", "0.5311296", "0.5311296", "0.5311296", "0.5311296", "0.5311296", "0.5311296", "0.5311296", "0.5311296", "0.5311296", "0.5311296", "0.5309522", "0.53054065", "0.53053516", "0.52993196", "0.52759045", "0.526887", "0.5266691", "0.5259947", "0.5244766", "0.5231757", "0.5228132", "0.52151483", "0.5209138", "0.51982254", "0.51955336", "0.51864177", "0.51756835", "0.5171419", "0.51654637", "0.5164451", "0.51390463", "0.5132537", "0.51308966", "0.51171106", "0.51067907", "0.51052886", "0.5102364", "0.50837964", "0.50803596", "0.5073495", "0.5068375", "0.50624025", "0.505191", "0.5047617", "0.50475526", "0.50408983", "0.5039179", "0.5024506", "0.50236857" ]
0.6147539
1
Adds a callback to invoke when the target command raised an exception. The cause of the exception will be passed to the callback.
@SuppressWarnings({"rawtypes", "unchecked"}) // Java 1.8 forward-compatibility. protected <T extends Throwable> void addExceptionCallback(final ExceptionCallback<T> callback) { EventListener l = new EventListener<CommandResultEvent>() { @Override public void process(CommandResultEvent event) { callback.exception((T) event.getValue()); } }; proxy.addEventListener(CommandResultEvent.EXCEPTION, l); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void onException(Exception e);", "private void onCallbackException(Exception e) {\n CallbackException streamError =\n new CallbackExceptionImpl(\"CalledByNative method has thrown an exception\", e);\n Log.e(CronetUrlRequestContext.LOG_TAG, \"Exception in CalledByNative method\", e);\n failWithExceptionOnExecutor(streamError);\n }", "void onException(Exception e);", "protected abstract void onException(final Exception exception);", "public void onException(Exception ex) {\n \t\t\t}", "@Override\n public void onException(Exception arg0) {\n }", "@Override\n\t\tpublic void onException(Exception arg0) {\n\t\t\t\n\t\t}", "public void onError(Exception e);", "private void fireOnTargetErrorEvent(Exception e) {\n \t\tif(!facade.getApplicationStateManager()\r\n \t\t\t\t.getApplicationState().equals(ApplicationState.LOADING)) {\r\n \t\t\treturn;\r\n \t\t}\r\n \t\t\r\n \t\tIterator<TargetDataListener> it = this.targetDataListeners.iterator();\r\n \t\t\r\n \t\twhile(it.hasNext()) {\r\n \t\t\tit.next().onTargetError(e);\r\n \t\t}\r\n \t}", "public void onError( Throwable ex );", "@Override\n\t\t\tpublic void onException(Exception arg0) {\n\n\t\t\t}", "private void failWithExceptionOnExecutor(CronetException e) {\n mException = e;\n // Do not call into mCallback if request is complete.\n synchronized (mNativeStreamLock) {\n if (isDoneLocked()) {\n return;\n }\n mReadState = mWriteState = State.ERROR;\n destroyNativeStreamLocked(false);\n }\n try {\n mCallback.onFailed(this, mResponseInfo, e);\n } catch (Exception failException) {\n Log.e(CronetUrlRequestContext.LOG_TAG, \"Exception notifying of failed request\",\n failException);\n }\n mInflightDoneCallbackCount.decrement();\n }", "@Override\r\n public void onException(Exception arg0) {\n\r\n }", "@Override\n\t\tpublic boolean onException(Exception arg0, T arg1,\n\t\t\t\tTarget<GlideDrawable> arg2, boolean arg3) {\n\t\t\treturn false;\n\t\t}", "void onError(Exception e);", "public static void logExceptionOnCommand(CommandSender sender, Command cmd, String commandLabel, String args[], Throwable e) {\n\t\tsender.sendMessage(\"§4An unhandled error occoured while preforming this command.\");\r\n\t\tsender.sendMessage(\"§4\" + e.toString());\r\n\r\n\t\t// Put the error message in the console / log file.\r\n\t\tgetLogger().severe(\"An error occoured:\");\r\n\t\tgetLogger().log(Level.SEVERE, \"Exception:\", e);\r\n\t\tgetLogger().severe(\"Context: \");\r\n\t\tgetLogger().severe(\r\n\t\t\t\t\" Command name: \" + cmd.getName() + \"(Label: \" + commandLabel\r\n\t\t\t\t\t\t+ \")\");\r\n\t\tgetLogger().severe(\" Arguments: \");\r\n\t\tfor (int i = 0; i < args.length; i++) {\r\n\t\t\t// For each of the values output it with a number next to it.\r\n\t\t\tgetLogger().severe(\" \" + i + \": \" + args[i]);\r\n\t\t}\r\n\r\n\t\t// Log the error for command access.\r\n\t\tErrorHandler.logError(new ThrowableReport(e, sender, cmd, commandLabel,\r\n\t\t\t\targs, \"Executing onCommand.\"));\r\n\r\n\t\t// Errors are typically things that shouldn't be caught (EG\r\n\t\t// ThreadDeath), so they will be rethrown.\r\n\t\tif (e instanceof Error) {\r\n\t\t\tgetLogger().severe(\"Rethrowing Error...\");\r\n\t\t\tsender.sendMessage(\"§4Rethrowing, as it extends error.\");\r\n\t\t\tthrow (Error)e; //Why this cast is necessary here, I don't know.\r\n\t\t}\r\n\t}", "void onException(final Throwable throwable, final WebDriver driver);", "@Override\n\tpublic void onException(Exception e) {\n\n\t}", "public interface ExceptionHandler {\n public void onException(Exception e);\n}", "void onStartContainerError(ContainerId containerId, Throwable t);", "@Override\n\tpublic void exceptionHandler(Handler<Exception> handler) {\n\t\t\n\t}", "@Override\n\tpublic void onError(Exception ex) {\n\n\t}", "public interface ExceptionHandler\n{\n //TODO not sure how to handle this\n}", "Redis exceptionHandler(Handler<Throwable> handler);", "void markFailed(Execution execution, Throwable cause);", "public CommandFailedByConfigException(Throwable ex) {\n super(ex);\n }", "public void doCallbackFailure(Throwable error) {\n if (channelPointerOpt.isPresent() && error != null) {\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter(sw);\n error.printStackTrace(pw);\n String stringStackTrace = sw.toString();\n failcallbacktochannel(channelPointerOpt.get().getAddress(), stringStackTrace);\n } else {\n throw new InvocationException(\"Cannot do callback for failure. Please make sure that you don't try to access this method while being in the constructor of your class (that extends NativeCallbackSupport). The failure was: \", error);\n }\n }", "public void onFailure(Exception t);", "public void onException(Throwable throwable, WebDriver driver) {\n\t}", "abstract void onError(Exception e);", "public void error(Throwable e);", "public abstract void OnError(int code);", "public void onErrorImpl(Throwable e) {\n }", "public void onException(Throwable throwable, WebDriver driver) {\n\t\t\r\n\t}", "public void onException(Throwable throwable, WebDriver driver) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void handleServerException(Exception e, String commandReceived) {\r\n\t\tLoggingUtils.logError(logger, e, \"Error from the TCPServerHandler\");\r\n\r\n\t}", "@Override\r\n\tpublic void doException() {\n\r\n\t}", "@Override\n public void onError(Throwable ex) {\n com.microblink.util.Log.e(this, ex, \"Error\");\n handleError();\n }", "public void onError(Throwable arg0) {\n\t\t\n\t\t }", "private void fireOnIndicatorErrorEvent(Exception e) {\n \t\tif(!facade.getApplicationStateManager()\r\n \t\t\t\t.getApplicationState().equals(ApplicationState.LOADING_INDICATORS)) {\r\n \t\t\treturn;\r\n \t\t}\r\n \t\t\r\n \t\tIterator<IndicatorDataListener> it = this.indicatorDataListeners.iterator();\r\n \t\t\r\n \t\twhile(it.hasNext()) {\r\n \t\t\tit.next().onIndicatorError(e);\r\n \t\t}\r\n \t}", "public void respondToError(Object source, String msg);", "public interface OnGlobalExceptionListener {\n boolean handleException(AppException e);\n}", "public MethodInvocationException(PropertyChangeEvent propertyChangeEvent, Throwable ex) {\r\n\t\tsuper(propertyChangeEvent, String.format(\"Property '%s' threw exception\", propertyChangeEvent.getPropertyName()), ex);\r\n\t}", "public FaultException raise(Throwable e, Object argument);", "public interface ExceptionHandler {\r\n void connectionFailed(SocketConnector connector, Exception ex);\r\n }", "private void failWithException(final CronetException exception) {\n postTaskToExecutor(new Runnable() {\n @Override\n public void run() {\n failWithExceptionOnExecutor(exception);\n }\n });\n }", "public FaultException raise(Throwable e);", "public void onException(Exception ex) {\r\n System.out.println(\"Exception on Listener.\");\r\n ex.printStackTrace();\t\r\n }", "public HttpClient exceptionHandler(final Env env, final Callback handler) {\n client.exceptionHandler(new Handler<Throwable>(env, handler));\n return this;\n }", "public void addException(Exception exception);", "public void onCooldownError(CommandEvent e);", "void namingExceptionThrown(NamingExceptionEvent evt) throws RemoteException;", "@Override\n public void onResponse(PersistentTasksCustomMetadata.PersistentTask<?> task) {\n onFailure.accept(exception);\n }", "void handleError(Exception ex);", "void exceptionCaught(Throwable cause) throws Exception;", "void exceptionCaught(Throwable cause) throws Exception;", "public abstract void onStartContainerError(\n ContainerId containerId, Throwable t);", "public void error(Exception e);", "public interface GlobalExceptionListener {\n\n boolean handleException(CatException e);\n\n}", "void onError(Throwable e);", "public void onError(String err, String nick);", "void failed (Exception e);", "void onErrorEvent(@PropertyId int propertyId, int zone);", "void onError(Throwable throwable);", "@Override\n public void exception(NHttpServerConnection conn, Exception ex) {\n this.handler.exception(conn, ex);\n }", "void afterThrow(T resource, Exception exception);", "protected void handleListenerException(Throwable ex) {\n\t\tlogger.error(\"Listener execution failed\", ex);\n\t}", "private void handleThrowable(Throwable e, CommandSender sender) {\n\t\tif (e instanceof InvocationTargetException){\n\t\t\te = e.getCause();\n\t\t}\n\t\t\n\t\tif (e instanceof NoConsoleException){\n\t\t\tplugin.msg(sender, plugin.getMessage(\"mustbeconsole\"));\n\t\t} else if (e instanceof NotIngameException){\n\t\t\tplugin.msg(sender, plugin.getMessage(\"mustbeingame\"));\n\t\t} else if (e instanceof NoPermissionsException){\n\t\t\tplugin.msg(sender, plugin.getMessage(\"nopermission\").replace(\"<perm>\", e.getCause().getMessage()));\n\t\t} else {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "@Override\n public void onProcessError(Object item, Exception e) {\n logger.error(\"onProcessError\");\n }", "@Override\r\n\tpublic final void showCommandError(String command, String message) {\n\t}", "@Override\n\tpublic void onError(String arg0, Integer arg1, Integer arg2, String arg3, Exception arg4) {\n\t\t\n\t}", "public void onException(RequestException e);", "public void trigger(E arg) {\n List<Consumer<E>> nlst;\n synchronized (this) {\n nlst = new ArrayList<>(lst);\n }\n for (Consumer<E> c : nlst) {\n try {\n c.accept(arg);\n } catch (Throwable th) {\n try {\n uncaughtExceptionHandler.uncaughtException(Thread.currentThread(), th);\n } catch (Throwable th2) {\n // do nothing\n }\n }\n }\n }", "@Override\r\n public void onError(Exception e) {\n }", "@Override\r\n\tpublic void setException(Throwable throwable) {\r\n super.setException(throwable);\r\n if ( getFutureListenerProcessor() != null ) {\r\n getFutureListenerProcessor().futureSetException(this, throwable);\r\n }\r\n }", "public void on() throws Exception;", "@Override\n\t\t\tpublic void onCallback(Exception e) {\n\t\t\t\t ToastUtils.showCustomToast(e.getLocalizedMessage());\n\t\t\t}", "@Override\n\t\t\tpublic void onCallback(Exception e) {\n\t\t\t\t ToastUtils.showCustomToast(e.getLocalizedMessage());\n\t\t\t}", "@Override\n\t\t\tpublic void onCallback(Exception e) {\n\t\t\t\t ToastUtils.showCustomToast(e.getLocalizedMessage());\n\t\t\t}", "abstract void onClose(Throwable e);", "@Override\n public void onError(Exception e) {\n\n }", "public void error(String message, Throwable throwable);", "public void logAfterThrowing(JoinPoint joinPoint, Throwable e);", "public CommandFailedByConfigException(String msg, Throwable ex) {\n super(msg, ex);\n }", "protected void raiseError(final Throwable exception,\n final ReplyCallback replyCallback) {\n ReplyHandler.raiseError(exception, replyCallback, null);\n }", "public abstract void onError(Call call, Exception e);", "public final void exceptionHandler() throws RecognitionException {\n\t\ttry {\n\t\t\t// org/antlr/grammar/v3/TreeToNFAConverter.g:327:2: ( ^( 'catch' ARG_ACTION ACTION ) )\n\t\t\t// org/antlr/grammar/v3/TreeToNFAConverter.g:327:7: ^( 'catch' ARG_ACTION ACTION )\n\t\t\t{\n\t\t\tmatch(input,CATCH,FOLLOW_CATCH_in_exceptionHandler636); if (state.failed) return;\n\t\t\tmatch(input, Token.DOWN, null); if (state.failed) return;\n\t\t\tmatch(input,ARG_ACTION,FOLLOW_ARG_ACTION_in_exceptionHandler638); if (state.failed) return;\n\t\t\tmatch(input,ACTION,FOLLOW_ACTION_in_exceptionHandler640); if (state.failed) return;\n\t\t\tmatch(input, Token.UP, null); if (state.failed) return;\n\n\t\t\t}\n\n\t\t}\n\t\tcatch (RecognitionException re) {\n\t\t\treportError(re);\n\t\t\trecover(input,re);\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public InvalidEventHandlerException(Throwable cause) {\n super(cause);\n }", "public void onFailure(Throwable arg0) {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "void handleException(Context context, Throwable exc, String description);", "public static void handleInvalidCommandException() {\n System.out.println(\"\\tSorry sir, I do not recognise this command.\");\n Help.execute();\n Duke.jarvis.printDivider();\n }", "@Override\n public void onError(Exception e) {\n }", "public void addError(Throwable t);", "Throwable cause();", "public interface ErrorListener {\r\n /**\r\n * Responds to the error event in any way that the listener chooses\r\n * @param source The object that raised the error event\r\n * @param msg An optional message created by the source object\r\n */\r\n public void respondToError(Object source, String msg);\r\n}", "public void onException(Exception ex) \n {\n ex.printStackTrace();\n }", "IntermediateThrowEvent createIntermediateThrowEvent();", "default void onConnectException(SessionID sessionID, Exception exception) {\n }", "public void taskSetFailed(TaskSet taskSet, String reason, Throwable exception) {\n eventProcessLoop.post(new TaskSetFailed(taskSet, reason, exception));\n }", "void onStopContainerError(ContainerId containerId, Throwable t);" ]
[ "0.5877418", "0.5855179", "0.57739246", "0.5754113", "0.56885767", "0.56651556", "0.5596174", "0.5579857", "0.55655587", "0.55605066", "0.5553948", "0.5379942", "0.5342284", "0.5297307", "0.5279689", "0.527921", "0.5253602", "0.5224382", "0.52175105", "0.52133656", "0.5156705", "0.5152099", "0.51258826", "0.5122591", "0.5111736", "0.5111291", "0.5107284", "0.5073097", "0.50364375", "0.50358397", "0.5034658", "0.50205624", "0.49944085", "0.49882993", "0.49882993", "0.49684924", "0.4967404", "0.49606976", "0.49564084", "0.49542418", "0.49507305", "0.4946041", "0.49347648", "0.49325392", "0.49151546", "0.49072757", "0.49039915", "0.48963383", "0.48945776", "0.48920768", "0.48718056", "0.48659772", "0.48643535", "0.4862455", "0.48604086", "0.48604086", "0.4850326", "0.4849005", "0.4845777", "0.48438177", "0.48432907", "0.48354578", "0.48347184", "0.48267686", "0.48210588", "0.4820186", "0.4815895", "0.4802424", "0.48015457", "0.48001143", "0.47988105", "0.47981864", "0.4791839", "0.4789981", "0.47889617", "0.47882152", "0.47838685", "0.47838685", "0.47838685", "0.4771952", "0.47696787", "0.47601572", "0.4751681", "0.47469366", "0.47460264", "0.47428644", "0.47399727", "0.47390077", "0.47358096", "0.4735", "0.47315264", "0.4730465", "0.47208852", "0.47147557", "0.47132257", "0.4712137", "0.47095576", "0.47085032", "0.47078088", "0.47015896" ]
0.7195197
0
Adds a callback to invoke when the target command gets cancelled. The callback should not expect any parameters.
@SuppressWarnings({"rawtypes", "unchecked"}) // Java 1.8 forward-compatibility. protected void addCancelCallback(final CancelCallback callback) { EventListener l = new EventListener<CommandEvent>() { @Override public void process(CommandEvent event) { callback.cancel(); } }; proxy.addEventListener(CommandEvent.CANCEL, l); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onCancel();", "void onCancel();", "protected abstract void onCancel();", "public void onCancelled();", "void cancel(@NonNull java.lang.Runnable command, boolean mayInterruptIfRunning);", "public void onCancel() {\n }", "void onCancelled();", "void onCancel(int key);", "public void onCancelled() {\n }", "public void onCancelled() {\n }", "public void onCancel() {\n\t\t\t\t\t}", "public void onCancel() {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}", "public void onCancel() {\n\n }", "public interface CommandCallback {\n /**\n * Sends a response on the previously handled command.\n *\n * @param response a raw byte array of the response to studio command.\n */\n // Users don't implement this callback, but call methods on it themselves\n @SuppressLint(\"CallbackMethodName\")\n void reply(@NonNull byte[] response);\n\n /**\n * Handles a signal sent from Studio that this command should be cancelled, if possible.\n *\n * @param executor There is no guarantee on which thread the listener will be triggered on,\n * and as an inspector developer, you should be aware of this explicitly.\n * As a result, we require you to pass in a custom executor to provide the\n * flexibility to allow running the cancellation behavior on a different\n * thread. If you don't care about this, use a direct executor instead.\n * @param runnable the listener to run when command is cancelled.\n */\n // Users don't implement this callback, but call methods on it themselves\n @SuppressLint({\"PairedRegistration\", \"CallbackMethodName\"})\n void addCancellationListener(@NonNull Executor executor, @NonNull Runnable runnable);\n }", "public void onCancelled() {\n this.cancelled = true;\n }", "@Override\n\tprotected void cancelCallback() {\n\t\twasCancelled = true;\n\t\tclose();\n\t}", "@Override\r\n public void onCancel(String callerTag) {\n }", "abstract protected void cancelCommands();", "void onCanceled();", "@Override\n public void onCancel(Platform arg0, int arg1)\n {\n }", "@Override\n public void onCancel(Platform arg0, int arg1) {\n }", "@Override\n public void onCancel(Platform arg0, int arg1) {\n }", "@Override\n public void onCancel(Platform arg0, int arg1)\n {\n\n }", "protected abstract void handleCancel();", "@Override\n public void onCancel(Platform arg0, int arg1) {\n\n }", "@objid (\"26d79ec6-186f-11e2-bc4e-002564c97630\")\n @Override\n public void performCancel() {\n }", "@Override\r\n\t\tpublic void onCancel(Platform arg0, int arg1) {\n\r\n\t\t}", "public void cancel( String reason );", "@Override\n protected void onCancel(@CancelReason int cancelReason, @Nullable Throwable throwable) {\n }", "@Override\n protected void onCancel(@CancelReason int cancelReason, @Nullable Throwable throwable) {\n }", "@Override\n\t\t\t\t\tpublic void onCancel(Platform arg0, int arg1) {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "@Override\r\n\t\tpublic void onCancel() {\n\t\t}", "private void onCancel()\n\t{\n\t\tdispose();\n\t}", "private void onCancel() {\n\t\tdispose();\n\t}", "@Override\n public void onCancel() {\n }", "private void onCancel() {\n cancelDisposalProcess();\n }", "@Override\n\t\t\t\t public void onCancel() {\n\t\t\t\t\t errorMessage = \"You cancelled Operation\";\n\t\t\t\t\t getResponse();\n\t\t\t\t }", "private void onCancel()\r\n {\n dispose();\r\n }", "@Override\n\t\tpublic void onCancel(Platform arg0, int arg1) {\n\t\t\tLog.i(\"tag\", \"onCancel\");\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void onCancel() {\n \n \t}", "@SuppressWarnings(\"unused\")\n @CalledByNative\n private void onCanceled() {\n postTaskToExecutor(new Runnable() {\n @Override\n public void run() {\n try {\n mCallback.onCanceled(CronetBidirectionalStream.this, mResponseInfo);\n } catch (Exception e) {\n Log.e(CronetUrlRequestContext.LOG_TAG, \"Exception in onCanceled method\", e);\n }\n mInflightDoneCallbackCount.decrement();\n }\n });\n }", "@Override\n\t\t\t\t\tpublic void onCancel(Platform arg0, int arg1) {\n\t\t\t\t\t\tLog.i(\"tag\", \"onCancel\");\t\t\t\t\t\n\t\t\t\t\t}", "@Override\n\tpublic void eventCancelled() {\n\t\tstatus=EventCancelled;\n\t}", "private void onCancel() {\n dispose();\r\n }", "@Override\n protected void onCancel() {\n }", "private void onCancel() {\n dispose();\n }", "private void onCancel() {\n dispose();\n }", "private void onCancel() {\n dispose();\n }", "private void onCancel() {\n dispose();\n }", "private void onCancel() {\n dispose();\n }", "private void onCancel() {\n dispose();\n }", "private void onCancel() {\n dispose();\n }", "private void onCancel() {\n dispose();\n }", "private void onCancel() {\n dispose();\n }", "private void onCancel() {\n dispose();\n }", "private void onCancel() {\n dispose();\n }", "private void onCancel() {\n dispose();\n }", "private void onCancel() {\n dispose();\n }", "private void onCancel() {\n dispose();\n }", "private void onCancel() {\n dispose();\n }", "protected void onPdCancel(){\r\r\t}", "@Override\n public void cancel() {\n }", "public void cancel();", "protected abstract void sendCancel(Status reason);", "@Override\r\n\t\t\t\t\tpublic void onCancel() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "@Override\n public void onCancel() {\n }", "public boolean isCancelled();", "public boolean isCancelled();", "public boolean isCancelled();", "@Override\r\n\tpublic DimseListener getCancelListener()\r\n\t{\n\t\treturn null;\r\n\t}", "public void setCancelAction(Consumer<T> cancelAction) {\n this.cancelAction = cancelAction;\n }", "protected abstract void handleCancel() throws Exception;", "void sendCancelMessage();", "@Override\n public void onCancel() {\n\n }", "@Override\n public void onCancel() {\n\n }", "@Override\n\t\t\t\t\t\t\t\t\tpublic void cancel() {\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t}", "public void cancel();", "public void cancel();", "public void cancel();", "public void cancel();", "public void cancel();", "public void cancel();", "@Override\n\t\t\tpublic void onCancel() {\n\t\t\t\t\n\t\t\t}", "public abstract boolean cancel();", "public interface OnCancelListener {\n\n /**\n * Called when dialog has been cancelled\n *\n * @param key key for dialog.\n\n * */\n void onCancel(int key);\n }", "@Override\n\tpublic void cancel() {\n\t\t\n\t}", "public void cancel(){\n cancelled = true;\n }", "public void cancel()\n\t{\n\t}", "private void onCancel() {\n data.put(\"cerrado\",true);\n dispose();\n }", "@Override\n public void onCancel() {\n\n }", "void onCancelClicked();", "public void checkCancel() throws CancellationException;", "@Override\n\tpublic void canceled() {\n\t\t\n\t}", "@Override\n\tpublic void canceled() {\n\t\t\n\t}", "@Override\n\tpublic void cancel() {\n\n\t}", "@Override\n\tpublic void cancel() {\n\n\t}", "@Override\n\tpublic void cancel() {\n\n\t}", "public interface DialogCancelListener {\n\n void onCancel();\n}", "public void onCancel() {\n\t\tif ( !getEnabled() || !isOpened() ) return;\n\t\tif ( mCurrentEffect == null ) throw new IllegalStateException( \"there is no current effect active in the context\" );\n\t\tif ( !mCurrentEffect.onCancel() ) {\n\t\t\tcancel();\n\t\t}\n\t}", "void cancel();" ]
[ "0.6983746", "0.6940406", "0.69349605", "0.6814355", "0.6672883", "0.6613778", "0.6560837", "0.6559599", "0.65034944", "0.65034944", "0.6501652", "0.6474982", "0.64741963", "0.6450264", "0.64411855", "0.64345855", "0.6398678", "0.63807195", "0.6331848", "0.6317194", "0.6304396", "0.6304396", "0.6274182", "0.62498206", "0.624836", "0.6245857", "0.6241671", "0.62075365", "0.62065864", "0.62065864", "0.6193924", "0.6191323", "0.61881393", "0.6156829", "0.6133438", "0.61250263", "0.6100591", "0.6097023", "0.60589653", "0.6042081", "0.6040528", "0.6003233", "0.59994483", "0.5992473", "0.5990791", "0.598507", "0.598507", "0.598507", "0.598507", "0.598507", "0.598507", "0.598507", "0.598507", "0.598507", "0.598507", "0.598507", "0.598507", "0.598507", "0.598507", "0.598507", "0.5979752", "0.5974095", "0.59720284", "0.5971271", "0.5955404", "0.592844", "0.5919679", "0.5919679", "0.5919679", "0.59175384", "0.5911607", "0.5907917", "0.5901962", "0.58894575", "0.58894575", "0.58546215", "0.584961", "0.584961", "0.584961", "0.584961", "0.584961", "0.584961", "0.5848963", "0.58486164", "0.584783", "0.5844088", "0.58424497", "0.5834591", "0.5822384", "0.581852", "0.5818107", "0.58178157", "0.580831", "0.580831", "0.58041435", "0.58041435", "0.58041435", "0.58031726", "0.57925", "0.5788732" ]
0.6833206
3
Turns the specified instance into a command that can be executed by the proxy created by this builder. Legal parameters are any instances that implement either Command or CommandBuilder, a Class reference that specifies the type of the target command to create, or any other type in case an adapter is registered that knows how to turn the type into a command.
protected Command asCommand(Object command) { if (command instanceof Command) { return (Command) command; } else if (command instanceof CommandBuilder) { return ((CommandBuilder) command).build(); } else if (command instanceof Class<?>) { return Commands.create((Class<?>) command).build(); } else { return CommandAdapters.createAdapter(command); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Command createInstance() {\n\t\t\n\t\tif(name == \"Direction\")\n\t\t\treturn new Direction();\n\t\t\n\t\tif(name == \"Gear\")\n\t\t\treturn new Gear();\n\t\t\n\t\tif(name == \"Pause\")\n\t\t\treturn new Pause();\n\t\t\n\t\treturn null;\n\t\t\n\t}", "Command createCommandWith(CommandCreator creator);", "Command createCommand();", "@Override\n public Command build() {\n switch (CommandType.fromString(commandName.getEscapedAndStrippedValue())) {\n case ASSIGN:\n return new AssignmentCommand(commandArgs);\n case CAT:\n return new CatCommand(commandArgs);\n case ECHO:\n return new EchoCommand(commandArgs);\n case WC:\n return new WcCommand(commandArgs);\n case PWD:\n return new PwdCommand(commandArgs);\n case GREP:\n return new GrepCommand(commandArgs);\n case EXIT:\n return new ExitCommand(commandArgs);\n default:\n return new OtherCommand(commandName, commandArgs);\n }\n }", "private DockerCommand<?> createCommand(Class<? extends DockerCommand<?>> commandType) {\n try {\n return commandType.newInstance();\n } catch (InstantiationException | IllegalAccessException e) {\n throw new BeanCreationException(\"Failed to create Docker command of type: \" + commandType, e);\n }\n }", "private Command getCommand(String s) throws Exception {\n Class c = Class.forName(\"model.command.\" + this.getSymbol(this.getSymbol(s, translations), commandTranslations));\n Constructor ct = c.getConstructor();\n return (Command) ct.newInstance();\n }", "<T extends Command> T execute(T command);", "public interface CommandFactory {\n ICommand create(Class<? extends ICommand> klass);\n}", "@Override\n\tpublic CommandProxy execute() {\n\t\tCommandProxy proxy = build();\n\t\tproxy.execute();\n\t\treturn proxy;\n\t}", "private void handleCreateCommand() throws IOException,\r\n ClassNotFoundException,\r\n InstantiationException,\r\n IllegalAccessException {\r\n final String className = (String) m_in.readObject();\r\n Class klass = Class.forName(className, false, m_loader);\r\n final Object instance = klass.newInstance();\r\n final String handle = RemoteProxy.wrapInstance(instance);\r\n m_out.writeObject(handle);\r\n m_out.flush();\r\n }", "@Override\n @SuppressWarnings(\"unchecked\")\n public <TParams> Command<TState, TParams, TEvent> fromOperation(\n final Operation<? super TState, ? super TParams, ? extends TEvent> operation) {\n Operation<TState, TParams, TEvent> typeHackedOperation =\n (Operation<TState, TParams, TEvent>) operation;\n Command<TState, TParams, TEvent> command =\n new DefaultCommand<>(repository, typeHackedOperation, retryPolicy);\n for (CommandPostProcessor postProcessor : postProcessors) {\n postProcessor.postProcessCommand(command);\n }\n return command;\n }", "public interface Command {\n\n\n}", "private Command(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "public Command create(Object... param);", "public Object getCommandObject(DataHandler dh, ClassLoader loader)\n\t\t\tthrows IOException, ClassNotFoundException {\n\tObject new_bean = null;\n\n\t// try to instantiate the bean\n\tnew_bean = java.beans.Beans.instantiate(loader, className);\n\n\t// if we got one and it is a CommandObject\n\tif (new_bean != null) {\n\t if (new_bean instanceof CommandObject) {\n\t\t((CommandObject)new_bean).setCommandContext(verb, dh);\n\t } else if (new_bean instanceof Externalizable) {\n\t\tif (dh != null) {\n\t\t InputStream is = dh.getInputStream();\n\t\t if (is != null) {\n\t\t\t((Externalizable)new_bean).readExternal(\n\t\t\t\t\t new ObjectInputStream(is));\n\t\t }\n\t\t}\n\t }\n\t}\n\n\treturn new_bean;\n }", "@Override\n\tpublic void issueCommand(ExecutorCommand cmd, String instanceId) throws CommandFailed, NoSuchProcedure\n\t{\n\t\t// Check if the proxy is connected before trying to send a command\n\t\tcheckConnectivity();\n\t\tIProcedure model = m_models.getProcedure(instanceId);\n\t\tmodel.getController().issueCommand(cmd, new String[0]);\n\t}", "private Command createCommand(String command) {\n\t\tString[] tokens = command.split(\" \");\n\t\tswitch(tokens[0].toLowerCase()) {\n\t\tcase DRAW:\n\t\t\treturn createDrawCommand(command);\n\t\t\n\t\tcase SKIP:\n\t\t\treturn createSkipCommmand(command);\n\t\t\t\n\t\tcase SCALE:\n\t\t\treturn createScaleCommand(command);\n\t\t\t\n\t\tcase ROTATE:\n\t\t\treturn createRotateCommand(command);\n\t\t\t\n\t\tcase PUSH:\n\t\t\treturn createPushCommand();\n\t\t\t\n\t\tcase POP:\n\t\t\treturn createPopCommand();\n\t\t\t\n\t\tcase COLOR:\n\t\t\treturn createColorCommand(command);\n\t\t\t\n\t\tdefault:\n\t\t\tthrow new IllegalArgumentException(\"Invalid command argument\");\n\t\t}\n\t}", "public interface Command {\n\t/**\n\t * Executes the logic for this command\n\t * @return an Object to be cast to the desired return object\n\t * @throws ServerException \n\t */\n\tpublic void execute() throws ServerException;\n}", "IDbCommand createCommand();", "public Command createCommand(String name, final Value handler) {\n return new Command(name) {\n public boolean execute(CommandSender sender, String commandLabel, String[] args) {\n return handler.execute(sender, commandLabel, args).asBoolean();\n }\n };\n }", "private interface Command {\n public void execute();\n }", "public static Command getCommand(JSONObject obj, Player player, GameData gameData, String cmd) {\n String regExp = obj.get(JSONTag.REGEXP).toString();\n boolean undoable = parseBoolean(obj.get(JSONTag.UNDOABLE).toString());\n ConcreteCommand command = new ConcreteCommand(regExp, undoable, player, gameData, cmd);\n JSONArray conditionsSER = (JSONArray) obj.get(JSONTag.CONDITIONS);\n for (Object o : conditionsSER)\n command.addCondition(ConditionFactory.getCondition((JSONObject) o));\n JSONArray instructionSER = (JSONArray) obj.get(JSONTag.INSTRUCTIONS);\n for (Object o : instructionSER)\n command.addInstruction(InstructionFactory.getInstruction((JSONObject) o));\n return command;\n }", "private void isCommandInstance() throws SystemException {\r\n\t\tif (commandInstance != null) return;\r\n\t\tif (commandResponder != null) SystemException.softwareProblem(\"This was not a command instance. There is a bug. Either the super for the command is not well formed or it called a method it shouldn't.\");\r\n\t\tinstantiateCommand();\r\n\t}", "private static Command<?> getCommand(@NonNull String inputStr) {\n int seperatorIndex = inputStr.indexOf(' ');\n String commandStr = seperatorIndex == -1 ? inputStr : inputStr.substring(0, seperatorIndex);\n String paramStr = seperatorIndex == -1 ? \"\" : inputStr.substring(seperatorIndex + 1).trim();\n\n if (\"Tag\".equalsIgnoreCase(commandStr)) {\n List<String> tagList = Splitter.on(\",\")\n .trimResults()\n .omitEmptyStrings()//可以 选择是否对 空字符串 做处理\n .splitToList(paramStr.replace(',', ','));\n return new TagCommand(tagList.toArray(new String[]{}));\n } else if (\"Name\".equalsIgnoreCase(commandStr)) {\n if (isBlank(paramStr)) {\n throw new IllegalArgumentException(\"Need to specify file path\");\n }\n return new NameCommand(paramStr);\n } else if (\"Where\".equalsIgnoreCase(commandStr)) {\n if (isBlank(paramStr)) {\n throw new IllegalArgumentException(\"Need to specify search criteria\");\n }\n return new WhereCommand(paramStr);\n } else if (\"Analyze\".equalsIgnoreCase(commandStr)) {\n return new AnalyzeCommand();\n } else if (\"Export\".equalsIgnoreCase(commandStr)) {\n if (isBlank(paramStr)) {\n throw new IllegalArgumentException(\"Need to specify export file path\");\n }\n return new ExportCommand(paramStr);\n } else {\n throw new IllegalArgumentException(\"Use either Tag, Where, Name, Export, or Analyze\");\n }\n }", "public CommandDirector() {\n\t\t//factory = ApplicationContextFactory.getInstance();\n\t\t//context = factory.getClassPathXmlApplicationContext();\n\t\t\n\t\t//commands.put(\"createEntry\", context.getBean(\"creationEntryCommand\", CreationEntryCommand.class));\n\t\t//commands.put(\"searchEntry\", context.getBean(\"searchingEntryCommand\", SearchingEntryCommand.class));\n\t\t\n\t\tcommands.put(\"createEntry\", new CreationEntryCommand());\n\t\tcommands.put(\"searchEntry\", new SearchingEntryCommand());\n\t\t\n\t}", "public network.message.PlayerResponses.Command getCommand() {\n if (commandBuilder_ == null) {\n if (responseCase_ == 2) {\n return (network.message.PlayerResponses.Command) response_;\n }\n return network.message.PlayerResponses.Command.getDefaultInstance();\n } else {\n if (responseCase_ == 2) {\n return commandBuilder_.getMessage();\n }\n return network.message.PlayerResponses.Command.getDefaultInstance();\n }\n }", "protected abstract Command getCreateCommand(CreateRequest request);", "private Visitor createCommand(String[][] cmdTokens)\n {\n Visitor cmd = null;\n\n try {\n String cmdName = Character.toUpperCase(cmdTokens[0][Helpers.CMD].charAt(0)) + cmdTokens[Helpers.CMD][0].substring(1);\n Class<?> aClass = Class.forName(Visitor.class.getPackage().getName() + '.' + cmdName);\n Constructor<?> ctor = aClass.getConstructor(String[].class, User.class, String[].class);\n cmd = (Visitor) ctor.newInstance(cmdTokens[ARGS], currentUser, cmdTokens[FS_ELEMENTS]);\n } catch (Exception ignored) {\n System.out.println(cmdTokens[0][Helpers.CMD] + \": command not found\");\n } finally {\n System.out.println(); // print out a new line after the command runs (or errors)\n }\n\n return cmd;\n }", "CommandHandler() {\n registerArgument(new ChallengeCmd());\n registerArgument(new CreateCmd());\n }", "String createCommand(String commandType, AttributeList properties);", "public static RhizomeCommand getCommand(CommandConfiguration cconf, RepositoryManager rm)\n\t\t\tthrows CommandNotFoundException, CommandInitializationException {\n\t\tRhizomeCommand command = null;\n\t\tString classname = cconf.getCommandClassname();\n\t\t\n\t\tif(classname == null) \n\t\t\tthrow new CommandNotFoundException(\"Command \" + cconf.getName()\n\t\t\t\t\t+ \" has no associated class.\");\n\t\t\n\t\ttry {\n\t\t\tClass<?> comClass = Class.forName(classname);\n\t\t\t//Class<?> comClass = altClassLoader(classname);\n\t\t\tcommand = (RhizomeCommand)comClass.newInstance();\n\t\t\t\n\t\t} catch (ClassNotFoundException e) {\n\t\t\tString cpath = System.getProperty(\"java.class.path\");\n\t\t\tString errmsg = String.format(\"Cannot load class: %s. Class not found in %s.\", classname, cpath);\n\t\t\tthrow new CommandNotFoundException(errmsg, e);\n\t\t} catch (Exception e) {\n\t\t\tString errmsg = String.format(\"Cannot create object of class %s (%s)\", \n\t\t\t\t\tclassname, \n\t\t\t\t\te.getMessage());\n\t\t\tthrow new CommandNotFoundException(errmsg, e);\n\t\t}\n\t\t\n\t\tcommand.init(cconf, rm);\n\t\treturn command;\n\t}", "ProcessTaskFactory<T> runAsCommand();", "public L2FortCommanderInstance(L2NpcTemplate template)\n\t{\n\t\tsuper(template);\n\t\tsetInstanceType(InstanceType.L2FortCommanderInstance);\n\t\t_canTalk = true;\n\t}", "@SuppressWarnings(\"unchecked\")\n public static <T extends CommandBase> T getFromName(String cmdName,\n Class<T> cmdClass) throws CommandNotFoundException {\n T cmd = null;\n try {\n Method getFullClassName = cmdClass.getMethod(\"getFullClassName\", String.class);\n cmdName = (String)getFullClassName.invoke(null, cmdName);\n\n Class<?> specificClass = Class.forName(cmdName);\n cmd = (T) specificClass.newInstance();\n } catch (NoSuchMethodException e) {\n // Este tipo de erro nao pode passar em branco. Alguem esqueceu de implementar\n // o metodo estatico \"getFullClassName\" na superclasse de comando\n Logger.error(\"getFullClassName nao esta definifo - \" + cmdClass.getName());\n throw new RuntimeException(\"getFullClassName nao esta definido em \"\n + cmdClass.getName());\n } catch (Exception e) {\n // Qualquer outro problema durante a instanciacao do comando\n // e tratado como command not found\n Logger.error(\"Exception durante a criacao do comando!\", e);\n throw new CommandNotFoundException(e);\n }\n return cmd;\n }", "private void executeCommand() {\n Command command = null;\n\n switch (commandType) {\n case LIST:\n command = new ListCommand(taskManager, parameterData.getDescription());\n break;\n case DONE:\n command = new DoneCommand(taskManager, parameterData.getTaskNumber());\n break;\n case TODO:\n command = new AddCommand(taskManager, TaskType.TODO, parameterData.getDescription());\n break;\n case DEADLINE:\n command = new AddCommand(taskManager,\n TaskType.DEADLINE, parameterData.getDescription(),\n parameterData.getDateTime());\n break;\n case EVENT:\n command = new AddCommand(taskManager,\n TaskType.EVENT, parameterData.getDescription(),\n parameterData.getDateTime());\n break;\n case DELETE:\n command = new DeleteCommand(taskManager, parameterData.getTaskNumber());\n break;\n case BYE:\n command = new ByeCommand(taskManager);\n break;\n case FIND:\n command = new FindCommand(taskManager,\n parameterData.getFilterString(),\n parameterData.getMatchDate(),\n parameterData.getTimeSearch());\n break;\n case HELP:\n command = new HelpCommand(taskManager);\n break;\n default:\n commandUi.printNoCommandRan();\n }\n\n try {\n command.execute();\n } catch (IndexOutOfBoundsException e) {\n commandUi.printTaskDoneNotInRange();\n } catch (IllegalStateException e) {\n commandUi.printInvalidParameters();\n }\n }", "private CommandBrocker() {}", "private Command builder(Command command) {\n if (command.getArgCount() == 0) {\n return command; }\n else if (command.getClass().getName().equals(USER_COMMAND)) {\n return createUserCommand(command); }\n else if (command.getClass().getName().equals(LIST_START)) {\n return groupBuilder(new ListBody(), LIST_END); }\n else if (command.getClass().getName().equals(GROUP_START)) {\n command = this.commands.get(0);\n this.commands = this.commands.subList(1, this.commands.size());\n return groupBuilder(command, GROUP_END); }\n else if (this.commands.size() < command.getArgCount()) {\n return new Error(\"Not enough parameters for command \" + command.toString()); }\n else {\n for (int i = 0; i < command.getArgCount(); i++) {\n command.addParameter(getCommandTree());\n }\n return command;\n }\n }", "public interface Command<T>\n{\n /**\n * Subclasses determine how to update the given object\n */\n public void execute (T target);\n}", "public void toInstance(T instance);", "public network.message.PlayerResponses.CommandOrBuilder getCommandOrBuilder() {\n if ((responseCase_ == 2) && (commandBuilder_ != null)) {\n return commandBuilder_.getMessageOrBuilder();\n } else {\n if (responseCase_ == 2) {\n return (network.message.PlayerResponses.Command) response_;\n }\n return network.message.PlayerResponses.Command.getDefaultInstance();\n }\n }", "public interface CommandExecutor {\n /**\n * This method parse a commands from string and call it\n *\n * @param sender ource of the commands\n * @param connectionCommand commands\n * @return true if a valid commands, otherwise false\n */\n default boolean onCommand(CommandSender sender, ConnectionCommand connectionCommand) {\n String[] split = connectionCommand.getCommand().split(\" \");\n\n return onCommand(sender, split[0], Arrays.copyOfRange(split, 1, split.length), connectionCommand.getArgs());\n }\n\n /**\n * Executes the given commands, returning its success\n *\n * @param sender ource of the commands\n * @param command Command which was executed\n * @param args Passed commands arguments\n * @param objects Objects\n * @return true if a valid commands, otherwise false\n */\n boolean onCommand(CommandSender sender, String command, String[] args, Object... objects);\n\n}", "T bindTo(Object instance);", "public Command createOperationCommand(int operator, Operand operand1, Operand operand2);", "public interface AbstractCommandFactory {\n\n /**\n * Abstrakte Methode zur erzeugung eines Kommndos.\n *\n * @param param alle Parameter die zur Erzeugung benoetigt werden.\n * @return das entsprechende erzeugte Kommando.\n */\n public Command create(Object... param);\n}", "public CommandFactory() {\n command = new HashMap<>();\n command.put(\"GET/login\", new EmptyCommand());\n command.put(\"POST/login\", new LoginCommand());\n command.put(\"GET/admin\", new ForwardToProfileCommand(Pages.ADMIN_PATH, Pages.USER_PATH));\n command.put(\"GET/user\", new ForwardToProfileCommand(Pages.ADMIN_PATH, Pages.USER_PATH));\n command.put(\"GET/profile\", new ForwardToProfileCommand(Pages.ADMIN_PATH, Pages.USER_PATH));\n command.put(\"POST/ban\", new BanUserCommand());\n command.put(\"POST/changelang\", new ChangeLanguageCommand());\n command.put(\"POST/unban\", new UnbanUserCommand());\n command.put(\"POST/add\", new AddPublicationCommand());\n command.put(\"POST/delete\", new DeletePublicationCommand());\n command.put(\"GET/main\", new ForwardToMainCommand());\n command.put(\"GET/controller/error\", new ForwardToErrorCommand());\n command.put(\"GET/logout\", new LogoutCommand());\n command.put(\"POST/subscribe\", new SubscribeCommand());\n command.put(\"POST/unsubscribe\", new UnsubscribeCommand());\n command.put(\"POST/changename\", new ChangeNameCommand());\n command.put(\"POST/changepassword\", new ChangePasswordCommand());\n command.put(\"POST/adminchangename\", new SetUserNameCommand());\n command.put(\"POST/changebalance\", new SetUserBalanceCommand());\n command.put(\"POST/changepublicationprice\", new SetPublicationPriceCommand());\n command.put(\"POST/changepublicationname\", new SetPublicationNameCommand());\n command.put(\"POST/changepublicationtype\", new SetPublicationTypeCommand());\n command.put(\"GET/admin/publications\", new ForwardToProfileCommand(Pages.PUBLICATIONS_PATH, Pages.USER_PATH));\n command.put(\"GET/user/payments\", new ForwardToProfileCommand(Pages.ADMIN_PATH, Pages.PAYMENTS_PATH));\n command.put(\"GET/admin/users\", new ForwardToProfileCommand(Pages.USERS_PATH, Pages.USERS_PATH));\n command.put(\"POST/login/restore\", new RestorePasswordCommand());\n\n }", "public interface CommandService {\n\n /**\n * Executes given command remotely and synchronously and returns the similar object as executed, but changed on the remote\n * side.\n */\n <T extends Command> T execute(T command);\n}", "public AGameCommand(Command command) {\n this.game = Game.getInstance();\n this.command = command;\n }", "public interface CommandFactory {\n Command fromString(String s) throws UnknownCommandException;\n}", "public void execute() {\n\t\ttry {\n\t\t\tMethod method = this.getClass().getMethod(parseMethod(), new Class[0]);\n\t\t\tmethod.invoke(this, new Object[0]);\n\t\t} catch (NoSuchMethodException | SecurityException e) {\n\t\t\tSystem.out.println(\"Unknown option: \" + command);\n\t\t} catch (IllegalAccessException | IllegalArgumentException e) {\n\t\t\tSystem.out.println(\n\t\t\t\t\t\"Invalid usage of: \" + command + \", the following error \" + \"was given: \" + e.getMessage());\n\t\t} catch (InvocationTargetException e) {\n\t\t\tSystem.out.println(\"An error occurred while executing '\" + command + \"'. The \"\n\t\t\t\t\t+ \"following error was given: \" + e.getCause());\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public interface CommandBus {\n void registerHandler(final CommandHandler<? extends DomainCommand> handler);\n CommandResponse push(final DomainCommand command);\n void pushAndForget(final DomainCommand command);\n}", "Commands createCommands();", "public void sendCommand(Command cmd);", "public AbstractCommandController(Class commandClass)\r\n/* 16: */ {\r\n/* 17:66 */ setCommandClass(commandClass);\r\n/* 18: */ }", "private Command(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public interface Command {\n\tvoid execute();\n}", "public network.message.PlayerResponses.Command.Builder getCommandBuilder() {\n return getCommandFieldBuilder().getBuilder();\n }", "WrappedAnswer execute(WrappedCommand aWrappedCommand);", "public interface Command {\n\n /**\n * Executes given command, returns the results.\n *\n * <p><b>Note:</b> Command only executes by a player.</p>\n *\n * @param player Player executed command\n * @param params Passed command parameters\n * @return Command's result was executed\n */\n @NotNull\n CommandResult onCommand(@NotNull Player player, @NotNull String[] params);\n\n /**\n * Executes given command, returns the results.\n *\n * <p><b>Note:</b> Command only executes in the console.</p>\n *\n * @param console Console sender executed command\n * @param params Passed command parameters\n * @return Command's result was executed\n */\n @NotNull\n CommandResult onConsoleCommand(@NotNull ConsoleCommandSender console,\n @NotNull String[] params);\n\n /**\n * Requests a list of possible completions for a command parameters.\n *\n * <p><b>Note:</b> Request will be executed if command were executed by a player.</p>\n *\n * @param player Player executed command\n * @param params The parameters pass to the to the command, including final partial parameter to\n * be completed and command label\n * @return A result contains a list of possible completions for the final argument, or an empty\n * list to default to the command executor and string to search for.\n */\n @NotNull\n TabResult onTab(@NotNull Player player, @NotNull String[] params);\n\n /**\n * Requests a list of possible completions for a command parameters.\n *\n * <p><b>Note:</b> Request will be executed if command was executed in the console.</p>\n *\n * @param console Console sender executed command\n * @param params The parameters pass to the to the command, including final partial parameter to\n * be completed and command label\n * @return A result contains a list of possible completions for the final argument, or an empty\n * list to default to the command executor and string to search for.\n */\n @NotNull\n TabResult onConsoleTab(@NotNull ConsoleCommandSender console,\n @NotNull String[] params);\n\n /**\n * Returns parent {@link Command} of this command.\n *\n * @return Parent of this command\n * @deprecated Rename to {@link #getRoot()}\n */\n @Deprecated\n @Nullable\n Command getParent();\n\n /**\n * Returns root {@link Command} of this command.\n *\n * @return Root of this command\n */\n @Nullable\n Command getRoot();\n\n /**\n * Returns the name of this command.\n *\n * @return Name of this command\n */\n @NotNull\n String getName();\n\n /**\n * Returns the {@link PermissionWrapper} of this command\n *\n * @return The permission wrapper of this command\n */\n @NotNull\n PermissionWrapper getPermission();\n\n /**\n * Get the syntax or example usage of this command.\n *\n * @return Syntax of this command\n */\n @NotNull\n String getSyntax();\n\n /**\n * Gets a brief description of this command\n *\n * @return Description of this command\n */\n @NotNull\n String getDescription();\n\n /**\n * Returns a list of active aliases of this command, include value of {@link #getName()} method.\n *\n * @return List of aliases\n */\n @NotNull\n List<String> getAliases();\n\n String toString();\n}", "public interface Command{\n public void execute();\n\n}", "private void createMoveCommand(Matcher matcher, String direction) {\n\t\tassert(invariant());\n\t\tif(matcher.find()) {\t\t\t\t\n\t\t\tint steps = Integer.parseInt(matcher.group().trim());\n\t\t\tcommands.add(new Command(direction, steps));\t\t\t\t\t\t\n\t\t}\n\t\tassert(commands.size() >= 0);\n\t}", "interface Command\n{\n\tpublic void execute();\n}", "public interface ICommand {\r\n\t\r\n\t/**\r\n\t * \r\n\t * @return long description of the command\r\n\t */\r\n\tString description();\r\n\r\n\t/**\r\n\t * \r\n\t * @return name of the command\r\n\t */\r\n\tString name();\r\n\r\n\t/**\r\n\t * Get called when the comma\r\n\t * @param console callback for output\r\n\t * @param options of the command invocation\r\n\t */\r\n\tvoid exec(ICommandConsole console, List<String> options);\r\n\r\n\t/**\r\n\t * \r\n\t * @return usage of the command\r\n\t */\r\n\tString usage();\r\n}", "public interface Command {\n void execute();\n}", "public interface Command {\n void execute();\n}", "public interface Command {\n void execute();\n}", "public static DebugCommand makeCommand(XmlReader.Element element) {\n String text = element.getAttribute(\"message\");\n return new DebugCommand(text);\n }", "public interface Command {\n public void execute();\n}", "public interface Command {\n public void execute();\n}", "public interface Command {\n public void execute();\n}", "interface Command {\n void execute();\n}", "interface CommandBase {}", "public interface Command {\n\n void executer(Tondeuse tondeuse);\n\n}", "@Override\n\tpublic void execute() throws InstantiationException,\n\t\t\tIllegalAccessException, ClassNotFoundException, IOException {\n\t\tBuilding building = (Building) Class.forName(\n\t\t\t\tConstant.TILE_PACKAGE + commandData.get(\"tileName\"))\n\t\t\t\t.newInstance();\n\t\tbuilding.setX((Integer) commandData.get(\"pointX\"));\n\t\tbuilding.setY((Integer) commandData.get(\"pointY\"));\n\t\tbuilding.setTileManager(tileManager);\n\t\tbuilding.setFocusManager(focusManager);\n\t\tbuilding.setUUID((UUID) commandData.get(\"focusID\"));\n\t\tbuilding.initBuildingImage((String) commandData.get(\"buildingName\"));\n\t\ttileManager.addTile((Tile) building);\n\t}", "private String interpredCommand(String[] data, String commandName) throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException {\n\n\t\tString ClassCommandName = String.valueOf(commandName.charAt(0)).toUpperCase() + commandName.substring(1);\n\t\tClass<?> commandClass = Class.forName(COMMAND_PATH + ClassCommandName + COMMAND_SUFIX_NAME);\n\n\t\tConstructor<?> declareContructor = commandClass.getDeclaredConstructor(String[].class, Repository.class,\n\t\t\t\tUnitFactory.class);\n\n\t\tExecutable command = (Executable) declareContructor.newInstance(data, this.repository, this.unitFactory);\n\t\treturn command.execute();\n\n\t}", "public DockerExecuteActionParser(Class<? extends DockerCommand<?>> commandType) {\n this.commandType = commandType;\n }", "Result command(@NotNull CommandSender sender, List<String> args);", "public interface Command {\r\n\r\n\tpublic void execute();\r\n\r\n}", "private com.google.protobuf.SingleFieldBuilder<\n network.message.PlayerResponses.Command, network.message.PlayerResponses.Command.Builder, network.message.PlayerResponses.CommandOrBuilder> \n getCommandFieldBuilder() {\n if (commandBuilder_ == null) {\n if (!(responseCase_ == 2)) {\n response_ = network.message.PlayerResponses.Command.getDefaultInstance();\n }\n commandBuilder_ = new com.google.protobuf.SingleFieldBuilder<\n network.message.PlayerResponses.Command, network.message.PlayerResponses.Command.Builder, network.message.PlayerResponses.CommandOrBuilder>(\n (network.message.PlayerResponses.Command) response_,\n getParentForChildren(),\n isClean());\n response_ = null;\n }\n responseCase_ = 2;\n onChanged();;\n return commandBuilder_;\n }", "public Builder setCommand(\n network.message.PlayerResponses.Command.Builder builderForValue) {\n if (commandBuilder_ == null) {\n response_ = builderForValue.build();\n onChanged();\n } else {\n commandBuilder_.setMessage(builderForValue.build());\n }\n responseCase_ = 2;\n return this;\n }", "public void register(Class<? extends Command> c) {\n CommandInfo info = c.getAnnotation(CommandInfo.class);\n if (info == null) return;\n \n try {\n commands.put(info.pattern(), c.newInstance());\n }\n catch (Exception e) {\n e.printStackTrace();\n }\n }", "public ReleaseTokenCommand(final TokenBuilderContext context, final ILexerCommand command) {\n this.context = context;\n this.command = command;\n }", "public interface Command {\r\n public void execute(Long id);\r\n}", "public static Bot newInstance(final String className) throws ClassNotFoundException, \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t NoSuchMethodException, \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t InstantiationException, \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t IllegalAccessException, \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t IllegalArgumentException, \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t InvocationTargetException{\n\t return (Bot) Class.forName(className).getConstructor().newInstance();\n\t}", "private Command createPushCommand() {\n\t\treturn new PushCommand();\n\t}", "private Command convertToCommand(String input){\n try {\n return Command.valueOf(input.toUpperCase().trim());\n } catch (IllegalArgumentException e){\n return null;\n }\n }", "@Override\n public boolean onCommand(final CommandSender sender, final Command cmd, final String label, final String[] args) {\n\n // If the sender is a PLAYER\n if (sender instanceof Player) {\n final Player p = (Player) sender;\n\n // If there are arguments and not the main command alone\n if (args.length > 0) {\n boolean cont = false;\n CmdProperties cmdClass = null;\n\n // Assign all commands to their name in the hashmap\n for (final Map.Entry<String, CmdProperties> entry : commandClasses.entrySet()) {\n if (!cont) {\n if (entry.getKey().equalsIgnoreCase(args[0])) {\n cont = true;\n cmdClass = entry.getValue();\n }\n }\n }\n\n // check for permission i think? idk whats entirely going on here, review later\n if (cont) {\n final int argsNeeded = cmdClass.getLength();\n if (args.length - 1 >= argsNeeded) {\n if (p.hasPermission(cmdClass.getPermission())) {\n if (args[argsNeeded] == null) {\n args[argsNeeded] = \"Nothing\";\n }\n final StringBuilder sb = new StringBuilder();\n for (int i = argsNeeded; i < args.length; i++) {\n sb.append(args[i]).append(\" \");\n }\n\n final String allArgs = sb.toString().trim();\n if (cmdClass.isAlias())\n cmdClass.getAlias().perform(p, allArgs, args);\n else\n cmdClass.perform(p, allArgs, args);\n return true;\n } else {\n // D: no permission!\n MsgUtils.error (sender, \"(no permission)\");\n return true;\n }\n } else {\n // Not the right amount of arguments for the command. Maybe put something like cmdClass.getUsage() here to show the player how to use the command\n MsgUtils.error (sender, cmdClass.getUsage());\n return true;\n }\n } else {\n // The argument doesn't exist.\n MsgUtils.error (sender, \"/ca \" + MsgUtils.Colors.VARIABLE + args[0] + MsgUtils.Colors.ERROR + \" is not a command\");\n return true;\n }\n } else {\n // Not enough arguments (show help here)\n MsgUtils.raw(p, \"&e-=-=-=- &7Availible &bClanArena &7Commands: &e-=-=-=-\");\n for (final Map.Entry<String, CmdProperties> entry : commandClasses.entrySet()) {\n if (p.hasPermission(entry.getValue().getPermission())) {\n MsgUtils.sendMessage(p, \"/ca \" + MsgUtils.Colors.VARIABLE + entry.getKey() + MsgUtils.Colors.INFO + \": \" + entry.getValue().getHelpMessage());\n }\n }\n return true;\n }\n } else {\n // Sender isn't a player\n MsgUtils.error (sender, \"Sorry! No console commands are available yet :(\");\n return true;\n }\n }", "public interface SnacCmdFactory {\n /**\n * Returns a list of the SNAC command types this factory can possibly\n * convert to <code>SnacCommand</code>s. Note that it is not required to\n * be able to convert every SNAC packet that matches the types returned by\n * this method; rather, this just provides a means of filtering out types\n * that can definitely not be handled (by not including them in the returned\n * list).\n * <br>\n * <br>\n * Also note that <b>the command types contained in the list returned must\n * be consistent between calls to this method</b>; that is, an\n * implementation cannot change the supported command type list after this\n * factory has been created.\n *\n * @return a list of command types that can be passed to\n * <code>genSnacCommand</code>\n */\n List<CmdType> getSupportedTypes();\n\n /**\n * Attempts to convert the given SNAC packet to a <code>SnacCommand</code>.\n * This can return <code>null</code> if no appropriate\n * <code>SnacCommand</code> can be created (for example, if the packet is in\n * an invalid format).\n *\n * @param packet the packet to use for generation of a\n * <code>SnacCommand</code>\n * @return an appropriate <code>SnacCommand</code> for representing the\n * given <code>SnacPacket</code>, or <code>null</code> if no such\n * object can be created\n */\n SnacCommand genSnacCommand(SnacPacket packet);\n}", "public Builder setCommand(network.message.PlayerResponses.Command value) {\n if (commandBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n response_ = value;\n onChanged();\n } else {\n commandBuilder_.setMessage(value);\n }\n responseCase_ = 2;\n return this;\n }", "public interface Command {\n\t\t\n\t/**\n\t * Executes the command.\n\t * @param (TurtleModel) t the turtle executing the command\n\t * @return the value the command evaluates to\n\t * @throws InvalidCommandException\n\t */\n\tabstract public double execute(TurtleModel t) throws InvalidCommandException;\n\t\n\t/**\n\t * Executes the command and replaces it with a constant command if the command is not a turtle command\n\t * @param (TurtleModel) t the turtle executing the command\n\t * @throws InvalidCommandException\n\t */\n\tabstract public void execNonTurtle(TurtleModel t) throws InvalidCommandException;\n\t\n\t/**\n\t * Checks if the command is a turtle command\n\t * @return true iff the command is a turtle command\n\t */\n\tabstract public boolean isTurtleCommand();\n\t\n\t/**\n\t * Checks if the command is a variable command\n\t * @return true iff the command is a variable command\n\t */\n\tabstract public boolean isVariableCommand();\n\t\n\t/**\n\t * Adds a command to this commands list of children/arguments\n\t * @param cmd\n\t */\n\tabstract public void addChild(Command cmd);\n\t\n\t/**\n\t * Replaces this command with another, by making the replacement the parent's child instead of this.\n\t * @param replacement\n\t */\n\tabstract public void selfReplace(Command replacement);\n\t\n\t/**\n\t * Checks if the command needs more arguments\n\t * @return true iff command can hold more arguments\n\t */\n\tabstract public boolean argsNotFull();\n\t\n\t/**\n\t * Gets the maximum arguments the command can hold\n\t * @return maximum arguments\n\t */\n\tabstract public int maxArgs();\n\t\n\t/**\n\t * Gets string representation of the command. Mostly used for debugging.\n\t * @return string representation\n\t */\n\tabstract public String toString();\n\t\n\t/**\n\t * Gets the command's name \n\t * @return the command's name\n\t */\n\tabstract public String getName();\n\t\n\t/**\n\t * Gets the commands children\n\t * @return the list of children\n\t */\n\tabstract public List<Command> getChildren();\n\t\n\t/**\n\t * Gets child index\n\t * @param index\n\t * @return the child at index index\n\t */\n\tabstract public Command getChild(int index);\n\t\n\t/**\n\t * Gets the command's parent\n\t * @return parent\n\t */\n\tabstract public Command getParent();\n\t\n\t/**\n\t * Sets the command's parent to cmd\n\t * @param cmd\n\t */\n\tabstract public void setParent(Command cmd);\n\t\n\t/**\n\t * Sets the TurtleModel used for execution to t\n\t * @param t\n\t */\n\tabstract public void setTurtle(TurtleModel t);\n\t\n\t/**\n\t * Gets the TurtleModel used for execution\n\t * @return the TurtleModel used for execution\n\t */\n\tabstract public TurtleModel getTurtle();\n\t\n\t/**\n\t * Sets the TurtleModel used for execution to value, and calls setTurtleRecursive(value)\n\t * on this turtle's parent\n\t * @param value\n\t */\n\tpublic abstract void setTurtleRecursive(TurtleModel value);\n}", "public static Command instantiateResponse(String commandName, CommandResponder responder) throws SystemException {\r\n\t\t\r\n\t\t// Validate\r\n\t\tif (commandName==null) \r\n\t\t\tthrow new SystemException(\"Command Name cannot be null.\", SystemException.SYSTEM_COMMAND_FAULT_INSTANCE_DATA_BAD);\r\n\t\tif (responder==null) \r\n\t\t\tthrow new SystemException(\"CommandResponder cannot be null.\", SystemException.SYSTEM_COMMAND_FAULT_INSTANCE_DATA_BAD, SystemNamespace.ATTR_SYSTEM_COMMAND_NAME, commandName);\r\n\t\t\r\n\t\t// Do it\r\n\t\tCommand resultCommand = null;\r\n\t\t\r\n\t\t// Try to get a definition. This should exist, since another ob\r\n\t\tif (mYCommandRegistry.has(commandName)) {\r\n\t\t\t\r\n\t\t\tCommandDefinition theDefinition = null; \t// This should be vetted for null on the forName.\r\n\t\t\ttry {\r\n\t\t\t\r\n\t\t\t\t// It's defined. Try to make one.\r\n\t\t\t\ttheDefinition = mYCommandRegistry.get(commandName);\t\r\n\t\t\t\tClass<?> t = Class.forName(theDefinition.className);\r\n\t\t\t\tresultCommand = (Command) t.newInstance();\r\n\t\t\t\t\r\n\t\t\t\t// Instantiate it\r\n\t\t\t\tresultCommand.instantiateResponse(responder);\r\n\t\r\n\t\t\t} catch (NullPointerException npe) {\r\n\t\t\t\tthrow new SystemException(\"Command could not instantiate because command not defined. This is likely a bug.\",SystemException.SYSTEM_COMMAND_FAULT_NOT_DEFINED,SystemNamespace.ATTR_SYSTEM_COMMAND_NAME,commandName);\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t} catch (ClassNotFoundException cnf) {\r\n\t\t\t\tthrow new SystemException(\"Command could not instantiate object because class not found.\",SystemException.SYSTEM_COMMAND_FAULT_CLASS_NOT_FOUND,SystemNamespace.ATTR_PLATFORM_CLASS_PROPOSED,theDefinition.className,SystemNamespace.ATTR_SYSTEM_COMMAND_NAME,commandName);\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t} catch (ClassCastException cce) {\r\n\t\t\t\tthrow new SystemException(\"Command could not instantiate object because specified class not a Command.\",SystemException.SYSTEM_COMMAND_FAULT_CLASS_NOT_FOUND,SystemNamespace.ATTR_PLATFORM_CLASS_PROPOSED,theDefinition.className,SystemNamespace.ATTR_SYSTEM_COMMAND_NAME,commandName);\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t} catch (SystemException se) {\r\n\t\t\t\tthrow se;\r\n\t\t\t\t\r\n\t\t\t} catch (Throwable t) {\r\n\t\t\t\tthrow new SystemException(\"Command could not instantiate due to general exception.\",SystemException.SYSTEM_COMMAND_FAULT,t,SystemNamespace.ATTR_SYSTEM_COMMAND_NAME,commandName);\t\t\t\t\t\t\t\t\r\n\t\t\t}\r\n\t\r\n\t\t} else {\r\n\t\t\tthrow new SystemException(\"Instance fault; could not find definition. This is a LOCAL implementation, so it should have been defined by a Commander somewhere in the VM.\", SystemException.SYSTEM_COMMAND_FAULT_NOT_DEFINED, SystemNamespace.ATTR_SYSTEM_COMMAND_NAME, commandName);\t\t\t\t\t\r\n\t\t} // end if\r\n\r\n\t\treturn resultCommand;\r\n\t}", "public interface Command {\n\n String getName();\n\n String getUsage();\n\n String getShortDescription();\n\n void execute(String command, PrintStream out);\n}", "public interface Command {\n void execute();\n\n void printCommandInfo();\n}", "public Task getInstance(TargetTransportPort port, Command command)\n throws IllegalRequestException\n {\n switch (command.getCommandDescriptorBlock().getOperationCode())\n {\n case ModeSense6.OPERATION_CODE :\n case ModeSense10.OPERATION_CODE :\n return new ModeSenseTask(port, command, modePageRegistry, inquiryDataRegistry);\n case TestUnitReady.OPERATION_CODE :\n return new TestUnitReadyTask(port, command, modePageRegistry, inquiryDataRegistry);\n case Inquiry.OPERATION_CODE :\n return new InquiryTask(port, command, modePageRegistry, inquiryDataRegistry);\n }\n\n Class<? extends BufferedTask> taskClass =\n tasks.get(command.getCommandDescriptorBlock().getClass());\n\n if (taskClass != null)\n {\n try\n {\n return taskClass.newInstance().load(buffer, blockLength, port, command,\n modePageRegistry, inquiryDataRegistry);\n }\n catch (InstantiationException e)\n {\n throw new RuntimeException(\"Unable to instantiate class with default constructor\"\n + taskClass.getName(), e);\n }\n catch (IllegalAccessException e)\n {\n throw new RuntimeException(\"Unable to instantiate class with default constructor\"\n + taskClass.getName(), e);\n }\n }\n else\n {\n throw new InvalidCommandOperationCodeException();\n }\n }", "public PublishingCommand(Publisher publisher, RunnableCommand command) {\n this.publisher = publisher;\n this.command = command;\n }", "public void execute(Command command, T component);", "CommandType(String label) {\n this.label = label;\n }", "public MethodBuilder command(String command) {\n\t\tif (!command.endsWith(\";\")) {\n\t\t\tcommand += \";\";\n\t\t}\n\t\tcommands.add(command);\n\t\treturn this;\n\t}", "public Command() {\n }", "public interface Command {\n\t\n\tint execute(int number);\n}", "public network.message.PlayerResponses.Command getCommand() {\n if (responseCase_ == 2) {\n return (network.message.PlayerResponses.Command) response_;\n }\n return network.message.PlayerResponses.Command.getDefaultInstance();\n }" ]
[ "0.62236303", "0.59579027", "0.56945103", "0.566862", "0.56327", "0.54909855", "0.5459729", "0.5232903", "0.5212579", "0.5179306", "0.51463187", "0.51404953", "0.51254964", "0.51106703", "0.5059095", "0.5019772", "0.5016564", "0.5010289", "0.4996166", "0.49961448", "0.4996095", "0.49686638", "0.49205276", "0.49114823", "0.4905913", "0.49024594", "0.48917526", "0.4888989", "0.48869747", "0.48864856", "0.4878052", "0.486876", "0.48627377", "0.48536384", "0.4838081", "0.48260838", "0.47952053", "0.47941568", "0.4784724", "0.47678375", "0.47649395", "0.47635433", "0.47585604", "0.47509322", "0.4740026", "0.47265568", "0.47216833", "0.4721263", "0.4719672", "0.47180066", "0.47162557", "0.47157767", "0.47076046", "0.46994773", "0.469834", "0.46795687", "0.46736607", "0.46724263", "0.4666817", "0.46666855", "0.4657162", "0.46516314", "0.46512616", "0.46512616", "0.46512616", "0.4635359", "0.46291152", "0.46291152", "0.46291152", "0.4626801", "0.4619948", "0.46192932", "0.46166062", "0.46161017", "0.4610656", "0.46105355", "0.46036083", "0.46034756", "0.46005267", "0.4587652", "0.45853865", "0.4576604", "0.457469", "0.45733678", "0.4573142", "0.45662665", "0.456242", "0.45575994", "0.45441523", "0.45436865", "0.45434138", "0.4535787", "0.45252055", "0.45234787", "0.45138687", "0.45130375", "0.4506596", "0.45047233", "0.44970423", "0.44957066" ]
0.66002226
0
/////////////////////////////////////////////////////////////////////////// Public API. ///////////////////////////////////////////////////////////////////////////
@Override public CommandProxy execute() { CommandProxy proxy = build(); proxy.execute(); return proxy; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n protected void prot() {\n }", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void perish() {\n \n }", "@Override\n public int describeContents() { return 0; }", "@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\n protected void init() {\n }", "@Override\r\n\tpublic void init() {}", "@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 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 final void mo51373a() {\n }", "private void getStatus() {\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\tpublic void init() {\n\t\t\n\t}", "@Override public int describeContents() { return 0; }", "private void init() {\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}", "protected boolean func_70814_o() { return true; }", "@Override\n void init() {\n }", "@Override\n public void init() {}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\r\n\tpublic void tires() {\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\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "private void m50366E() {\n }", "@Override\n protected void initialize() {\n\n \n }", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "@Override\n\t\tpublic void init() {\n\t\t}", "@Override\n\tprotected void getExras() {\n\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}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void GetDataFromNative() {\n\t\t\n\t}", "@Override\n\tprotected void GetDataFromNative() {\n\t\t\n\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void init() {\n\n }", "@Override\n public void init() {\n\n }", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\r\n\tpublic final void init() {\r\n\r\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tprotected void processInit() {\n\r\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@SuppressWarnings(\"unused\")\n private void _read() {\n }", "zzafe mo29840Y() throws RemoteException;", "public abstract void mo70713b();", "@Override\n\tprotected void initialize() {\n\t}", "@Override\n\tprotected void initialize() {\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\r\n\tpublic void rozmnozovat() {\n\t}", "protected MetadataUGWD() {/* intentionally empty block */}", "private void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "private void kk12() {\n\n\t}", "@Override\n\tpublic void init() {\n\t}", "public void method_4270() {}", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\tprotected void processInit() {\n\t\t\r\n\t}", "@Override\r\n \tpublic void process() {\n \t\t\r\n \t}", "@Override\n\tpublic void init()\n\t{\n\n\t}", "@Override\n public void init() {\n }", "@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\t\tprotected void run() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void interpretBytes() {\n\t\t\n\t}", "public void gored() {\n\t\t\n\t}", "private void strin() {\n\n\t}", "private void init() {\n\n\n\n }", "private void init() {\n }", "private Rekenhulp()\n\t{\n\t}", "zzang mo29839S() throws RemoteException;", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n public void initialize() { \n }", "@Override\n protected void getExras() {\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}" ]
[ "0.5999474", "0.59947425", "0.5975515", "0.590887", "0.58968824", "0.587697", "0.58070624", "0.58015954", "0.5757554", "0.57568884", "0.5718094", "0.5716578", "0.5708219", "0.5693902", "0.5693902", "0.5693902", "0.5693902", "0.5693902", "0.5693902", "0.56894916", "0.5680822", "0.5680822", "0.5674086", "0.566864", "0.5665457", "0.5661445", "0.5661445", "0.5661445", "0.5661445", "0.5661445", "0.56486607", "0.56433254", "0.56351197", "0.56351197", "0.56336975", "0.56274766", "0.5616464", "0.5587159", "0.5582473", "0.55727047", "0.55727047", "0.55727047", "0.55676687", "0.55467516", "0.5546536", "0.55427736", "0.55427736", "0.55389", "0.55376416", "0.5534567", "0.55313104", "0.5526808", "0.5526808", "0.5526808", "0.5526297", "0.55102116", "0.55102116", "0.5492096", "0.548567", "0.5484009", "0.5484009", "0.54808086", "0.54806906", "0.54806787", "0.54796994", "0.5474898", "0.5466763", "0.54640085", "0.54635286", "0.5463412", "0.5463412", "0.5460942", "0.5460942", "0.5460942", "0.54597473", "0.5459197", "0.54558367", "0.5453614", "0.5453312", "0.54529905", "0.5435755", "0.5433387", "0.54249924", "0.5424566", "0.5424509", "0.54181546", "0.54149055", "0.54149055", "0.54073495", "0.5406007", "0.5405166", "0.5403256", "0.53965324", "0.539188", "0.5386128", "0.5384025", "0.5376552", "0.5374494", "0.5369967", "0.5369702", "0.5369702" ]
0.0
-1
TODO Autogenerated method stub
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); isGridMode=PreferencesUtils.getInteger(GlobeFlags.MODE_STATUS)==GlobeFlags.MODE_BIG_PIC_MODE; mRequest = new DataPageRequest(); mResponse = new DataPageResponse(); mRequest.setPageResponseListener(mResponse); mFooterView = LayoutInflater.from(this).inflate(R.layout.include_list_footer, null); mWaterFooterView = LayoutInflater.from(this).inflate(R.layout.include_list_footer, null); mSpecialFooterView = View.inflate(this, R.layout.list_footer, null); mSpecialWaterFooterView = View.inflate(this, R.layout.list_footer, null); mStaggerFootView = View.inflate(this, R.layout.include_stag_list_footer, null); mProTipLayer = (LinearLayout) mStaggerFootView.findViewById(R.id.layer_pro_tip); mNoDataLayer = (LinearLayout) mStaggerFootView.findViewById(R.id.layer_no_data); }
{ "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
The some subclass that prepare to disply data from cache need to override this method
protected void preDisply(List allData) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n protected void fetchData() {\n\r\n }", "@Override\n public boolean isCaching() {\n return false;\n }", "public void cacheResult(DataEntry dataEntry);", "public void setCached() {\n }", "public interface ICache {\n\t\n\t/**\n\t * <p>\n\t * get the Cached Object from cache pool by the cache String key\n\t * @param key\n\t * @return\n\t */\n\tpublic Object get(String key);\n\t\n\t\n\t\n\t/**\n\t * <p>\n\t * \n\t * @param key\n\t * @return old cache object \n\t */\n\tpublic Object put(String key,Object value);\n\t\n\t/**\n\t * <p>\n\t * get the Cached Object from cache pool by the cache String key quietly,\n\t * without update the statistic data\n\t * @param key\n\t * @return\n\t */\n\tpublic Object getQuiet(String key);\n\t\n\t\n\t/**\n\t * <p>\n\t * remove the cached object from cache pool by the cache String key\n\t * @param key\n\t * @return\n\t */\n\tpublic Object remove(String key);\n\t\n\t/**\n\t * <p>\n\t * free specied size mem\n\t * @param size unit in Byte\n\t * @return\n\t */\n\tpublic long free(long size);\n\t\n\t\n\t/**\n\t * <p>\n\t * flush to the underly resource\n\t */\n\tpublic void flush();\n\t\n}", "@Override\n\tpublic boolean isCaching() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean hasCachedData() {\n\t\treturn false;\n\t}", "public interface ContentCache extends DataCache {\r\n String getValue(String code, Locale locale);\r\n\r\n Boolean containsLocale(Locale locale);\r\n\r\n Boolean containsCodeForLocale(String code, Locale locale);\r\n\r\n Map<String, Map<String, String>> getCachedData();\r\n}", "private CacheObject<K, V> getCacheObject(K key){\n return this.cache.get(key);\n }", "@Override\r\n\t\t\tpublic void onUseCacheDoInUI() {\n\t\t\t}", "@Override\r\n\t\t\tpublic void onUseCacheDoInUI() {\n\t\t\t}", "@Override\n public CacheAPI getCacheAPI() {\n return null;\n }", "public void gotCachedData() {\n\t\tneedsRecaching = false;\n\t}", "protected Cache<Request, Result> getNetspeakCache() {\n return this.netspeakCache;\n }", "@Override\n public void onDataCached(ResponseDTO r) {\n response = r;\n buildPages();\n if (riverListFragment != null) {\n riverListFragment.refreshListStop();\n }\n try {\n if (SharedUtil.getRiverLoadedFlag(ctx) == 1) {\n\n getData();\n } else {\n progressBar.setVisibility(View.GONE);\n if (riverListFragment != null) {\n riverListFragment.refreshListStop();\n }\n }\n } catch (Exception e) {\n\n }\n }", "public void cacheableQuery() throws HibException;", "@Override\n\t\t\t\tprotected void setCache(List<E> cache) {\n\t\t\t\t}", "@Override\n\tpublic void setCaching(boolean caching) {\n\t\t\n\t}", "private void showCachedMovieList() {\n String cacheData = AppPrefs.getInstance(this).getCacheData();\n showMovieList(new Gson().fromJson(cacheData, MovieResponse.class));\n }", "protected Map<String, T> getDatumCache() {\n\t\treturn datumCache;\n\t}", "protected ElevationDataCache() {\n }", "public CacheEntry() {\n response = null;\n }", "public interface DataCache {\n LiveData<List<News>> getNews();\n LiveData<NewsDetail> getNewsDetail(String id);\n void setNewsList(LiveData<List<News>> newsList);\n void setNewsDetail(String id, LiveData<NewsDetail> detail);\n }", "@Override\n public void clearCache() {\n }", "public CachePreferencePage() {\n\t\tsuper(PreferencesPackage.eINSTANCE.getCacheDataPreferences());\n\n\t\tsetTitle(\"Cache Data\");\n\n\t\tparameter.setData(PreferencesFactory.eINSTANCE.createCacheDataUnitPreferences());\n\t\tparameter.setInstruction(PreferencesFactory.eINSTANCE.createCacheDataUnitPreferences());\n\n\t\tparameter.setCacheType(CacheTypeSelect.get(store\n\t\t\t\t.getInt(ShimPreferencesKey.CD_CACHE_TYPE)));\n\t\tparameter.getData().setCacheCoherenecy(CacheCoherencyType.get(store\n\t\t\t\t.getInt(ShimPreferencesKey.CD_DATA_CACHE_COHERENCY)));\n\t\tparameter.getData().setSize(store\n\t\t\t\t.getInt(ShimPreferencesKey.CD_DATA_CACHE_SIZE));\n\t\tparameter.getData().setSizeUnit(SizeUnitType.get(store\n\t\t\t\t.getInt(ShimPreferencesKey.CD_DATA_CACHE_SIZE_UNIT)));\n\t\tparameter.getData().setNWay(store\n\t\t\t\t.getInteger(ShimPreferencesKey.CD_DATA_NUMBER_WAY));\n\t\tparameter.getData().setLineSize(store\n\t\t\t\t.getInteger(ShimPreferencesKey.CD_DATA_LINE_SIZE));\n\t\tparameter.getData().setLockDownType(LockDownType.get(store\n\t\t\t\t.getInt(ShimPreferencesKey.CD_DATA_LOCK_DOWN_TYPE)));\n\n\t\tparameter.getInstruction().setCacheCoherenecy(CacheCoherencyType.get(store\n\t\t\t\t.getInt(ShimPreferencesKey.CD_INSTRUCTION_CACHE_COHERENCY)));\n\t\tparameter.getInstruction().setSize(store\n\t\t\t\t.getInt(ShimPreferencesKey.CD_INSTRUCTION_CACHE_SIZE));\n\t\tparameter.getInstruction().setSizeUnit(SizeUnitType.get(store\n\t\t\t\t.getInt(ShimPreferencesKey.CD_INSTRUCTION_CACHE_SIZE_UNIT)));\n\t\tparameter.getInstruction().setNWay(store\n\t\t\t\t.getInteger(ShimPreferencesKey.CD_INSTRUCTION_NUMBER_WAY));\n\t\tparameter.getInstruction().setLineSize(store\n\t\t\t\t.getInteger(ShimPreferencesKey.CD_INSTRUCTION_LINE_SIZE));\n\t\tparameter.getInstruction().setLockDownType(LockDownType.get(store\n\t\t\t\t.getInt(ShimPreferencesKey.CD_INSTRUCTION_LOCK_DOWN_TYPE)));\n\n\t\tadapter = new AdapterImpl() {\n\t\t\t@Override\n\t\t\tpublic void notifyChanged(Notification msg) {\n\t\t\t\tObject feature = msg.getFeature();\n\t\t\t\tif (!(feature instanceof EObject)) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (EcoreUtil.equals((EObject) feature, PreferencesPackage.eINSTANCE.getCacheDataPreferences_CacheType())) {\n\t\t\t\t\trender();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tparameter.eAdapters().add(adapter);\n\t}", "public void cacheResult(ua.org.gostroy.guestbook.model.Entry3 entry3);", "protected void initializeCache() {\n if (cacheResults && initialized) {\n dataCache = new HashMap<String, Map<String, Map<String, BaseAttribute>>>();\n }\n }", "protected boolean shouldUseCache()\n/* */ {\n/* 384 */ return ((isCacheable()) && (this.painters != null) && (this.painters.length > 0)) || (super.shouldUseCache());\n/* */ }", "@Override\n\tpublic void onAdCached(AdType arg0) {\n\t\t\n\t}", "public void cacheBusRouteData()\n\t{\t\n\t\tdataMap = BusRouteDataFileReader.readAndCacheBusRouteData(this.pathname);\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public boolean isCached() {\n return true;\n }", "protected abstract void retrievedata();", "public void cacheResult(java.util.List<DataEntry> dataEntries);", "private CacheWrapper<AccessPointIdentifier, Integer> createCache() {\n return new CacheWrapper<AccessPointIdentifier, Integer>() {\n \n @Override\n public void put(AccessPointIdentifier key, Integer value) {\n cache.put(key, value);\n }\n \n @Override\n public Integer get(AccessPointIdentifier key) {\n if (cache.containsKey(key)) {\n hitRate++;\n }\n return cache.get(key);\n }\n \n \n };\n }", "@Override\r\n public void setCaching(int parseInt) {\n\r\n }", "private UtilsCache() {\n\t\tsuper();\n\t}", "@Override\n\tprotected String getCacheName() {\n\t\treturn null;\n\t}", "public interface ContentCache extends Cache<List<byte[]>>{\n int notCacheSize();\n}", "public interface EzyerCache {\n class PersistentObject {\n public final byte[] mData;\n public final String mKey;\n public final long mExpireTimeMillis;\n\n public PersistentObject(byte[] data, String key, long expireTimeMillis) {\n mData = data;\n mKey = key;\n mExpireTimeMillis = expireTimeMillis;\n }\n }\n\n class ValueObject {\n public final byte[] mData;\n public final String mKey;\n public final boolean mIsExpired;\n\n public ValueObject(byte[] data, String key, boolean isExpired) {\n mData = data;\n mKey = key;\n mIsExpired = isExpired;\n }\n }\n\n ValueObject get(String key);\n\n List<ValueObject> get(String key, int start, int end);\n\n void set(PersistentObject po);\n\n void add(PersistentObject po);\n\n void remove(String key);\n\n boolean isExpired(String key);\n\n void clear();\n}", "protected void createLookupCache() {\n }", "Cache<String, YourBean> getMyCache() {\n\treturn myCache;\n }", "interface Cache {\n\n /** @return A cache entry for given path string or <code>null</code> (if file cannot be read or too large to cache).\n * This method increments CacheEntry reference counter, caller must call {@link #checkIn(CacheEntry)} to release returned entry (when not null). */\n CacheEntry checkOut(CacheEntryLoader cacheEntryLoader);\n\n /**\n * Method to release cache entry previously obtained from {@link #checkOut(CacheEntryLoader)} call.\n * This method decrements CacheEntry reference counter.\n */\n void checkIn(CacheEntry key);\n\n /** Invalidates cached entry for given path string (if it is cached) */\n void invalidate(String pathString);\n\n void rename(String fromPathString, String toPathString);\n\n// /** Preload given file path in cache (if cache has vacant spot). Preloading happens in background. Preloaded pages initially have zero reference counter. */\n// void preload (String pathString);\n\n /** Clears the cache of all entries (even if some entries are checked out) */\n void clear();\n\n /** Allocates entry of given size for writing.\n * It will not be visible to others until caller calls {@link #update(String, CacheEntry)}.*/\n CacheEntry alloc(long size);\n\n /** Registers recently writtien cache entry as available for reading */\n void update(String pathString, CacheEntry cacheEntry);\n}", "public void refreshObjectCache();", "@Override\n protected synchronized void subscribeActual(Observer<? super Response<T>> observer) {\n Call<T> call = originalCall.clone();\n\n try {\n for (Annotation annotation : annotations) {\n if (annotation instanceof Cache) {\n time = ((Cache) annotation).time();\n bindParams = ((Cache) annotation).bindParams();\n break;\n }\n }\n MethodFactoryAdapter adapter = new MethodFactoryAdapter(call.request(), bindParams);\n MethodFactory factory = adapter.get();\n HashMap<String, String> parseParameters = factory.parseParameters();\n String url = call.request().url().toString();\n boolean isFirst = true;\n StringBuffer buffer = new StringBuffer();\n for (HashMap.Entry<String, String> entry : parseParameters.entrySet()) {\n String key = entry.getKey();\n String value = entry.getValue();\n if (isFirst) {\n buffer.append(\"?\").append(key).append(\"=\").append(value);\n isFirst = false;\n } else {\n buffer.append(\"&\").append(key).append(\"=\").append(value);\n }\n }\n String cacheUrl = url + buffer.toString();\n long nowTime = System.currentTimeMillis();\n fileName = cacheUrl + \"&\" + nowTime;\n\n cache = DiskLruCacheHelper.createCache(APP.app, URL_CACHE);\n String responseCacheData = DiskLruCacheHelper.readCacheToString(cache, cacheUrl);\n int indexOfTime = responseCacheData.indexOf(\"\\n\");\n String[] times = responseCacheData.substring(0, indexOfTime).split(\":\");\n responseCacheData = responseCacheData.substring(indexOfTime + 1);\n long diskCacheTime = Long.parseLong(times[1]);\n if (!TextUtils.isEmpty(responseCacheData) && diskCacheTime != -1 && nowTime - time <= diskCacheTime) {\n E e = new Gson().fromJson(responseCacheData, E.class);\n Response<T> cacheResponse = (Response<T>) Response.success(e);\n observer.onNext(cacheResponse);\n } else {\n cache.delete();\n cache = null;\n\n }\n } catch (Exception e) {\n if (cache != null && !cache.isClosed()) {\n try {\n cache.delete();\n } catch (IOException e1) {\n\n }\n call = null;\n }\n }\n\n\n CallDisposable disposable = new CallDisposable(call);\n observer.onSubscribe(disposable);\n\n boolean terminated = false;\n try {\n Response<T> response = call.execute();\n E e = (E) response.body();\n String responseData = new Gson().toJson(e);\n if (cache == null) {\n cache = DiskLruCacheHelper.createCache(APP.app, URL_CACHE);\n }\n DiskLruCacheHelper.writeStringToCache(cache, responseData, fileName);\n if (!disposable.isDisposed()) {\n observer.onNext(response);\n }\n if (!disposable.isDisposed()) {\n terminated = true;\n observer.onComplete();\n }\n } catch (Throwable t) {\n Exceptions.throwIfFatal(t);\n if (terminated) {\n RxJavaPlugins.onError(t);\n } else if (!disposable.isDisposed()) {\n try {\n observer.onError(t);\n } catch (Throwable inner) {\n Exceptions.throwIfFatal(inner);\n RxJavaPlugins.onError(new CompositeException(t, inner));\n }\n }\n }\n }", "@Override\n\tprotected void getDataRefresh() {\n\t\t\n\t}", "protected abstract Collection<Cache> loadCaches();", "public interface Cache<K,V> {\n\t/**\n\t * Returns the object for the given id from cache, null if no object is in cache.\n\t *\n\t * @param id the id to retrieve\n\t * @return a V object.\n\t */\n\tV get(K id);\n\t\n\t/**\n\t * Puts the cacheable object in cache.\n\t *\n\t * @param id the object id\n\t * @param cacheable the object to cache.\n\t */\n\tvoid put(K id, V cacheable);\n\n\t/**\n\t * Removes an object from the cache.\n\t *\n\t * @param id cache object id.\n\t */\n\tvoid remove(K id);\n\t\n\t/**\n\t * Clears the cache.\n\t */\n\tvoid clear();\n\n\t/**\n\t * Returns the cache stats.\n\t *\n\t * @return a {@link net.anotheria.moskito.core.predefined.CacheStats} object.\n\t */\n\tCacheStats getCacheStats();\n\n /**\n * Return all elements from cache.\n *\n * @return collection\n */\n Collection<V> getAllElements();\n\t\n}", "@Override\n\tpublic void invalidateCache() {\n\t\t\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void setCache(final ICache < ICacheKey < String >, Object > theCache) {\r\n this.cache = theCache;\r\n }", "private DataCache() {\n this.people = new HashMap<>();\n this.events = new HashMap<>();\n this.personEvents = new HashMap<>();\n this.currentPersonEvents = new HashMap<>();\n this.eventTypes = new ArrayList<>();\n this.childrenMap = new HashMap<>();\n this.maleSpouse = new HashSet<>();\n this.femaleSpouse = new HashSet<>();\n this.paternalAncestorsMales = new HashSet<>();\n this.paternalAncestorsFemales = new HashSet<>();\n this.maternalAncestorsMales = new HashSet<>();\n this.maternalAncestorsFemales = new HashSet<>();\n }", "public interface Caching {\n\t\n\t/**\n\t * ititialize resources for a cache\n\t *\n\t */\n\tvoid init();\n\t\n\t/**\n\t * clear cache\n\t *\n\t */\n\tvoid clear();\n\n}", "@Override\r\n\tpublic void crawl_data() {\n\t\t\r\n\t}", "public interface Cache {\r\n\r\n public Object get( Object key);\r\n public void put( Object key, Object value);\r\n}", "public interface ArticlesCache {\n}", "public interface Cache {\n void put(String key, Object value);\n\n Object get(String key);\n}", "public void cacheResult(com.alain.puntocoma.model.Catalogo catalogo);", "@Override\n\tpublic Object get(String name, Serializable key) throws CacheException {\n\t\treturn null;\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t}", "@Override\r\n public void setCacheBlocks(boolean b) {\n\r\n }", "protected net.sf.ehcache.Ehcache getCache() {\n return cache;\n }", "public void cacheResult(CsclAppointeeMaster csclAppointeeMaster);", "@Override\n\tpublic void queryData() {\n\t\t\n\t}", "@Override\n public <T> T getProxy(Key<T> key)\n {\n // We have no equivalent for this in our sessions, so just pass along directly to the decorated cache\n return queryCache.getProxy(key);\n }", "@Override\n\tpublic Object getObject(String key) {\n\t\tif (mInternalCache.contains(key)) {\n\t\t\ttry {\n\t\t\t\treturn Base64.fromString(mInternalCache.getString(key, null));\n\t\t\t} catch (Exception e) {\n\t\t\t\tLog.e(TAG, \"Failed to get the object from cache !\");\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "@Override\n\tpublic CacheResponse get(URI uri, String rqstMethod, Map<String, List<String>> rqstHeaders) throws IOException {\n\t\tSystem.err.println(\"enter MemoryCache.get()\");\n\t\treturn new CacheResponseImpl();\n\t}", "protected void cacheLoadThroughSubjects()\n {\n }", "public void cacheResult(org.oep.usermgt.model.Citizen citizen);", "protected Map<String,BaseAttribute> getAttributeCache(ShibbolethResolutionContext resolutionContext, String query) {\n if (cacheResults) {\n String principal = resolutionContext.getAttributeRequestContext().getPrincipalName();\n Map<String, Map<String, BaseAttribute>> cache = dataCache.get(principal);\n if (cache != null) {\n Map<String, BaseAttribute> attributes = cache.get(query);\n log.debug(\"Data connector {} got cached attributes for principal: {}\", getId(), principal);\n return attributes;\n }\n }\n\n return null;\n }", "@Override\n public List<CacheObject<K, V>> getAll(){\n return new ArrayList<>(this.cache.values());\n }", "PortalCacheModel getCacheModel();", "protected abstract void requestNoCache(ActionContext context);", "private BarcodeDataCache getBarcodeData() {\n return cacheData.getValue();\n }", "private ProcessedDynamicData( ) {\r\n super();\r\n }", "public interface IBaseCache<T> {\n\n void setById(String id, T o);\n\n void setById(String id, T o, int timeout);\n\n void set(String key, T o);\n\n void set(String key, T o, int timeout);\n\n T getById(String id);\n\n T get(String key);\n\n void setList(List<T> list);\n\n void setList(List<T> list, int timeout);\n\n boolean hasList();\n\n List<T> getList();\n\n void setList(String key, List<T> list);\n\n void setList(String key, List<T> list, int timeout);\n\n boolean hasList(String key);\n\n List<T> getList(String key);\n\n boolean hasKeyById(String id);\n\n boolean hasKey(String key);\n\n void deleteKeyById(String id);\n\n void deleteKey(String key);\n\n void deleteList();\n\n void deleteList(String key);\n\n void deleteAllEntityKeys();\n\n\n}", "private FactoryCacheValet() {\n\t\tsuper();\n\t}", "@Override\n public Object load(Object query,\n CacheElement ce)\n throws ResourceException\n {\n throw new ResourceException(\"CachingProvider: load(Object) not supported, use load(String)\");\n }", "public void cacheResult(PlanoSaude planoSaude);", "@Override\n public V get(K key){\n CacheObject<K, V> cacheObject = this.cache.get(key);\n\n if (cacheObject != null){\n return cacheObject.getObject();\n }\n\n return null;\n }", "@Override\n public int getCacheSize() {\n return 4 + 20 * 88;\n }", "public ArticleListAdapter(LruCache<String, Bitmap> cache) {\n this.mLruCache = cache;\n }", "public boolean getMayCache () {\n\treturn mayCache;\n }", "StoreResponse set(CACHE_ELEMENT e);", "protected void handleCache(final TileInfo tile)\n {\n if (!valid)\n return;\n\n boolean success = false;\n final int size = (int) tile.fetchInfo.cacheFile.length();\n final byte[] data = new byte[size];\n try {\n try (FileInputStream fileStream = new FileInputStream(tile.fetchInfo.cacheFile)) {\n try (BufferedInputStream buf = new BufferedInputStream(fileStream)) {\n final int bytesRead = buf.read(data, 0, data.length);\n if (bytesRead == data.length) {\n success = true;\n }\n }\n }\n } catch (Exception e) {\n Log.w(\"RemoteTileFetcher\", \"Failed to read cache\", e);\n }\n\n if (success) {\n if (!valid)\n return;\n\n final Handler handler = new Handler(getLooper());\n handler.post(() -> {\n allStats.localData = allStats.localData + size;\n recentStats.localData = recentStats.localData + size;\n\n handleFinishLoading(tile,data,null);\n });\n\n if (debugMode) {\n Log.d(\"RemoteTileFetcher\",\"Read from cache: \" + tile.fetchInfo.urlReq);\n }\n } else {\n // Didn't read it, so go get it\n startFetch(tile);\n\n if (debugMode) {\n Log.d(\"RemoteTileFetcher\",\"Failed to reach from cache: \" + tile.fetchInfo.urlReq);\n }\n }\n }", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public Cache getCache(String name)\r\n/* 39: */ {\r\n/* 40:64 */ return (Cache)this.cacheMap.get(name);\r\n/* 41: */ }", "public void cacheResult(com.Hotel.model.Hotel hotel);", "@Override\n public void refreshDataEntries() {\n }", "public boolean shouldCache() {\n return this.shouldCache;\n }", "public InMemoryResponseCache() {\n\t\tthis( 250*1024 ); // 250 KB cache\n\t}", "@Override\n public ICacheElement<K, V> getCacheElement( final K name )\n {\n return this.getCacheControl().get( name );\n }", "public MainAPI (com.intersys.objects.Database db) throws com.intersys.objects.CacheException {\n super (((com.intersys.cache.SysDatabase)db).newCacheObject (CACHE_CLASS_NAME));\n }", "public abstract void clearCache();", "public abstract void fetch();", "protected void loadData()\n {\n }", "public HDict onAbout()\r\n {\r\n if (!cache.initialized()) \r\n throw new IllegalStateException(Cache.NOT_INITIALIZED);\r\n\r\n if (LOG.isTraceOn())\r\n LOG.trace(\"onAbout\");\r\n\r\n try\r\n {\r\n HDictBuilder hd = new HDictBuilder();\r\n\r\n hd.add(\"serverName\", Sys.getStation().getStationName());\r\n\r\n BModule baja = BComponent.TYPE.getModule();\r\n hd.add(\"productName\", \"Niagara AX\");\r\n hd.add(\"productVersion\", baja.getVendorVersion().toString());\r\n hd.add(\"productUri\", HUri.make(\"http://www.tridium.com/\"));\r\n\r\n BModule module = BNHaystackService.TYPE.getModule();\r\n hd.add(\"moduleName\", module.getModuleName());\r\n hd.add(\"moduleVersion\", module.getVendorVersion().toString());\r\n hd.add(\"moduleUri\", HUri.make(\"https://bitbucket.org/jasondbriggs/nhaystack\"));\r\n\r\n return hd.toDict();\r\n }\r\n catch (RuntimeException e)\r\n {\r\n e.printStackTrace();\r\n throw e;\r\n }\r\n }", "protected View getCachedView(){\n\t\tif (mCachedItemViews.size() != 0) {\n\t\t\tView v;\n\t\t\tdo{\n\t v = mCachedItemViews.removeFirst().get();\n\t\t\t}\n while(v == null && mCachedItemViews.size() != 0);\n\t\t\treturn v;\n }\n return null;\n\t}", "public interface CustomCache<K, V> {\n\n /**\n * gets a value by key\n * returns null if key is expired\n *\n * @param key\n * @return\n */\n V get(K key);\n\n /**\n * puts into cache with given ttl\n *\n * @param key\n * @param value\n */\n void put(K key, V value);\n\n /**\n * averages out the non expired values in cache.\n * to be discussed in interview\n *\n * @return\n */\n double average();\n}", "@Override\n public void initData() {\n super.initData();\n\n RetrofitService.getInstance()\n .getApiCacheRetryService()\n .getDetail(appContext.getWenDang(Const.Detail, wendangid))\n .enqueue(new SimpleCallBack<WenDangMode>() {\n @Override\n public void onSuccess(Call<WenDangMode> call, Response<WenDangMode> response) {\n if (response.body() == null) return;\n WenDangMode data = response.body();\n title_text.setText(data.getPost().getPost_title());\n String s = data.getPost().getPost_excerpt();\n excerpt_text.setText(s.replaceAll(\"[&hellip;]\", \"\"));\n wendang_text.setText(stripHtml(data.getPost().getPost_content()));\n url = data.getPost().getDownload_page();\n list.clear();\n\n list = quChu(getImgStr(data.getPost().getPost_content()));\n\n adapter.bindData(true, list);\n//\t\t\t\t\t\trecyclerView.notifyMoreFinish(true);\n rootAdapter.notifyDataSetChanged();\n beautifulRefreshLayout.finishRefreshing();\n }\n });\n }", "public interface Cache<K, V> {\n\n /**\n * 通过键值获取获取缓存值\n *\n * @param k k\n * @return\n */\n V get(K k);\n\n /**\n * 通过键值刷新缓存值\n *\n * @param k k\n */\n void refresh(K k);\n}" ]
[ "0.67775357", "0.6756661", "0.66288394", "0.6573397", "0.6498249", "0.64824826", "0.64628047", "0.64479846", "0.64117384", "0.6404753", "0.6404753", "0.6358406", "0.63529813", "0.6351308", "0.631327", "0.6302229", "0.6214037", "0.6208266", "0.61679727", "0.6161414", "0.61036247", "0.6082968", "0.60631585", "0.6062913", "0.6043729", "0.6040439", "0.6040086", "0.6035296", "0.60351855", "0.6032734", "0.60236424", "0.60096586", "0.60079366", "0.59996337", "0.5997786", "0.5997379", "0.59889764", "0.5982691", "0.5978499", "0.5970774", "0.59639037", "0.59608907", "0.5945635", "0.59228855", "0.59203357", "0.59157866", "0.59146094", "0.5910136", "0.59083295", "0.5907839", "0.5878266", "0.58651996", "0.58620316", "0.58555615", "0.58531183", "0.5846205", "0.584614", "0.58409965", "0.5837556", "0.58331245", "0.5831573", "0.5830625", "0.58294034", "0.5815691", "0.5814664", "0.58129406", "0.5805689", "0.5799395", "0.5792064", "0.5771802", "0.57692015", "0.5757475", "0.5757027", "0.5755764", "0.5753662", "0.5747675", "0.5736618", "0.5735834", "0.57284176", "0.56984586", "0.5692849", "0.5690124", "0.5685628", "0.5680417", "0.5671764", "0.56634456", "0.5661379", "0.56606823", "0.56578624", "0.5654112", "0.5646744", "0.56436586", "0.56432974", "0.5638954", "0.56334525", "0.5622502", "0.561916", "0.56190765", "0.560809", "0.5607156", "0.5606449" ]
0.0
-1
TODO Autogenerated method stub
@Override public BeanWraper createBeanWraper() { return newBeanWraper(); }
{ "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
This will allow us to server the static pages such as index.html, app.js, etc.
public static void main(String[] args) { staticFiles.location("/public"); //This will listen to GET requests to /model and return a clean new model get("/model/:Version", (req, res) -> newModel( req )); //This will listen to POST requests and expects to receive a game model, as well as location to fire to post("/fire/:Version/:row/:col/:hard", (req, res) -> fireAt( req )); //This will handle the scan feature post("/scan/:Version/:row/:col/:hard", (req, res) -> scan( req )); //This will listen to POST requests and expects to receive a game model, as well as location to place the ship post("/placeShip/:Version/:id/:row/:col/:orientation/:hard", (req, res) -> placeShip( req )); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void startWebApp(Handler<AsyncResult<HttpServer>> next) {\n Router router = Router.router(vertx);\n\n router.route(\"/assets/*\").handler(StaticHandler.create(\"assets\"));\n router.route(\"/api/*\").handler(BodyHandler.create());\n\n router.route(\"/\").handler(this::handleRoot);\n router.get(\"/api/timer\").handler(this::timer);\n router.post(\"/api/c\").handler(this::_create);\n router.get(\"/api/r/:id\").handler(this::_read);\n router.put(\"/api/u/:id\").handler(this::_update);\n router.delete(\"/api/d/:id\").handler(this::_delete);\n\n // Create the HTTP server and pass the \"accept\" method to the request handler.\n vertx.createHttpServer().requestHandler(router).listen(8888, next);\n }", "public static void main(String[] args) {\n staticFiles.location(\"/public\"); // Static files\n get(\"/hello\", (req, res) -> \"Hello World\");\n System.out.println(\"http://localhost:4567/hello\");\n }", "@GET\n @Produces(MediaType.TEXT_HTML)\n public Response getHomePage() throws IOException {\n InputStream resourceAsStream = Thread.currentThread()//\n .getContextClassLoader().getResourceAsStream(\"index.html\");\n return Response//\n .ok(resourceAsStream)//\n .header(\"Pragma\", \"public\")//\n .header(\"Cache-Control\", \"public\")//\n .build();\n\n }", "String getStaticWebEndpoint();", "private void startServer(String ip, int port, String contentFolder) throws IOException{\n HttpServer server = HttpServer.create(new InetSocketAddress(ip, port), 0);\n \n //Making / the root directory of the webserver\n server.createContext(\"/\", new Handler(contentFolder));\n //Making /log a dynamic page that uses LogHandler\n server.createContext(\"/log\", new LogHandler());\n //Making /online a dynamic page that uses OnlineUsersHandler\n server.createContext(\"/online\", new OnlineUsersHandler());\n server.setExecutor(null);\n server.start();\n \n //Needing loggin info here!\n }", "public static Result index() {\n\n String root = com.domain.root.Main.someString();\n String foo = com.domain.foo.Main.someString();\n String bar = com.domain.bar.Main.someString();\n String zee = com.domain.zee.Main.someString();\n\n return ok(index.render(\"Your new application is ready.\"));\n }", "public StaticServer(final int port) throws ConcordiaException {\n\t\t// Start the server.\n\t\tInetSocketAddress addr = new InetSocketAddress(port);\n\t\ttry {\n\t\t\tserver = HttpServer.create(addr, 0);\n\t\t}\n\t\tcatch(IOException e) {\n\t\t\tthrow\n\t\t\t\tnew ConcordiaException(\n\t\t\t\t\t\"There was an error starting the server.\",\n\t\t\t\t\te);\n\t\t}\n\t\t\n\t\t// Create the handler and attach to the root of the domain.\n\t\thandler = new RequestHandler();\n\t\tserver.createContext(\"/\", handler);\n\t\t\n\t\t// Set the thread pool.\n\t\tserver.setExecutor(Executors.newCachedThreadPool());\n\t\t\n\t\t// Start the server.\n\t\tserver.start();\n\t}", "public static Handler<RoutingContext> serve(String spaDir, int port) {\n return serve(spaDir, port, \"npm\", \"start\", \"--\");\n }", "@Override protected void configureServlets() {\n serveRegex(\"^/(?!_ah).*\").with(HandlerServlet.class);\n // serves xmpp urls\n serveRegex(\"/_ah/xmpp/.*\").with(HandlerServlet.class);\n }", "@Override\n\tpublic void preServe() {\n\n\t}", "public static void main(String[] args) throws Exception {\n URL webRootLocation = MainView.class.getResource(\"/webapp/\"); //src/masin\n URI webRootUri = webRootLocation.toURI();\n\n WebAppContext context = new WebAppContext();\n context.setBaseResource(Resource.newResource(webRootUri));\n context.setContextPath(\"/\");\n context.setAttribute(\"org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern\", \".*\");\n context.setConfigurationDiscovered(true);\n context.setConfigurations(new Configuration[]{\n new AnnotationConfiguration(),\n new WebInfConfiguration(),\n new WebXmlConfiguration(),\n new MetaInfConfiguration()\n });\n context.getServletContext().setExtendedListenerTypes(true);\n context.addEventListener(new ServletContextListeners());\n\n Server server = new Server(8080);\n server.setHandler(context);\n server.start();\n server.join();\n }", "@GetMapping(\"/public/{name}\")\n public ResponseEntity<StaticPage> getStaticPage(@PathVariable String name) {\n return ResponseEntity.status(HttpStatus.OK)\n .body(staticPageService.getStaticPage(name));\n }", "@Override\n public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {\n String requestUri = req.getRequestURI();\n\n if (requestUri.startsWith(req.getContextPath())) {\n requestUri = requestUri.substring(req.getContextPath().length());\n }\n\n if (requestUri.equals(\"/\")) {\n requestUri = \"/index.html\";\n }\n\n String baseFilename = String.join(\"\", getPrefix(), requestUri);\n\n // This is the filename that AWS Lambda would use\n String lambdaFilename = baseFilename.replaceFirst(\"/+\", \"\");\n\n // This is the filename that a local debug environment would use\n String localFilename = baseFilename.replaceFirst(\"//\", \"/\");\n\n // Always try to get the AWS Lambda file first since performance counts the most there\n Option<InputStream> inputStreamOption = Option.of(getClass().getClassLoader().getResourceAsStream(lambdaFilename));\n\n if (inputStreamOption.isEmpty()) {\n // Didn't find the AWS Lambda file, maybe we are debugging locally\n inputStreamOption = Option.of(getServletContext().getResource(localFilename))\n .map(url -> Try.of(url::openStream).getOrNull());\n }\n\n if (inputStreamOption.isEmpty()) {\n // Didn't find the file in either place\n resp.setStatus(404);\n return;\n }\n\n InputStream inputStream = inputStreamOption.get();\n\n Optional<String> optionalMimeType = Optional.empty();\n\n if (requestUri.endsWith(\".js\")) {\n // For some reason the \"*.nocache.js\" file gets picked up by Tika as \"text/x-matlab\"\n optionalMimeType = Optional.of(\"application/javascript\");\n } else if (requestUri.endsWith(\".html\")) {\n optionalMimeType = Optional.of(\"text/html\");\n } else if (requestUri.endsWith(\".png\")) {\n optionalMimeType = Optional.of(\"image/png\");\n } else if (requestUri.endsWith(\".jpg\")) {\n optionalMimeType = Optional.of(\"image/jpeg\");\n } else if (requestUri.endsWith(\".css\")) {\n optionalMimeType = Optional.of(\"text/css\");\n } else {\n Optional<MimeHelper> optionalMimeHelper = getOptionalMimeHelper();\n\n if (optionalMimeHelper.isPresent()) {\n // No MIME type detected, use the optional MIME helper\n optionalMimeType = Optional.of(optionalMimeHelper.get().detect(requestUri, inputStream));\n }\n }\n\n // Only set the MIME type if we found it\n optionalMimeType.ifPresent(resp::setContentType);\n\n resp.setStatus(200);\n\n // Throw an exception if the stream copy fails\n Try.run(() -> copyStream(inputStream, resp.getOutputStream())).get();\n }", "@Override\r\n\tpublic void addResourceHandlers(ResourceHandlerRegistry registry) {\r\n\t\tregistry.addResourceHandler(\"/static/**\").addResourceLocations(\r\n\t\t\t\t\"/static/\");\r\n\t}", "public void handleStaticResources(String handler, HttpServletResponse response) {\n String fileName = null;\n if (handler.equals(\"status\")) {\n response.setContentType(\"text/html\");\n fileName = \"overview.html\";\n } else if (handler.equals(\"detail\")) {\n response.setContentType(\"text/html\");\n fileName = \"detail.html\";\n } else if (handler.equals(\"base.css\")) {\n response.setContentType(\"text/css\");\n fileName = \"base.css\";\n } else if (handler.equals(\"jquery.js\")) {\n response.setContentType(\"text/javascript\");\n fileName = \"jquery-1.4.2.min.js\";\n } else if (handler.equals(\"status.js\")) {\n response.setContentType(\"text/javascript\");\n fileName = \"status.js\";\n } else {\n try {\n response.sendError(404);\n } catch (IOException e) {\n throw new RuntimeException(\"Encountered error sending 404\", e);\n }\n return;\n }\n \n response.setHeader(\"Cache-Control\", \"public; max-age=300\");\n \n try {\n InputStream resourceStream = MapReduceServlet.class.getResourceAsStream(\n \"/com/google/appengine/tools/mapreduce/\" + fileName);\n OutputStream responseStream = response.getOutputStream();\n byte[] buffer = new byte[1024];\n int bytesRead;\n while ((bytesRead = resourceStream.read(buffer)) != -1) {\n responseStream.write(buffer, 0, bytesRead);\n }\n responseStream.flush();\n } catch (FileNotFoundException e) {\n throw new RuntimeException(\"Couldn't find static file for MapReduce library\", e);\n } catch (IOException e) {\n throw new RuntimeException(\"Couldn't read static file for MapReduce library\", e);\n }\n }", "@RequestMapping(\"/\")\n\tpublic String homePage() {\n\t\tlogger.info(\"Index Page Loaded\");\n\t\treturn \"index\";\n\t}", "public void handle(HttpServletRequest request, HttpServletResponse response) throws IOException\n {\n try\n {\n String pathInfo = request.getPathInfo();\n String servletPath = request.getServletPath();\n String contextPath = request.getContextPath();\n \n if (nullPathInfoWorkaround && pathInfo == null)\n {\n pathInfo = request.getServletPath();\n servletPath = PathConstants.PATH_ROOT;\n log.debug(\"Default servlet suspected. pathInfo=\" + pathInfo + \"; contextPath=\" + contextPath + \"; servletPath=\" + servletPath); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$\n }\n \n if (pathInfo == null ||\n pathInfo.length() == 0 ||\n pathInfo.equals(PathConstants.PATH_ROOT))\n {\n response.sendRedirect(contextPath + servletPath + PathConstants.FILE_INDEX);\n }\n else if (pathInfo.startsWith(PathConstants.FILE_INDEX))\n {\n String page = debugPageGenerator.generateIndexPage(contextPath + servletPath);\n \n response.setContentType(MimeConstants.MIME_HTML);\n PrintWriter out = response.getWriter();\n out.print(page);\n response.flushBuffer();\n }\n else if (pathInfo.startsWith(PathConstants.PATH_TEST))\n {\n String scriptName = pathInfo;\n scriptName = LocalUtil.replace(scriptName, PathConstants.PATH_TEST, \"\"); //$NON-NLS-1$\n scriptName = LocalUtil.replace(scriptName, PathConstants.PATH_ROOT, \"\"); //$NON-NLS-1$\n \n String page = debugPageGenerator.generateTestPage(contextPath + servletPath, scriptName);\n \n response.setContentType(MimeConstants.MIME_HTML);\n PrintWriter out = response.getWriter();\n out.print(page);\n response.flushBuffer();\n }\n else if (pathInfo.startsWith(PathConstants.PATH_INTERFACE))\n {\n String scriptName = pathInfo;\n scriptName = LocalUtil.replace(scriptName, PathConstants.PATH_INTERFACE, \"\"); //$NON-NLS-1$\n scriptName = LocalUtil.replace(scriptName, PathConstants.EXTENSION_JS, \"\"); //$NON-NLS-1$\n String path = contextPath + servletPath;\n \n String script = remoter.generateInterfaceScript(scriptName, path);\n \n // Officially we should use MimeConstants.MIME_JS, but if we cheat and\n // use MimeConstants.MIME_PLAIN then it will be easier to read in a\n // browser window, and will still work just fine.\n response.setContentType(MimeConstants.MIME_PLAIN);\n PrintWriter out = response.getWriter();\n out.print(script);\n response.flushBuffer();\n }\n else if (pathInfo.startsWith(PathConstants.PATH_PLAINJS))\n {\n Calls calls = plainJsMarshaller.marshallInbound(request, response);\n Replies replies = remoter.execute(calls);\n plainJsMarshaller.marshallOutbound(replies, request, response);\n }\n else if (pathInfo.startsWith(PathConstants.PATH_HTMLJS))\n {\n Calls calls = htmlJsMarshaller.marshallInbound(request, response);\n Replies replies = remoter.execute(calls);\n htmlJsMarshaller.marshallOutbound(replies, request, response);\n }\n else if (pathInfo.equalsIgnoreCase(PathConstants.FILE_ENGINE))\n {\n doFile(request, response, PathConstants.FILE_ENGINE, MimeConstants.MIME_JS, true);\n }\n else if (pathInfo.equalsIgnoreCase(PathConstants.FILE_UTIL))\n {\n doFile(request, response, PathConstants.FILE_UTIL, MimeConstants.MIME_JS, false);\n }\n else if (pathInfo.startsWith(PathConstants.PATH_STATUS))\n {\n Container container = WebContextFactory.get().getContainer();\n ScriptSessionManager manager = (ScriptSessionManager) container.getBean(ScriptSessionManager.class.getName());\n if (manager instanceof DefaultScriptSessionManager)\n {\n DefaultScriptSessionManager dssm = (DefaultScriptSessionManager) manager;\n dssm.debug();\n }\n }\n else\n {\n log.warn(\"Page not found (\" + pathInfo + \"). In debug/test mode try viewing /[WEB-APP]/dwr/\"); //$NON-NLS-1$ //$NON-NLS-2$\n response.sendError(HttpServletResponse.SC_NOT_FOUND);\n }\n }\n catch (Exception ex)\n {\n log.warn(\"Error: \" + ex); //$NON-NLS-1$\n if (ex instanceof SecurityException && log.isDebugEnabled())\n {\n log.debug(\"- User Agent: \" + request.getHeader(HttpConstants.HEADER_USER_AGENT)); //$NON-NLS-1$\n log.debug(\"- Remote IP: \" + request.getRemoteAddr()); //$NON-NLS-1$\n log.debug(\"- Request URL:\" + request.getRequestURL()); //$NON-NLS-1$\n log.debug(\"- Query: \" + request.getQueryString()); //$NON-NLS-1$\n log.debug(\"- Method: \" + request.getMethod()); //$NON-NLS-1$\n \n ex.printStackTrace();\n }\n \n response.setContentType(MimeConstants.MIME_HTML);\n response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);\n PrintWriter out = response.getWriter();\n out.println(\"<html><head><title>Error</title</head><body>\"); //$NON-NLS-1$\n out.println(\"<p><b>Error</b>: \" + ex.getMessage() + \"</p>\"); //$NON-NLS-1$ //$NON-NLS-2$\n out.println(\"<p>For further information about DWR see:</p><ul>\"); //$NON-NLS-1$\n out.println(\"<li><a href='http://getahead.ltd.uk/dwr/documentation'>DWR Documentation</a></li>\"); //$NON-NLS-1$\n out.println(\"<li><a href='http://getahead.ltd.uk/dwr/support'>DWR Mailing List</a></li>\"); //$NON-NLS-1$\n out.println(\"</ul>\"); //$NON-NLS-1$\n out.println(\"<script type='text/javascript'>\"); //$NON-NLS-1$\n out.println(\"alert('\" + ex.getMessage() + \"');\"); //$NON-NLS-1$ //$NON-NLS-2$\n out.println(\"</script>\"); //$NON-NLS-1$\n out.println(\"</body></html>\"); //$NON-NLS-1$\n out.flush();\n }\n }", "@Path(\"/index\")\n public void index(){\n }", "public void startServer() {\n System.out.println(\"Inicie\");\n httpServer = new HttpServer();\n httpServer.registerProessor(\"/App\", this);\n try {\n httpServer.start();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "@Override\r\n\tprotected String[] getServletMappings() {\n\t\treturn new String[]{\"*.htm\",\"*.js\",\"*.css\"};\r\n\t}", "public serverHttpHandler( String rootDir ) {\n this.serverHome = rootDir;\n }", "@RequestMapping(\"/\")\n\tpublic String main() {\n\t\treturn \"index.jsp\";\n\t}", "public static void index() {\r\n render();\r\n }", "public WebServer(int port, Context context) throws IOException {\n this.server = HttpServer.create(new InetSocketAddress(port), 0);\n \n // handle concurrent requests with multiple threads\n server.setExecutor(Executors.newCachedThreadPool());\n \n List<Filter> logging = List.of(new ExceptionsFilter(), new LogFilter());\n\n StaticFileHandler.create(server, \"/static/\", \"static/\", \"invalid\");\n HttpContext eval = server.createContext(\"/eval/\", exchange -> handleEval(exchange, context));\n eval.getFilters().addAll(logging);\n }", "@GetMapping(\"/\")\n public String index()\n {\n return \"index\";\n }", "@Override\n public void addResourceHandlers(ResourceHandlerRegistry registry) {\n registry.addResourceHandler(\"/app/**\").addResourceLocations(\"classpath:/static/\");\n }", "public static void main(String[] args) {\n\t\tJavalin app = Javalin.create(config -> {\n\t\t\t//This hosts the static html file on the server\n\t\t\tconfig.addStaticFiles(\"/\", Location.CLASSPATH);\n\t\t});\n\t\t\n\t\tControllerException ctrl = new ControllerException(new ServiceException());\n\t\tctrl.registerEndpoint(app);\n\t\t\n\t\tapp.start(8080);\n\t}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException \r\n{\nresponse.getWriter().append(\"Served at: \").append(request.getContextPath()); \r\n}", "public static void main(String[] args) { //type “psvm + tab” to autocreate this\n // directing the server to immediate files it should access. Just like index\n staticFileLocation(\"/public\");\n\n\n // routes as per their handlebars templates. Make sure to read and understand what they do\n get(\"/\", (req, res) -> {\n Map<String, Object> model = new HashMap<>();\n return new ModelAndView(model, \"index.hbs\");\n }, new HandlebarsTemplateEngine());\n\n get(\"/animalnew\", (request, response) -> {\n Map<String, Object> model = new HashMap<>();\n return new ModelAndView(model, \"animalForm.hbs\");\n }, new HandlebarsTemplateEngine());\n\n get(\"/endangerednew\", (request, response) -> {\n Map<String, Object> model = new HashMap<>();\n return modelAndView(model,\"endangeredForm.hbs\");\n }, new HandlebarsTemplateEngine());\n\n get(\"/sightingsnew\", (request, response) -> {\n Map<String, Object> model = new HashMap<>();\n return modelAndView(model,\"sightingsForm.hbs\");\n }, new HandlebarsTemplateEngine());\n\n get(\"/animals\", (request, response) -> {\n Map<String, Object> model = new HashMap<>();\n List peter = Endangered.relative_All();\n System.out.println(peter.get(0));\n model.put(\"endangered\", peter);\n return modelAndView(model, \"endangered.hbs\");\n }, new HandlebarsTemplateEngine());\n\n\n get(\"/sightings\", (request, response) -> {\n Map<String, Object> model = new HashMap<>();\n return modelAndView(model, \"sightings.hbs\");\n }, new HandlebarsTemplateEngine());\n\n get(\"/saved\", (request, response) -> {\n Map<String, Object> model = new HashMap<>();\n List sightings = Sightings.retrieveFromSightings();\n model.put(\"sightings\", sightings);\n return new ModelAndView(model,\"sight.hbs\");\n }, new HandlebarsTemplateEngine());\n\n\n get(\"/newanimal\", (request, response) -> {\n Map<String, Object> model = new HashMap<>();\n List animal = Animal.relative_All();\n model.put(\"animals\", animal);\n return new ModelAndView(model, \"wildlife.hbs\");\n }, new HandlebarsTemplateEngine());\n\n get(\"/animals/:id/edit\", (request, response) -> {\n Map<String, Object> model = new HashMap<String, Object>();\n model.put(\"animal\", Animal.find(Integer.parseInt(request.params(\":id\"))));\n return new ModelAndView(model, \"editForm.hbs\");\n }, new HandlebarsTemplateEngine());\n\n\n get(\"/animals/:id/delete\", (request, response) -> {\n Map<String, Object> model = new HashMap<String, Object>();\n Animal.find(Integer.parseInt(request.params(\":id\"))).delete();\n response.redirect(\"/animals\");\n return null;\n }, new HandlebarsTemplateEngine());\n\n\n post(\"/animals/:id/edit\", (request, response) -> {\n Map<String, Object> model = new HashMap<String, Object>();\n int id = Integer.parseInt(request.params(\":id\"));\n String name = request.queryParams(\"name\");\n Animal animal = Animal.find(id);\n animal.setName(name);\n animal.update();\n return new ModelAndView(model, \"ess.hbs\");\n }, new HandlebarsTemplateEngine());\n\n\n post(\"/succ\", (req, res) -> { //new\n Map<String, Object> model = new HashMap<>();\n String animalname = req.queryParams(\"animalname\");\n String rangername = req.queryParams(\"ranger\");\n String location = req.queryParams(\"location\");\n Sightings sightings = new Sightings(animalname,rangername,location);\n sightings.save();\n model.put(\"sightings\", sightings);\n return modelAndView(model, \"succ.hbs\");\n }, new HandlebarsTemplateEngine());\n\n\n\n //post methods\n post(\"/success\", (req, res) -> {\n Map<String, Object> model = new HashMap<>();\n String name = req.queryParams(\"name\");\n String health = req.queryParams(\"health\");\n String age = req.queryParams(\"age\");\n Endangered endangered = new Endangered(name, health, age);\n endangered.save();\n System.out.println(\"Please enter all input fields.\");\n return new ModelAndView(model,\"success.hbs\");\n }, new HandlebarsTemplateEngine());\n\n post(\"/wildlife\", (req, res) -> {\n Map<String, Object> model = new HashMap<>();\n String name = req.queryParams(\"name\");\n Animal animal = new Animal(name);\n animal.save();\n return new ModelAndView(model,\"ess.hbs\");\n }, new HandlebarsTemplateEngine());\n }", "@Synchronized\n public void publish(@NonNull String html) {\n if (server == null) {\n try {\n server = HttpServer.create(new InetSocketAddress(port), 0);\n log.info(\"[SIMPLE HTTP SERVER] Created\");\n } catch (IOException e) {\n throw new QaException(\"Error during creating JDK http-server \" + toString(), e);\n }\n }\n if (published) {\n server.removeContext(path);\n }\n server.createContext(path, httpExchange -> {\n log.debug(\"[SIMPLE HTTP SERVER] Get an request '{} from {}'\",\n httpExchange.getRequestMethod(),\n httpExchange.getRequestURI());\n\n byte[] response = html.getBytes(charset);\n httpExchange.getResponseHeaders().add(\"Content-Type\", \"text/html; charset=\" + charset.name());\n httpExchange.sendResponseHeaders(200, response.length);\n try (OutputStream out = httpExchange.getResponseBody()) {\n out.write(response);\n }\n log.debug(\"[SIMPLE HTTP SERVER] Response has been prepared '{} from {}'\",\n httpExchange.getResponseHeaders(),\n httpExchange.getResponseCode());\n\n });\n log.info(\"[SIMPLE HTTP SERVER] Handler created on http://localhost:{}{}\", port, path);\n if (!published) {\n server.start();\n published = true;\n log.info(\"[SIMPLE HTTP SERVER] Started on http://localhost:{}{}\", port, path);\n }\n }", "@RequestMapping(\"/\")\r\n\tpublic String index() {\r\n\t\treturn \"index.html\";\r\n\t}", "@RequestMapping(\"/\")\n\tpublic String index() {\n\t\treturn \"index.html\";\n\t}", "@RequestMapping(\"/\") //match to root path\r\n String ropa(){\n return \"index\"; //index.html in templates directory\r\n }", "public void run() {\n\t\tport(8080);\n\n\t\t// Main Page, welcome\n\t\tget(\"/\", (request, response) -> \"Welcome!\");\n\n\t\t// Date\n\t\tget(\"/date\", (request, response) -> {\n\t\t\tDate d = new Date(\"frida.org\", Calendar.getInstance().get(Calendar.YEAR),\n\t\t\t\t\tCalendar.getInstance().get(Calendar.MONTH), Calendar.getInstance().get(Calendar.DAY_OF_MONTH));\n\t\t\treturn om.writeValueAsString(d);\n\t\t});\n\n\t\t// Time\n\t\tget(\"/time\", (request, response) -> {\n\t\t\tTime t = new Time(\"frida.org\", Calendar.getInstance().get(Calendar.HOUR),\n\t\t\t\t\tCalendar.getInstance().get(Calendar.MINUTE), Calendar.getInstance().get(Calendar.SECOND));\n\t\t\treturn om.writeValueAsString(t);\n\t\t});\n\t}", "@Override\n public void configureDefaultServletHandling(\n DefaultServletHandlerConfigurer configurer) {\n\n // DispatcherServlet forwards requests for static resources\n // to the servlet's default servlet and\n // not try to handle them itself\n configurer.enable();\n }", "@Override\n public void addResourceHandlers(ResourceHandlerRegistry registry){\n// registry.addResourceHandler(\"/jsp/**\").addResourceLocations(\"classpath:/static/jsp/\");\n registry.addResourceHandler(\"/jsp/**\").addResourceLocations(\"classpath:/static/jsp/\");\n registry.addResourceHandler(\"/**.html\").addResourceLocations(\"classpath:/templates/\");\n registry.addResourceHandler(\"/js/**\").addResourceLocations(\"classpath:/static/js/\");\n// registry.addResourceHandler(\"*.jpg\").addResourceLocations(\"classpath:/static/img\");\n\n }", "@Override\n public void start() throws LifecycleException {\n logger.info(\"Start http server ... \");\n\n\n try {\n // create a resource config that scans for JAX-RS resources and providers\n final ResourceConfig rc = new ResourceConfig()\n .packages(PACKAGES_SCAN) // packages path for resources loading\n .property(MvcFeature.TEMPLATE_BASE_PATH, FREEMARKER_BASE) // config freemarker view files's base path\n .register(LoggingFeature.class)\n .register(FreemarkerMvcFeature.class)\n .register(JettisonFeature.class)\n .packages(\"org.glassfish.jersey.examples.multipart\")\n .register(MultiPartFeature.class)\n .registerInstances(new ApplicationBinder()); //\n\n // create and start a new instance of grizzly http server\n // exposing the Jersey application at BASE_URI\n httpServer = GrizzlyHttpServerFactory.createHttpServer(URI.create(BASE_URI), rc);\n\n // Set StaticHttpHandler to handle http server's static resources\n String htmlPath = this.getClass().getResource(HTML_BASE).getPath(); // TODO, 部署后要根据实际目录修正!classes 同级目录下的 html 目录\n HttpHandler handler = new StaticHttpHandler(htmlPath);\n httpServer.getServerConfiguration().addHttpHandler(handler, \"/\");\n\n logger.info(\"Jersey app started with WADL available at {} application.wadl\\n \", BASE_URI);\n } catch (Exception e) {\n throw new LifecycleException(e); // just convert to self defined exception\n }\n }", "@Override\r\n\tpublic String executa(HttpServletRequest req, HttpServletResponse res) throws Exception {\n\t\treturn \"view/home.html\";\r\n\t}", "@Override\n\tprotected String[] getServletMappings() {\n\t\treturn new String[] { \"/\" };\n\t}", "@Override\n\tprotected String[] getServletMappings() {\n\t\treturn new String[] { \"/\" };\n\t}", "public static void main(String[] args) throws Exception {\n Set<Users> likedSet = new HashSet<>();\n new Server(8080){{\n setHandler(new ServletContextHandler() {{\n addServlet(new ServletHolder(new ServletUsers(likedSet)) ,\"/users\");\n addServlet(new ServletHolder(new ServletsLiked(likedSet)) ,\"/liked\");\n addServlet(new ServletHolder(new StaticServlet()),\"/assets/*\");\n /* addServlet(new ServletHolder(new ServletsLinked(likedSet)) ,\"/liked\");\n addServlet(new ServletHolder(new ServletMessages()) ,\"/messages\");*/\n }}\n );\n start();\n join();\n }};\n\n }", "@Override\r\n\tpublic void index() {\n\t\trender(\"index.jsp\");\r\n\t}", "public static void main(String... args) throws IOException {\r\n\r\n checkDatabaseConnectivity();\r\n checkServerProperties();\r\n checkSchedulerProperties();\r\n server = new Server(port);\r\n\r\n try {\r\n ServletContextHandler context = new ServletContextHandler(\r\n ServletContextHandler.SESSIONS\r\n | ServletContextHandler.SECURITY);\r\n\r\n context.setInitParameter(\r\n \"org.eclipse.jetty.servlet.SessionIdPathParameterName\",\r\n \"none\");\r\n\r\n context.setContextPath(\"/\");\r\n context.setSecurityHandler(setUpSecurityHandler());\r\n AppServlet.getInstance().setLoginService(\r\n (HashLoginService) context.getSecurityHandler()\r\n .getLoginService());\r\n\r\n context.addServlet(new ServletHolder(AppServlet.getInstance()),\r\n \"/*\");\r\n context.addServlet(new ServletHolder(UserServlet.getInstance()),\r\n \"/users/*\");\r\n context.addServlet(new ServletHolder(ModuleServlet.getInstance()),\r\n \"/modules/*\");\r\n context.addServlet(new ServletHolder(RoomServlet.getInstance()),\r\n \"/rooms/*\");\r\n context.addServlet(\r\n new ServletHolder(EquipmentServlet.getInstance()),\r\n \"/equipment/*\");\r\n context.addServlet(\r\n new ServletHolder(TimeframeServlet.getInstance()),\r\n \"/timeframe/*\");\r\n context.addServlet(\r\n new ServletHolder(SchedulerServlet.getInstance()),\r\n \"/scheduler/*\");\r\n\r\n ContextHandler fileHandler = new ContextHandler();\r\n fileHandler.setContextPath(\"/resources\");\r\n ResourceHandler resourceHandler = new ResourceHandler();\r\n resourceHandler.setResourceBase(\"site/resources\");\r\n fileHandler.setHandler(resourceHandler);\r\n\r\n ContextHandlerCollection contexts = new ContextHandlerCollection();\r\n contexts.setHandlers(new Handler[] { context, fileHandler });\r\n server.setHandler(contexts);\r\n\r\n server.start();\r\n\r\n } catch (Exception e) {\r\n System.err.println(\"Server failed to start.\");\r\n e.printStackTrace();\r\n }\r\n }", "private void startServlets(){\n\t\ttry{\n\t\t\tserver = new Server();\n\t\t\tServerConnector c = new ServerConnector(server);\n\t\t\tc.setIdleTimeout(15000);\n\t\t\tc.setAcceptQueueSize(256);\n\t\t\tc.setPort(port);\n\t\t\tif(!bind.equals(\"*\")){\n\t\t\t\tc.setHost(bind);\n\t\t\t}\n\n\t\t\tServletContextHandler handler = new ServletContextHandler(server,\"/\", true, false);\n\t\t\tServletHolder servletHolder = new ServletHolder(StatusServlet.class);\n\t\t\thandler.addServlet(servletHolder, \"/status/*\");\n\n\t\t\tservletHolder = new ServletHolder(SampleAPIServlet.class);\n\t\t\thandler.addServlet(servletHolder, \"/sample/*\");\n\n\t\t\tservletHolder = new ServletHolder(FileServlet.class);\n\t\t\thandler.addServlet(servletHolder, \"/*\");\n\t\t\tFileServlet.sourceFolder=\"./site\";\t\t\t\n\n\t\t\tserver.addConnector(c);\n\t\t\tserver.start();\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "@Override\r\n protected void doGet(HttpServletRequest request,\r\n HttpServletResponse response) throws ServletException, IOException {\r\n\r\n String path = request.getPathInfo();\r\n Map<String, Object> data = getDefaultData();\r\n Writer writer = response.getWriter();\r\n\r\n if (path == null) {\r\n throw new IOException(\"The associated path information is null\");\r\n }\r\n\r\n if (path.equals(\"/\")) {\r\n processTemplate(MAIN_SITE, data, writer);\r\n } else if (path.equals(\"/login\")) {\r\n processTemplate(LOGIN_SITE, data, writer);\r\n } else if (path.startsWith(\"/login/error\")) {\r\n data.put(\"hasLoginFailed\", true);\r\n AppServlet.processTemplate(LOGIN_SITE, data, response.getWriter());\r\n } else if (path.equals(\"/logout\")) {\r\n request.getSession().invalidate();\r\n response.sendRedirect(\"/login\");\r\n } else if (path.equals(\"/signup\")) {\r\n processTemplate(SIGNUP_SITE, data, response.getWriter());\r\n } else {\r\n processTemplate(NOT_FOUND_SITE, data, writer);\r\n }\r\n }", "public IStatus prepareForServingDirectly(IPath baseDir, TomcatServer server, String tomcatVersion);", "String getServerUrl();", "@GetMapping(\"/\")\n\tpublic String showHomePage() {\n\t\treturn \"home\";\n\t}", "public static void main(String[] args) {\n\n\t\tJavalin app = Javalin.create(config -> config.addStaticFiles(\n\t\t\t\tstaticFiles ->\n\t\t\t\t{\n\t\t\t\t\tstaticFiles.directory = \"/public\";\n\t\t\t\t}\n\t\t\t\t)\n\t\t\t\t).start(6001);\n\t\t\n\t\t\n\t\tapp.get(\"/\", ctx -> ctx.html(\"hello!\"));\n\t\t\n\t\tapp.post(\"/authenticate\", ctx -> {login(ctx);} ); //Someone has to ping my authenticate, \n\t\t\t\t\t\t\t\t\t\t//before they can access my \"/secret\"\n\t\t\n\t\tapp.get(\"/secret\", ctx -> {\n\t\t\t\n\t\t\tUser sessionUser = ctx.sessionAttribute(\"user\");\n\t\t\t\n\t\t\tif(sessionUser == null) {\n\t\t\t\tctx.res.setStatus(400);\n\t\t\t\tSystem.out.println(\"Login in first!\");\n\t\t\t}else if(sessionUser.isAdmin()) {\n\t\t\t\tctx.res.setStatus(200); //success!\n\t\t\t\tctx.req.getRequestDispatcher(\"/SuperSecretPage.html\").forward(ctx.req, ctx.res);\n\t\t\t}else if(sessionUser.isAdmin() == false) {\n\t\t\t\tctx.res.setStatus(401);\n\t\t\t\tctx.req.getRequestDispatcher(\"/failed.html\").forward(ctx.req, ctx.res);\n\t\t\t}\n\t\t}); //That I only want access once they login!\n\t\t\n\t\tapp.get(\"logout\", ctx -> {\n\t\t\t\n\t\t\tctx.sessionAttribute(\"user\", new User(\"fake\",false)); //instead of removing altogther!\n//\t\t\tctx.consumeSessionAttribute(\"user\"); //logout!\n\t\t\t\n\t\t});\n\t\t\t\n\t\t\n\t\t//creating cookies\n\t\tapp.get(\"/cookie\", ctx -> {\n\t\t\t\n\t\t\t//cookies stored in the client machine! \n\t\t\t\n\t\t\tctx.cookie(\"user\", \"McBobby\");\n\t\t\tctx.cookie(\"favoriteColor\",\"Blue\");\n\t\t\tctx.cookie(\"member\",\"true\"); \n\t\t\tctx.cookie(\"admin\", \"false\");\n\t\t\tctx.cookie(\"access\", \"true\");\n\t\t});\n\t\t\n\t\tapp.get(\"/checkCookies\", ctx -> ctx.html(ctx.cookieMap().toString()));\n\t\t//checking if the cookies exist\n//\t\tapp.get(\"/checkCookies\", ctx -> {\n//\t\t\t\n//\t\t\tctx.res.setStatus(404);\n//\t\t\t\n//\t\t\t//checking if the cookieMap exists\n//\t\t\tif(ctx.cookieMap() != null) {\n//\t\t\t\tif(ctx.cookieMap().get(\"member\")!= null //checking if the \"member\" cookie exists\n//\t\t\t\t\t\t&& ctx.cookieMap().get(\"member\").equals(\"true\")) { //checkif the member cookie has the right value\n//\t\t\t\t\tctx.res.setStatus(200);\n//\t\t\t\t\t\n//\t\t\t\t}}\n//\t\t\t\n//\t\t\t\n//\t\t\t\t\n//\t\t\t\t\n//\t\t});\n\n\t\t//removing or overwriting the value of the cookie\n\t\tapp.get(\"/removeCookies\", ctx ->{\n\t\t\t\n\t\t\tctx.removeCookie(\"member\");\n\t\t\tctx.cookie(\"access\", \"false\");\n\t\t});\n\t\t\n\t\t\n\t\t\n\t\tapp.get(\"/setSession\", ctx -> {\n\t\t\n\t\t\tctx.sessionAttribute(\"user\", new User(\"Mcbobby\",false));\n\t\t\t\n\t\t});\n\t\t\n\t\tapp.get(\"/checkSession\", ctx -> {\n\n\t\t\tUser sessionUser = ctx.sessionAttribute(\"user\");\n\t\t\tSystem.out.println(sessionUser);\n\t\t});\n\t\t\n\t\tapp.get(\"/invalidateSession\", ctx -> {\n\t\t\t\n\t\t\tctx.consumeSessionAttribute(\"user\"); //this invalidates the session!\n\t\t});\n\t\t\n\t}", "@GetMapping(path = \"/index\")\n\tpublic String index() {\n\t\treturn \"Welcome to Ripple Application!\";\n\t}", "public static void main(String[] args) throws IOException {\n ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS);\n context.setContextPath(\"/\");\n\n // Establish DB connection first\n\n // now start the server\n System.out.println(\"=== Initializing server on port \" + PORT);\n\n Server jettyServer = new Server(PORT);\n jettyServer.setHandler(context);\n\n if (LOG_REQUESTS) {\n RequestLog requestLog = new RipLogger();\n jettyServer.setRequestLog(requestLog);\n }\n\n ServletHolder jerseyServlet = context.addServlet(ServletContainer.class, \"/sudoku/*\");\n jerseyServlet.setInitOrder(0);\n jerseyServlet.setInitParameter(\"jersey.config.server.provider.packages\", \"com.shadedreality.rest\");\n\n try {\n jettyServer.start();\n jettyServer.dumpStdErr();\n jettyServer.join();\n } catch (Exception e) {\n System.err.println(\"Uncaught Exception in server: \"+e);\n }\n finally {\n jettyServer.destroy();\n }\n }", "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tcounter++;\r\n\t\tresp.setContentType(\"text/html\");\r\n\t\tresp.getWriter().println(\"<html><head>title>Hello World! \" + counter + \"</title><head>\");\r\n\t\tresp.getWriter().println(\"<body><h1>hallo mitch lukt het ook bij jou refresh deze pagina danku! \" + counter + \"</h1></body></html>\");\r\n\t\tresp.getWriter().println();\r\n\t\tresp.getWriter().close();\r\n \t}", "public WebServer(Music music, int port) throws IOException {\n this.music = music;\n this.server = HttpServer.create(new InetSocketAddress(port), 0);\n \n // handle concurrent requests with multiple threads\n server.setExecutor(Executors.newCachedThreadPool());\n server.start();\n String hostName = LOCALHOST;\n for (NetworkInterface iface : Collections.list(NetworkInterface.getNetworkInterfaces())) {\n for (InetAddress address: Collections.list(iface.getInetAddresses())) {\n if (address instanceof Inet4Address) { \n if (!address.getHostName().equals(LOCALHOST)) {\n System.out.println(\"Address: \" + address.getHostName());\n hostName = address.getHostName();\n }\n }\n }\n }\n \n for (String voice : music.getVoices()) {\n //handle requests for paths that start with /look/\n System.out.println(\" In your web browser, navigate to\\n\" + hostName + \":\" + port + \"/\" + voice + \"/\" + \"\\n to access the lyrics stream for this voice.\"); \n server.createContext(\"/\" + voice + \"/\", exchange -> {\n try {\n handleClient(exchange);\n } catch (MidiUnavailableException e) {\n throw new RuntimeException(\"Midi Unavailable\");\n } catch (InvalidMidiDataException e) {\n throw new RuntimeException(\"Invalid Midi Data\");\n } catch (InterruptedException e) {\n throw new RuntimeException(\"Interrupted\");\n }\n });\n }\n checkRep();\n }", "public static void main(String[] args) {\n \tEmbeddedServers.add(EmbeddedServers.Identifiers.JETTY, (Routes routeMatcher, StaticFilesConfiguration staticFilesConfiguration, boolean hasMultipleHandler) -> {\r\n JettyHandler handler = setupHandler(routeMatcher, staticFilesConfiguration, hasMultipleHandler);\r\n customJettyServerFactory serv = new customJettyServerFactory();\r\n return new EmbeddedJettyServer(serv, handler);\r\n });\r\n \t\r\n \tport(80);\r\n \t\r\n \tOptions op = new Options();\r\n \top.setOptions(args);\r\n \t//LabelCreator labels = new LabelCreator(op);\r\n\r\n \t\r\n \tstaticFiles.location(\"/public\"); // Static (web accessible) files (e.g. CSS files etc.) can be placed in src/main/resources/public \r\n \tstaticFiles.header(\"Access-Control-Allow-Origin\", \"*\"); // static files can be accessed from anywhere\r\n \tstaticFiles.header(\"Access-Control-Allow-Headers\", \"*\"); // static files can be accessed from anywhere\r\n \t\r\n \t// any empty action will be redirected to the API documentation\r\n \tredirect.any(\"/\", \"/labels/\"+API_VERSION+\"/\");\r\n \tredirect.any(\"/labels\", \"/labels/\"+API_VERSION+\"/\");\r\n \tredirect.any(\"/labels/\", \"/labels/\"+API_VERSION+\"/\");\t\r\n \tredirect.any(\"/labels/\"+API_VERSION, \"/labels/\"+API_VERSION+\"/\");\r\n \t\r\n \toptions(\"/*\", (req, res) -> {\r\n \t\tString accessControlRequestHeaders = req.headers(\"Access-Control-Request-Headers\");\r\n \t\tif (accessControlRequestHeaders != null) {\r\n \t\t\tres.header(\"Access-Control-Allow-Headers\", accessControlRequestHeaders);\r\n \t\t}\r\n\r\n \t\tString accessControlRequestMethod = req.headers(\"Access-Control-Request-Method\");\r\n \t\tif (accessControlRequestMethod != null) {\r\n \t\t\tres.header(\"Access-Control-Allow-Methods\", accessControlRequestMethod);\r\n \t\t}\r\n\r\n return \"OK\";\r\n \t});\r\n \t\r\n \ttry {\r\n\t\t\t// Build swagger json description\r\n\t\t\tfinal String swaggerJson = SwaggerParser.getSwaggerJson(APP_PACKAGE);\r\n\t\t\tget(\"/labels/\"+API_VERSION+\"/\", (req, res) -> { // TODO: redirect the Swagger JSON to a Swagger UI instance instead of returning it e.g. redirect.any(\"/test\", \"http://petstore.swagger.io\");\r\n\t\t\t\tres.header(\"Content-Type\", \"application/json\");\r\n\t\t\t\treturn swaggerJson;//.replace(oldChar, newChar);\r\n\t\t\t});\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.err.println(e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n \t\r\n \t// Routes other than default Swagger documentation\r\n \tpath(\"/labels\", () -> {\r\n \t\tpath(\"/\"+API_VERSION, () -> {\r\n\t \t\t\r\n \t\t\tget(\"/static/*\", (req, res) -> {\r\n \t \t\t\r\n \t\t\t\t AccessStatic c = new AccessStatic(op, req, res);\r\n \t\t return c.result();\r\n \t\t\t});\r\n \t\t\t\r\n \t\t\tpost(\"/\", (req, res) -> {\r\n \t\t\t\t\r\n \t\t\t\tif(req.queryParams(\"template\")==null || req.queryParams(\"template\").isEmpty())\r\n \t\t\t\t{\t\r\n \t\t\t\t\t//res.redirect(\"/labels/\"+API_VERSION+\"/template/choose\", 303);\r\n \t\t\t\t\tTemplateCreator tmpl = new TemplateCreator(op);\r\n\t\t\t \t//tmpl.baseURL = \"http://\"+req.host();\r\n\t\t\t \ttmpl.target = tmpl.baseURL+ req.pathInfo();\r\n\t\t\t \ttmpl.origReq = req;\r\n\t\t\t \t\r\n\t\t\t \treturn tmpl.chooseTemplateForm();\r\n \t\t\t\t}\r\n \t\t\t\telse {\r\n \t\t\t\t\tString format = req.queryParams(\"format\");\r\n \t\t\t\t\tString data = req.queryParams(\"data\");\r\n \t\t\t\t\t//op.baseURL = \"http://\"+req.host() + req.pathInfo();\r\n \t\t\t\t\t//op.baseURL = op.baseURL + req.pathInfo();\r\n \t\t\t\t\t\r\n \t\t\t\t\tif(format==null || format.isEmpty())\r\n \t\t\t\t\t\tformat=\"html\";\r\n \t\t\t\t\t\r\n\t \t\t\t\tif(format.equalsIgnoreCase(\"html\"))\r\n\t \t\t\t\t\ttry {\r\n\t \t\t\t\t\t\t CreateHTML c = new CreateHTML(op, req, res);\r\n\t \t\t\t\t String re = c.result();\r\n\t \t\t\t\t return re;\r\n\t \t\t\t\t\t} catch (Exception e) {\r\n\t \t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t \t\t\t\t\t\te.printStackTrace();\r\n\t \t\t\t\t\t}\r\n\t \t\t\t\t \r\n\t \t\t\t\tif(format.equalsIgnoreCase(\"pdf\"))\r\n\t \t\t\t\t\ttry {\r\n\t \t\t\t\t\t\tCreatePDF c = new CreatePDF(op, req, res);\r\n\t \t\t\t\t return c.result();\r\n\t \t\t\t\t\t} catch (Exception e) {\r\n\t \t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t \t\t\t\t\t\te.printStackTrace();\r\n\t \t\t\t\t\t}\r\n \t\t\t\t}\r\n \t\t\t\treturn \"3rror\";\r\n \t\t\t});\r\n \t\t\t\r\n \t\t\tget(\"/tmp\", (req, res) -> {\r\n \t \t\t\r\n \t\t\t\t AccessTmp c = new AccessTmp(op, req, res);\r\n \t\t return c.result();\r\n \t\t });\r\n \t\t\t\r\n \t\t\ttry {\r\n\t\t\t\t\tCreatePDFRoute.route(op);\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t \r\n \t\t\ttry {\r\n\t\t\t\t\tCreateHTMLRoute.route(op);\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t \r\n \t\t\ttry {\r\n\t\t\t\t\tAccessTmpRoute.route(op);\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t \r\n\t\t // TODO: Metadata about existing templates\r\n\t\t // @route /templates/ \t\t=> get a list of all existing templates\r\n\t\t // @route /template/{id} \t\t=> get a specific template with unique list of included placeholders and path to html file\r\n\t\t \r\n \t\t\tpath(\"/template\", () -> {\r\n\t\t\t get(\"/show\", (req, res) -> {\r\n\t\t\t\t\t \r\n\t\t\t \tres.header(\"Content-Type\", \"text/html\");\r\n\t\t\t \t\r\n\t\t\t if(req.queryParams(\"template\")!=null)\r\n\t\t\t\t\t\t\top.templateFile = op.templateDir+\"/\"+req.queryParams(\"template\");\r\n\t\t\t \r\n\t\t\t String html = \"\";\r\n\t\t\t File file = new File(op.templateFile);\r\n\t\t\t\t\t FileInputStream fis;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t if(file.exists()) {\r\n\t\t\t\t\t\t\tfis = new FileInputStream(file);\r\n\t\t\t\t\t\t byte[] data = new byte[(int) file.length()];\r\n\t\t\t\t\t\t\tfis.read(data);\r\n\t\t\t\t\t\t fis.close();\r\n\t\t\t\t\t\t html = new String(data, \"UTF-8\");\r\n\t\t\t\t\t };\r\n\t\t\t\t\t res.body(html);\r\n\t\t\t\t\t \r\n\t\t\t\t\t return res.body();\r\n\t\t\t });\r\n\t\t\t \r\n\t\t\t get(\"/show/all\", (req, res) -> {\r\n\t\t\t \t\r\n\t\t\t \tres.header(\"Content-Type\", \"application/json\");\r\n\t\t\t \tres.body(new TemplateCreator(op).getTemplates().toString());\r\n\t\t\t \treturn res.body();\r\n\t\t\t });\r\n\t\t\t \r\n\t\t\t \r\n \t\t\t});\r\n\t\t \r\n\t\t get(\"/check\", (req, res)-> {\r\n\t\t \t\r\n\t\t \t byte[] bytes = Files.readAllBytes(Paths.get(\"templates/submit.html\")); \r\n\t\t\t HttpServletResponse raw = res.raw();\r\n\t\t\t\r\n\t\t\t raw.getOutputStream().write(bytes);\r\n\t\t\t raw.getOutputStream().flush();\r\n\t\t\t raw.getOutputStream().close();\r\n\t\t\t \r\n\t\t\t return res.raw();\r\n\t\t \t\r\n\t\t });\r\n\t\t \r\n\t\t // TODO: set option for configuring Allow-Origin through config.ini\r\n\t\t\t\tbefore((req, res) -> {\r\n\t\t\t\t\tres.header(\"Access-Control-Allow-Origin\", \"*\");\r\n\t\t\t\t\tres.header(\"Access-Control-Allow-Headers\", \"Content-Type,Authorization,X-Requested-With,Content-Length,Accept,Origin,\");\r\n\t\t\t\t});\r\n\t\t \r\n\t\t // TODO: make template editable (e.g. with (static) implementation of WYSIWYG Aloha Editor (http://alohoeditor.org))\r\n\t\t // get(\"/template/edit\", (req, res) -> {\r\n\t\t //\t\t@param Sting template: name of the template\r\n\t\t // }\r\n\t\t \r\n\t\t // TODO: save template (e.g. by sending the (full) DOM of the template edited by Aloha Editor (http://alohoeditor.org))\r\n\t\t // get(\"/template/save\", (req, res) -> {\r\n\t\t //\t\t@param String template: name of the (new) template\r\n\t\t //\t\t@param Boolean overwrite: what to do if template name already exists \r\n\t\t // }\r\n\t\t \r\n\t\t \r\n\t\t \r\n\t\t /* get(\"/json\", (req, res) -> {\r\n\t\t \r\n\t\t byte[] bytes = Files.readAllBytes(Paths.get(\"templates/data.json\")); \r\n\t\t HttpServletResponse raw = res.raw();\r\n\t\t\r\n\t\t raw.addHeader(\"Content-Type\", \"application/json\");\r\n\t\t raw.getOutputStream().write(bytes);\r\n\t\t raw.getOutputStream().flush();\r\n\t\t raw.getOutputStream().close();\r\n\t\t\r\n\t\t return res.raw();\r\n\t\t \r\n\t\t \t });\r\n\t\t */\r\n\t \t});\r\n \t});\r\n \t\r\n \tif(op.debug)\r\n \t\tenableDebugScreen(); \r\n }", "public static void main(String[] args) {\n staticFiles.location(\"/public\");\n //This will listen to GET requests to /model and return a clean new model\n get(\"/model\", (req, res) -> newModel());\n //This will listen to POST requests and expects to receive a game model, as well as location to fire to\n post(\"/fire/:row/:col\", (req, res) -> fireAt(req));\n //This will listen to POST requests and expects to receive a game model, as well as location to place the ship\n post(\"/placeShip/:id/:row/:col/:orientation\", (req, res) -> placeShip(req));\n }", "public WebServer()\n {\n if (!Variables.exists(\"w_DebugLog\"))\n Variables.setVariable(\"w_DebugLog\", true);\n\n if (!Variables.exists(\"w_Port\"))\n Variables.setVariable(\"w_Port\", 80);\n\n if (!Variables.exists(\"w_NetworkBufferSize\"))\n Variables.setVariable(\"w_NetworkBufferSize\", 2048);\n\n PORT = Variables.getInt(\"w_Port\");\n DEBUG = Variables.getBoolean(\"w_DebugLog\");\n BUFFER_SIZE = Variables.getInt(\"w_NetworkBufferSize\");\n }", "@GetMapping\n\tpublic String home() {\n\t\tSystem.out.println(\"Index page\");\n\t\treturn \"redirect:index.jsp\";\n\t}", "private void loadWelcomeContent() {\n\t\twebEngine = startScreen.getEngine();\n\t\tFile jarPath = SX3Manager.getInstance().getInstallLocation();\n\t\tString sx3helpContentPath = jarPath.getParentFile().getAbsolutePath() + \"/welcomeContent/startPage.html\";\n\t\tFile f = new File(sx3helpContentPath);\n\t\twebEngine.load(f.toURI().toString());\n\t}", "@Override\r\n public void addResourceHandlers(ResourceHandlerRegistry registry) {\r\n registry.addResourceHandler(\"/resources/**\").addResourceLocations(\"/resources/\");\r\n// registry.addResourceHandler(\"/static/**\").addResourceLocations(\"/static/\").setCachePeriod(31556926);\r\n }", "String getServerBaseURL();", "@Override\r\n\tprotected void addResourceHandlers(ResourceHandlerRegistry registry) {\n\t\tregistry.addResourceHandler(\"/static/**\").addResourceLocations(\"classpath:/hh/\");\r\n\t\tsuper.addResourceHandlers(registry);\r\n\t}", "@GetMapping(\"/\")\n\tpublic String auth() throws IOException \n\t{\n\t\t/* Returns to home.html : index.html */\n\t\treturn appservice.authentication() ? \"application.html\" : \"log.html\";\n\t}", "S getServer();", "public void showWebSite() throws Exception {\n\t\twebServer.start();\n\t\tSystem.out.println(getUrl());\n\t\twebServer.join();\n\t}", "@RequestMapping(\"/main\")\r\n @Produces(\"text/plain\")\r\n @ResponseBody\r\n @GET\r\n public String mainPage() {\r\n System.out.println(\"mainPage\");\r\n return \"Main\";\r\n }", "@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException\n {\n resp.setContentType(\"text/html\");\n resp.getWriter().write(\"<html><body>Hello World from servlet</body></html>\");\n }", "@GetMapping(\"/home\")\n\t//@ResponseBody\n\tpublic String home()\n\t{\n\t\treturn\"/first/home\";\n\t}", "public void startServer() {\n URLClassLoader loader = createClasspath(opts);\n X_Process.runInClassloader(loader, appServer\n .map(DevAppServer::doStartServer, getAppName() + \"Server\", getPort())\n .ignoreOut1().unsafe());\n }", "protected String getStaticFilesLocation(PortletRequest request) {\n // TODO allow overriding on portlet level?\n String staticFileLocation = getPortalProperty(\n Constants.PORTAL_PARAMETER_VAADIN_RESOURCE_PATH,\n request.getPortalContext());\n if (staticFileLocation != null) {\n // remove trailing slash if any\n while (staticFileLocation.endsWith(\".\")) {\n staticFileLocation = staticFileLocation.substring(0,\n staticFileLocation.length() - 1);\n }\n return staticFileLocation;\n } else {\n // default for Liferay\n return \"/html\";\n }\n }", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\t\treq.getRequestDispatcher(\"/index.jsp\").forward(req, resp);\n\t}", "public static void main(String[] args) {\n\t\t\n\t\tFakeWebServer server = new FakeWebServer();\n\t\t\n\t\tString pageA = server.request(\"PageA\");\n\t\tSystem.out.println(pageA);\n\t\t\n\t\tString pageB = server.request(\"PageB\");\n\t\tSystem.out.println(pageB);\n\t\t\n\t\tString malicious = server.request(\"<script> Script will execute when it gets back to client </script>\");\n\t\tSystem.out.println(malicious);\n\t\t\n\t}", "public Result index() {\n return ok(views.html.index.render());\n }", "public Result index() {\n return ok(views.html.index.render());\n }", "public Result index() {\n return ok(views.html.index.render());\n }", "@GetMapping()\r\n public void home(HttpServletResponse response) throws Exception {\n\r\n ngoy.render(response.getOutputStream());\r\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 }", "@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n resp.setContentType(\"text/html;charset=UTF-8\");\n req.getRequestDispatcher(\"/jsp/produtos/index.jsp\").include(req, resp);\n \n }", "public static void main(String[] argv)\n {\n int p = determinePort(argv, 10000);\n XmlRpc.setKeepAlive (true);\n SecureWebServer webserver = new SecureWebServer (p);\n\n try\n {\n webserver.addDefaultHandlers();\n webserver.start();\n }\n catch (Exception e)\n {\n System.err.println(\"Error running secure web server\");\n e.printStackTrace();\n System.exit(1);\n }\n }", "@RequestMapping(\"/web/*\")\n\tpublic String oneFolder() {\n\t System.out.println(\"In /web/*\");\n\t return \"success\";\n\t}", "@Override\n protected void doGet(HttpServletRequest request,\n HttpServletResponse response) throws IOException, ServletException {\n\n // Check the path information to find the resource being requested.\n String pathInfo = request.getPathInfo();\n if (JAVASCRIPT_CORE.equals(pathInfo)) {\n JavascriptProvider.sendCoreJavaScript(request, response);\n } else if (JAVASCRIPT_FEATURES.equals(pathInfo)) {\n JavascriptProvider.sendFeatureJavaScript(request, response);\n } else if (\n pathInfo.toLowerCase().endsWith(\"jpg\") ||\n pathInfo.toLowerCase().endsWith(\"png\") ||\n pathInfo.toLowerCase().endsWith(\"gif\")) {\n ImageOptimizer.sendImage(request, response);\n }\n }", "@RequestMapping(\"/\")\n public String home(){\n return \"Hello World\";\n }", "public static void main(final String[] args) {\n\t\tServer server = new Server();\n\t\tSocketConnector connector = new SocketConnector();\n\t\tconnector.setPort(9090);\n\t\tserver.setConnectors(new Connector[] {connector});\n\n\t\tWebAppContext context = new WebAppContext();\n\t\tcontext.setServer(server);\n\t\tcontext.setContextPath(\"/biomedcalib\");\n\t\tcontext.setWar(\"src/main/webapp\");\n\n\t\tserver.addHandler(context);\n\t\ttry {\n\t\t\tserver.start();\n\t\t} catch (Exception e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t}", "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n String ua = request.getHeader(\"User-Agent\");\r\n\r\n // prepare the appropriate DOCTYPE for the view pages\r\n if (ua != null && ((ua.indexOf(\"Android\") != -1) || (ua.indexOf(\"iPhone\") != -1))) {\r\n /*\r\n * This is the latest XHTML Mobile doctype. To see the difference it\r\n * makes, comment it out so that a default desktop doctype is used\r\n * and view on an Android or iPhone.\r\n */\r\n request.setAttribute(\"doctype\", \"<!DOCTYPE html PUBLIC \\\"-//WAPFORUM//DTD XHTML Mobile 1.2//EN\\\" \\\"http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd\\\">\");\r\n } else {\r\n request.setAttribute(\"doctype\", \"<!DOCTYPE HTML PUBLIC \\\"-//W3C//DTD HTML 4.01 Transitional//EN\\\" \\\"http://www.w3.org/TR/html4/loose.dtd\\\">\");\r\n }\r\n\r\n System.out.println(\"Now running server\");\r\n String url = model.getRandomUrl();\r\n System.out.println(\"URL IS \" + url);\r\n request.setAttribute(\"surveyUrl\", url);\r\n RequestDispatcher view = request.getRequestDispatcher(\"survey.jsp\");\r\n view.forward(request, response);\r\n }", "@Test\n public void testGetDefaultIndex() throws Exception {\n testRequest(HttpMethod.GET, \"\", 200, \"OK\", \"<html><body>Index page</body></html>\");\n\n // with slash\n testRequest(HttpMethod.GET, \"/\", 200, \"OK\", \"<html><body>Index page</body></html>\");\n\n // and directly\n testRequest(HttpMethod.GET, \"/index.html\", 200, \"OK\", \"<html><body>Index page</body></html>\");\n }", "public static void main(String[] args) throws Exception {\n\n\t\tServer server = new Server(8080);\n\n\t\tWebAppContext bb = new WebAppContext();\n\t\tbb.setServer(server);\n\n\t\tbb.addFilter(GuiceFilter.class, \"/*\", EnumSet.allOf(DispatcherType.class));\n\n\t\tServletHolder holder = bb.addServlet(ServletContainer.class, \"/*\");\n\t\tholder.setInitParameter(\"javax.ws.rs.Application\", \"net.ludeke.rest.jersey.MyApplication\");\n\n\t\tbb.addServlet(holder, \"/*\");\n\t\tbb.setContextPath(\"/\");\n\t\tbb.setWar(\"src/main/webapp\");\n\n\t\tserver.setHandler(bb);\n\n\t\ttry {\n\t\t\tSystem.out.println(\">>> STARTING EMBEDDED JETTY SERVER, PRESS ANY KEY TO STOP\");\n\t\t\tserver.start();\n\t\t\twhile (System.in.available() == 0) {\n\t\t\t\tThread.sleep(5000);\n\t\t\t}\n\t\t\tserver.stop();\n\t\t\tserver.join();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tSystem.exit(100);\n\t\t}\n\t}", "@RequestMapping(\"/\")\n public String startPage() {\n\n return \"redirect:/html/singlelamp/nnlightctl/Index.html\";\n }", "@RequestMapping(\"/\")\n\tString home() {\n\t\treturn \"Hello World!\";\n\t}", "@GetMapping(\"/admin\")\n public String adminindex(){\n\n return \"adminindex\";\n }", "@RequestMapping(value = \"/\", method = RequestMethod.GET)\n public ResponseEntity<?> home() {\n return new ResponseEntity<>(\"This is a new restful app\", HttpStatus.OK);\n }", "@Override\n public void addResourceHandlers(ResourceHandlerRegistry registry) {\n registry.addResourceHandler(\"/static/**\").addResourceLocations(\"/static/\");\n registry.addResourceHandler(\"/resources/**\").addResourceLocations(\"/resources/\");\n // swagger\n// registry.addResourceHandler(\"swagger-ui.html\").addResourceLocations(\"classpath:/META-INF/resources/\");\n// registry.addResourceHandler(\"/webjars/**\").addResourceLocations(\"classpath:/META-INF/resources/webjars/\");\n \n }", "@PostConstruct\n public void deploy() {\n Vertx.vertx().deployVerticle(vertxHttpServerApplication);\n }", "@RequestMapping({\"\", \"/\", \"/index\"})\n public String getIndexPage() {\n System.out.println(\"Some message to say...1234e\");\n return \"index\";\n }", "@GetMapping(\"\")\r\n @ResponseStatus(code = HttpStatus.OK)\r\n public void main() {\r\n LOGGER.info(\"GET /\");\r\n }", "@RequestMapping(\"home\")\n public String loadHomePage( HttpServletRequest request, final HttpServletResponse response, Model model ) {\n response.setHeader( \"Cache-Control\", \"max-age=0, no-cache, no-store\" );\n\n // Get the title of the application in the request's locale\n model.addAttribute( \"title\", webapp.getMessage( \"webapp.subtitle\", null, request.getLocale() ) );\n\n return \"home\";\n }", "protected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\r\n\t\t\r\n\t\treq.getRequestDispatcher(\"main.jsp\").include(req, resp);\r\n\t\r\n\t}", "public void handle(HttpExchange t) throws IOException {\n os = t.getResponseBody();\n urlString = t.getRequestURI().toString();\n this.url =t.getRequestURI().toString().split(\"/\"); //getRequestURI for URL and split\n\n System.out.println(\"Base URI Received: \"+t.getRequestURI().toString());\n\n if(urlString.contains(\".\")) {\n Helper.returnRequestedFile(t, urlString, os);\n } else {\n if(url.length == 0 || url[url.length-1].equals(\"index.html\")) {\n //Returns index.html\n basePage = new File(\"src/StockMarketServer/client/index/index.html\"); //Write index.html to file\n t.getResponseHeaders().add(\"Content-type\", \"text/html\");\n t.sendResponseHeaders(200, basePage.length()); //Return okay code and length of file\n Files.copy(Paths.get(basePage.getAbsolutePath()), os); //Write index.html to response\n os = t.getResponseBody();\n }\n else {\n //Returns pageNotFound.html\n basePage = new File(\"src/StockMarketServer/client/pageNotFound/pageNotFound.html\"); //Write index.html to file\n t.sendResponseHeaders(404, basePage.length()); //Return okay code and length of file\n Files.copy(Paths.get(basePage.getAbsolutePath()), os); //Write index.html to response\n os = t.getResponseBody();\n }\n }\n os.close();\n }", "@RequestMapping(\"/home\")\n\tpublic String home() throws FileNotFoundException, IOException {\n\t\tlog.info(\"accessed info\");\n\t\tlog.warn(\"accessed warn\");\n\t\tlog.error(\"accessed error\");\n\t\tlog.debug(\"accessed debug\");\n\t\tlog.trace(\"accessed trace\");\n\t\treturn \"home\";\n\n\t}", "public static void main(final String[] args) throws Exception {\n\t\tServer server = new Server(8181);\n\n\t\t// Register and map the dispatcher servlet\n\t\tfinal ServletHolder servletHolder = new ServletHolder(new CXFServlet());\n\t\tfinal ServletContextHandler context = new ServletContextHandler();\n\t\tcontext.setContextPath(\"/\");\n\t\tcontext.addServlet(servletHolder, \"/rest/*\");\n\t\tcontext.addEventListener(new ContextLoaderListener());\n\t\tcontext.setInitParameter(\"contextClass\", AnnotationConfigWebApplicationContext.class.getName());\n\t\tcontext.setInitParameter(\"contextConfigLocation\", AppConfig.class.getName());\n\n\t\tfinal ResourceHandler resource_handler = new ResourceHandler();\n\t\tresource_handler.setDirectoriesListed(true);\n\t\tresource_handler.setWelcomeFiles(new String[] { \"index.html\" });\n\n\t\t// Try to find the webapp files in source\n\t\tFile basePath = new File(\"./src/main/webapp/logiclodge-webapp/\");\n\t\tif (basePath.exists()) {\n\t\t\tresource_handler.setBaseResource(new PathResource(basePath));\n\t\t} else {\n\t\t\t// Otherwise grab them from the classpath (usually inside the jar)\n\t\t\tresource_handler.setResourceBase(new ClassPathResource(\"logiclodge-webapp\").getURI().toString());\n\t\t}\n\n\t\tfinal HandlerList handlers = new HandlerList();\n\t\thandlers.setHandlers(new Handler[] { resource_handler, context });\n\t\tserver.setHandler(handlers);\n\t\tserver.start();\n\t\tserver.join();\n\t}", "@RequestMapping(value=\"/\", method=RequestMethod.GET)\n\tpublic String home() {\n\t\tlogger.info(\"Welcome home!\");\n\t\treturn \"home\";\n\t}", "@GetMapping(\"/\")\n\tpublic String index() {\n\t\treturn \"index\";\n\t}" ]
[ "0.6674744", "0.65254265", "0.6175894", "0.59586257", "0.58412415", "0.583217", "0.5740725", "0.5666135", "0.5658091", "0.56563365", "0.5576445", "0.5566696", "0.5565983", "0.5552149", "0.5541982", "0.553898", "0.5529159", "0.55013794", "0.5493387", "0.5454274", "0.54338944", "0.54203916", "0.5404838", "0.539134", "0.539107", "0.5376816", "0.5371769", "0.53685033", "0.5348531", "0.53463805", "0.53162044", "0.5315377", "0.52208596", "0.5217911", "0.5186213", "0.51835686", "0.5160359", "0.51548034", "0.51546395", "0.51546395", "0.51483196", "0.5137599", "0.51314205", "0.51288885", "0.51269597", "0.5109595", "0.5107917", "0.50548536", "0.5039358", "0.5035166", "0.5030495", "0.5017873", "0.49968565", "0.49798524", "0.4976686", "0.49758196", "0.4973633", "0.4965721", "0.49594662", "0.49465638", "0.4943857", "0.4943387", "0.49380952", "0.49274483", "0.49256912", "0.49167794", "0.49164206", "0.49036112", "0.4903418", "0.4901527", "0.49013513", "0.48880798", "0.48880798", "0.48880798", "0.4887824", "0.4887307", "0.48864016", "0.48791716", "0.48761657", "0.48541558", "0.484968", "0.48489922", "0.48441282", "0.48214623", "0.48202917", "0.48201716", "0.4819739", "0.48088217", "0.48025626", "0.47878054", "0.4786234", "0.47859856", "0.47808152", "0.47799513", "0.47787645", "0.47772077", "0.47752315", "0.47747558", "0.4772518", "0.47686902" ]
0.4978145
54
Model This function should return a new model
private static String newModel(Request req) { if( req.params("Version").equals("Updated") ) { // make new model, make gson object, convert model to json using gson BattleshipModelUpdated game = new BattleshipModelUpdated(); Gson gson = new Gson(); return gson.toJson( game ); }else{ // make new model, make gson object, convert model to json using gson BattleshipModelNormal game = new BattleshipModelNormal(); Gson gson = new Gson(); return gson.toJson( game ); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "EisModel createEisModel();", "InstanceModel createInstanceOfInstanceModel();", "CsticModel createInstanceOfCsticModel();", "DataModel createDataModel();", "@Override\n\tpublic Model create() {\n\t\treturn null;\n\t}", "DomainModel createDomainModel();", "ModelData getModel();", "GoalModel createGoalModel();", "public Model createBaseModel() {\n return ModelFactory.createDefaultModel();\n }", "PriceModel createInstanceOfPriceModel();", "PriceSummaryModel createInstanceOfPriceSummaryModel();", "public Model doCreateModel() {\n Model m = m_baseModelName == null ? maker.createFreshModel() : maker.createModel( m_baseModelName );\n return new OntModelImpl( this, m );\n }", "void create(Model model) throws Exception;", "ZenModel createZenModel();", "public static Model newOf(Model model) {\n\t\tModel newModel = Model.newOf();\n\t\tnewModel.setTitle(model.getTitle());\n\t\tnewModel.setTableCode(model.getTableCode());\n\t\tnewModel.setDescription(model.getDescription());\n\t\treturn newModel;\n\t}", "Build_Model() {\n\n }", "public M create(P model);", "CsticGroupModel createInstanceOfCsticGroupModel();", "public SSModel createSSObject() {\n\t\tSSModel ssModel = new SSModel();\n\t\tssModel.create(mol);\n\t\t\n\t\treturn ssModel;\n\t}", "public abstract M getModel();", "RoomModel createRoomModel(RoomModel roomModel);", "A getModel();", "protected abstract IModel<T> createModel(T object);", "ConfigModel createInstanceOfConfigModel();", "protected Model makeModel()\n {\n LayerList layers = new LayerList();\n\n for (Layer layer : this.observered.getModel().getLayers())\n {\n if (layer instanceof TiledImageLayer) // share TiledImageLayers\n layers.add(layer);\n }\n\n Model model = new BasicModel();\n model.setGlobe(this.observered.getModel().getGlobe()); // share the globe\n model.setLayers(layers);\n\n return model;\n }", "public static MusicModel createModel() {\n return new MusicModelImpl();\n }", "public Model getModel () { return _model; }", "GameModel createGameModel(GameModel gameModel);", "Model getModel();", "Model getModel();", "Model getModel();", "public Curso model2entity (CursoModel cursoModel) {\r\n\t\tCurso curso = new Curso();\r\n\t\tcurso.setNombre(cursoModel.getNombre());\r\n\t\tcurso.setDescripcion(cursoModel.getDescripcion());\r\n\t\tcurso.setHoras(cursoModel.getHoras());\r\n\t\tcurso.setPrecio(cursoModel.getPrecio());\r\n\t\treturn curso;\r\n\t\t\r\n\t}", "Model copy();", "public void buildModel() {\n }", "protected E getModel ()\n\t{\n\t\treturn model;\n\t}", "SolvableConflictModel createInstanceOfSolvableConflictModel();", "@Override\r\n\tpublic T getModel() {\n\t\treturn model;\r\n\t}", "public ModelBean provideModel();", "@JsonIgnore\n @Override\n public Model getModel() {\n return this.model;\n }", "ConflictingAssumptionModel createInstanceOfConflictingAssumptionModel();", "AchievementModel createAchievementModel(AchievementModel achievementModel);", "@Override\n public Model newModel(CatalogItem item) {\n return null;\n }", "private Model(){}", "ArtefactModel getArtefactModel();", "private ColumnDefinitionModel createModel()\r\n {\r\n ColumnDefinitionModel model = new ColumnDefinitionModel();\r\n\r\n List<String> columnNames = Arrays.asList(ColumnHeaders.TIME.toString(), ColumnHeaders.LAT.toString(),\r\n ColumnHeaders.LON.toString(), ColumnHeaders.NAME.toString(), ColumnHeaders.NAME2.toString());\r\n\r\n CSVParseParameters parameters = new CSVParseParameters();\r\n parameters.setColumnNames(columnNames);\r\n\r\n parameters.setColumnsToIgnore(New.<Integer>list(4));\r\n\r\n SpecialColumn timeColumn = new SpecialColumn();\r\n timeColumn.setColumnIndex(0);\r\n timeColumn.setColumnType(ColumnType.TIMESTAMP);\r\n timeColumn.setFormat(\"yyyy-MM-dd'T'HH:mm:ss'Z'\");\r\n\r\n SpecialColumn latColumn = new SpecialColumn();\r\n latColumn.setColumnIndex(1);\r\n latColumn.setColumnType(ColumnType.LAT);\r\n latColumn.setFormat(\"Decimal\");\r\n\r\n SpecialColumn lonColumn = new SpecialColumn();\r\n lonColumn.setColumnIndex(2);\r\n lonColumn.setColumnType(ColumnType.LON);\r\n lonColumn.setFormat(\"Decimal\");\r\n\r\n parameters.getSpecialColumns().add(timeColumn);\r\n parameters.getSpecialColumns().add(latColumn);\r\n parameters.getSpecialColumns().add(lonColumn);\r\n\r\n model.setSelectedParameters(parameters);\r\n\r\n return model;\r\n }", "public Object getModel();", "@Override\n\tpublic HomeModel create(HomeModel model) {\n\t\treturn null;\n\t}", "M getModel();", "PlayerInRoomModel createPlayerInRoomModel(PlayerInRoomModel playerInRoomModel);", "private void generateModel() {\n // Initialize a new model object\n mCm = new CategoryModel[nodes.length];\n\n for (int i = 0; i < nodes.length; i++) {\n mCm[i] = new CategoryModel(nodes[i].id, nodes[i].title);\n }\n }", "HdbdtiModel createHdbdtiModel();", "public T createModel(Cursor cursor, String id);", "DataModel getDataModel ();", "public CursoModel entity2model (Curso curso) {\r\n\t\t\r\n\t\tCursoModel cursoModel = new CursoModel();\r\n\t\t\r\n\t\tcursoModel.setNombre(curso.getNombre());\r\n\t\tcursoModel.setDescripcion(curso.getDescripcion());\r\n\t\tcursoModel.setHoras(curso.getHoras());\r\n\t\tcursoModel.setPrecio(curso.getPrecio());\r\n\t\t\r\n\t\treturn cursoModel;\r\n\t}", "@Override\r\n\tpublic User getModel() {\n\t\tuser = new User();\r\n\t\treturn user;\r\n\t}", "protected Document createDefaultModel() {\n return new PlainDocument();\n }", "public Model() {\n\t}", "public Model() {\n\t}", "public Melding createMelding() {\n\n\t\tMelding melding = null;\n\n\t\ttry {\n\t\t\tString name = \"Melding\";\n\t\t\tmelding = (Melding) modelRepository.createObject(\n\t\t\t\t\tmodelRepository.getModelClass(name),\n\t\t\t\t\t(ResourceName) ResourceName.fromString(name));\n\n\t\t\t// Invullen gegevens melder indien aanwezig in cookie\n\t\t\tCookie userCookie = getRoutedokterCookie();\n\t\t\tif (userCookie != null) {\n\n\t\t\t\tString[] values = userCookie.getValue().split(\n\t\t\t\t\t\tCOOKIE_VALUE_SEPERATOR);\n\n\t\t\t\tfor (String keyValue : Arrays.asList(values)) {\n\t\t\t\t\tString key = keyValue.split(\":\")[0];\n\t\t\t\t\tString value = keyValue.split(\":\")[1];\n\t\t\t\t\tif (key.equals(\"email\")) {\n\t\t\t\t\t\tmelding.setEmail(value);\n\t\t\t\t\t} else if (key.equals(\"voornaam\")) {\n\t\t\t\t\t\tmelding.setVoornaam(value);\n\t\t\t\t\t} else if (key.equals(\"naam\")) {\n\t\t\t\t\t\tmelding.setNaam(value);\n\t\t\t\t\t} else if (key.equals(\"tel\")) {\n\t\t\t\t\t\tmelding.setTelefoon(value);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (InstantiationException e) {\n\t\t\tLOG.error(\"Can not instantiate model object.\", e);\n\t\t} catch (IllegalAccessException e) {\n\t\t\tLOG.error(\"Illegal access at creation model object.\", e);\n\t\t}\n\t\treturn melding;\n\t}", "private Model getThisModel(String name, Model model) {\n\t\t\t\n\t\t\t Model modret=ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM);\n\t\t\t\t String text=dbs.getModel(name);\n\t\t\t\t\n\t\t\t\t//System.out.println(\"TEXT\"+text+\"TEXT!!!\");\n\t\t\t\t if(text==null){\n\t\t\t\t\t modret.setNsPrefix(\"foaf\", NS.FOAF);\n\t\t\t\t\t\tmodret.setNsPrefix(\"cisp\", NS.CISP);\n\t\t\t\t\t\tmodret.setNsPrefix(\"prov\", NS.PROV);\n\t\t\t\t\t\tmodret.setNsPrefix(\"rdf\", NS.RDF);\n\t\t\t\t\treturn modret;\n\t\t\t\t }\n\t\t\t\t else{\n\t\t\t\t\t //read model \n\t\t\t\t\t InputStream input = new ByteArrayInputStream(text.getBytes());\n\t \n\t\t\t\t\t modret.read(input, null,\"RDF/JSON\");\n\t\t\t\t\t modret.setNsPrefix(\"foaf\", NS.FOAF);\n\t\t\t\t\t\tmodret.setNsPrefix(\"cisp\", NS.CISP);\n\t\t\t\t\t\tmodret.setNsPrefix(\"prov\", NS.PROV);\n\t\t\t\t\t\tmodret.setNsPrefix(\"rdf\", NS.RDF);\n\t\t\t\t }\n\t\t\t\t return modret;\n\t \n\t\t }", "public Model() {\n\n }", "public <T> T createModel(Class<T> clazz) throws CreateModelException {\n return createModel(clazz, true);\n }", "public static Serviceable getModel(AppModels type)\n {\n Serviceable tempObj;\n switch (type) {\n case KEYWORD_USER:\n tempObj = new KeywordUser();\n break;\n case QUIZ:\n tempObj = new Quiz();\n \n break;\n default:\n tempObj = null;\n break;\n }\n \n return tempObj;\n }", "ModelsFactory getModelsFactory();", "public ExtFilterLazyDataModel<T> getModel() {\n if (model == null) {\n model = new ExtFilterLazyDataModel<T>(dao);\n String queryBody = generateQuery().toString();\n model.setSelectQuery(queryBody);\n model.setParameters(modelParams);\n }\n return model;\n }", "public Model() {\n }", "public Model() {\n }", "public Model() {\n }", "@RequestMapping(value = { \"/new\"}, method = RequestMethod.GET)\n\tpublic String newEntity(ModelMap model) {\n\t\tENTITY entity = createEntity();\n\n\t\tmodel.addAttribute(\"entity\", entity);\n\t\tmodel.addAttribute(\"edit\", false);\n\t\tmodel.addAttribute(\"loggedinuser\", getPrincipal());\n\t\treturn viewBaseLocation + \"/form\";\n\t}", "public Model implementCreateModelOver( String name ) {\n return new OntModelImpl( this, maker.createModel( name, false ) );\n }", "public Model getModel(){\r\n return model;\r\n }", "public boolean create(ModelObject obj);", "@Override\r\n\tpublic ServiceArticle getModel() {\n\t\tserviceArticle = new ServiceArticle();\r\n\t\treturn serviceArticle;\r\n\t}", "public Model getModel() {\n return petal_model;\n }", "protected ObjectModel createObjectModel(String uid, String xml) {\r\n throw new IllegalStateException(\"You must register the same object model on all sites.\");\r\n }", "MetricModel createMetricModel();", "public final InternalReportModel newReportModel() {\n return (InternalReportModel) newProxy(InternalReportModel.class,\n ReportModelImpl.class);\n }", "public final InternalMessageModel newMessageModel() {\n return (InternalMessageModel) newProxy(InternalMessageModel.class,\n MessageModelImpl.class);\n }", "GameScoreModel createGameScoreModel(GameScoreModel gameScoreModel);", "public Model() {\n this(DSL.name(\"model\"), null);\n }", "static RatAppModel getInstance() {return model;}", "public ModelSnapshot getModel() {\n return model;\n }", "@Override\n\tpublic String getModel() {\n\t\treturn \"cool model\";\n\t}", "public personnelMedicalModel(){\n\n }", "java.lang.String getModel();", "public Model createModel(ModelNode modelNode) {\n \tif (modelNode == null)\n \t\tthrow new NullPointerException();\n return new ModelImpl(modelNode);\n }", "public final InternalAdminUserModel newUserModel() {\n return (InternalAdminUserModel) newProxy(InternalAdminUserModel.class,\n AdminUserModelImpl.class);\n }", "UserModel createUserModel(UserModel userModel);", "public void buildModel(){\r\n\t\t\r\n\t\tsuper.buildModel();\r\n\t\t\r\n\t}", "protected Phone createPhone(Models model)\n {\n Phone phone = null;\n PhoneComponentFactory componentFactory = new TurkeyComponentFactory();\n\n switch(model){\n case MaximumEffort:\n phone = new MaximumEffortModel(componentFactory);\n phone.setName(\"Turkey - MaximumEffort Model\");\n break;\n case IflasDeluxe:\n phone = new IflasDeluxeModel(componentFactory);\n phone.setName(\"Turkey - IflasDeluxe Model\");\n break;\n case I_I_Aman_Iflas:\n phone = new I_I_Aman_IflasModel(componentFactory);\n phone.setName(\"Turkey - I-I-Aman-Iflas Model\");\n break;\n }\n System.out.println(\"-> Phone model is: \" + phone.getName());\n\n return phone;\n }", "private Model generateModel(String groupId, String artifactId, String version) {\n \n Model model = new Model();\n \n model.setModelVersion(\"4.0.0\");\n model.setGroupId(groupId);\n model.setArtifactId(artifactId);\n model.setVersion(version);\n model.setPackaging(HaxeFileExtensions.HAXELIB);\n model.setDescription(\"POM was created from Haxemojos\");\n \n return model;\n }", "public static MlTableModel createModel(MlObjectTable table) {\n\n MlTableModel model = null;\n switch (table.getType()) {\n case Contact:\n model = new ContactTableModel(table);\n break;\n case Task:\n model = new TaskTableModel(table);\n break;\n case Image:\n model = new ImageTableModel(table);\n break;\n case Knowlet:\n case Collection:\n case Map:\n case Container:\n case Any:\n model = new AllObjectTableModel(table);\n break;\n default:\n throw new IllegalStateException(\"No table model found for specified object class: \" + table.getType().name());\n }\n return model;\n }", "protected Document createDefaultModel()\n\t{\n\t\treturn new IntegerDocument();\n\t}" ]
[ "0.8001801", "0.8001801", "0.8001801", "0.8001801", "0.8001801", "0.8001801", "0.8001801", "0.72207856", "0.7198819", "0.7154919", "0.71238697", "0.7041292", "0.7039377", "0.69599444", "0.6949707", "0.6918708", "0.6891826", "0.6880255", "0.68692076", "0.6839911", "0.67838824", "0.67729247", "0.676209", "0.6673137", "0.66395575", "0.65211153", "0.6517646", "0.6494263", "0.64815855", "0.647648", "0.6452182", "0.6439234", "0.64232385", "0.6398299", "0.63898426", "0.63709444", "0.63709444", "0.63709444", "0.6367707", "0.63469857", "0.63347465", "0.6329434", "0.63201773", "0.63161254", "0.6313723", "0.6292902", "0.62725633", "0.62712806", "0.62463796", "0.6236971", "0.62368816", "0.6231855", "0.6225688", "0.62069714", "0.62066853", "0.61964905", "0.6191792", "0.61869043", "0.61815774", "0.61810887", "0.6177749", "0.6177192", "0.61665374", "0.6138237", "0.6138237", "0.6131938", "0.6128436", "0.6110042", "0.6104446", "0.6101246", "0.6100626", "0.6096851", "0.6092943", "0.6092943", "0.6092943", "0.60887396", "0.60847926", "0.60705346", "0.60702276", "0.6067959", "0.6062465", "0.6054312", "0.6038379", "0.60381746", "0.6014065", "0.6007445", "0.59924686", "0.5984363", "0.59670144", "0.59629774", "0.59387434", "0.5938124", "0.59358096", "0.59249353", "0.5923225", "0.5922494", "0.5916032", "0.5908112", "0.590661", "0.58928126" ]
0.6466607
30
This function should accept an HTTP request and deserialize it into an actual Java object.
private static BattleshipModel getModelFromReq(Request req){ String data = req.body(); Gson gson = new Gson(); if( req.params("Version").equals("Updated") ) { return gson.fromJson(data, BattleshipModelUpdated.class); }else{ return gson.fromJson(data, BattleshipModelNormal.class); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Object deserializeObjectFromRequest(String mimeInputFormat,\n\t\tIWebSerialDeserial serialDeserial)\n\t{\n\t\tWebRequest servletRequest = AbstractRestResource.getCurrentWebRequest();\n\n\t\treturn serialDeserial.requestToObject(servletRequest, parameterClass, mimeInputFormat);\n\t}", "Object deserialize(InputStream input, Class type, String format,\r\n String contentEncoding);", "public abstract Object deserialize(Object object);", "@SuppressWarnings({\"unchecked\"})\n private void readObject(final java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {\n /** Response string */\n this.responseString = (String) in.readObject();\n\n /** Code */\n this.code = in.readInt();\n\n /** Response headers */\n final Map headers = (Map) in.readObject();\n this.headers.clear();\n this.headers.putAll(headers);\n\n /** Response body */\n final byte[] body = (byte[]) in.readObject();\n //System.out.println(\"[] body \"+body.length );\n sosi = new ServletByteArrayOutputStream();\n sosi.write(body);\n writer = new PrintWriter(sosi);\n\n }", "Object deserialize(Class objClass, InputStream stream) throws IOException;", "public Object readInternal(Class<? extends Object> clazz, HttpInputMessage inputMessage) throws IOException, HttpMessageNotReadableException {\n return JSON.parseObject(inputMessage.getBody(), this.fastJsonConfig.getCharset(), (Type) clazz, this.fastJsonConfig.getFeatures());\n }", "@Test\n\tpublic void testDeSerializationUsingContentType() {\n\t\t\n\t\tZebraRequestClassNew reqObj = new ZebraRequestClassNew();\n\t\treqObj.setAge(10);\n\t\treqObj.setWeight(100);\n\t\treqObj.setHome(\"India\");\t\t\n\t\n\t\tZebraRequestClass respObj = \n\t\tgiven()\n\t\t\t.body(reqObj). \n\t\twhen()\n\t\t\t.post(\"http://www.thomas-bayer.com/restnames/countries.groovy\")\n\t\t\t.as(ZebraRequestClass.class);\n\t\t\n\t\trespObj.setregId(1101);\n\t\tAssert.assertTrue(respObj.getregId() > 0);\n\t}", "T deserialize(InputStream stream) throws IOException;", "InputStream deserialize(InputStream toDeserialize);", "public abstract Response read(Request request, Response response);", "@Test\n public void readSystemObjectClassAppointmentRequest() throws UnsupportedEncodingException, IOException {\n ISystemObject object = Factory.createObject(\"AppointmentRequest\");\n testJson = gson.toJson(object);\n\n //convert string to input stream\n InputStream inputStream = new ByteArrayInputStream(testJson.getBytes(Charset.forName(\"UTF-8\")));\n //convert inputstream to jsonReader\n JsonReader reader = new JsonReader(new InputStreamReader(inputStream, \"UTF-8\"));\n\n //read json string into resultant\n ISystemObject actual = DataHandler.readSystemObjectClass(reader);\n\n //compare results \n assertEquals(\"Fails to return AppointmentRequest properly\", object.getClass(), actual.getClass());\n }", "public Object handleRequest(P request) throws Exception;", "@Override\n public final Object readFrom(final Class<Object> type,\n final Type genericType, final Annotation[] annotations,\n final MediaType mediaType,\n final MultivaluedMap<String, String> httpHeaders,\n final InputStream entityStream) throws IOException {\n InputStreamReader streamReader = new InputStreamReader(entityStream,\n \"UTF-8\");\n try {\n Type jsonType;\n if (type.equals(genericType)) {\n jsonType = type;\n } else {\n jsonType = genericType;\n }\n return getGson().fromJson(streamReader, jsonType);\n } finally {\n try {\n if (streamReader != null) {\n streamReader.close();\n }\n } catch (IOException e) {\n // ignore, nothing to be done here anyway\n }\n }\n }", "public native Object parse( Object json );", "public abstract Object decode(InputStream is) ;", "@Test\n public void readSystemObjectClassAccDelRequest() throws UnsupportedEncodingException, IOException {\n ISystemObject object = Factory.createObject(\"AccountDeletionRequest\");\n testJson = gson.toJson(object);\n\n //convert string to input stream\n InputStream inputStream = new ByteArrayInputStream(testJson.getBytes(Charset.forName(\"UTF-8\")));\n //convert inputstream to jsonReader\n JsonReader reader = new JsonReader(new InputStreamReader(inputStream, \"UTF-8\"));\n\n //read json string into resultant\n ISystemObject actual = DataHandler.readSystemObjectClass(reader);\n\n //compare results \n assertEquals(\"Fails to return AccountDeletionRequest properly\", object.getClass(), actual.getClass());\n }", "MovilizerRequest getRequestFromString(String requestString);", "@Test\n public void readSystemObjectClassAccCrRequest() throws UnsupportedEncodingException, IOException {\n ISystemObject object = Factory.createObject(\"AccountCreationRequest\");\n testJson = gson.toJson(object);\n\n //convert string to input stream\n InputStream inputStream = new ByteArrayInputStream(testJson.getBytes(Charset.forName(\"UTF-8\")));\n //convert inputstream to jsonReader\n JsonReader reader = new JsonReader(new InputStreamReader(inputStream, \"UTF-8\"));\n\n //read json string into resultant\n ISystemObject actual = DataHandler.readSystemObjectClass(reader);\n\n //compare results \n assertEquals(\"Fails to return AccountCreationRequest properly\", object.getClass(), actual.getClass());\n }", "void deserialize(@NotNull InputStream in) throws IOException;", "public Object readInternal(Class<? extends Object> clazz, HttpInputMessage inputMessage) throws IOException {\n return this.conversionService.convert(this.stringHttpMessageConverter.readInternal(String.class, inputMessage), clazz);\n }", "public void parseResponse();", "private JSONObject parseRequest(String request, DataOutputStream clientStream) {\n\t\ttry {\n\t\t\t//restitiuisco il JSONObject\n\t\t\treturn Gossip_parser.getJsonObject(request);\n\t\t} catch (ParseException e) {\n\t\t\t//se la richiesta non è un JSONObject rispondo con messaggio di errore\n\t\t\te.printStackTrace();\n\t\t\tsendReply(new Gossip_fail_message(Gossip_fail_message.failMsg.UNKNOWN_REQUEST), clientStream);\n\t\t}\n\t\treturn null;\n\t}", "@Test\n public void readSystemObjectClassMedicineOrderRequest() throws UnsupportedEncodingException, IOException {\n ISystemObject object = Factory.createObject(\"MedicineOrderRequest\");\n testJson = gson.toJson(object);\n\n //convert string to input stream\n InputStream inputStream = new ByteArrayInputStream(testJson.getBytes(Charset.forName(\"UTF-8\")));\n //convert inputstream to jsonReader\n JsonReader reader = new JsonReader(new InputStreamReader(inputStream, \"UTF-8\"));\n\n //read json string into resultant\n ISystemObject actual = DataHandler.readSystemObjectClass(reader);\n\n //compare results \n assertEquals(\"Fails to return MedicineOrderRequest properly\", object.getClass(), actual.getClass());\n }", "public static Object parse(Payload payload) {\n Class classType = PayloadRegistry.getClassByType(payload.getMetadata().getType());\n if (classType != null) {\n ByteString byteString = payload.getBody().getValue();\n ByteBuffer byteBuffer = byteString.asReadOnlyByteBuffer();\n Object obj = JacksonUtils.toObj(new ByteBufferBackedInputStream(byteBuffer), classType);\n if (obj instanceof Request) {\n ((Request) obj).putAllHeader(payload.getMetadata().getHeadersMap());\n }\n return obj;\n } else {\n throw new RemoteException(NacosException.SERVER_ERROR,\n \"Unknown payload type:\" + payload.getMetadata().getType());\n }\n \n }", "HttpContent getHttpContent();", "Object handle(Object request);", "T fromJson(Object source);", "GeneratedMessage deserialize(InputStream in) throws IOException, InstantiationException, IllegalAccessException, ClassNotFoundException;", "@Override\n public GsonFooCustomObject deserialize(final HttpResponse httpResponse) {\n final String jsonAsString = SphereRequestUtils.getBodyAsString(httpResponse);\n return gson.fromJson(jsonAsString, GsonFooCustomObject.class);\n }", "private void parse(final ServerRequest request,\n final ServerResponse response) {\n String clz = request.path().param(\"class\");\n\n try {\n clzParser.parse(rootDir,clz, javaDaoParserFactory.createDaoParser());\n JsonObject returnObject = Json.createObjectBuilder()\n .add(\"message\", clz)\n .build();\n response.send(returnObject);\n } catch (Exception e) {\n e.printStackTrace();\n JsonObject returnObject = Json.createObjectBuilder()\n .add(\"message\", e.getMessage())\n .build();\n response.send(returnObject);\n }\n\n }", "public Object excuteWebserviceRequest(String url, String params, StringToObjectHandler handler) throws IOException, NoDataReceivedException, NoInternetConnectionException\n {\n\n InputStream in = getRemoteFileStream(url + \"?\" + params);\n return handler.convertIntoObject(convertStreamToString(in).toString().trim());\n }", "private static JsonObject getJsonObject(String request_url) {\n JsonObject jsonResponse = new JsonParser().parse(NetworkUtils.getResponseBody(request_url)).getAsJsonObject();\n return jsonResponse;\n }", "public static Payload convert(Request request) {\n \n Metadata newMeta = Metadata.newBuilder().setType(request.getClass().getSimpleName())\n .setClientIp(NetUtils.localIP()).putAllHeaders(request.getHeaders()).build();\n \n byte[] jsonBytes = convertRequestToByte(request);\n \n Payload.Builder builder = Payload.newBuilder();\n \n return builder\n .setBody(Any.newBuilder().setValue(UnsafeByteOperations.unsafeWrap(jsonBytes)))\n .setMetadata(newMeta).build();\n \n }", "void load(Request req);", "public Object parseJsonToObject(String response, Class<?> modelClass) {\n\n try {\n return gson.fromJson(response, modelClass);\n } catch (Exception ex) {\n ex.printStackTrace();\n return null;\n }\n }", "public static <T> T string2Object(String source, Class<T> type){\n\t\treturn JSON.parseObject(source, type);\n\t}", "public static Request parseRequest(BufferedReader input) throws IOException, IllegalStateException, SocketException\n {\n Request request = new Request();\n String line;\n Matcher matcher;\n\n // Parsing request method & uri\n if ((line = input.readLine()) == null) throw new SocketException(\"Client disconnected\");\n\n matcher = regexMethod.matcher(line);\n if (matcher.find()) {\n request.method = RtspMethod.valueOf(matcher.group(1));\n request.uri = matcher.group(2);\n LogHelper.e(TAG, \"Line: \" + line);\n LogHelper.e(TAG, \"Parsing request method & uri: \" + request.method + \" --> \" + request.uri);\n\n // Parsing headers of the request\n while ((line = input.readLine()) != null && line.length() > 3) {\n matcher = regexHeader.matcher(line);\n if (matcher.find()) {\n request.headers.put(matcher.group(1).toLowerCase(Locale.US), matcher.group(2));\n LogHelper.e(TAG, \"Parsing headers of the request: \" + line + \" | \" +\n matcher.group(1).toLowerCase(Locale.US) + \" --> \" + matcher.group(2));\n }\n }\n if (line == null) throw new SocketException(\"Client disconnected\");\n\n // It's not an error, it's just easier to follow what's happening in logcat with the request in red\n LogHelper.e(TAG, request.method + \" \" + request.uri);\n }\n\n return request;\n }", "@Override\n public DependencyGraphRequest readFrom(Class<DependencyGraphRequest> type,\n Type genericType,\n Annotation[] annotations,\n MediaType mediaType,\n MultivaluedMap<String, String> httpHeaders,\n InputStream entityStream) throws IOException, WebApplicationException {\n return new DependencyGraphRequest(0, 0);\n }", "private Request() {}", "private Request() {}", "public abstract T deserialize(String serial);", "<T> T fromJson(String source, JavaType type);", "@Override\r\n public Object fromBinaryJava(byte[] bytes, Class<?> clazz) {\r\n return JSON.parseObject(bytes, clazz);\r\n }", "public Object excuteWebserviceRequest(String url, StringToObjectHandler handler) throws IOException, NoDataReceivedException, NoInternetConnectionException\n {\n InputStream in = getRemoteFileStream(url);\n return handler.convertIntoObject(convertStreamToString(in).toString().trim());\n }", "public static Payload convert(Request request, RequestMeta meta) {\n //meta.\n Payload.Builder payloadBuilder = Payload.newBuilder();\n Metadata.Builder metaBuilder = Metadata.newBuilder();\n if (meta != null) {\n metaBuilder.putAllHeaders(request.getHeaders()).setType(request.getClass().getSimpleName());\n }\n metaBuilder.setClientIp(NetUtils.localIP());\n payloadBuilder.setMetadata(metaBuilder.build());\n \n // request body .\n byte[] jsonBytes = convertRequestToByte(request);\n return payloadBuilder\n .setBody(Any.newBuilder().setValue(UnsafeByteOperations.unsafeWrap(jsonBytes)))\n .build();\n \n }", "@SuppressWarnings(\"unchecked\")\n private <E> void handleRequest(ApiRequest<E> request) {\n\n try {\n apiAdapter\n .invokeAsync(request.target)\n .subscribe(new Responder<E>(request, this::writeResponse));\n } catch (Exception e) {\n System.out.println(\"Something went wrong while trying to invoke an ApiAdapter function\");\n e.printStackTrace();\n }\n }", "JSONObject parseBuildResponse(ByteArrayList input) throws BuildRetrievalError {\n // If we don't have at least four bytes (the size of the header), input is malformed.\n if (input.size() < 4) {\n throw new BuildRetrievalError(String.format(\"Received malformed input with size %d\",\n input.size()));\n }\n\n // Use the header to determine which parser to use\n final byte[] headerBytes = new byte[]\n {input.get(0), input.get(1), input.get(2), input.get(3)};\n int header = TfWorkbufProtocol.fourBytesToInt(headerBytes);\n\n if (header == TfWorkbufProtocol.HEADER_JSON_OBJECT) {\n final String strInput =\n new String(input.getContents(), 4, input.getContents().length - 4);\n\n try {\n return new JSONObject(strInput);\n\n } catch (JSONException e) {\n throw new BuildRetrievalError(\"Failed to parse workbuf response\", e);\n }\n } else {\n throw new BuildRetrievalError(String.format(\"Didn't recognize header 0x%x (\\\"%s\\\")\",\n header, new String(headerBytes)));\n }\n }", "JSONStreamAware processRequest(HttpServletRequest paramHttpServletRequest)\r\n/* 18: */ {\r\n/* 19:19 */ JSONObject localJSONObject = new JSONObject();\r\n/* 20:20 */ localJSONObject.put(\"host\", paramHttpServletRequest.getRemoteHost());\r\n/* 21:21 */ localJSONObject.put(\"address\", paramHttpServletRequest.getRemoteAddr());\r\n/* 22:22 */ return localJSONObject;\r\n/* 23: */ }", "<T> T fromJson(String source, Class<T> type);", "public static JSONObject readJsonObject(HttpServletRequest request) {\n StringBuffer sb = new StringBuffer();\n String line = null;\n try {\n\t //get the body information from request which is a kind JSON file.\n BufferedReader reader = request.getReader(); \n while ((line = reader.readLine()) != null) {\n \t sb.append(line);\n }\n reader.close();\n return new JSONObject(sb.toString());\n } catch (Exception e) {\n e.printStackTrace();\n }\n return null;\n }", "@Override\n\tpublic JSONObject readFrom(Class<JSONObject> arg0, Type arg1, Annotation[] arg2, MediaType arg3,\n\t\t\tMultivaluedMap<String, String> arg4, InputStream arg5) throws IOException, WebApplicationException {\n\t\ttry {\n\t\t\treturn new JSONObject(IOUtils.toString(arg5));\n\t\t} catch (JSONException 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\treturn null;\n\t}", "<T> T parseToObject(Object json, Class<T> classObject);", "public interface HttpRequest extends Serializable {\n\n\tpublic HttpResponse send() throws BackendConnectionException;\n\t\n\tpublic GoalContext getGoalContext();\n\t\n\tpublic HttpRequest setGoalContext(GoalContext _ctx);\n\n\tpublic void saveToDisk() throws IOException;\n\n\tpublic void savePayloadToDisk() throws IOException;\n\t\n\tpublic void loadFromDisk() throws IOException;\n\t\n\tpublic void loadPayloadFromDisk() throws IOException;\n\n\tpublic void deleteFromDisk() throws IOException;\n\n\tpublic void deletePayloadFromDisk() throws IOException;\n\n\tpublic String getFilename();\n}", "private Object onParse(final String content) throws IOException{\n if(null == this.mBean)\n return null;\n\n try{\n return JSON.parseObject(content, this.mBean);\n }catch(Exception e){\n throw new IOException(e.getMessage());\n }\n }", "@Test\n public void testDeSerialize() throws Exception {\n Writable w = new Text(\"{ \\\"ts\\\":\\\"2014-08-25T00:24:27.41103928Z\\\", \\\"t\\\":36529, \\\"Request\\\":{ \\\"path\\\":\\\"/foo/bar\\\", \\\"query\\\":{\\\"baz\\\": [\\\"ban\\\"]}, \\\"headers\\\":{ \\\"Accept\\\":[\\\"image/webp,*/*;q=0.8\\\"], \\\"Accept-Encoding\\\":[\\\"identity\\\"], \\\"Accept-Language\\\":[\\\"en-US,en;q=0.8\\\"], \\\"Connection\\\":[\\\"keep-alive\\\"], \\\"Referer\\\":[\\\"http://foo.com/bar\\\"], \\\"User-Agent\\\":[\\\"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36\\\"] }, \\\"ip\\\":\\\"10.0.0.1\\\" } }\");\n\n JSONObject result = (JSONObject) instance.deserialize(w);\n \n StructObjectInspector soi = (StructObjectInspector) instance.getObjectInspector();\n \n StructField tSF = soi.getStructFieldRef(\"t\");\n assertEquals(36529, ((JavaStringIntObjectInspector)tSF.getFieldObjectInspector()).get(soi.getStructFieldData(result, tSF )));\n assertEquals(\"2014-08-25T00:24:27.41103928Z\"\n , soi.getStructFieldData(result, soi.getStructFieldRef(\"ts\")));\n \n StructField requestSF = soi.getStructFieldRef(\"request\");\n \n Object request = soi.getStructFieldData(result, requestSF);\n \n StructObjectInspector requestOI = (StructObjectInspector) requestSF.getFieldObjectInspector();\n \n assertEquals(3, requestOI.getAllStructFieldRefs().size());\n \n\n StructField headersSF = requestOI.getStructFieldRef(\"headers\");\n Object headers = requestOI.getStructFieldData(request, headersSF);\n \n assertTrue(headersSF.getFieldObjectInspector().getCategory() == Category.STRUCT);\n StructObjectInspector headersOI = (StructObjectInspector) headersSF.getFieldObjectInspector();\n \n // now get the user agent with the mapping\n StructField useragentSF = headersOI.getStructFieldRef(\"useragent\");\n Object useragent = requestOI.getStructFieldData(headers, useragentSF);\n ListObjectInspector useragentOI = (ListObjectInspector) useragentSF.getFieldObjectInspector();\n assertEquals(useragentOI.getCategory(), Category.LIST);\n \n // get value\n List d = useragentOI.getList(useragent);\n assertEquals(d.size(),1);\n }", "private void readObject(final ObjectInputStream in) throws IOException, ClassNotFoundException {\n\t\tname = in.readUTF();\n\t\tdesc = (String[]) in.readObject();\n\t\tmembers = (Members) in .readObject();\n\t\tbanlist = (List<UUID>) in .readObject();\n\t\tterritoryIds = (List<String>) in .readObject();\n\t\tinvite = in.readBoolean();\n\t}", "public T getRequestData();", "void handleRequest();", "private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException\r\n\t{\r\n\t\tthis.deserialize(in);\r\n\t}", "public void performHttpRequest(Request request, Object payload) throws Exception {\n LOGGER.debug(\"Performing HTTP request with these parameters: {}\", request);\n\n Response response = null;\n\n try {\n String json = objectMapper.writeValueAsString(payload);\n Entity<String> entity = Entity.json(json);\n response = invokeHttpRequest(request, entity);\n validateResponse(response);\n } catch (ProcessingException | IOException e) {\n LOGGER.debug(\"HTTP request failed!\", e);\n throw e;\n } finally {\n if (response != null) {\n response.close();\n }\n }\n }", "public final <T> T call(String method, String url, Object payload, Map<String, Object> urlParameters, Map<String, Object> queryParameters, Class<T> type) throws OnshapeException {\n Response response = call(method, url, payload, urlParameters, queryParameters);\n if (response.getMediaType().toString().startsWith(MediaType.APPLICATION_JSON)) {\n String stringEntity = response.readEntity(String.class);\n // Special case: If it is an array, and the response type has a single array field, then read that\n try {\n if (stringEntity.startsWith(\"[\") && type.getDeclaredFields().length == 1 && type.getDeclaredFields()[0].getType().isArray()) {\n String fieldName = type.getDeclaredFields()[0].getName();\n return objectMapper.readValue(\"{ \\\"\" + fieldName + \"\\\" : \" + stringEntity + \" }\", type);\n } else {\n return objectMapper.readValue(stringEntity, type);\n }\n } catch (IOException | SecurityException ex) {\n throw new OnshapeException(\"Error while deserializing response, response was\\n\" + stringEntity, ex);\n }\n } else {\n String ext = response.getMediaType().getSubtype();\n if (File.class.equals(type)) {\n try {\n File f = File.createTempFile(\"onshape\", \".\" + ext, workingDir);\n InputStream input = (InputStream) response.getEntity();\n try (FileOutputStream fos = new FileOutputStream(f)) {\n int n;\n byte[] buffer = new byte[1024];\n while ((n = input.read(buffer)) > -1) {\n fos.write(buffer, 0, n);\n }\n fos.flush();\n }\n return type.cast(f);\n } catch (IOException ex) {\n throw new OnshapeException(\"Error while copying to local file\", ex);\n }\n } else if (type.getDeclaredFields().length == 1 && \"file\".equals(type.getDeclaredFields()[0].getName()) && File.class.equals(type.getDeclaredFields()[0].getType())) {\n try {\n File f = File.createTempFile(\"onshape\", \".\" + ext, workingDir);\n InputStream input = (InputStream) response.getEntity();\n try (FileOutputStream fos = new FileOutputStream(f)) {\n int n;\n byte[] buffer = new byte[1024];\n while ((n = input.read(buffer)) > -1) {\n fos.write(buffer, 0, n);\n }\n fos.flush();\n }\n Constructor<T> constructor = type.getDeclaredConstructor();\n constructor.setAccessible(true);\n T out = constructor.newInstance();\n Field field = type.getDeclaredFields()[0];\n field.setAccessible(true);\n field.set(out, f);\n return out;\n } catch (IOException | IllegalArgumentException | IllegalAccessException\n | InstantiationException | InvocationTargetException\n | NoSuchMethodException | SecurityException ex) {\n throw new OnshapeException(\"Error while copying to local file\", ex);\n }\n }\n }\n throw new OnshapeException(\"Unable to convert media-type \" + response.getMediaType() + \" to type \" + type);\n }", "public void handleRequest(ExtractionRequest request);", "static Request parseRequest(InputStream in) throws IOException {\n\t\tRequestLine request = readRequestLine(in);\n\t\tHeaders headers = readHeaders(in);\n\t\tlong length = -1;\n\t\tInputStream body;\n\t\tif (HeaderValue.CHUNKED.equals(headers.get(HeaderName.TRANSFER_ENCODING))) {\n\t\t\tbody = new ChunkedInputStream(in);\n\t\t} else {\n\t\t\tString header = headers.get(HeaderName.CONTENT_LENGTH);\n\t\t\tlength = header == null ? 0 : Long.parseLong(header);\n\t\t\tbody = new LimitedInputStream(in, length);\n\t\t}\n\t\treturn new Request(request.method(), request.target(), request.path(), request.query(), headers, length, body);\n\t}", "@Test\n public void readSystemObjectClassAppointment() throws UnsupportedEncodingException, IOException {\n ISystemObject object = Factory.createObject(\"Appointment\");\n testJson = gson.toJson(object);\n\n //convert string to input stream\n InputStream inputStream = new ByteArrayInputStream(testJson.getBytes(Charset.forName(\"UTF-8\")));\n //convert inputstream to jsonReader\n JsonReader reader = new JsonReader(new InputStreamReader(inputStream, \"UTF-8\"));\n\n //read json string into resultant\n ISystemObject actual = DataHandler.readSystemObjectClass(reader);\n\n //compare results \n assertEquals(\"Fails to return Appointment properly\", object.getClass(), actual.getClass());\n }", "public void deserialize(JoyBuffer in) {\n\t\t\n\t}", "void readObject(InputSerializer in) throws java.io.IOException;", "public Response execute(Request request) throws RestException {\n\n try {\n Log.i(\"Request\", request.toString());\n\n // Se a conexao nao esta online nao faz requisicao\n if (!NetworkUtil.isNetworkAvailable(AmadorfcApplication.getInstance())) {\n throw new RestException(\"Internet indísponivel, sua mensagem será enviada assim que a rede normalizar.\");\n }\n\n String json = JsonHelper.toJson(request);\n JSONObject jo = new JSONObject(json); //\n\n Map<String, Object> map = new HashMap();\n Iterator keys = jo.keys();\n String parametros=\"\";\n\n if (keys !=null){\n parametros = parametros.concat(\"?\");\n }\n\n while (keys.hasNext()) {\n String key = (String) keys.next();\n parametros = parametros.concat(key).concat(\"=\");\n parametros = parametros.concat(jo.get(key).toString()).concat(\"&\");\n map.put(key, fromJson(jo.get(key)));\n }\n\n String responseString = get(getURL().getUrl().concat(parametros));\n\n Response response = JsonHelper.fromJson(responseString, getResponseClass());\n\n Log.i(\"Request\", response.toString());\n\n if (response == null) {\n throw new RestException(\"Serviço indísponivel, por favor, tente novamente dentro de alguns instantes.\");\n }\n\n return response;\n\n } catch (RestException re) {\n throw re;\n } catch (Exception e) {\n throw new RestException(\"Serviço indísponivel, por favor, tente novamente dentro de alguns instantes.\");\n }\n\n }", "private void readObject ( ObjectInputStream in ) throws IOException, ClassNotFoundException {\n ObjectInputStream.GetField fields = in.readFields();\n _user = (CTEUser) fields.get(\"_user\", null);\n }", "public interface AlexaHttpRequest {\n /**\n * @return the signature, base64 encoded.\n */\n String getBaseEncoded64Signature();\n\n /**\n * @return URL for the certificate chain needed to verify the request signature.\n */\n String getSigningCertificateChainUrl();\n\n /**\n * @return the request envelope, in serialized form.\n */\n byte[] getSerializedRequestEnvelope();\n\n /**\n * @return the request envelope, in deserialized form.\n */\n RequestEnvelope getDeserializedRequestEnvelope();\n}", "private JsonElement getPayload(HttpServletRequest request, HttpServletResponse response)\n throws JsonParseException, IllegalStateException, IOException {\n return new JsonParser().parse(getBody(request));\n }", "@Override\n @SuppressWarnings(\"unchecked\")\n public <T> T getObject() {\n waitFor();\n return (T) response;\n }", "@Test\n public void readSystemObjectClassDoctorFeedback() throws UnsupportedEncodingException, IOException {\n ISystemObject object = Factory.createObject(\"DoctorFeedback\");\n testJson = gson.toJson(object);\n\n //convert string to input stream\n InputStream inputStream = new ByteArrayInputStream(testJson.getBytes(Charset.forName(\"UTF-8\")));\n //convert inputstream to jsonReader\n JsonReader reader = new JsonReader(new InputStreamReader(inputStream, \"UTF-8\"));\n\n //read json string into resultant\n ISystemObject actual = DataHandler.readSystemObjectClass(reader);\n\n //compare results \n assertEquals(\"Fails to return DoctorFeedback properly\", object.getClass(), actual.getClass());\n }", "private boolean invoke(HttpRequest request, HttpResponse response) {\n\t\t\n\t\tString[] requestSplit=request.getPath().split(\"/\",3);\n\t\t// first: empty (string starts with '/')\n\t\t// second: service name\n\t\t// third: URI rest\n\t\tString serviceName=\"\";\n\t\tString methodName=\"\";\n\t\tString restURI=\"\";\n\t\tString content=\"\";\n\t\t\n\t\ttry {\n\t\t\t\n\t\t\tserviceName=requestSplit[1];\n\t\t\tmethodName=REST_DECODER; //special method in service\n\t\t\t\n\t\t\tif(requestSplit.length>=3)\n\t\t\t{\n\t\t\t\tint varsstart=requestSplit[2].indexOf('?');\n\t\t\t\tif(varsstart>0)\n\t\t\t\t\trestURI=requestSplit[2].substring(0,varsstart);\n\t\t\t\telse\n\t\t\t\t\trestURI=requestSplit[2];\n\t\t\t}\n\t\t\t\n\t\t\tcontent=request.getContentString();\n\t\t\t\n\t\t\tint httpMethodInt=request.getMethod();\n\t\t\tString httpMethod=\"get\";\n\t\t\t\n\t\t\tswitch (httpMethodInt) \n\t\t\t{\n\t\t\t\tcase HttpRequest.METHOD_GET:\n\t\t\t\t\thttpMethod=\"get\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase HttpRequest.METHOD_HEAD:\n\t\t\t\t\thttpMethod=\"head\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase HttpRequest.METHOD_DELETE:\n\t\t\t\t\thttpMethod=\"delete\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase HttpRequest.METHOD_POST:\n\t\t\t\t\thttpMethod=\"post\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase HttpRequest.METHOD_PUT:\n\t\t\t\t\thttpMethod=\"put\";\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(content==null)\n\t\t\t\tcontent=\"\";\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tString[][] variables = {};//extract variables from request\n\t\t\t\n\t\t\tArrayList<String[]> variablesList=new ArrayList<String[]>();\n\t\t\t@SuppressWarnings(\"rawtypes\")\n\t\t\tEnumeration en = request.getGetVarNames();\t\t\n\t\t\tString querystr=\"\";\n\t\t\twhile(en.hasMoreElements())\n\t\t\t{\n\t\t\t\tString param = (String) en.nextElement();\n\t\t\t\tString val= request.getGetVar(param);\n\t\t\t\t\n\t\t\t\tString[] pair={param,val};\n\t\t\t\t//connector.logMessage(param+\" \"+val);\n\t\t\t\tvariablesList.add(pair);\n\t\t\t\tquerystr+=param+\" = \"+val+\" \";\n\t\t\t}\n\t\t\tconnector.logMessage(request.getMethod()+\" \"+request.getUrl()+\" \"+querystr);\n\t\t\tvariables=variablesList.toArray(new String[variablesList.size()][2]);\n\t\t\t\n\t\t\t//connector.logMessage(content);\n\t\t\tSerializable[] parameters={httpMethod,restURI,variables,content};\n\t\t\t\n\t\t\tSerializable result;\t\n\t\t\tMediator mediator = _userSessions.get(_currentUserId).getMediator();//get registered mediator\n\t\t\tresult= mediator.invoke(serviceName,methodName, parameters, connector.preferLocalServices());// invoke service method\n\t\t\t\n\t\t\tsendInvocationSuccess ( result, response );\n\t\t\treturn true;\n\t\t\t\n\t\t} catch ( NoSuchServiceException e ) {\n\t\t\tsendNoSuchService(request, response, serviceName);\t\t\t\n\t\t} catch ( TimeoutException e ) {\n\t\t\tsendNoSuchService(request, response, serviceName);\n\t\t} catch ( NoSuchServiceMethodException e ) {\n\t\t\tsendNoSuchMethod(request, response);\n\t\t} catch ( L2pSecurityException e ) {\n\t\t\tsendSecurityProblems(request, response, e);\t\t\t\t\t\n\t\t} catch ( ServiceInvocationException e ) {\n\t\t\tif ( e.getCause() == null )\n\t\t\t\tsendResultInterpretationProblems(request, response);\n\t\t\telse\n\t\t\t\tsendInvocationException(request, response, e);\t\t\t\t\t\t\t\t\n\t\t} catch ( InterruptedException e ) {\n\t\t\tsendInvocationInterrupted(request, response);\n\t\t} catch ( InvalidCodingException e ) {\n\t\t\tsendConnectorProblems(request, response, e);\n\t\t} catch ( CodingException e ) {\n\t\t\tsendResultInterpretationProblems(request, response);\n\t\t} catch (Exception e)\n\t\t{\n\t\t\n\t\t}\n\t\treturn false;\n\t}", "private <T> JSONObject getJSONFromObject(T request) throws IOException, JSONException {\n ObjectMapper mapper = new ObjectMapper();\n mapper.configure(SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS, false);\n String temp = null;\n temp = mapper.writeValueAsString(request);\n JSONObject j = new JSONObject(temp);\n\n return j;\n }", "public JSONPostUtility(String requestURL)\n throws IOException {\n //call super constructor\n super(requestURL, \"POST\");\n //set the content type\n super.addHeader(\"Content-Type\", \"application/json;charset=\" + super.charset);\n super.addHeader(\"Accept\", \"application/json\");\n }", "public interface ServiceRequest<T> extends Serializable {\r\n\t\r\n\t/**\r\n\t * Gets the service name for this request\r\n\t * @return the valid service name\r\n\t */\r\n\tpublic String getServiceName();\r\n\t\r\n\t/**\r\n\t * Gets the service version.\r\n\t * @return the service version as string\r\n\t */\r\n\tpublic String getServiceVersion();\r\n\t\r\n\t/**\r\n\t * Set the version of the service for this request.\r\n\t * @param serviceVersion\r\n\t */\r\n\tpublic void setServiceVersion(String serviceVersion);\r\n\t \r\n\t/**\r\n\t * Gets the request body data aka paylod for the request\r\n\t * @return the request data\r\n\t */\r\n\tpublic T getRequestData();\r\n\t\r\n\t/**\r\n\t * Returns the security context around this request.\r\n\t * @return the security context for this request\r\n\t */\r\n\tpublic SecurityContext getSecurityContext();\r\n\t\r\n\t/**\r\n\t * Returns all headers.\r\n\t * @return the array of headers\r\n\t */\r\n\tpublic Header[] getHeaders();\r\n\t\r\n\t/**\r\n\t * Returns the header object if the header with a specified key is present.\r\n\t * @param key The key for which value has to be returned\r\n\t * @return the value of the specified key\r\n\t */\r\n\tpublic Header getHeaderByKey(String key);\t\r\n}", "public void loadFromSource(Object aSrc)\n{\n WebURL url = WebURL.getURL(aSrc);\n String jsonText = url.getText();\n loadFromString(jsonText);\n}", "public void deserialize(JsonObject src);", "private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException\n {\n // TODO - temp?\n }", "@Override\n protected Response<WeatherPOJO> parseNetworkResponse(NetworkResponse response) {\n try {\n // Convert the obtained byte[] into a String\n String json = new String(response.data, HttpHeaderParser.parseCharset(response.headers));\n // Use Gson to process the JSON string and return a WeatherPOJO object\n return Response.success(new Gson().fromJson(json, WeatherPOJO.class),\n HttpHeaderParser.parseCacheHeaders(response));\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n return null;\n }", "Object read(Object inputObject, Settings settings);", "public void deserialize() {\n\t\t\n\t}", "public HttpRequest (final InputStream inputStream)\n {\n in = new HttpInputStream (new BufferedInputStream (inputStream));\n headers = new HashMap <String, String> ();\n }", "public Request() {\n\n }", "@Override\n protected final void parseRequest(final HttpServletRequest request, HttpServletResponse response) {\n\n parsePath(request);\n\n LOGGER.warning(\"[REST]: \" + request.getMethod() + \"|\" + apiName + \"/\" + resourceName + \"|\" + request.getHeader(\"Current-Page\"));\n\n // Fixes BS-400. This is ugly.\n I18n.getInstance();\n\n api = APIs.get(apiName, resourceName);\n api.setCaller(this);\n\n super.parseRequest(request, response);\n\n }", "@Test\n public void readSystemObjectClassPrescription() throws UnsupportedEncodingException, IOException {\n ISystemObject object = Factory.createObject(\"Prescription\");\n testJson = gson.toJson(object);\n\n //convert string to input stream\n InputStream inputStream = new ByteArrayInputStream(testJson.getBytes(Charset.forName(\"UTF-8\")));\n //convert inputstream to jsonReader\n JsonReader reader = new JsonReader(new InputStreamReader(inputStream, \"UTF-8\"));\n\n //read json string into resultant\n ISystemObject actual = DataHandler.readSystemObjectClass(reader);\n\n //compare results \n assertEquals(\"Fails to return Prescription properly\", object.getClass(), actual.getClass());\n }", "public interface Request {\n public String toXml();\n\n\n public String getHandlerId();\n\n\n public String getRequestId();\n}", "public Song retrieveSongFromRequest(HttpServletRequest request) throws InvalidArtistNameException, InvalidSongNameException, InvalidFeaturedArtistsException, InvalidSongGenresException, TooLongOrEmptyLyricsException, InvalidYouTubeVideoIDException, InvalidFeaturedArtistNameException, LyricsParsingException {\n\n Song song = new Song();\n\n String songName = request.getParameter(RequestConstants.RequestParameters.SONG_NAME);\n String artistName = request.getParameter(RequestConstants.RequestParameters.SONG_ARTIST);\n String songFeaturedArtists = request.getParameter(RequestConstants.RequestParameters.FEATURED_ARTISTS);\n String songGenres = request.getParameter(RequestConstants.RequestParameters.SONG_GENRES);\n String songLyricsAsString = request.getParameter(RequestConstants.RequestParameters.SONG_LYRICS);\n String youTubeVideoID = request.getParameter(RequestConstants.RequestParameters.YOUTUBE_VIDEO_ID);\n\n if (!validateArtistName(artistName)) {\n throw new InvalidArtistNameException();\n }\n\n if (!validateSongName(songName)) {\n throw new InvalidSongNameException();\n }\n\n if (!validateFeaturedArtists(songFeaturedArtists)) {\n throw new InvalidFeaturedArtistsException();\n }\n\n if (!validateSongGenres(songGenres)) {\n throw new InvalidSongGenresException();\n }\n\n if (!validateLyrics(songLyricsAsString)) {\n throw new TooLongOrEmptyLyricsException();\n }\n\n if (!validateYouTubeVideoID(youTubeVideoID)) {\n throw new InvalidYouTubeVideoIDException();\n }\n\n song.setName(songName);\n song.setArtist(new Artist(artistName));\n song.setYouTubeVideoID(youTubeVideoID);\n\n if (songFeaturedArtists != null) {\n if (!songFeaturedArtists.trim().isEmpty()) {\n StringTokenizer stringTokenizer = new StringTokenizer(songFeaturedArtists, \";\");\n\n List<Artist> featuredArtists = new ArrayList<>();\n\n while (stringTokenizer.hasMoreTokens()) {\n String featuredArtistName = stringTokenizer.nextToken().trim();\n\n if (!validateArtistName(featuredArtistName)) {\n throw new InvalidFeaturedArtistNameException();\n }\n\n featuredArtists.add(new Artist(featuredArtistName));\n }\n\n song.setFeaturedArtists(featuredArtists);\n }\n }\n\n\n if (songGenres != null) {\n if (!songGenres.isEmpty()) {\n List<String> songGenresList = new ArrayList<>();\n\n StringTokenizer stringTokenizer = new StringTokenizer(songGenres, \";\");\n\n while (stringTokenizer.hasMoreTokens()) {\n songGenresList.add(stringTokenizer.nextToken().trim());\n }\n\n song.setGenres(songGenresList);\n }\n }\n\n\n LyricsParser lyricsParser = new LyricsParser();\n\n SongLyrics songLyrics = lyricsParser.parseLyrics(songLyricsAsString);\n\n song.setLyrics(songLyrics);\n\n return song;\n\n }", "TypedRequest createTypedRequest();", "protected static <T> T bodyAsJava(Response response, TypeToken<T> type) {\n Type type0 = type.getType();\n return new Gson().fromJson(bodyAsJson(response), type0);\n }", "@Test\n\tpublic void testParse(){\n\t\t{\n\t HttpServletRequest request = mock(HttpServletRequest.class); \n\t IParser iParserObject = new ParseJSON();\n\t \n\t String stringObject = \"{key: 'value'}\";\n\t \tStringReader stringReaderObject=new StringReader(stringObject);\n\t \tBufferedReader bufferReaderObject = new BufferedReader(stringReaderObject);\n\n\t try {\n\t\t\t\twhen(request.getReader()).thenReturn(bufferReaderObject);\n\t\t\t} catch (IOException e2) {\n\t\t\t\te2.printStackTrace();\n\t\t\t}\n\n\t JSONObject jsonObject = iParserObject.parse(request);\n\t assertNotNull(jsonObject);\n\t assertEquals(1, jsonObject.length());\n\t assertEquals(\"value\",jsonObject.get(\"key\"));\n\t }\n \t}", "@Test\n public void readSystemObjectClassMessage() throws UnsupportedEncodingException, IOException {\n ISystemObject object = Factory.createObject(\"Message\");\n testJson = gson.toJson(object);\n\n //convert string to input stream\n InputStream inputStream = new ByteArrayInputStream(testJson.getBytes(Charset.forName(\"UTF-8\")));\n //convert inputstream to jsonReader\n JsonReader reader = new JsonReader(new InputStreamReader(inputStream, \"UTF-8\"));\n\n //read json string into resultant\n ISystemObject actual = DataHandler.readSystemObjectClass(reader);\n\n //compare results \n assertEquals(\"Fails to return Message properly\", object.getClass(), actual.getClass());\n }", "public static Object decode(String content) {\n JsonElement obj = new JsonParser().parse(String.join(\"\", content));\n if (obj.isJsonNull()) {\n return null;\n }\n JsonObject newObj = obj.getAsJsonObject();\n return new exercise(newObj);\n }", "private void readObject(final ObjectInputStream in) throws IOException, ClassNotFoundException {\n try {\n location = IOHelper.readData(new StreamInputSource(in));\n } catch (final IOException | ClassNotFoundException e) {\n throw e;\n } catch (final Exception e) {\n throw new IOException(e);\n }\n }", "public HTTPResponse get(HTTPRequest request) {\n\t\tHTTPResponse response = new HTTPResponse();\n\t\tresponse.setResponseHeader(request.getProtocol(), HTTPConstants.STATUS_OK, HTTPConstants.STATUS_CODE_OK);\n\t\tresponse.setResponse(getResponseString(true));\n\t\treturn response;\n\t}", "private WebRequest() {\n initFields();\n }", "public String getJsonFromRequest(HttpResponse httpResult)\n throws ParseException, IOException {\n String stringResult = null;\n stringResult = EntityUtils.toString(httpResult.getEntity(), \"UTF-8\");\n return stringResult;\n }", "Call mo35727a(Request request);", "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException, Exception {\r\n response.setContentType(\"text/html;charset=UTF-8\");\r\n try (PrintWriter out = response.getWriter()) {\r\n// String url = request.getParameter(\"url\");\r\n Gson gson = new Gson();\r\n getDataAPI g = new getDataAPI();\r\n String jsonString = g.sendGet(\"https://apartment-crawl.herokuapp.com/api/apartments\");\r\n\r\n System.err.println(jsonString);\r\n byte ptext[] = jsonString.getBytes(\"ISO-8859-1\");\r\n String s = new String(ptext, \"UTF-8\");\r\n java.lang.reflect.Type type = new TypeToken<List<InformationObj>>() {\r\n }.getType();\r\n List<InformationObj> list = gson.fromJson(s, type);\r\n\r\n HttpSession session = request.getSession();\r\n session.setAttribute(\"list\", list);\r\n response.sendRedirect(\"data.jsp\");\r\n }\r\n }", "public interface Request extends Serializable {\n }", "public static Object converFromJson(String src, Class cls) {\n\n String[] lines = src\n .replaceAll(\",\", \"\")\n .replaceAll(\"\\\"\", \"\")\n .split(\"\\n\");\n\n Map<String, String> keyValues = new HashMap<>();\n\n for (int i = 1; i < lines.length - 1; i++) {\n String[] keyAndValue = lines[i].trim().split(\":\");\n keyValues.put(keyAndValue[0], keyAndValue[1]);\n }\n\n try {\n Object obj = cls.newInstance();\n\n for (Field field : cls.getDeclaredFields()) {\n if (field.isAnnotationPresent(MyField.class)) {\n Type type = field.getType();\n if (type == double.class) {\n field.set(obj, Double.parseDouble(keyValues.get((field.getName()))));\n } else if (type == int.class) {\n field.set(obj, Integer.parseInt(keyValues.get((field.getName()))));\n } else if (type == boolean.class) {\n field.set(obj, Boolean.valueOf(keyValues.get((field.getName()))));\n } else {\n field.set(obj, keyValues.get((field.getName())));\n }\n }\n }\n\n return obj;\n } catch (InstantiationException e) {\n e.printStackTrace();\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n }\n\n return null;\n }" ]
[ "0.6541008", "0.62908304", "0.61986405", "0.6024675", "0.5999708", "0.5983366", "0.5842764", "0.58029056", "0.57872874", "0.57854027", "0.5767852", "0.57336676", "0.5724822", "0.572102", "0.5713699", "0.56594515", "0.5659283", "0.56543934", "0.5644389", "0.56299436", "0.56257135", "0.5619653", "0.5569074", "0.554836", "0.5513348", "0.54950476", "0.548556", "0.54704744", "0.5457185", "0.5436865", "0.5425597", "0.54196185", "0.5386029", "0.5357381", "0.53349316", "0.5334307", "0.5332207", "0.532891", "0.5320489", "0.5320489", "0.5312044", "0.53047967", "0.5278381", "0.5254131", "0.5241171", "0.5239926", "0.5236924", "0.5234301", "0.52340627", "0.52289224", "0.52266663", "0.5216165", "0.5204996", "0.5197865", "0.51964086", "0.51900166", "0.5186045", "0.51856416", "0.51579386", "0.5157529", "0.51436305", "0.5137026", "0.51263976", "0.51221627", "0.5119482", "0.51027524", "0.5102486", "0.50949407", "0.5085567", "0.50843406", "0.50685686", "0.5045909", "0.5045804", "0.504348", "0.5038159", "0.5022957", "0.5021611", "0.50180733", "0.50157326", "0.50117767", "0.500683", "0.5006266", "0.50047225", "0.49990973", "0.49929693", "0.49900186", "0.49880108", "0.49802414", "0.49714443", "0.49693322", "0.496933", "0.49675408", "0.49607408", "0.49541333", "0.4952181", "0.49514163", "0.49502775", "0.4943402", "0.49380434", "0.4937962", "0.49356705" ]
0.0
-1
Placing ship This controller should take a json object from the front end, and place the ship as requested, and then return the object.
private static String placeShip(Request req) { if( req.params("Version").equals("Updated") ) { BattleshipModelUpdated model = (BattleshipModelUpdated) getModelFromReq( req ); model.resetArrayUpdated( model ); model = model.PlaceShip( model, req ); model.resetArrayUpdated( model ); Gson gson = new Gson(); return gson.toJson( model ); }else{ BattleshipModelNormal model = (BattleshipModelNormal) getModelFromReq( req ); model.resetArrayNormal( model ); model = model.PlaceShip( model, req ); model.resetArrayNormal( model ); Gson gson = new Gson(); return gson.toJson( model ); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void placeShip() {\r\n\t\t// Expire the ship ship\r\n\t\tParticipant.expire(ship);\r\n\r\n\t\tclipShip.stop();\r\n\r\n\t\t// Create a new ship\r\n\t\tship = new Ship(SIZE / 2, SIZE / 2, -Math.PI / 2, this);\r\n\t\taddParticipant(ship);\r\n\t\tdisplay.setLegend(\"\");\r\n\t}", "private static String placeShip(Request req) {\n BattleshipModel currentModel = getModelFromReq(req);\n\n int rows = Integer.parseInt(req.params(row));\n int col = Integer.parseInt(req.params(col));\n\n BattleshipModel placeModel = getModelFromReq(req);\n\n\n\n return \"SHIP\";\n }", "@POST(\"/IDShip\")\n\tShip IDShip(@Body int id, @Body int shipID);", "@POST(\"/AddShip\")\n\tint addShip(@Body Ship ship,@Body int id) throws GameNotFoundException;", "Shipment createShipment();", "@POST(\"/UpdateShip\")\n\tShip updateShip(@Body Ship ship,@Body int id) throws GameNotFoundException;", "public void insertShipment(String custType, int xCoord, int yCoord, int capacity,int shipmentIndex)\r\n\t{\r\n\t\tVRPBShipment thisShip = new VRPBShipment(custType, xCoord, yCoord, capacity,shipmentIndex); //creates shipment\r\n\t\t//System.out.println(custType);\r\n\t\tinsertLast(thisShip); //and adds it to the linked list\r\n\t}", "public void enterShipment(){\n Shipment shipment = new Shipment();\n shipment.setShipmentID(data.numberOfShipment());\n shipment.setReceiver(new Customer(data.numberOfCustomer(), GetChoiceFromUser.getStringFromUser(\"Enter Receiver FirstName: \"),\n GetChoiceFromUser.getStringFromUser(\"Enter Receiver Last Name: \"),data.getBranchEmployee(ID).getBranchID()));\n shipment.setSender(new Customer(data.numberOfCustomer(), GetChoiceFromUser.getStringFromUser(\"Enter Sender First Name: \"),\n GetChoiceFromUser.getStringFromUser(\"Enter Sender Last Name: \"),data.getBranchEmployee(ID).getBranchID()));\n shipment.setCurrentStatus(getStatus());\n shipment.setTrackingNumber(getUniqueTrackingNumber());\n shipment.setBranchID(data.getBranchEmployee(ID).getBranchID());\n data.getBranch(shipment.getBranchID()).addShipment(shipment);\n data.addShipment(shipment,shipment.getReceiver());\n System.out.printf(\"Your Shipment has added with tracking Number %d !\\n\",shipment.getTrackingNumber());\n }", "public void placeShip(Ship thisShip, String coordinate, int direction){\r\n\t\tthisShip.placed = true;\r\n\t\tint letterCoord = letterToIndex(coordinate.charAt(0));\r\n\t\tint numberCoord = Integer.parseInt(coordinate.substring(1))-1;\r\n\t\t\r\n\t\t\r\n\t\t\tif (direction == 1) {\r\n\t\t\t\tfor (int i = 0; i < thisShip.getSize(); i++) {\r\n\t\t\t\t\t\tthisShip.set_position(numberCoord+i, letterCoord);\r\n\t\t\t\t\t}\r\n\t\t\t} else if (direction == 2) {\r\n\t\t\t\tfor (int i = 0; i < thisShip.getSize(); i++) {\r\n\t\t\t\t\tthisShip.set_position(numberCoord, letterCoord+i);\r\n\t\t\t\t\t}\r\n\t\t\t} else if (direction == 3) {\r\n\t\t\t\tfor (int i = 0; i < thisShip.getSize(); i++) {\r\n\t\t\t\t\tthisShip.set_position(numberCoord-i, letterCoord);\r\n\t\t\t\t}\r\n\t\t\t} else if (direction == 4) {\r\n\t\t\t\tfor (int i = 0; i < thisShip.getSize(); i++) {\r\n\t\t\t\t\tthisShip.set_position(numberCoord, letterCoord - i);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\tif(thisShip.name == \"Carrier\"){\r\n\t\t\tmyBoard.carrier.placed=thisShip.placed;\r\n\t\t\tmyBoard.carrier.position=thisShip.position;\r\n\t\t\t}\r\n\t\t\t\r\n\t\telse if(thisShip.name == \"Battleship\"){\r\n\t\t\tmyBoard.battleship.placed=thisShip.placed;\r\n\t\t\tmyBoard.battleship.position=thisShip.position;\r\n\t\t}\r\n\t\telse if(thisShip.name == \"Cruiser\"){\r\n\t\t\tmyBoard.cruiser.placed=thisShip.placed;\r\n\t\t\tmyBoard.cruiser.position=thisShip.position;\r\n\t\t}\r\n\t\telse if(thisShip.name == \"Submarine\"){\r\n\t\t\tmyBoard.submarine.placed=thisShip.placed;\r\n\t\t\tmyBoard.submarine.position=thisShip.position;\r\n\t\t}\r\n\t\telse if(thisShip.name == \"Patrol Boat\"){\r\n\t\t\t\tmyBoard.patrolboat.placed=thisShip.placed;\r\n\t\t\t\tmyBoard.patrolboat.position=thisShip.position;\r\n\t\t}\r\n\t\t\t\r\n\t\t}", "public void placeShip(Board board, Ship ship) {\n\n\n Point startPoint = null;\n boolean validPoint = false;\n while (!validPoint) {\n System.out.printf(\"Place your %s (%d spaces).%n\", ship.getName(), ship.getLength());\n try {\n startPoint = returnPointFromInput(board);\n if (startPoint != null && !startPoint.hasShip()) {\n validPoint = true;\n } else {\n System.out.println(\"Invalid input. Please enter a coordinate pair. Ex: 1A (Case insensitive).\");\n }\n } catch (IllegalArgumentException | NoSuchElementException e) {\n System.out.println(e.getMessage());\n }\n }\n\n int emptySpaces = 0;\n boolean validBranch = false;\n Point[] branch = null;\n while (!validBranch) {\n\n String direction = null;\n boolean validDirection = false;\n while (!validDirection) {\n try {\n direction = directionFromInput();\n validDirection = true;\n } catch (IllegalArgumentException e) {\n System.out.println(e.getMessage());\n }\n }\n\n branch = makeBranch(board, startPoint, ship.getLength(), direction);\n for (Point point : branch) {\n if (!point.hasShip()) {\n emptySpaces++;\n }\n }\n if (emptySpaces == ship.getLength()) {\n validBranch = true;\n } else {\n System.out.println(\"You can't put a ship there. Not enough room\");\n emptySpaces = 0;\n }\n }\n\n // pass ship to point\n for (Point point : branch) {\n point.setShip(ship);\n point.setHasShip(true);\n }\n }", "public Ship newShip(GameScreen screen){\n\t\tthis.ship = new Ship(screen);\n\t\treturn ship;\n\t}", "@POST(\"/WarpShip\")\n\tint warpShip(@Body MoveShipParams params);", "ShipmentItem createShipmentItem();", "@POST(\"/GetShipByID\")\n\tShip getShipByID(@Body FindShipParams params) throws ShipNotFoundException;", "public Ship getShip()\n {\n return ship;\n }", "public boolean placeShipUser(Ship ship) {\r\n return fieldUser.addShip(ship);\r\n }", "public SpaceShip() {\r\n\t\tsuper();\r\n\t\tthis.radius = 15;\r\n\t\tgameController.setSpaceShip(this);\r\n\t\tArrayList<Point> shipList = new ArrayList<Point>();\r\n\t\tshipList.add(new Point(-10, -10));\r\n\t\tshipList.add(new Point(-10, 10));\r\n\t\tshipList.add(new Point(15, 0));\r\n\t\tthis.addShape(new Polygon(shipList, Color.WHITE, false));\r\n\t\t// this.addShape(new Circle(radius, this.getCenterPoint().copy(),\r\n\t\t// Color.RED, false));\r\n\t}", "public void addPlayerShip()\n\t{\n\t\t//if a PlayerShip is already spawned, a new one will not be added\n\t\tif (gameObj[1].size() == 0)\n\t\t{\n\t\t\tgameObj[1].add(new PlayerShip());\n\t\t\tSystem.out.println(\"PlayerShip added\");\n\t\t}else{\n\t\t\tSystem.out.println(\"A player ship is already spawned\");\n\t\t}\n\t\t\n\t}", "public Ship getShip() {\r\n\t\treturn ship;\r\n\t}", "public Ship getShip() {\r\n\t\treturn ship;\r\n\t}", "public boolean placeShip(int player, int x, int y) {\n\n Ship ship = null;\n\n for (int i = 0; i < 5; i++) {\n if (playerShips[i].selected) {\n ship = playerShips[i];\n }\n }\n if (ship == null) {\n return false;\n }\n\n if (orientation == 1) {\n if (ship.length + y > 10) {\n return false;\n }\n }\n if (orientation == 0) {\n if (ship.length + x > 10) {\n return false;\n }\n }\n for (int i = 0; i < ship.length; i++) {\n if(orientation == 0) {\n if (humanPlayerBoard[y][x+i] != board.water.ordinal()) {\n return false;\n }\n }\n else{\n if(humanPlayerBoard[y+i][x] != board.water.ordinal()){\n return false;\n }\n }\n }\n for (int i = 0; i < ship.length; i++) {\n if(orientation == 0) {\n humanPlayerBoard[y][x+i] = board.ship.ordinal();\n }\n else{\n humanPlayerBoard[y+i][x] = board.ship.ordinal();\n }\n }\n if(ship.placed){\n if(ship.orientation == 1){\n for(int i = 0; i < ship.length; i++){\n humanPlayerBoard[ship.y+i][ship.x] = board.water.ordinal();\n }\n }\n else{\n for(int j = 0; j < ship.length; j++){\n humanPlayerBoard[ship.y][ship.x+j] = board.water.ordinal();\n }\n }\n }\n ship.setShip(x, y, orientation);\n ship.placed = true;\n\n return true;\n }", "private static JSONObject placeOrderByPost(org.json.simple.JSONObject shipMent) throws org.json.simple.parser.ParseException {\n\t\tJSONObject jObject = new JSONObject();\n\t\tString line = \"\";\n\t\tJSONParser parser = new JSONParser();\n\t\tJSONObject newJObject = null;\n\t\tSystem.out.println(\"shipment object-->\"+shipMent.toJSONString());\n\t\ttry{\n\t\t\tDefaultHttpClient client = new DefaultHttpClient();\n\t\t\t//client = (DefaultHttpClient) wrapClient(client);\n\t\t\t/* TESTING URL */\n\t\t\t//String url=\"https://apitest.roadrunnr.in/v1/orders/ship\";\n\t\t\t/* LIVE URL : https://runnr.in/v1/orders/ship\n\t\t\t//String url=\"http://roadrunnr.in/v1/orders/ship\";\n\t\t\t//New url*/\n\t\t\tString url =\"http://api.pickji.com/corporateapi/sandbox/placeorder\";\n\t\t\tHttpPost post = new HttpPost(url.trim());\n\t\t\tStringEntity input = new StringEntity(shipMent.toJSONString());\n\t\t\tpost.addHeader(\"Content-Type\", \"application/json\");\n\t\t\t//post.addHeader(\"Authorization\" , generateAuthToken());\n\t\t\t//post.addHeader(\"Authorization\" ,getToken(false));\n\n\t\t\tpost.setEntity(input);\n\t\t\t//System.out.println(\"StringEntity - - ->\"+input.toString());\n\t\t\tHttpResponse response = client.execute(post);\n\t\t\tBufferedReader rd = new BufferedReader(new InputStreamReader(response.getEntity().getContent())); \n\t\t\twhile ((line = rd.readLine()) != null) {\n\t\t\t\t// System.out.println(\"Line - - >\"+line);\n\t\t\t\tnewJObject = new JSONObject(line);\n\t\t\t}\n\t\t}catch(UnsupportedEncodingException e){\n\n\t\t}catch(JSONException e){\n\n\t\t} catch (ClientProtocolException 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\treturn newJObject; \n\t}", "void saveShipment(Shipment shipment);", "private void placePlayerShip(int x, int y) {\n\t\tif (shipsToPlace == 3) {\n\t\t\tlongShipCoords = new int[2];\n\t\t\tlongShipCoords[0] = x;\n\t\t\tlongShipCoords[1] = y;\n\n\t\t\t// creates long ship at x,y on egrid\n\t\t\tfor (int i = 0; i < 5; i++)\n\t\t\t\tegrid[x + i][y] = 1;\n\n\t\t\t// makes ship tiles blue on enemy's board\n\t\t\tfor (int counter = 0; counter < 5; counter++)\n\t\t\t\tenemyBoard[x + counter][y].setIcon(createImageIcon(\"tileship.jpg\"));\n\n\t\t}\n\n\t\telse if (shipsToPlace == 2) {\n\t\t\t// create medium ship at x,y on egrid\n\n\t\t\tegrid[x][y] = 1;\n\t\t\tegrid[x][y + 1] = 1;\n\t\t\tegrid[x][y + 2] = 1;\n\n\t\t\t// make ship tiles blue on enemy's board\n\t\t\tenemyBoard[x][y].setIcon(createImageIcon(\"tileship.jpg\"));\n\t\t\tenemyBoard[x][y + 1].setIcon(createImageIcon(\"tileship.jpg\"));\n\t\t\tenemyBoard[x][y + 2].setIcon(createImageIcon(\"tileship.jpg\"));\n\t\t}\n\n\t\telse if (shipsToPlace == 1) {\n\t\t\t// create small ship at x,y on egrid\n\t\t\tegrid[x][y] = 1;\n\t\t\tegrid[x][y + 1] = 1;\n\n\t\t\t// make ship tiles blue on enemy's board\n\t\t\tenemyBoard[x][y].setIcon(createImageIcon(\"tileship.jpg\"));\n\t\t\tenemyBoard[x][y + 1].setIcon(createImageIcon(\"tileship.jpg\"));\n\n\t\t\tstatus.setText(\" Click to attack\");\n\t\t}\n\t\tshipsToPlace--;\n\t\tenableAllTiles();\n\t\tdisableRestrictedTiles(x, y);\n\t}", "public void addPlayerShip()\n\t{\n\t\t//if a PlayerShip is already spawned, a new one will not be added\n\t\tif(shipSpawned)\n\t\t{\n\t\t\t\tSystem.out.println(\"A player ship is already spawned\");\n\t\t\t\treturn;\n\t\t}\n\t\tgameObj.add(new PlayerShip(getHeight(), getWidth()));\n\t\tSystem.out.println(\"Player ship added\");\n\t\tshipSpawned = true;\n\t\tnotifyObservers();\n\t}", "@POST(\"/GetShipList\")\n\tCollection<Ship> getShipList(@Body int id) throws GameNotFoundException;", "@PostMapping(value = \"farmers\")\n @ApiOperation(value = \"Place/create a delivery order\", response = ApiResponse.class)\n public ResponseEntity<ApiResponse> placeOrder(\n @Valid @RequestBody AcceptOrderRequest acceptOrderRequest) {\n var activeOrders =\n doPlaceOrder(acceptOrderRequest)\n .stream()\n .map(ApiMapper::toDeliveryResponse)\n .collect(Collectors.toUnmodifiableList());\n return ApiMapper.buildResponseEntity(activeOrders, HttpStatus.CREATED);\n }", "public boolean placeShip(Ship ship, int x, char y, boolean isVertical) {\n Ship s2;\n switch(ship.getShipType()) {\n case \"BATTLESHIP\":\n ship = new Battleship();\n s2 = new Battleship();\n break;\n case \"DESTROYER\":\n ship = new Destroyer();\n s2 = new Destroyer();\n break;\n case \"MINESWEEPER\":\n ship = new Minesweeper();\n s2 = new Minesweeper();\n break;\n default:\n return false;\n }\n\n boolean successful = playersBoard.placeShip(ship, x, y, isVertical);\n if (!successful)\n return false;\n\n boolean opponentPlacedSuccessfully;\n do {\n // AI places random ships, so it might try and place overlapping ships\n // let it try until it gets it right\n opponentPlacedSuccessfully = opponentsBoard.placeShip(s2, randRow(), randCol(), randVertical());\n } while (!opponentPlacedSuccessfully);\n\n return true;\n }", "public Ship getShip(){\n return this.ship;\n }", "public boolean placeShip(int row, int col, int shipSize, char orientation) {\n /* validate the input values before adding the ship */\n if(!checkAddShipParams(row, col, shipSize, orientation))\n return false;\n /* if someone is in the spot already we can't put another ship there */\n else if(spotTaken(row, col, shipSize, orientation))\n return false;\n \n /* We made it this far so everything must be ok, now place the ship */\n if(orientation == 'v' || orientation == 'V') {\n for(int i = 0; i < shipSize; i++)\n this.board[row+i][col] = 'S';\n \n numShips++;\n return true;\n }\n else { // don't need to check if it equals H because it has to if it passed the param check\n for(int i = 0; i < shipSize; i++)\n this.board[row][col+i] = 'S';\n \n numShips++;\n return true;\n }\n }", "public Ship getShip (){\n \treturn this.ship;\n }", "public New_shipment() {\n initComponents();\n init();\n \n }", "public Ship loadShip() {\n DbResponse d = db.select(DbTables.SHIP);\n Ship ship = null;\n\n try {\n if (d.r != null) {\n ResultSet rs = d.r;\n ship = new Ship(ShipType.values()[rs.getInt(\"ship_type\")], rs.getInt(\"fuel\"));\n ship.setWeaponSlots(rs.getInt(\"weapon\"));\n ship.setGadgetSlots(rs.getInt(\"gadget\"));\n ship.setShieldSlots(rs.getInt(\"shield\"));\n d.r.close();\n d.s.close();\n d.c.close();\n }\n } catch (SQLException e) {\n System.err.println(e.getClass().getName() + \": \" + e.getMessage());\n System.exit(0);\n return null;\n }\n\n return ship;\n }", "@Override\r\n\tSpaceship getShip() {\n\t\treturn new MotherShip(getWidth()/2, getHeight());\r\n\t}", "public void addShip(Ship ship){\n\n ship.setGamePlayers(this);\n myships.add(ship);\n }", "public void placeShip(Coordinate selected, int orientation) {\r\n HashSet<Coordinate> location = new HashSet<>();\r\n if (orientation == -1) { //user Xed the orientation window\r\n location.add(selected);\r\n data.orientationXedFlag = true;\r\n } \r\n else { //user didnt X the orientation window\r\n Boolean spaceIsFree = false;\r\n if (data.gameState == 1) {\r\n location = game.getPlayerOne().constructLocation(selected, orientation, data.shipToPlace);\r\n spaceIsFree = game.getPlayerOne().checkLegalPlacement(location, orientation);\r\n }\r\n else if (data.gameState == 2) {\r\n location = game.getPlayerTwo().constructLocation(selected, orientation, data.shipToPlace);\r\n spaceIsFree = game.getPlayerTwo().checkLegalPlacement(location, orientation);\r\n }\r\n\r\n if (spaceIsFree) {\r\n if (data.gameState == 1)\r\n game.getPlayerOne().placeShip(location, data.shipToPlace);\r\n else if (data.gameState == 2)\r\n game.getPlayerTwo().placeShip(location, data.shipToPlace);\r\n data.placementSuccessful = true;\r\n data.shipToPlace++;\r\n }\r\n else {\r\n data.placementSuccessful = false; \r\n location.clear();\r\n location.add(selected);\r\n } \r\n }\r\n data.placement = convertPlacementData(location);\r\n setChanged();\r\n notifyObservers(data);\r\n data.orientationXedFlag = false;\r\n data.placementSuccessful = false; //reset flags to false to avoid errornous updates \r\n }", "public void shipPlacer(Board board, ShipTeam fleet){\r\n\r\n\t\tArrayList<Ship> theShips = fleet.getShips();\r\n\r\n\t\tint randomX, randomY;\r\n\t\tfor (Ship s : theShips){\r\n\t\t\tboolean goodPlace = false;\r\n\t\t\twhile (goodPlace == false){\r\n\t\t\t\tRandom randCoords = new Random();\r\n\t\t\t\trandomX = randCoords.nextInt(10);\r\n\t\t\t\trandomY = randCoords.nextInt(10);\r\n\t\t\t\tif (randomX % 2 == 0)\r\n\t\t\t\t\tgoodPlace = board.placeShip(randomX, randomY, s, 1);\r\n\t\t\t\telse\r\n\t\t\t\t\tgoodPlace = board.placeShip(randomX, randomY, s, 2);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public void setShip (Ship s){\n \tthis.ship=s;\n }", "public void addShip(Ship ship) {\n\t\tint row = ship.getRow();\n\t\tint column = ship.getColumn();\n\t\tint direction = ship.getDirection();\n\t\tint shipLength = ship.getLength();\n\t\t//0 == Horizontal; 1 == Vertical\n\t\tif (direction == 0) {\n\t\t\tfor (int i = column; i < shipLength + column; i++) {\n\t\t\t\tthis.grid[row][i].setShip(true);\n\t\t\t\tthis.grid[row][i].setLengthOfShip(shipLength);\n\t\t\t\tthis.grid[row][i].setDirectionOfShip(direction);\n\t\t\t}\n\t\t}\n\t\telse if (direction == 1) {\n\t\t\tfor (int i = row; i < shipLength + row; i++) {\n\t\t\t\tthis.grid[i][column].setShip(true);\n\t\t\t\tthis.grid[i][column].setLengthOfShip(shipLength);\n\t\t\t\tthis.grid[i][column].setDirectionOfShip(direction);\n\t\t\t}\n\t\t}\n\t}", "public void addPassengerShip(Scanner sc){\n PassengerShip pShip = new PassengerShip(sc, portMap, shipMap, dockMap);\n if(hashMap.containsKey(pShip.getParent())){\n if(hashMap.get(pShip.getParent()).getIndex()>=10000 && hashMap.get(pShip.getParent()).getIndex() < 20000){\n currentPort = (SeaPort) hashMap.get(pShip.getParent());\n currentPort.setShips(pShip);\n currentPort.setAllShips(pShip);\n \n }\n else{\n currentDock = (Dock) hashMap.get(pShip.getParent());\n currentDock.addShip(pShip);\n currentPort = (SeaPort) hashMap.get(currentDock.getParent());\n currentPort.setAllShips(pShip);\n }\n \n \n }\n hashMap.put(pShip.getIndex(), pShip);\n shipMap.put(pShip.getIndex(), pShip);\n everything.add(pShip);\n }", "@POST(\"/DeleteShip\")\n\tint deleteShip(@Body Ship ship,@Body int id) throws GameNotFoundException;", "public Ship(String name) {\r\n this.name = name;\r\n }", "private void createShips() {\n //context,size, headLocation, bodyLocations\n Point point;\n Ship scout_One, scout_Two, cruiser, carrier, motherShip;\n if(player) {\n point = new Point(maxN - 1, 0); //row, cell\n scout_One = new Ship(1, point, maxN, \"Scout One\", player);\n ships.add(scout_One);\n point = new Point(maxN - 1, 1);\n scout_Two = new Ship(1, point, maxN, \"Scout Two\", player);\n ships.add(scout_Two);\n point = new Point(maxN - 2, 2);\n cruiser = new Ship(2, point, maxN, \"Cruiser\", player);\n ships.add(cruiser);\n point = new Point(maxN - 2, 3);\n carrier = new Ship(4, point, maxN, \"Carrier\", player);\n ships.add(carrier);\n point = new Point(maxN - 4, 5);\n motherShip = new Ship(12, point, maxN, \"MotherShip\", player);\n ships.add(motherShip);\n\n }else{\n Random rand = new Random();\n int rowM = maxN-3;\n int colM = maxN -2;\n int row = rand.nextInt(rowM);\n int col = rand.nextInt(colM);\n point = new Point(row, col);\n motherShip = new Ship(12, point, maxN, \"MotherShip\", player);\n updateOccupiedCells(motherShip.getBodyLocationPoints());\n ships.add(motherShip);\n\n rowM = maxN - 1;\n colM = maxN -1;\n row = rand.nextInt(rowM);\n col = rand.nextInt(colM);\n point = new Point(row, col);\n carrier = new Ship(4, point, maxN, \"Carrier\", player);\n updateOccupiedCells(carrier.getBodyLocationPoints());\n ships.add(carrier);\n checkIfOccupiedForSetShip(carrier, row, col, rowM, colM);\n\n\n rowM = maxN - 1;\n colM = maxN;\n row = rand.nextInt(rowM);\n col = rand.nextInt(colM);\n point = new Point(row, col);\n cruiser = new Ship(2, point, maxN, \"Cruiser\", player);\n updateOccupiedCells(cruiser.getBodyLocationPoints());\n ships.add(cruiser);\n checkIfOccupiedForSetShip(cruiser, row, col, rowM, colM);\n\n\n rowM = maxN;\n colM = maxN;\n row = rand.nextInt(rowM);\n col = rand.nextInt(colM);\n point = new Point(row, col);\n scout_Two = new Ship(1, point, maxN, \"Scout_Two\", player);\n updateOccupiedCells(scout_Two.getBodyLocationPoints());\n ships.add(scout_Two);\n checkIfOccupiedForSetShip(scout_Two, row, col, rowM, colM);\n\n rowM = maxN;\n colM = maxN;\n row = rand.nextInt(rowM);\n col = rand.nextInt(colM);\n point = new Point(row, col);\n scout_One = new Ship(1, point, maxN, \"Scout_One\", player);\n updateOccupiedCells(scout_One.getBodyLocationPoints());\n ships.add(scout_One);\n checkIfOccupiedForSetShip(scout_One, row, col, rowM, colM);\n\n\n\n\n }\n //Need an algorithm to set enemy ship locations at random without overlaps\n }", "@Override\r\n\tpublic void arrivalMessage(Ship ship){\r\n\t\tSystem.out.println(ship + \" arrives at arrival zone\");\r\n\t}", "public String getShipName() {\n return shipName;\n }", "@Override\r\n\tpublic void ship(Robot t) {\n\t\t\r\n\t}", "public void PlaceRandomBoard(){\r\n\r\n\t\tString whichShip;\r\n\t\tString coordinate;\r\n\t\t\r\n\t\t\t// Display the random board and the random board menu \r\n\t\t// DISPLAY BOARDS!!!!!\r\n\t\tint whichInput=0;\r\n\t\tShip temp = new Ship();\r\n\t\tRandom generator = new Random();\r\n\t\tint randomIndex = generator.nextInt();\r\n\t\twhile (!this.myBoard.carrier.placed || !this.myBoard.battleship.placed\r\n\t\t\t\t|| !this.myBoard.cruiser.placed || !this.myBoard.submarine.placed\r\n\t\t\t\t|| !this.myBoard.patrolboat.placed) {\r\n\r\n\t\t\twhichInput++;\r\n\r\n\t\t\twhichShip = String.valueOf(whichInput);\r\n\t\t\t\r\n\t\t\tint direction=0;\r\n\r\n\t\t\tboolean placed = false;\r\n\t\t\twhile (!placed) {\r\n\t\t\t\trandomIndex = generator.nextInt(10);\r\n\t\t\t\tcoordinate = this.indexToLetter(randomIndex);\r\n\t\t\t\tcoordinate += String.valueOf(generator.nextInt(10)+1);\r\n\t\t\t\tdirection = generator.nextInt(4) + 1;\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tswitch (Integer.parseInt(whichShip)) {\r\n\t\t\t\tcase 1:\r\n\t\t\t\t\ttemp = new Carrier();\r\n\t\t\t\t\ttemp.name=\"Carrier\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\ttemp = new Battleship();\r\n\t\t\t\t\ttemp.name=\"Battleship\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 3:\r\n\t\t\t\t\ttemp = new Cruiser();\r\n\t\t\t\t\ttemp.name=\"Cruiser\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 4:\r\n\t\t\t\t\ttemp = new Submarine();\r\n\t\t\t\t\ttemp.name=\"Submarine\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 5:\r\n\t\t\t\t\ttemp = new PatrolBoat();\r\n\t\t\t\t\ttemp.name=\"Patrol Boat\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t} \r\n\t\t\t\t\r\n\t\t\t\tplaced = this.validateShipPlacement(temp, coordinate, direction);\r\n\r\n\t\t\t\tif (placed) {\r\n\t//\t\t\t\tSystem.out.println(\"Success\");\r\n\t\t\t\t\tthis.placeShip(temp, coordinate, direction);\r\n\t\t\t\t\t\r\n\t\t\t\t} else {\r\n\t//\t\t\t\tdisplay.scroll(\"Invalid coordinate, please enter another\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}", "void doPlaceObject() {\r\n\t\tif (renderer.surface == null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (currentBaseTile != null) {\r\n\t\t\tUndoableMapEdit undo = new UndoableMapEdit(renderer.surface);\r\n\t\t\tdeleteEntitiesOf(renderer.surface.basemap, renderer.placementRectangle, false);\r\n\t\t\tSurfaceFeature sf = new SurfaceFeature();\r\n\t\t\tsf.id = currentBaseTile.id;\r\n\t\t\tsf.type = currentBaseTile.type;\r\n\t\t\tsf.tile = currentBaseTile.tile;\r\n\t\t\tsf.location = Location.of(renderer.placementRectangle.x, renderer.placementRectangle.y);\r\n\t\t\trenderer.surface.features.add(sf);\r\n\t\t\t\r\n\t\t\tplaceTile(currentBaseTile.tile, renderer.placementRectangle.x, renderer.placementRectangle.y, SurfaceEntityType.BASE, null);\r\n\t\t\t\r\n\t\t\tundo.setAfter();\r\n\t\t\taddUndo(undo);\r\n\t\t\trenderer.repaint();\r\n\t\t} else\r\n\t\tif (currentBuildingType != null && renderer.canPlaceBuilding(renderer.placementRectangle) && renderer.placementRectangle.width > 0) {\r\n\t\t\tUndoableMapEdit undo = new UndoableMapEdit(renderer.surface);\r\n\t\t\tBuilding bld = new Building(currentBuildingType, currentBuildingRace);\r\n\t\t\tbld.makeFullyBuilt();\r\n\t\t\tbld.location = Location.of(renderer.placementRectangle.x + 1, renderer.placementRectangle.y - 1); // leave room for the roads!\r\n\t\t\trenderer.surface.buildings.add(bld);\r\n\t\t\t\r\n\t\t\tplaceTile(bld.tileset.normal, bld.location.x, bld.location.y, SurfaceEntityType.BUILDING, bld);\r\n\t\t\tplaceRoads(currentBuildingRace);\r\n\t\t\t\r\n\t\t\tundo.setAfter();\r\n\t\t\taddUndo(undo);\r\n\t\t\trenderer.repaint();\r\n\t\t}\r\n\t}", "public GameObject spawnCarrier(LogicEngine in_logicEngine, float in_x , CARRIER_TYPE in_type)\r\n\t{\n\t\tGameObject ship = new GameObject(\"data/\"+GameRenderer.dpiFolder+\"/thrusterboss.png\",in_x,LogicEngine.SCREEN_HEIGHT+64,30);\r\n\t\t\r\n\t\t\r\n\t\t//set animation frame\r\n\t\tship.i_animationFrame=4;\r\n\t\tship.i_animationFrameRow=0;\r\n\t\tship.i_animationFrameSizeWidth=32;\r\n\t\tship.i_animationFrameSizeHeight=132;\r\n\t\t\r\n\t\tSimplePathfollowing followPathBehaviour = new SimplePathfollowing();\r\n\t\t//pause at the first waypoint\r\n\t\tfollowPathBehaviour.waitAtWaypoint(1, 50);\r\n\t\t\r\n\t\tfollowPathBehaviour.setInfluence(1);\r\n\t\tfollowPathBehaviour.setAttribute(\"arrivedistance\", \"50\", null);\r\n\t\t\r\n\t\tfollowPathBehaviour.waitAtWaypoint(1, 300);\r\n\t\t\r\n\t\t//go straight down then split\r\n\t\tship.v.addWaypoint(new Point2d(in_x, LogicEngine.SCREEN_HEIGHT/1.5));\r\n\t\tship.v.addWaypoint(new Point2d(in_x,-100));\r\n\t\t\r\n\t\tCustomBehaviourStep b = new CustomBehaviourStep(followPathBehaviour);\r\n\t\t\r\n\t\t//turret\r\n\t\t//turret\r\n\t\tDrawable turret = new Drawable();\r\n\t\tturret.i_animationFrame = 6;\r\n\t\tturret.i_animationFrameSizeWidth=16;\r\n\t\tturret.i_animationFrameSizeHeight=16;\r\n\t\tturret.str_spritename = \"data/\"+GameRenderer.dpiFolder+\"/gravitonlevel.png\";\r\n\t\tturret.f_forceRotation = 90;\r\n\t\tship.shotHandler = new TurretShot(turret,\"data/\"+GameRenderer.dpiFolder+\"/redbullets.png\",6,5.0f);\r\n\t\tship.visibleBuffs.add(turret);\r\n\t\t\r\n\t\tship.v.setMaxForce(1);\r\n\t\tship.v.setMaxVel(1);\r\n\t\t\r\n\t\tship.stepHandlers.add(b);\r\n\t\t\r\n\t\tHitpointShipCollision s;\r\n\t\tif(!Difficulty.isHard())\r\n\t\t\t s = new HitpointShipCollision(ship, 160, 32);\r\n\t\telse\r\n\t\t\t s = new HitpointShipCollision(ship, 125, 32);\r\n\t\t\t\r\n\t\ts.setExplosion(Utils.getBossExplosion(ship));\r\n\t\tship.collisionHandler = s; \r\n\t\r\n\t\t//TODO:launch ships handler for shooting\r\n\t\tif(in_type == CARRIER_TYPE.PATHFINDERS_BOTH_SIDES)\r\n\t\t{\r\n\t\t\tship.stepHandlers.add(new LaunchShipsStep(pathFinder(true), 50, 5, 5,true));\r\n\t\t\tship.stepHandlers.add(new LaunchShipsStep(pathFinder(false), 50, 5, 5,false));\r\n\t\t}\r\n\t\telse\r\n\t\t\tif(in_type == CARRIER_TYPE.PATHFINDERS_RIGHT_ONLY)\r\n\t\t\t{\r\n\t\t\t\tship.stepHandlers.add(new LaunchShipsStep(pathFinder(true), 50, 5, 5,true));\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t\tif(in_type == CARRIER_TYPE.PATHFINDERS_LEFT_ONLY)\r\n\t\t\t\t{\r\n\t\t\t\t\tship.stepHandlers.add(new LaunchShipsStep(pathFinder(false), 50, 5, 5,false));\r\n\t\t\t\t}\r\n\t\t\t\t\t\t \r\n\t\tship.allegiance = GameObject.ALLEGIANCES.ENEMIES;\r\n\t\t\r\n\t\tin_logicEngine.objectsEnemies.add(ship);\r\n\t\t\r\n\t\treturn ship;\r\n\t\r\n\t}", "private void createObject(JSONObject delivery) {\n\t\t//TODO: create the Object\n\t}", "public Ships(ShipTypes type) {\n this.type = type;\n }", "public void addCargoShip(Scanner sc){\n CargoShip cShip = new CargoShip(sc, portMap, shipMap, dockMap);\n if(hashMap.containsKey(cShip.getParent())){\n if(hashMap.get(cShip.getParent()).getIndex()>=10000 && hashMap.get(cShip.getParent()).getIndex() < 20000){\n currentPort = (SeaPort) hashMap.get(cShip.getParent());\n currentPort.setShips(cShip);\n currentPort.setAllShips(cShip);\n }\n else{\n currentDock = (Dock) hashMap.get(cShip.getParent());\n currentDock.addShip(cShip);\n currentPort = (SeaPort) hashMap.get(currentDock.getParent());\n currentPort.setAllShips(cShip);\n }\n \n \n }\n hashMap.put(cShip.getIndex(), cShip);\n shipMap.put(cShip.getIndex(), cShip);\n everything.add(cShip);\n }", "@Override\n public String toString() {\n return \"Ship\";\n }", "private void loadShip() {\n cargo.add(new Water());\n cargo.add(new Water());\n cargo.add(new Water());\n cargo.add(new Furs());\n cargo.add(new Ore());\n cargo.add(new Food());\n numOfGoods = cargo.size();\n }", "public LiveData<ShipWithContainer> getShip() {\n return mObservableShip;\n }", "ShipmentItemFeature createShipmentItemFeature();", "ShipmentItemBilling createShipmentItemBilling();", "@GetMapping(\"/placeOrder\")\n public String placeOrder(HttpServletRequest request, Model model){\n Map<String, String[]> requestParam = request.getParameterMap();\n String customerName[] = requestParam.get(\"customerName\");\n String orderQuantity[] = requestParam.get(\"orderQty\");\n String productTypes[] = requestParam.get(\"productType\");\n OrderDetails orderDetails = new OrderDetails();\n orderDetails.setCustomerName(customerName[0]);\n orderDetails.setOrderQty(orderQuantity[0]);\n orderDetails.setOrderProduct(productTypes[0]);\n String orderConfirmation = sportyShoesService.saveCustomerOrder(orderDetails);\n\n model.addAttribute(\"appName\", appName);\n model.addAttribute(\"orderConfirmation\", orderConfirmation);\n\n return \"orderPlaceSuccess\";\n }", "public void actionPerformed(ActionEvent event)\n {\n if (add)\n {\n if (validInput())\n {\n Ship newShip = map.addUserShip(\"Lobsterboat\",shipName,\n xcoord,ycoord,speed,direction);\n main.setUserShip(newShip);\n map.repaint();\n main.closeStartWindow();\n }\n }\n else\n {\n main.closeStartWindow();\n }\n }", "@RequestMapping(value = \"garage\", method = RequestMethod.POST)\n\tpublic Garage create(@RequestBody String jsonGarage, HttpServletResponse res) {\n\n\t\tSystem.out.println(jsonGarage);\n\n\t\ttry {\n\t\t\tObjectMapper mapper = new ObjectMapper();\n\t\t\tGarage mappedAddress = mapper.readValue(jsonGarage, Garage.class);\n\t\t\treturn garagedao.create(mappedAddress);\n\t\t} catch (JsonParseException e) {\n\n\t\t\te.printStackTrace();\n\t\t} catch (JsonMappingException 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\treturn null;\n\t}", "public Ship(){\n\t}", "public Future<CreateShipmentResponse> createShipmentAsync(CreateShipmentRequest request) {\n return newFuture(createShipment(request));\n }", "Player createNewPlayer(PlayerDTO playerDTO);", "ShippingDocument createShippingDocument();", "public void connectShipToBoard(Ship ship){\n ships.add(ship);\n }", "@Override\r\n\tpublic void save(Shipper shipper) {\n\t\tshipperDao.save(shipper);\r\n\t}", "public void setShipStatus(Boolean shipStatus) {\n this.shipStatus = shipStatus;\n }", "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\r\n\t@Override\r\n\tpublic ResponseDto create(String controllerJson) {\n\t\tMap<String, Object> data = new HashMap<>();\r\n\t\t\r\n\t\tResponseDto response = new ResponseDto();\r\n\t\t\r\n\t\tMap<Object, Object> inputDataMap = new LinkedHashMap<>();\r\n\t\tinputDataMap.put(\"inputString\", controllerJson);\r\n\r\n\t\tGson gson = new Gson();\r\n\t\tContainerDTO dto = gson.fromJson(controllerJson.toString(), ContainerDTO.class);\r\n\t\tList<ContainerDetailsDTO> list = new ArrayList<>();\r\n\t\t// System.out.println(dto.getDELIVERY().getITEM());\r\n\t\tif (dto.getDELIVERY().getITEM() instanceof LinkedTreeMap) {\r\n\t\t\tLinkedTreeMap<String, String> item2 = (LinkedTreeMap) dto.getDELIVERY().getITEM();\r\n\t\t\tContainerDetailsDTO d = getLinkedTreeMapToContainerDetailsDto(item2);\r\n\t\t\tlist.add(d);\r\n\t\t\t// System.out.println(d.getAREACODE());\r\n\t\t} else if (dto.getDELIVERY().getITEM() instanceof ArrayList) {\r\n\t\t\tList<LinkedTreeMap> item2 = (List<LinkedTreeMap>) dto.getDELIVERY().getITEM();\r\n\t\t\tfor (LinkedTreeMap i : item2) {\r\n\t\t\t\tContainerDetailsDTO d = getLinkedTreeMapToContainerDetailsDto(i);\r\n\t\t\t\tlist.add(d);\r\n\t\t\t}\r\n\t\t}\r\n\t\tdto.getDELIVERY().setITEM(list);\r\n\t\tinputDataMap.put(\"processObject\", dto);\r\n\t\t// LOGGER.error(\"INSIDE CREATE CONTAINER SERVIE WITH REQUEST PAYLOAD =>\r\n\t\t// \" + dto);\r\n\t\tif (!ServicesUtil.isEmpty(dto) && !ServicesUtil.isEmpty(dto.getDELIVERY())) {\r\n\t\t\tList<ContainerDetailsDTO> containerDetailsDTOs = (List<ContainerDetailsDTO>) dto.getDELIVERY().getITEM();\r\n\r\n\t\t\ttry {\r\n\r\n\t\t\t\tlong timeStamp = System.currentTimeMillis();\r\n\t\t\t\tString jobIdentity = \"DnProcessJob\" + timeStamp;\r\n\t\t\t\tString group = \"group\" + timeStamp;\r\n\t\t\t\tString triggerName = \"DnProcessTrigger\" + timeStamp;\r\n\t\t\t\tString jobName = \"Job\" + timeStamp;\r\n\t\t\t\tDate currdate = new Date();\r\n\r\n\t\t\t\tJobDetail job = JobBuilder.newJob(ContainerToDeliveryNoteProcessingJob.class)\r\n\t\t\t\t\t\t.withIdentity(jobIdentity, group).build();\r\n\r\n\t\t\t\tSimpleTrigger trigger = (SimpleTrigger) TriggerBuilder.newTrigger().withIdentity(triggerName, group)\r\n\t\t\t\t\t\t.startNow().build();\r\n\t\t\t\tScheduler scheduler = new StdSchedulerFactory().getScheduler();\r\n\r\n\t\t\t\tContainerRecordsDo recordsDo = new ContainerRecordsDo();\r\n\t\t\t\trecordsDo.setPayload(controllerJson.trim());\r\n\t\t\t\trecordsDo.setCreatedAt(currdate);\r\n\r\n\t\t\t\t// containerRecordService.create(recordsDo);\r\n\r\n\t\t\t\tcontainerRecordsDAO.getSession().persist(recordsDo);\r\n\r\n\t\t\t\tcontainerRecordsDAO.getSession().flush();\r\n\t\t\t\tcontainerRecordsDAO.getSession().clear();\r\n\t\t\t\tcontainerRecordsDAO.getSession().getTransaction().commit();\r\n\t\t\t\t\r\n\t\t\t\t// adding data to scheduler context\r\n\t\t\t\tdata.put(\"data\", dto);\r\n\t\t\t\tdata.put(\"timeStamp\", currdate);\r\n\t\t\t\tdata.put(\"containerRecordId\", recordsDo.getId());\r\n\t\t\t\tdata.put(\"jobName\", jobName);\r\n\r\n\t\t\t\tcomp.backgroudDnProcessing(data);\r\n\t\t\t\t\r\n\t\t\t\t// adding data to scheduler context\r\n\t\t\t\tscheduler.getContext().put(\"data\", dto);\r\n\t\t\t\tscheduler.getContext().put(\"timeStamp\", currdate);\r\n\t\t\t\tscheduler.getContext().put(\"containerRecordId\", recordsDo.getId());\r\n\t\t\t\tscheduler.getContext().put(\"jobName\", jobName);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t/*\r\n\t\t\t\t * int i=1; for (ContainerDetailsDTO d : containerDetailsDTOs) {\r\n\t\t\t\t * containerDao.create(d, new ContainerDetailsDo());\r\n\t\t\t\t * \r\n\t\t\t\t * if(i % BATCH_SIZE ==0) { containerDao.getSession().flush();\r\n\t\t\t\t * containerDao.getSession().clear(); }\r\n\t\t\t\t * \r\n\t\t\t\t * i++;\r\n\t\t\t\t * \r\n\t\t\t\t * }\r\n\t\t\t\t * \r\n\t\t\t\t * // flushing the session data\r\n\t\t\t\t * containerDao.getSession().flush();\r\n\t\t\t\t * containerDao.getSession().clear();\r\n\t\t\t\t */\r\n\r\n\t\t\t\t/*scheduler.start();\r\n\t\t\t\tscheduler.scheduleJob(job, trigger);*/\r\n\t\t\t\ttry {\r\n\t\t\t\t\tThread.sleep(2000);\r\n\t\t\t\t} catch (InterruptedException e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tLOGGER.error(\"INSIDE CREATE CONTAINER SERVICE : JOB STARTED ID [ \"+jobName+\" ]\");\r\n\t\t\t\t\r\n\t\t\t\t//scheduler.standby();\r\n\t\t\t\t// scheduler.shutdown(true);\r\n\r\n\t\t\t\t/*\r\n\t\t\t\t * Object data = createEntryInDeliveryHeader(dto); LOGGER.\r\n\t\t\t\t * error(\"INSIDE CREATE CONTAINER SERVIE WITH RESPONSE PAYLOAD <= \"\r\n\t\t\t\t * + data);\r\n\t\t\t\t */\r\n\t\t\t\tresponse.setStatus(true);\r\n\t\t\t\tresponse.setCode(HttpStatus.SC_OK);\r\n\t\t\t\tresponse.setMessage(Message.SUCCESS + \"\");\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tresponse.setStatus(false);\r\n\t\t\t\tresponse.setCode(HttpStatus.SC_INTERNAL_SERVER_ERROR);\r\n\t\t\t\tresponse.setMessage(Message.FAILED + \" : \" + e.toString());\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tresponse.setStatus(true);\r\n\t\t\tresponse.setMessage(Message.SUCCESS.getValue());\r\n\t\t\tresponse.setCode(HttpStatus.SC_OK);\r\n\t\t}\r\n\r\n\t\treturn response;\r\n\t}", "public CreateShipmentResponse createShipment(CreateShipmentRequest request)\n throws MWSMerchantFulfillmentServiceException {\n return newResponse(CreateShipmentResponse.class);\n }", "ShipmentGatewayFedex createShipmentGatewayFedex();", "public Ship(int indexX, int indexY) {\n this(indexX, indexY, indexX, indexY);\n }", "public void putShip(Ship ship) throws OverlapException{\r\n if(this.ship == null){\r\n this.ship = ship;\r\n }else{\r\n throw new OverlapException(row, column);\r\n }\r\n }", "public void assignAsteroidToShip(Ship ship, Asteroid asteroid) {\n\t\tasteroidToShip.put(asteroid.getId(), ship);\n\t}", "public void spawnSateliteShip(LogicEngine in_logicEngine,float in_x)\r\n\t{\n\t\tGameObject ship = new GameObject(\"data/\"+GameRenderer.dpiFolder+\"/gravitonlevel.png\",in_x,LogicEngine.SCREEN_HEIGHT,1);\r\n\t\tship.i_animationFrameSizeWidth = 64;\r\n\t\tship.i_animationFrameSizeHeight = 32;\r\n\t\tship.i_animationFrame = 2;\r\n\t\tship.allegiance = GameObject.ALLEGIANCES.ENEMIES;\r\n\t\t\r\n\t\tship.v.setMaxForce(1.0f);\r\n\t\tship.v.setMaxVel(4.0f);\r\n\t\t\r\n\t\t\r\n\t\t//fly down\r\n\t\t//ship.stepHandlers.add( new FlyStraightStep(new Vector2d(0,-1f)));\r\n\t\t\r\n\t\tSimplePathfollowing followPathBehaviour = new SimplePathfollowing();\r\n\t\tfollowPathBehaviour.setInfluence(1);\r\n\t\tfollowPathBehaviour.setAttribute(\"arrivedistance\", \"10\", null);\r\n\t\t\r\n\t\t//add waypoints\r\n\t\tfor(int i=0 ; i< 20 ; i++)\r\n\t\t{\r\n\t\t\t\t\t\t\r\n\t\t\t//put in some edge ones too\r\n\t\t\tif(r.nextInt(6)%3==0)\r\n\t\t\t\tship.v.addWaypoint(new Point2d((int) LogicEngine.SCREEN_WIDTH * (i%2), LogicEngine.SCREEN_HEIGHT/1.5 + r.nextInt((int) LogicEngine.SCREEN_HEIGHT/5)));\r\n\t\t\telse\r\n\t\t\t\t//put in some random doublebacks etc\r\n\t\t\t\tship.v.addWaypoint(new Point2d(r.nextInt((int) LogicEngine.SCREEN_WIDTH), LogicEngine.SCREEN_HEIGHT/1.5 + r.nextInt((int) LogicEngine.SCREEN_HEIGHT/5)));\r\n\t\t}\r\n\t\tship.v.addWaypoint(new Point2d(LogicEngine.SCREEN_WIDTH/2, -100));\r\n\t\t\r\n\t\tif(Difficulty.isEasy())\r\n\t\t\tship.shotHandler = new BeamShot(50);\r\n\t\telse\r\n\t\tif(Difficulty.isMedium())\r\n\t\t\tship.shotHandler = new BeamShot(40);\r\n\t\telse\r\n\t\tif(Difficulty.isHard())\r\n\t\t\tship.shotHandler = new BeamShot(30);\r\n\t\t\r\n\t\tCustomBehaviourStep b = new CustomBehaviourStep(followPathBehaviour);\r\n\t\tship.stepHandlers.add(b);\r\n\t\t\r\n\t\t//destroy ships that get too close\r\n\t\tHitpointShipCollision hps = new HitpointShipCollision(ship, 10, 32);\r\n\t\thps.setSimpleExplosion();\r\n\t\t\r\n\t\tship.collisionHandler = hps; \r\n\t\t\r\n\t\tin_logicEngine.objectsEnemies.add(ship);\t\r\n\t\r\n\t}", "public RouteObject(\n NsiTopology topology,\n SimpleStp srcStpId,\n SimpleStp dstStpId,\n DirectionalityType directionality,\n Optional<StpListType> ero) throws WebApplicationException {\n\n // Each segment of the a path is assigned a route object with an A and Z end.\n Route route = new Route();\n\n // Get the set of possible source STP identifiers (a range could be provided).\n StpTypeBundle srcBundle = new StpTypeBundle(topology, srcStpId, directionality);\n if (srcBundle.isEmpty()) {\n log.error(\"RouteObject: source STP does not exist in topology: \" + srcStpId.toString());\n throw Exceptions.stpResolutionError(srcStpId.toString());\n }\n\n route.setBundleA(srcBundle);\n\n // Now we process any ERO elements if present.\n if (ero.isPresent()) {\n // We need to process the ERO in order that it was specified.\n List<OrderedStpType> orderedSTP = ero.get().getOrderedSTP();\n Collections.sort(orderedSTP, new CustomComparator());\n\n // Our first processed segment starts with our source STP.\n SimpleStp lastStp = srcStpId;\n\n for (OrderedStpType stp : orderedSTP) {\n // Parse this STP and generate a bundle enumerating all the STP. The\n // specified STP must exist in topology for a bundle to be generated.\n SimpleStp nextStp = new SimpleStp(stp.getStp());\n StpTypeBundle nextBundle = new StpTypeBundle(topology, nextStp, directionality);\n\n // If we did not find an associated bundle the specified ERO STP may\n // be an internal STP used for a domain's internal path computation.\n if (nextBundle.isEmpty()) {\n // The one rule we have is that an internal STP must be bounded by\n // at least one externally visible STP from the same domain. This\n // check is to see if the previous STP was in the same domain.\n //if (!nextStp.getNetworkId().equalsIgnoreCase(lastStp.getNetworkId())) {\n //log.error(\"RouteObject: Internal STP not bounded by external STP: \" + stp.getStp());\n //throw Exceptions.invalidEroError(stp.getStp());\n //}\n\n // Save this internal STP.\n route.addInternalStp(stp.getStp());\n }\n else {\n // We have an inter-domain STP so save it and get the SDP\n // so we know the STP on far end. We may need to filter some\n // of these out if there is no corresponding SDP (mismatching\n // labels on each end of the link).\n nextBundle = nextBundle.getPeerReducedBundle();\n if (nextBundle.isEmpty()) {\n log.error(\"RouteObject: ERO STP not associated with SDP: \" + stp.getStp());\n throw Exceptions.invalidEroError(stp.getStp());\n }\n\n // We have completed this path segment by finding a external\n // interdomain STP.\n route.setBundleZ(nextBundle);\n routes.add(route);\n\n // Now create the bundle associated with the other end of SDP.\n route = new Route();\n\n StpTypeBundle lastBundle = new StpTypeBundle();\n\n for (StpType member : nextBundle.values()) {\n SdpType sdp = topology.getSdp(member.getSdp().getId());\n if (sdp == null) {\n log.error(\"RouteObject: ERO STP not associated with valid SDP in context of request: \" + stp.getStp());\n throw Exceptions.invalidEroMember(stp.getStp());\n }\n if (member.getId().equalsIgnoreCase(sdp.getDemarcationA().getStp().getId())) {\n lastBundle.addStpType(topology.getStp(sdp.getDemarcationZ().getStp().getId()));\n }\n else {\n lastBundle.addStpType(topology.getStp(sdp.getDemarcationA().getStp().getId()));\n }\n }\n\n if (lastBundle.isEmpty()) {\n log.error(\"RouteObject: ERO STP not associated with SDP: \" + stp.getStp());\n throw Exceptions.invalidEroError(stp.getStp());\n }\n\n route.setBundleA(lastBundle);\n lastStp = lastBundle.getSimpleStp();\n }\n }\n }\n\n // Add the original destination endpoint after any inserted ERO points.\n StpTypeBundle dstBundle = new StpTypeBundle(topology, dstStpId, directionality);\n if (dstBundle.isEmpty()) {\n log.error(\"RouteObject: destination STP does not exist in topology: \" + dstStpId.toString());\n throw Exceptions.stpResolutionError(dstStpId.toString());\n }\n\n route.setBundleZ(dstBundle);\n\n // Add this last route to our list of one or more routes.\n routes.add(route);\n\n // We have completed building the ERO but need to check for internal\n // consistency.\n routes.forEach(r -> {\n StpTypeBundle bundleA = r.getBundleA();\n StpTypeBundle bundleZ = r.getBundleZ();\n SimpleStp stpA = bundleA.getSimpleStp();\n SimpleStp stpZ = bundleZ.getSimpleStp();\n\n String network = stpA.getNetworkId();\n for (OrderedStpType internalStp : r.getInternalStp()) {\n SimpleStp istp = new SimpleStp(internalStp.getStp());\n if (!istp.getNetworkId().equalsIgnoreCase(network)) {\n network = stpZ.getNetworkId();\n if (!istp.getNetworkId().equalsIgnoreCase(network)) {\n log.error(\"RouteObject: internal STP {} not a member of networkA {} or networkZ {}\",\n istp.getStpId(), stpA.getNetworkId(), stpZ.getNetworkId());\n throw Exceptions.invalidEroError(istp.getStpId());\n }\n }\n }\n });\n }", "void ship_setup() {\n ship = new Ship(level);\n ship_image_view = new ImageView(ship_image);\n ship_image_view.setX(ship.x_position);\n ship_image_view.setY(ship.y_position);\n ship_image_view.setFitWidth(Ship.SHIP_WIDTH);\n ship_image_view.setFitHeight(Ship.SHIP_HEIGHT);\n game_pane.getChildren().add(ship_image_view);\n }", "public Spaceship(String shipName) {\n\t\tshieldLevel = 1;\n\t\tcurrentMoney = new Money(100);\n\t\tinventoryList = new ArrayList<Item>();\n\t\tpartsCollected = new ArrayList<Part>();\n\t\tthis.shipName = shipName;\n\t}", "@Override\n public void Insert(Ship ship, String start,String end){\n if(start.charAt(0)==end.charAt(0)){\n for(int i = 0;i < ship.getSize(); i++){\n grid[start.charAt(1)+i-'0'][start.charAt(0)-'A'] = \"[\"+ ship.getType() +\"]\";\n ship.updateCoordlist(start.charAt(1)+i-'0',start.charAt(0)-'A');\n }\n }\n else{\n for(int i = 0;i < ship.getSize(); i++){\n grid[start.charAt(1)-'0'][start.charAt(0)-'A'+i] = \"[\"+ ship.getType() +\"]\";\n ship.updateCoordlist(start.charAt(1)-'0',start.charAt(0)-'A'+i);\n\n }\n }\n }", "ShippingPointStructure getShipTo();", "@PostMapping(path = \"/\")\n public String addPlacementData(@RequestBody PlacementDto placementDto) {\n String username = userAuthenticationService.getUserName();\n return placementService.addPlacementData(placementDto, username);\n }", "protected abstract void addBonusToShip(Ship ship);", "public void processReturnShipment() {\n \n }", "public void setShipDate(Date shipDate) {\n _shipDate = shipDate;\n }", "public static Response placeOrderServiceCall(long id, long petId, int quantity, String shipDate, String status, boolean completed) {\n Response response = placeOrderRequest(id, petId, quantity, shipDate, status, completed).when().post(placeOrderResource());\n APILogger.logInfo(LOGGER, \"Place Store Order service Response...\");\n response.then().log().all();\n return response;\n }", "void newRoutePoint(RoutePointDTO routePointDTO, RouteDTO routeDTO, List<RoutePointDTO> points);", "public void createIsipship() {\r\n\t\tRandom randomGenerator = new Random();\r\n\t\tint posX = 840;\r\n\t\tint randomPosY = randomGenerator.nextInt(480); \r\n\t\tIsipEngineer isipEngineer = new IsipEngineer(posX, randomPosY);\r\n\t\tisipShips.add(isipEngineer);\r\n\t\t//rectangles.add(isipEngineer.r);\r\n\t}", "private void createMovement(ServerRequest request,\n ServerResponse response) {\n System.out.println(\"Before Creating\");\n // request.content().as(JsonObject.class).thenAccept(jo -> compensateMovementInMongoDB(jo, response));\n request.content().as(JsonObject.class).thenAccept(jo -> createMovementInMongoDB(jo, response));\n System.out.println(\"After Creating\");\n }", "ShipmentPackage createShipmentPackage();", "public Player createArmouredShip(int armour,char[] locationIndex,Player player){\n Map<String,Integer> parts = new HashMap<>();\n for(int i=locationIndex[0];i<locationIndex[0]+getShip().getHeight();i++){\n if (!player.getInventory().containsKey(\"\"+(char)i+\"\")){\n player.getInventory().put(\"\"+(char)i+\"\",null);\n }\n int xCoordinate = Integer.parseInt(\"\"+locationIndex[1]);\n for (int j= xCoordinate;j<xCoordinate+getShip().getWidth();j++){\n parts.put(\"\"+j+\"\",armour);\n }\n getShip().setParts(parts);\n player.getInventory().put(\"\"+(char)i+\"\",getShip());\n }\n return player;\n }", "public static void placeShips (Game game) {\n\t\t\n\t\tint dir, x, y, length, width;\n\t\tint[] shipDim;\n\t\tboolean[] success = new boolean[shipSizes.length];\n\t\t\n\t\tfor (int i = 0; i < shipSizes.length; i++) {\n\t\t\tsuccess[i] = false;\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < shipSizes.length; i++) {\n\t\t\t\n\t\t\t// If an attempted ship location is invalid (off-screen or overlapping another ship) then success[i] will be false so it tries again.\n\t\t\twhile (success[i] == false) {\n\t\t\t\tdir = rnd.nextInt(2);\n\t\t\t\tx = rnd.nextInt(Config.BOARD_LENGTH);\n\t\t\t\ty = rnd.nextInt(Config.BOARD_WIDTH);\n\t\t\t\tshipDim = shipSizes[i];\n\t\t\t\tif (dir == 0) {\n\t\t\t\t\t// Across.\n\t\t\t\t\tlength = shipDim[0];\n\t\t\t\t\twidth = shipDim[1];\n\t\t\t\t} else {\n\t\t\t\t\t// Down.\n\t\t\t\t\tlength = shipDim[1];\n\t\t\t\t\twidth = shipDim[0];\n\t\t\t\t}\n\n\t\t\t\tShip ship = new Ship(i*10+5,length,width); // IDs will be 5, 15, 25, etc.\n\t\t\t\tsuccess[i] = game.addShip(ship, x, y);\n\n\t\t\t}\n\t\t}\n\t\t\n\t}", "@Test\n public void placeOrderTest() {\n Order body = new Order().id(10L)\n .petId(10L)\n .complete(false)\n .status(Order.StatusEnum.PLACED)\n .quantity(1);\n Order response = api.placeOrder(body);\n\n Assert.assertEquals(10L, response.getId().longValue());\n Assert.assertEquals(10L, response.getPetId().longValue());\n Assert.assertEquals(1, response.getQuantity().intValue());\n Assert.assertEquals(true, response.isComplete());\n Assert.assertEquals(Order.StatusEnum.APPROVED, response.getStatus());\n\n verify(exactly(1), postRequestedFor(urlEqualTo(\"/store/order\")));\n }", "public void autoPutShip(int padding) {\n for (int l=3; l>=0; l--) {\n// if already have ships of this type go to another length\n if (decks[l] == (4-l)) continue;\n for (int i = 0; i < (4-l); i++) {\n// if already put ships of that type go on..\n if (decks[l] == (4-l)) continue;\n// choice random side of sea\n// (for optimal placing need to place near it)\n int side = (int) (Math.random() * 4);\n// generate random indent from side corner\n// (like you go counter clock wise)\n int indent = (int) (Math.random() * (10 - l));\n int x = 0, y = 0;\n// for side get direction\n Direction dir = Direction.values()[side];\n// calculate coordinates\n switch (side) {\n case 0:\n x = padding;\n y = indent;\n break;\n case 1:\n x = indent;\n y = 9 - padding;\n break;\n case 2:\n x = 9 - padding;\n y = 9 - indent;\n break;\n case 3:\n x = 9 - indent;\n y = padding;\n break;\n }\n// create ship (just for right coordinates)\n Ship ship = new Ship(x, y, l, dir);\n// and if you can put it - put\n if (canPutShip(ship)) putShip(ship);\n }\n }\n if (!isAllShipsOn()&& padding < 9) autoPutShip(padding + 1);\n }", "@Test\n void should_place_ships_scenario_1() {\n Board board = BoardData.getBoard(15, 15);\n\n List<ShipType> shipConfigs = Arrays.asList(\n ShipType.ONE,\n ShipType.ONE,\n ShipType.TWO,\n ShipType.THREE\n );\n\n AutomaticShipPlacer automaticShipPlacer = new AutomaticShipPlacer();\n automaticShipPlacer.placeShips(shipConfigs, board);\n\n assertSame(4, board.getShips().size());\n BoardPrinter.print(board);\n }", "public APIResponse placeOrder(@NotNull Order order){\n try {\n validateOrder(order);\n \n order.getItems().addAll(\n orderItemRepository.saveAll(order.getItems())\n );\n orderRepository.save( order );\n return APIResponse.builder()\n .success( true)\n .data( true )\n .error( null )\n .build();\n }catch (Exception exception){\n\n log.error(exception.getMessage());\n return APIResponse.builder()\n .success( true)\n .data( false )\n .error( exception.getMessage() )\n .build();\n }\n }", "public void execute() {\n\t\tif(p.getType().equals(\"Manufacturing\")) {\n\t\t\tArrayList<Item> items = DatabaseSupport.getItems();\n\t\t\tIterator<Item> it = items.iterator();\n\t\t\tItem i;\n\t\t\twhile(it.hasNext()) {\n\t\t\t\ti = it.next();\n\t\t\t\tint a = InputController.promptInteger(\"How many \"+i.getName()+\" were manufactured? (0 for none)\", 0, Integer.MAX_VALUE);\n\t\t\t\tif(a>0) {\n\t\t\t\t\tWarehouseFloorItem n = p.getFloorItemByItem(i);\n\t\t\t\t\tif(n==null) {\n\t\t\t\t\t\tString newFloorLocation = InputController.promptString(\"This item does not have a floor location.\\nPlease specify a new one for this item.\");\n\t\t\t\t\t\tp.addFloorLocation(new WarehouseFloorItem(newFloorLocation, i, a));\n\t\t\t\t\t} else {\n\t\t\t\t\t\tn.setQuantity(n.getQuantity()+a);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tArrayList<Shipment> shipments = DatabaseSupport.getIncomingOrders(p);\n\t\t\tif(shipments.size()>0) {\n\t\t\t\tIterator<Shipment> i;\n\t\t\t\tint k = -1;\n\t\t\t\tShipment a;\n\t\t\t\twhile(k!=0) {\n\t\t\t\t\ti = shipments.iterator();\n\t\t\t\t\tk = 0;\n\t\t\t\t\twhile(i.hasNext()) {\n\t\t\t\t\t\ta = i.next();\n\t\t\t\t\t\tk++;\n\t\t\t\t\t\tSystem.out.println(k+\". \"+a.getShipmentID()+\" - \"+a.getOrderSize()+\" different items\");\n\t\t\t\t\t}\n\t\t\t\t\tk = InputController.promptInteger(\"Please enter the number next to the shipment ID to\\nselect a shipment to handle (0 to quit)\",0,shipments.size());\n\t\t\t\t\tif(k!=0) {\n\t\t\t\t\t\ta = shipments.get(k);\n\t\t\t\t\t\tIterator<ShipmentItem> b = a.getShipmentItems().iterator();\n\t\t\t\t\t\tShipmentItem c;\n\t\t\t\t\t\tString temp;\n\t\t\t\t\t\twhile(b.hasNext()) {\n\t\t\t\t\t\t\tc = b.next();\n\t\t\t\t\t\t\tWarehouseFloorItem d = p.getFloorItemByItem(c.getItem());\n\t\t\t\t\t\t\tif(d==null) {\n\t\t\t\t\t\t\t\ttemp = InputController.promptString(c.getItem().getName()+\" does not have a floor location yet.\\nPlease input a floor location for it.\");\n\t\t\t\t\t\t\t\td = new WarehouseFloorItem(temp, c.getItem(),0);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttemp = InputController.promptString(\"\\nItem: \"+c.getItem().getName()+\"\\nQuantity: \"+c.getQuantity()+\"\\n\\nPress enter once you are done loading this item.\");\n\t\t\t\t\t\t\td.setQuantity(d.getQuantity()+c.getQuantity());\n\t\t\t\t\t\t}\n\t\t\t\t\t\tk=0;\n\t\t\t\t\t\ta.setShipped();\n\t\t\t\t\t\tSystem.out.println(\"\\nShipment \"+a.getShipmentID()+\" loaded successfully\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"There are no incoming shipments.\");\n\t\t\t}\n\t\t}\n\t}", "public Shop(int ID, int x, int y, Cargo o){\r\n\r\n this.ID=ID;\r\n location=new Location(x,y);\r\n order = o;\r\n }", "public synchronized Ship allocatePilot() {\r\n\t\twhile (findUnpilotedShip() == null) {\r\n\t\t\t// no ships are in the arrival zone without a pilot\r\n\t\t\ttry {\r\n\t\t\t\twait();\r\n\t\t\t} catch (InterruptedException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn findUnpilotedShip();\r\n\t}", "public void hyperSpace()\n\t{\n\t\t//only return the ship if a PlayerShip is currently spawned\n\t\tif(gameObj[1].size() > 0)\n\t\t{\n\t\t\t//invoke resetShip() method from PlayerShip\n\t\t\t((PlayerShip)gameObj[1].get(0)).resetShip();\n\t\t\tSystem.out.println(\"PS location reset\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"There is no playership spawned\");\n\t}", "public boolean addShip(Ships ship) {\n\t\tfor (int i = 0; i < this.aliveShips.length; i++) {\r\n\t\t\tif (this.aliveShips[i] == null) {\r\n\t\t\t\tthis.aliveShips[i] = ship;\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "@RequestMapping(value = \"boardingDetails\", method = RequestMethod.POST)\r\n\t@ResponseBody\r\n\tpublic String boardingDetails(\r\n\t\t\t@RequestParam(\"routeId\") Integer routeId/*\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\t * \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * @RequestParam(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * \"boardingPoints\") String\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * boardingPoints,@\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * RequestParam(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * \"droppingPoints\") String\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * droppingPoints\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t */) {\r\n\t\tString jsonResponse = \"\";\r\n\t\tjsonResponse = bookingService\r\n\t\t\t\t.boardingDetails(routeId/* ,boardingPoints,droppingPoints */);\r\n\t\treturn jsonResponse;\r\n\t}" ]
[ "0.70862377", "0.69309133", "0.63618445", "0.63310087", "0.62998295", "0.6138618", "0.60129637", "0.59982944", "0.59372413", "0.59066945", "0.587297", "0.58640504", "0.5838517", "0.57520515", "0.57077914", "0.56800586", "0.56783617", "0.56578815", "0.56418097", "0.56418097", "0.5612448", "0.55893487", "0.5547156", "0.55462176", "0.5498602", "0.54557544", "0.545263", "0.54320854", "0.54136276", "0.5400437", "0.5382069", "0.5302731", "0.5302479", "0.52742434", "0.5270242", "0.5262786", "0.52274126", "0.51996845", "0.5179516", "0.51781195", "0.5169749", "0.5150566", "0.51442724", "0.5136326", "0.50988805", "0.50968176", "0.50855494", "0.50783527", "0.50704217", "0.5062034", "0.50565857", "0.5052241", "0.50522006", "0.5050195", "0.5048293", "0.50389695", "0.50193024", "0.49974814", "0.49916768", "0.49768376", "0.49668783", "0.49609622", "0.49571633", "0.49558738", "0.49375278", "0.4930731", "0.49304426", "0.49267945", "0.49194998", "0.49112204", "0.49103373", "0.49050307", "0.49022192", "0.4899932", "0.48953855", "0.48920107", "0.48876363", "0.48857677", "0.48687106", "0.48624116", "0.4855435", "0.48520887", "0.48501644", "0.48489887", "0.48455113", "0.48348004", "0.4833561", "0.48335174", "0.4833236", "0.48311692", "0.4825033", "0.48046175", "0.4798332", "0.47972056", "0.4789468", "0.47890386", "0.4784379", "0.47795066", "0.47750485", "0.47737637" ]
0.6661675
2
Fire Similar to placeShip, but with firing.
private static String fireAt(Request req) { if(req.params("Version").equals("Updated")) { // Generate model from json, get coordinates from fire request BattleshipModelUpdated model = (BattleshipModelUpdated) getModelFromReq( req ); model.resetArrayUpdated( model ); model = model.Fire( model, req ); model.resetArrayUpdated( model ); Gson gson = new Gson(); return gson.toJson( model ); }else{ // Generate model from json, get coordinates from fire request BattleshipModelNormal model = (BattleshipModelNormal) getModelFromReq( req ); model.resetArrayNormal( model ); model = model.Fire( model, req ); model.resetArrayNormal( model ); Gson gson = new Gson(); return gson.toJson( model ); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void fire();", "public abstract void fire();", "public void fire(TileEnvironment levelEnv) {\n\t\t\n\t}", "public void fire(SpaceWars game) {\r\n\t\tif (physics.angleTo(closestShipPhysics) < MIN_ANGLE){\r\n\t\t\tsuper.fire(game);\r\n\t\t}\t\r\n\t}", "void fire() {\r\n // firing a shot takes energy\r\n if (!expendEnergy(BULLET_ENERGY))\r\n return;\r\n\r\n //create a bullet object so it doesn't hit the ship that's firing it\r\n double xV = getXVel() + BULLET_SPEED * (Math.cos(orientation));\r\n double yV = getYVel() + BULLET_SPEED * (Math.sin(orientation));\r\n\r\n // create the actual bullet\r\n new Bullet(\r\n getGame(),\r\n (getXPos() + ((getSize()/2 + 2) * (Math.cos(orientation))) + xV),\r\n (getYPos() + ((getSize()/2 + 2) * (Math.sin(orientation))) + yV),\r\n xV,\r\n yV);\r\n }", "public void fire() {\n \tintakeTalon1.set(1);\n \tintakeTalon2.set(1);\n }", "public void fire() {\n\n\t\t// A player cannot continually fire, there is a delay between each bullet.\n\t\tif (isAbleToFire) {\n\n\t\t\taudio.playMusic(\"Audio/Fire.wav\");\n\n\t\t\tif (multiBulletIsActive) {\n\n\t\t\t\tmultiBulletFire();\n\n\t\t\t} else if (speedBulletIsActive) {\n\n\t\t\t\tspeedBulletFire();\n\n\t\t\t} else if (quickFireBulletIsActive) {\n\n\t\t\t\tquickFireBulletFire();\n\n\t\t\t} else {\n\n\t\t\t\t// Single fire.\n\t\t\t\t// Adjust bullet position to be fired from the center of the player.\n\t\t\t\tbulletArrayList.add(new Bullet(xPosition + ((width / 2) - bulletWidth / 2), bulletYPosition,\n\t\t\t\t\t\tbulletWidth, bulletHeight, \"Red\"));\n\t\t\t}\n\n\t\t\t// Stop the player from being able to fire for 'ticksBetweemFire' amount.\n\t\t\tticksToNextFire = currentTickCount + ticksBetweenFire;\n\t\t}\n\t}", "public abstract void fire(Player holder);", "@Override\n\tpublic void fire(Ball firer) {\n\t balls.add(firer);\n\t firer.setAbsorbed(true);\n\t setBalls();\n\t firer.setVx(0);\n\t firer.setVy(0);\n\t //somehow ball being fired out came back and hit!\n\t if (firer.equals(firingBall)) {\n\t firingBall = null;\n\t gb.removeFromActiveList(this);\n\t }\n\t gb.resetScore();\n\t\tsuper.fire(firer);\n\t}", "@Override\n\tpublic synchronized void fire() {\n\t}", "public void preFire(){\n\t}", "public void performFly(){\n fb.fly();\n }", "public void fire() {\n \tAlienMissile.Slope slps[] = {AlienMissile.Slope.ShallowLeft, \n AlienMissile.Slope.Down,\n AlienMissile.Slope.ShallowRight};\n for (AlienMissile.Slope i : slps) {\n AlienMissile m = new AlienMissile(this, i);\n m.setBounce(true, health/5);\n list.add(m);\n }\n }", "public void firePS()\n\t{\n\t\tif(gameObj[1].size() > 0 && ((PlayerShip)gameObj[1].get(0)).getMissileCount() > 0)\n\t\t{\n\t\t\t/*Create a new Missile\n\t\t\t * and set its location equal \n\t\t\t * to the PlayerShip and speed greater than\n\t\t\t * that of the PlayerShip\n\t\t\t */\n\t\t\tMissile mis = new Missile(false);\n\t\t\tmis.setDirection(((PlayerShip)gameObj[1].get(0)).getLauncher().getDirection());\n\t\t\tmis.setLocation(gameObj[1].get(0).getLocation());\n\t\t\tmis.setSpeed(((PlayerShip)gameObj[1].get(0)).getSpeed() + 4);\t\n\t\t\t//call fireMissile method from PlayerShip to decrement missile count\n\t\t\t((PlayerShip)gameObj[1].get(0)).fireMissile();\t\n\t\t\t//add Missile to the game world\n\t\t\tgameObj[4].add(mis);\n\t\t\tSystem.out.println(\"PS has fired a misile\");\t\n\t\t}else\n\t\t\tSystem.out.println(\"A player ship is not currently spawned or no missiles are left\");\n\t}", "public void shootIntoCargoShip(){\n shoot.set(SHIP_SHOOT);\n }", "private void fire() {\n\t\tlog.finer(\"Firing node\");\n\t\t\n\t\tplay();\n\t\taddAnimation(new NodeEcho(parent, pos, diam, diam + 15));\n\t}", "private void fire()\n {\n if (frames % 300 == 0 || frames == 0)\n {\n for(int i = 0; i <=6; i++)\n {\n FireBall fireBall = new FireBall();\n getWorld().addObject(fireBall, getX()+30, getY()); \n }\n }\n }", "public void fire(Vector2 dir, Vector2 weaponPos, Boolean multiplayer) {\n\t\t\n\t}", "@Override\n\tpublic void fire() throws Exception {\n\t\tsuper.fire();\n\t}", "@Override\r\n\tpublic void fly() {\n\t\tsuper.fly();\r\n\t\tsuper.fly();\r\n\t\tsuper.fly();\r\n\t}", "@Override\r\n\tpublic void fly() {\n\t\t\r\n\t}", "@CheckReturnValue\n PowerResult<Void> fire(Player player, ItemStack stack, Location location);", "public void shoot() {\n\t\tgetWeapon().triggerMain();\n\t\tsetShooting(true);\n\t}", "public void registerShotFired(Coordinate target) {\r\n boolean hit = false;\r\n boolean shipSunk = false;\r\n boolean fleetSunk = false;\r\n if (data.gameState == 3) { //Player One fired \r\n hit = database.getShipPresent(2, target);\r\n if (hit) { //if hit, check to see if the Ship is sunk\r\n target.setCoordState(State.Status.HIT);\r\n database.updateShipStatus(1, target);\r\n game.getPlayerTwo().getPlayerFleet().updateFleetCoordStatus(target);\r\n data.hit = (target.getxCoord()-65) + ((target.getyCoord()-1)*12);\r\n data.hitFlag = true;\r\n try {\r\n shipSunk = game.getPlayerTwo().getPlayerFleet().checkIfSunk(target);\r\n data.shipsRemaining = game.getPlayerTwo().getPlayerFleet().getCurrentFleetSize();\r\n } catch (Exception ex) {\r\n Logger.getLogger(Model.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n }\r\n else { //Missed\r\n target.setCoordState(State.Status.MISS);\r\n database.updateShipStatus(1, target);\r\n }\r\n if (shipSunk)\r\n fleetSunk = game.getPlayerTwo().getPlayerFleet().checkFleetSunk();\r\n } \r\n else if (data.gameState == 4) { //Player Two fired \r\n hit = database.getShipPresent(1, target);\r\n if (hit) {\r\n target.setCoordState(State.Status.HIT);\r\n database.updateShipStatus(1, target);\r\n game.getPlayerOne().getPlayerFleet().updateFleetCoordStatus(target);\r\n data.hit = (target.getxCoord()-65) + ((target.getyCoord()-1)*12);\r\n data.hitFlag = true;\r\n try {\r\n shipSunk = game.getPlayerOne().getPlayerFleet().checkIfSunk(target);\r\n data.shipsRemaining = game.getPlayerOne().getPlayerFleet().getCurrentFleetSize();\r\n } catch (Exception ex) {\r\n Logger.getLogger(Model.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n }\r\n else { //Missed\r\n target.setCoordState(State.Status.MISS);\r\n database.updateShipStatus(1, target);\r\n }\r\n if (shipSunk)\r\n fleetSunk = game.getPlayerOne().getPlayerFleet().checkFleetSunk();\r\n }\r\n \r\n if (shipSunk) //A Ship has been sunk\r\n data.shipSunkFlag = true;\r\n if (fleetSunk) //A Fleet has been sunk, so the game is over\r\n winGame();\r\n \r\n setChanged();\r\n notifyObservers(data);\r\n \r\n if (data.gameState == 3) //Switch to Player 2 turn for next register\r\n data.gameState = 4;\r\n else if (data.gameState == 4) //Switch to Player 1 turn for next register\r\n data.gameState = 3;\r\n data.hitFlag = false;\r\n data.shipSunkFlag = false;\r\n }", "@Override\n\tpublic void shoot() {\n\t\tthis.fired = true;\n\t\tghost.shot=true;\n\t}", "@Override\r\n\tpublic void ship(Robot t) {\n\t\t\r\n\t}", "public void tryToFire() {\n\t\tif (System.currentTimeMillis() - lastFire < firingInterval) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t// if we waited long enough, create the shot entity, and record the time.\n\t\tlastFire = System.currentTimeMillis();\n\t\tShotEntity shot = new ShotEntity(this,\"shot.gif\",ship.getX()+10,ship.getY()-30, 1);\n\t\tentities.add(shot);\n\t}", "@Override\n\t\t\tpublic void execute() {\n\t\t\t\tif (Math.abs(player.getPosition().getX() - x) > 25 || Math.abs(player.getPosition().getY() - y) > 25) {\n\t\t\t\t\tplayer.getMovementQueue().reset();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//Get ground item..\n\t\t\t\tOptional<ItemOnGround> item = ItemOnGroundManager.getGroundItem(Optional.of(player.getUsername()), itemId, position);\n\t\t\t\tif(item.isPresent()) {\n\t\t\t\t\t//Handle it..\n\t\t\t\t\t\n\t\t\t\t\t/** FIREMAKING **/\n\t\t\t\t\tOptional<LightableLog> log = LightableLog.getForItem(item.get().getItem().getId());\n\t\t\t\t\tif(log.isPresent()) {\n\t\t\t\t\t\tplayer.getSkillManager().startSkillable(new Firemaking(log.get(), item.get()));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "public void performFly() {\n\t\tflyBehavior.fly();\n\t}", "protected final void fireMove() {\r\n\t\tfireEvent(new MoveEvent(this));\r\n\t}", "@Override\n\tpublic void fly() {\n\t\t\n\t}", "public boolean checkFire(float xTile, float yTile)\r\n/* 147: */ {\r\n/* 148:167 */ if ((this.mission) && (tileFireObjectives(xTile, yTile)))\r\n/* 149: */ {\r\n/* 150:169 */ this.fire[((int)xTile)][((int)yTile)] = 1;\r\n/* 151:170 */ this.burnPlaces -= 1;\r\n/* 152:171 */ if (this.burnPlaces == 0) {\r\n/* 153:173 */ return true;\r\n/* 154: */ }\r\n/* 155: */ }\r\n/* 156:177 */ return false;\r\n/* 157: */ }", "public void fire (double angle) {\n\t\tnew Projectile(sim, new Coord.Unique(model().position()), model().speedVector(), model.ownerId(), angle, model().type.firingRange);\n\t}", "@Override\n\tpublic void fire() {\n\t\t((NodeOldBetEtx)this.node).fwdHelloPack();\n\t}", "void fire(WarParticipant target, WarParticipant attacker, int noOfShooters);", "private void apply(ShipArrived event) {\n }", "public void fireTurret() {\n\t\tif(!getCreator().hasEffect(\"TurretEffect\")) {\n\t\t\treturn;\n\t\t}\n\t\t//Fire based on what is ordained within the hero's current TurretEffect\n\t\tTurretEffect tE = (TurretEffect)getCreator().getEffect(\"TurretEffect\");\n\t\tTurretFireWrapper fW = tE.getFireFunctionWrapper();\n\t\tif(fW == null) {\n\t\t\treturn; //No active mode selected, so we just exit out. Note that this means that turrets will always fire based on the last active effect\n\t\t}\n\t\tfW.fire(getCreator(), getLoc(),range);\n\t\treturn;\n\t}", "public void setFire(float xTile, float yTile)\r\n/* 171: */ {\r\n/* 172:194 */ if (tileWalkable(xTile, yTile)) {\r\n/* 173:196 */ this.fire[((int)xTile)][((int)yTile)] = 1;\r\n/* 174: */ }\r\n/* 175: */ }", "public void fire() {\n\t\t// Has player waited cooldown before trying to fire again?\n\t\tif (System.currentTimeMillis() - this.lastFired > Config.WEAPON_COOLDOWN_TIME * 1000) {\n\t\t\t\n\t\t\t// Can this airship drop bombs?\n\t\t\tif (this.properties.FIRES_TNT) {\n\t\t\t\tBlock[] cannons = getCannons();\n\t\t\t\tint numfiredcannons = 0;\n\t\t\t\tfor (int i = 0; i < cannons.length; i++) {\n\t\t\t\t\tif (cannons[i] != null && cannonHasTnt(cannons[i], Config.NUM_TNT_TO_FIRE_NORMAL)) {\n\t\t\t\t\t\tdouble dist = 0.4;\n\t\t\t\t\t\tBlockFace face = ((Directional) cannons[i].getState().getData()).getFacing();\n\t\t\t\t\t\tint x = face.getModX();\n\t\t\t\t\t\tint z = face.getModZ();\n\t\t\t\t\t\tdist *= getCannonLength(cannons[i], -x, -z);\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (cannons[i].getRelative(x, 0, z).getType().equals(Material.AIR)) {\n\t\t\t\t\t\t\tif (numfiredcannons < this.properties.MAX_NUMBER_OF_CANNONS) {\n\t\t\t\t\t\t\t\tnumfiredcannons++;\n\t\t\t\t\t\t\t\tlastFired = System.currentTimeMillis();\n\t\t\t\t\t\t\t\twithdrawTnt(cannons[i], Config.NUM_TNT_TO_FIRE_NORMAL);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t// Spawn primed tnt firing in the direction of the dispenser TODO: maybe add sound effects for tnt firing? :P\n\t\t\t\t\t\t\t\tTNTPrimed tnt = cannons[i].getWorld().spawn(cannons[i].getLocation().clone().add(x, 0, z), TNTPrimed.class);\n\t\t\t\t\t\t\t\ttnt.setVelocity(new Vector(x * dist, 0.5, z * dist));\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// More cannons on ship than allowed. Not all fired - can break out of loop now.\n\t\t\t\t\t\t\t\tplayer.sendMessage(ChatColor.AQUA + \"Some cannons did not fire. Max cannon limit is \" + ChatColor.GOLD + this.properties.MAX_NUMBER_OF_CANNONS);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tplayer.sendMessage(ChatColor.GOLD + this.properties.SHIP_TYPE + \" CANNOT FIRE TNT\");\n\t\t} else\n\t\t\tplayer.sendMessage(ChatColor.GOLD + \"COOLING DOWN FOR \" + ChatColor.AQUA + (int)(Math.round(6 - (System.currentTimeMillis() - this.lastFired) / 1000)) + ChatColor.GOLD + \" MORE SECONDS\");\n\t}", "abstract public void triggerExplosion();", "@Override\n\tvoid fly() {\n\t\tSystem.out.println(\"flying\");\n\t}", "public boolean playerFire(int x, int y)\n\t{\n\t\tint result = aiGrid.fireAt(x, y);\n\t\tif (result == 0) {\n\t\t\t//miss\n\t\t\tSystem.out.println(\"\\nMISS\\n\");\n\t\t\treturn false;\n\t\t}\n\t\telse {\n\t\t\tif (result == 1) {\n\t\t\t\t//hit\n\t\t\t\tSystem.out.println(\"\\nHIT\\n\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\t//Already fired there\n\t\t\t\tSystem.out.println(\"Already fired here.\");\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}", "@Override\n\t\t\tpublic void shoot() {\n\t\t\t}", "@Override\r\n\tpublic void execute() {\n\t\tm_FlywheelSubsystem.shoot();\r\n\t}", "private void fire(GameEngine gameEngine) {\n Bullet bullet1 = gameEngine.getBulletEnemy();\n if (bullet1 == null) {\n return;\n }\n bullet1.init(this, positionX + imageWidth/2, positionY, 0);\n gameEngine.addGameObject(bullet1);\n gameEngine.playSound(1);\n }", "public void fireBullet(){\n\t\tBullet bullet = new Bullet(ship);\n\t\tbullets.add(bullet);\n\t\tsoundMan.playBulletSound();\n\t}", "@Override\n\tpublic void swim() {\n\t\tthis.fly();\n\t}", "public final native void fire(String type, Object detail, Object options) /*-{ fire(type, detail, options); }-*/;", "public void fireProjectile(String direction){\r\n\t\tif(name.equals(\"Robot\"))AdventureManager.currentRoom.enemyProjectiles.add(new Projectile(x,y, direction, 5, \"laser\"));\r\n\t\telse AdventureManager.currentRoom.enemyProjectiles.add(new Projectile(x,y, direction, 3, \"fireball\"));\r\n\t}", "void trigger(Entity e);", "public void fireAll() {\n\n\t\tSystem.out.println(\"Round \" + roundNo + \": BEGIN!\");\n\n\t\tfor (Move ready : niceMoves) {\n\t\t\tready.fire();\n\t\t}\n\n\t}", "public void trigger() {\n\n\t\tfor (Gadget gadget : getGadgetsToTrigger()) {\n\n\t\t\tgadget.trigger();\n\n\t\t}\n\n\t}", "public final void fire(Object event) {\n manager.fire(event);\n }", "public void fireNPS()\n\t{\n\t\t//Only fire if a NonPlayerShip is spawned\n\t\tIIterator iter = gameObj.getIterator();\n\t\twhile(iter.hasNext())\n\t\t{\n\t\t\tGameObject current = (GameObject)iter.getNext();\n\t\t\tif(current instanceof NonPlayerShip && ((NonPlayerShip)current).getMissileCount() > 0)\n\t\t\t{\n\n\t\t\t\t\tMissile mis = new Missile(true,getHeight(), getWidth());\n\t\t\t\t\tdouble x = ((NonPlayerShip)current).getLocation().getX();\n\t\t\t\t\tdouble y = ((NonPlayerShip)current).getLocation().getY() + ((NonPlayerShip)current).getSize()/2;\n\t\t\t\t\tmis.setLocation(new Point2D(x, y));\n\t\t\t\t\tmis.setDirection(((NonPlayerShip)current).getLauncher().getDirection());\n\t\t\t\t\tmis.setSpeed(((NonPlayerShip)current).getSpeed() + 20);\n\t\t\t\t\tgameObj.add(mis);\n\t\t\t\t\t((NonPlayerShip)current).launch();\n\t\t\t\t\tSystem.out.println(\"enemy missile added\");\n\t\t\t\t\tnotifyObservers();\n\t\t\t\t\treturn;\n\t\t\t}\n\t\t}\t\t\n\t}", "public void fireShot() {\n\t\tVector3 position = player.getPositionVector();\n\t\tVector3 rotation = player.getRotationVector();\n\t\tVector3 scale = player.getScaleVector();\n\t\tAsteroidsLaser laser = new AsteroidsLaser(GameObject.ROOT, this, rotation.z);\n\t\tlaser.translate(position);\n\t\tlaserShots.add(laser);\n\t}", "public void setToFire(Point3d position){\r\n\t\tworld.setBlockState(new BlockPos(position.x, position.y, position.z), Blocks.FIRE.getDefaultState());\r\n\t}", "public void fireEvent(double time) {\n\n\t\tif (fireTime <= time) {\n\n\t\t\tif (!parent.getState().getState(index).isPersistent()) {\n\t\t\t\tif (hasFlipped) { return; }\n\t\t\t}\n\n\t\t\tif (!parent.getState().getState(index).isUseTriggerValue()) {\n\t\t\t\tdouble[] eventAssignments = parent.computeEventAssignmentValues(index, time);\n\n\t\t\t\tif (eventAssignments != null) {\n\t\t\t\t\tsetAssignmentValues(eventAssignments);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (assignmentValues != null) {\n\t\t\t\tfor (int i = 0; i < parent.getEventAssignments().size(); i++) {\n\t\t\t\t\tFunctionNode eventAssignmentNode = parent.getEventAssignments().get(i);\n\t\t\t\t\tVariableNode variable = eventAssignmentNode.getVariable();\n\t\t\t\t\tvariable.getState().getState(index).setStateValue(assignmentValues[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}", "void fireBullet() {\n\r\n\t\tif (count > 0)\r\n\t\t\treturn;\r\n\t\t// ...and if all the bullets aren't currently in use...\r\n\t\tint slot = getAvailableBullet();\r\n\t\tif (slot < 0)\r\n\t\t\treturn;\r\n\t\t// ...then launch a new bullet\r\n\t\tbullets[slot].setLocation(locX, locY);\r\n\t\tbullets[slot].setDirection(angle);\r\n\t\tbullets[slot].reset();\r\n\t\t// Reset the timer\r\n\t\tcount = RELOAD;\r\n\t}", "private void shoot() {\n }", "private void shoot() {\n }", "@Override\r\n\tpublic synchronized void arrive (Ship ship) {\r\n\t\tsuper.arrive(ship);\r\n\t\t// notify pilots looking for a ship potentially!\r\n\t\tnotifyAll();\r\n\t}", "public void fire(double power) {\n if (!shooting) {\n this.power = limit(power);\n shooting = true;\n }\n }", "public void trackAndFire() {\n \t \tdouble theta;\n double distanciaObjetivo = myPos.distance(objetivo.pos);\n //Hallar el proximo punto en un perímetro definido\n \t\t//(30,30) elimina bordes y despues el -60 para la longitud de los dados\n Rectangle2D.Double perimetro = new Rectangle2D.Double(30, 30, getBattleFieldWidth() - 60, getBattleFieldHeight() - 60);\n \n \n \n //if my cannon is locked and ready and i got some energy left fire with\n //appropiate energy to not get stuck, fire in the execute rather than now\n \n if(getGunTurnRemaining() == 0 && myEnergy > 1) {\n setFire( Math.min(Math.min(myEnergy/6.0, 1000/distanciaObjetivo), objetivo.energy/3.0) );\n }\n \n //any other case, ill get aim lock with this function\n //normalize sets between pi -pi\n setTurnGunRightRadians(Utils.normalRelativeAngle(angulo(objetivo.pos, myPos) - getGunHeadingRadians()));\n \n\n double distNextPunto = myPos.distance(futurePos);\n \n \n if(distNextPunto > 20) {\n \t//aun estamos lejos\n \n \t\t\n \t\t//theta es el angulo que hemos de cortar para ponernos \"encarando\" bien\n theta = angulo(futurePos, myPos) - getHeadingRadians();\n \n \n double sentido = 1;\n \n if(Math.cos(theta) < 0) {\n theta += Math.PI;\n sentido = -1;\n }\n \n setAhead(distNextPunto * sentido);\n theta = Utils.normalRelativeAngle(theta);\n setTurnRightRadians(theta);\n \n if(theta > 1)setMaxVelocity(0.0);\n else setMaxVelocity(8.0); // max\n \n \t\n \n } else {\n \t //ENTRO AQUI SI ME QUEDA POCO PARA LLEGAR, SMOOTH CORNERING\n\n \t\t\n //probar 1000 coordenadas\n int iterNum = 1000;\n Point2D.Double cand;\n for(int i =0; i < iterNum; i++){\n \n //i dont want it to be close to another bot, thats the meaning of distanciaObjetivo*0.8\n cand = hallarPunto(myPos, Math.min(distanciaObjetivo*0.8, 100 + iterNum*Math.random()), 2*Math.PI*Math.random());\n if(perimetro.contains(cand) && evalHeuristic(cand) < evalHeuristic(futurePos)) {\n futurePos = cand;\n }\n \n \n } \n \n prevPos = myPos;\n \n }\n }", "public void fly() \r\n\t{\r\n\t\tSystem.out.println(\"Sparrow flying high...\"); \r\n\t}", "public void fireScourgeTorpedo() {\n\t\t// Has player waited cooldown before trying to fire again?\n\t\tif (System.currentTimeMillis() - this.lastFired > Config.WEAPON_COOLDOWN_TIME * 1000) {\n\t\t\tSystem.out.println(player.getDisplayName() + \" is attempting to fire a torpedo\");\n\t\t\t// Can this airship fire torpedoes?\n\t\t\tif (this.properties.FIRES_TORPEDO) {\n\t\t\t\tBlock[] cannons = getCannons();\n\t\t\t\tint numfiredcannons = 0;\n\t\t\t\tfor (int i = 0; i < cannons.length; i++) {\n\t\t\t\t\tif (cannons[i] != null && cannonHasTnt(cannons[i], Config.NUM_TNT_TO_FIRE_SCOURGE_TORPEDO)) {\n\t\t\t\t\t\tBlockFace face = ((Directional) cannons[i].getState().getData()).getFacing();\n\t\t\t\t\t\tboolean missingMaterial = false;\n\t\t\t\t\t\t\n\t\t\t\t\t\tfor (int id : Config.MATERIALS_NEEDED_FOR_SCOURGE_TORPEDO) {\n\t\t\t\t\t\t\tif (!cannonHasItem(cannons[i], id, 1)) {\n\t\t\t\t\t\t\t\tmissingMaterial = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (!cannons[i].getRelative(face.getModX(), 0, face.getModZ()).getType().equals(Material.AIR) || missingMaterial)\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (numfiredcannons < this.properties.MAX_NUMBER_OF_CANNONS) {\n\t\t\t\t\t\t\tnumfiredcannons++;\n\t\t\t\t\t\t\tlastFired = System.currentTimeMillis();\n\t\t\t\t\t\t\twithdrawTnt(cannons[i], Config.NUM_TNT_TO_FIRE_SCOURGE_TORPEDO);\n\t\t\t\t\t\t\tfor (int id : Config.MATERIALS_NEEDED_FOR_SCOURGE_TORPEDO) {\n\t\t\t\t\t\t\t\twithdrawItem(cannons[i], id, 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// Fire some torpedoes TODO: maybe add sound effects for tnt firing? :P\n\t\t\t\t\t\t\tnew ScourgeTorpedo(cannons[i], face);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// More cannons on ship than allowed. Not all fired - can break out of loop now.\n\t\t\t\t\t\t\t//player.sendMessage(ChatColor.AQUA + \"Some cannons did not fire. Max cannon limit is \" + ChatColor.GOLD + this.properties.MAX_NUMBER_OF_CANNONS);\n\t\t\t\t\t\t\tplayer.sendMessage(ChatColor.AQUA + \"Some missiles did not fire. item check = \" + ChatColor.GOLD + missingMaterial);\n\t\t\t\t\t\t\tplayer.sendMessage(ChatColor.AQUA + \"numFiredCannons = \" + ChatColor.GOLD + numfiredcannons);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tplayer.sendMessage(ChatColor.GOLD + this.properties.SHIP_TYPE + \" CANNOT FIRE TORPEDO\");\n\t\t} else\n\t\t\tplayer.sendMessage(ChatColor.GOLD + \"COOLING DOWN FOR \" + ChatColor.AQUA + (int)(Math.round(6 - (System.currentTimeMillis() - this.lastFired) / 1000)) + ChatColor.GOLD + \" MORE SECONDS\");\n\t}", "void fly();", "private boolean fireJet(Point direction)\r\n\t{\r\n\t\tif (fuelLevel > 0)\r\n\t\t{\r\n\t\t\tdocked = false;\r\n\t\t\tstopped = false;\r\n\t\t\t--fuelLevel;\r\n\t\t\tmyPath.add(direction);\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public boolean fire(RobotInfo enemy) throws GameActionException {\n if (rc.getType() == RobotType.LUMBERJACK) return strike(enemy);\n if (rc.hasAttacked()) return false; //One such check (just in case)\n Direction toEnemy = rc.getLocation().directionTo(enemy.location);\n if (shouldFirePentad(enemy)){\n rc.firePentadShot(toEnemy);\n }\n else if(shouldFireTriad(enemy)){\n rc.fireTriadShot(toEnemy);\n }\n else{\n if (rc.canFireSingleShot()){\n rc.fireSingleShot(toEnemy);\n }\n }\n return false;\n }", "public static void displayFirework(Player p, double x, double y, double z, ItemStack firework){\n\n //create and spawn a firework rocket from our itemstack\n EntityFireworks fw = new EntityFireworks(((CraftWorld) p.getWorld()).getHandle());\n fw.setLocation(x, y, z, 0f, 0f);\n\n PacketPlayOutSpawnEntity alive = new PacketPlayOutSpawnEntity(fw, 76);\n ((CraftPlayer) p).getHandle().playerConnection.sendPacket(alive);\n\n //i looked at what mincreaft does in vanilla whe you launch a firework on a server. I just copied what they do here by editing a datawatcher. dont ask me how or why, but it works.\n DataWatcher dataWatcher = fw.getDataWatcher();\n for(DataWatcher.WatchableObject obj: dataWatcher.c()){\n if(obj.c()==5 && obj.a()==8 && obj.b()==null){\n obj.a(firework);\n }\n }\n\n //give the entity some meta\n PacketPlayOutEntityMetadata itemMeta = new PacketPlayOutEntityMetadata(fw.getId(), fw.getDataWatcher(), true);\n ((CraftPlayer) p).getHandle().playerConnection.sendPacket(itemMeta);\n\n //also play a sound\n PacketPlayOutNamedSoundEffect sound = new PacketPlayOutNamedSoundEffect(\"fireworks.launch\", x, y, z, 3f, 1f);\n ((CraftPlayer) p).getHandle().playerConnection.sendPacket(sound);\n\n\n //wait 30 ticks before we detonate it.\n //IMPORTANT: wait too long and the players client will freeze!\n new BukkitRunnable() {\n @Override\n public void run() {\n //detonate the firework, and destroy the entity.\n PacketPlayOutEntityStatus status = new PacketPlayOutEntityStatus(fw, (byte) 17);\n ((CraftPlayer) p).getHandle().playerConnection.sendPacket(status);\n PacketPlayOutEntityDestroy destroy = new PacketPlayOutEntityDestroy(fw.getId());\n ((CraftPlayer) p).getHandle().playerConnection.sendPacket(destroy);\n }\n }.runTaskLater(Juggernaut.pluginInstance, 30L);\n }", "void fireShellAtPlayer(int playerNr, int x, int y);", "@Override\n\t\t\tpublic void shotHere(boolean wasHit, int shipMod, Coordinate c) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void shotHere(boolean wasHit, int shipMod, Coordinate c) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void shotHere(boolean wasHit, int shipMod, Coordinate c) {\n\t\t\t\t\n\t\t\t}", "public void fireAll(EventI event);", "public void shootShip(Cell cell) {\n// int shipIndex = cell.getShipIndex();\n// if (shipIndex == -1) return;\n//\n// System.out.println(shipIndex);\n// if(shipCellMap.get(shipIndex)!=null)\n// \tshipCellMap.get(shipIndex).remove(cell);\n//\n// if (shipCellMap.get(shipIndex)!=null && shipCellMap.get(shipIndex).size() == 0)\n// {\n// String infoString;\n// if (isEnemy)\n// {\n// infoString = \"An enemy ship is sinking! Enemy still has %d ships\";\n// } else\n// {\n// infoString = \"One of your ships is sinking! You still have %d ships\";\n// }\n// if(shipCellMap.get(shipIndex)!=null)\n// \tshipCellMap.remove(shipIndex);\n// removeOneShip();\n//\n// String alertString = String.format(infoString, shipNumOnBoard);\n// // The ship is sinking\n// Alert alert = new Alert(Alert.AlertType.INFORMATION,\n// alertString,\n// ButtonType.YES);\n// alert.showAndWait();\n//\n// }\n }", "public void fireNPS()\n\t{\n\t\t//Only fire if a NonPlayerShip is spawned\n\t\tif(gameObj[2].size() > 0)\n\t\t{\n\t\t\t/*Create a new Missile\n\t\t\t * and set its location equal \n\t\t\t * to a randomly chosen NonPlayerShip\n\t\t\t * and speed greater than the NPS\n\t\t\t */\n\t\t\t\n\t\t\tint r = new Random().nextInt(gameObj[2].size());\n\t\t\tif(((NonPlayerShip)gameObj[2].get(r)).getMissileCount() > 0)\n\t\t\t{\n\t\t\t\tMissile mis = new Missile(true);\n\t\t\t\tmis.setDirection(((NonPlayerShip)gameObj[2].get(r)).getDirection());\n\t\t\t\tmis.setLocation(gameObj[2].get(r).getLocation());\n\t\t\t\tmis.setSpeed(((NonPlayerShip)gameObj[2].get(r)).getSpeed() + 4);\n\t\t\t\t//add Missile to the game world\n\t\t\t\tgameObj[3].add(mis);\n\t\t\t\tSystem.out.println(\"NPS has fired a misile\");\n\t\t\t\t((NonPlayerShip)gameObj[2].get(r)).launch();\n\t\t\t}else\n\t\t\t\tSystem.out.println(\"the chosen NPS is out of missiles\");\n\t\t}else \n\t\t\tSystem.out.println(\"A NPS is not currently spawned\");\t\t\n\t}", "public void act()\n\t{\n\t\tif(getFirstDriver().isAtPump())\n\t\t{\n\t\t\tif(!getFirstDriver().isDoneRefilling())\n\t\t\t{\n\t\t\t\tgetFirstDriver().act(priceOfFuel);\n\t\t\t}\n\t\t}\n\t\telse if(getFirstDriver().isDone())\n\t\t{\n\t\t\tremoveDriver();\n\t\t}\n\t}", "private void placeShip() {\r\n\t\t// Expire the ship ship\r\n\t\tParticipant.expire(ship);\r\n\r\n\t\tclipShip.stop();\r\n\r\n\t\t// Create a new ship\r\n\t\tship = new Ship(SIZE / 2, SIZE / 2, -Math.PI / 2, this);\r\n\t\taddParticipant(ship);\r\n\t\tdisplay.setLegend(\"\");\r\n\t}", "public abstract void onTrigger();", "public void fireTorpedo() {\n\t\t// Has player waited cooldown before trying to fire again?\n\t\tif (System.currentTimeMillis() - this.lastFired > Config.WEAPON_COOLDOWN_TIME * 1000) {\n\t\t\tSystem.out.println(player.getDisplayName() + \" is attempting to fire a torpedo\");\n\t\t\t// Can this airship fire torpedoes?\n\t\t\tif (this.properties.FIRES_TORPEDO) {\n\t\t\t\tBlock[] cannons = getCannons();\n\t\t\t\tint numfiredcannons = 0;\n\t\t\t\tfor (int i = 0; i < cannons.length; i++) {\n\t\t\t\t\tif (cannons[i] != null && cannonHasTnt(cannons[i], Config.NUM_TNT_TO_FIRE_TORPEDO)) {\n\t\t\t\t\t\tBlockFace face = ((Directional) cannons[i].getState().getData()).getFacing();\n\t\t\t\t\t\tboolean missingMaterial = false;\n\t\t\t\t\t\t\n\t\t\t\t\t\tfor (int id : Config.MATERIALS_NEEDED_FOR_TORPEDO) {\n\t\t\t\t\t\t\tif (!cannonHasItem(cannons[i], id, 1)) {\n\t\t\t\t\t\t\t\tmissingMaterial = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (!cannons[i].getRelative(face.getModX(), 0, face.getModZ()).getType().equals(Material.AIR) || missingMaterial)\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (numfiredcannons < this.properties.MAX_NUMBER_OF_CANNONS) {\n\t\t\t\t\t\t\tnumfiredcannons++;\n\t\t\t\t\t\t\tlastFired = System.currentTimeMillis();\n\t\t\t\t\t\t\twithdrawTnt(cannons[i], Config.NUM_TNT_TO_FIRE_TORPEDO);\n\t\t\t\t\t\t\tfor (int id : Config.MATERIALS_NEEDED_FOR_TORPEDO) {\n\t\t\t\t\t\t\t\twithdrawItem(cannons[i], id, 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// Fire some torpedoes TODO: maybe add sound effects for tnt firing? :P\n\t\t\t\t\t\t\tnew Torpedo(cannons[i], face);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// More cannons on ship than allowed. Not all fired - can break out of loop now.\n\t\t\t\t\t\t\t//player.sendMessage(ChatColor.AQUA + \"Some cannons did not fire. Max cannon limit is \" + ChatColor.GOLD + this.properties.MAX_NUMBER_OF_CANNONS);\n\t\t\t\t\t\t\tplayer.sendMessage(ChatColor.AQUA + \"Some missiles did not fire. item check = \" + ChatColor.GOLD + missingMaterial);\n\t\t\t\t\t\t\tplayer.sendMessage(ChatColor.AQUA + \"numFiredCannons = \" + ChatColor.GOLD + numfiredcannons);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tplayer.sendMessage(ChatColor.GOLD + this.properties.SHIP_TYPE + \" CANNOT FIRE TORPEDO\");\n\t\t} else\n\t\t\tplayer.sendMessage(ChatColor.GOLD + \"COOLING DOWN FOR \" + ChatColor.AQUA + (int)(Math.round(6 - (System.currentTimeMillis() - this.lastFired) / 1000)) + ChatColor.GOLD + \" MORE SECONDS\");\n\t}", "public void doAction(SpaceWars game) {\r\n this.shieldIsOn = false;\r\n SpaceShipPhysics thisShip = this.getPhysics();\r\n SpaceShipPhysics otherShip = game.getClosestShipTo(this).getPhysics();\r\n makeMove(thisShip, otherShip);\r\n if (this.gunDisabled){this.updateGunCooldownStatus();}\r\n if (isFireNecessary(thisShip,otherShip)){\r\n this.fire(game);}\r\n this.chargeEnergy();\r\n }", "@Step\n public static void fire(final Transition _self) {\n fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand command = new fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand() {\n \t@Override\n \tpublic void execute() {\n \t\tfr.inria.diverse.sample.petrinetv2.semantics.TransitionAspectTransitionAspectProperties _self_ = fr.inria.diverse.sample.petrinetv2.semantics.TransitionAspectTransitionAspectContext.getSelf(_self);\n \t\t_privk3_fire(_self_, _self);\n \t}\n };\n fr.inria.diverse.k3.al.annotationprocessor.stepmanager.IStepManager manager = fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepManagerRegistry.getInstance().findStepManager(_self);\n if (manager != null) {\n \tmanager.executeStep(_self,command,\"Transition\",\"fire\");\n } else {\n \tcommand.execute();\n }\n }", "void doGun() {\r\n\t\tlong time = getTime()\r\n\t\t\t\t+ (int) Math\r\n\t\t\t\t\t\t.round((getRange(getX(), getY(), target.x, target.y) / (20 - (3 * firePower))));\r\n\t\tPoint2D.Double p = target.guessPosition(time);\r\n\r\n\t\t// offsets the gun by the angle to the next shot based on linear\r\n\t\t// targeting provided by the enemy class\r\n\t\tdouble gunOffset = getGunHeadingRadians()\r\n\t\t\t\t- (Math.PI / 2 - Math.atan2(p.y - getY(), p.x - getX()));\r\n\t\tsetTurnGunLeftRadians(normaliseBearing(gunOffset));\r\n\t}", "public void setFired(boolean b) {\n\t\t// TODO Auto-generated method stub\n\t\tshot=b;\n\t}", "public void fireScourge() {\n\t\t// Has player waited cooldown before trying to fire again?\t\tCHANGED to 10000\n\t\tif (System.currentTimeMillis() - this.lastFired > Config.WEAPON_COOLDOWN_TIME * 10000) {\n\t\t\tSystem.out.println(player.getDisplayName() + \" is attempting to launch napalm\");\n\t\t\t// Can this airship drop scourge?\n\t\t\tif (this.properties.FIRES_SCOURGE) {\n\t\t\t\tBlock[] cannons = getCannons();\n\t\t\t\tint numfiredcannons = 0;\n\t\t\t\tfor (int i = 0; i < cannons.length; i++) {\n\t\t\t\t\tif (cannons[i] != null && cannons[i].getRelative(0, -1, 0).getType().equals(Material.AIR) && cannonHasTnt(cannons[i], Config.NUM_TNT_TO_DROP_NAPALM)) {\n\t\t\t\t\t\tboolean missingMaterial = false;\n\t\t\t\t\t\tfor (int id : Config.MATERIALS_NEEDED_FOR_SCOURGE) {\n\t\t\t\t\t\t\tif (!cannonHasItem(cannons[i], id, 1))\n\t\t\t\t\t\t\t\tmissingMaterial = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (!missingMaterial && numfiredcannons < this.properties.MAX_NUMBER_OF_CANNONS) {\n\t\t\t\t\t\t\tnumfiredcannons++;\n\t\t\t\t\t\t\tlastFired = System.currentTimeMillis();\n\t\t\t\t\t\t\twithdrawTnt(cannons[i], Config.NUM_TNT_TO_DROP_SCOURGE);\n\t\t\t\t\t\t\tfor (int id : Config.MATERIALS_NEEDED_FOR_SCOURGE) {\n\t\t\t\t\t\t\t\twithdrawItem(cannons[i], id, 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// Fire some scourge TODO: maybe add sound effects for scourge dropping? :P\n\t\t\t\t\t\t\tnew Scourge(cannons[i]);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// More cannons on ship than allowed. Not all fired - can break out of loop now.\n\t\t\t\t\t\t\t//player.sendMessage(ChatColor.AQUA + \"Some purifiers did not fire. Max cannon limit is \" + ChatColor.GOLD + this.properties.MAX_NUMBER_OF_CANNONS);\n\t\t\t\t\t\t\tplayer.sendMessage(ChatColor.AQUA + \"Some purifiers did not fire. item check = \" + ChatColor.GOLD + missingMaterial);\n\t\t\t\t\t\t\tplayer.sendMessage(ChatColor.AQUA + \"numFiredCannons = \" + ChatColor.GOLD + numfiredcannons);\n\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tplayer.sendMessage(ChatColor.GOLD + this.properties.SHIP_TYPE + \" CANNOT DROP NAPALM\");\n\t\t} else\n\t\t\tplayer.sendMessage(ChatColor.GOLD + \"COOLING DOWN FOR \" + ChatColor.AQUA + (int)(Math.round(6 - (System.currentTimeMillis() - this.lastFired) / 1000)) + ChatColor.GOLD + \" MORE SECONDS\");\n\t}", "@Override\n\tpublic void startAction() {\n\t if (!balls.isEmpty() && firingBall == null) {\n\t gb.addToActiveList(this);\n\t //fire next ball\n\t firingBall = (Ball)balls.remove(0);\n\t firingBall.setAbsorbed(false);\n\t firingBall.setVy(-50*25);\n\t //align balls that are being held\n\t if (!balls.isEmpty()) setBalls();\n\t }\n\t}", "void trigger();", "private void handleShooting(SpaceWars game, GameGUI gui) {\r\n\t\tif (gui.isShotPressed()) {\r\n\t\t\tfire(game);\r\n\t\t}\r\n\t}", "private void quickFireBulletFire() {\n\n\t\tbulletArrayList.add(\n\t\t\t\tnew Bullet(xPosition + ((width / 2) - bulletWidth / 2), bulletYPosition, bulletWidth, bulletHeight, \"Pink\"));\n\t}", "public void doWeaponFiring(FireEngine[] fireEngines) {\n if (!dead && weapon != null) {\n Object firedObject = weapon.fire(fireEngines);\n if (firedObject != null) {\n if (firedObject instanceof Projectile) {\n projectiles.add((Projectile) firedObject);\n } else {\n weaponObjects.add(firedObject);\n }\n }\n }\n }", "@Override\n public void hitFeedBack(boolean hit, Fleet enemyShips) {\n this.hit = hit;\n }", "public void setFire(AgentModel model, int area)\r\n/* 495: */ {\r\n/* 496:599 */ float x = model.getX();\r\n/* 497:600 */ float y = model.getY();\r\n/* 498:601 */ float startX = x - (int)Math.floor(area / 2);\r\n/* 499:602 */ float startY = y - (int)Math.floor(area / 2);\r\n/* 500:604 */ for (int px = (int)startX; px < startX + area; px++) {\r\n/* 501:606 */ for (int py = (int)startY; py < startY + area; py++)\r\n/* 502: */ {\r\n/* 503:608 */ System.out.println(\"Fire to \" + px + \":\" + py);\r\n/* 504:609 */ setFire(px, py);\r\n/* 505: */ }\r\n/* 506: */ }\r\n/* 507: */ }", "public boolean isFire() {\n return this.type == Type.FIRE;\n }", "boolean processFireCmd( String [] s )\n\t{\n\t\tShip ship = this.man.getOpponent(this).getGameBoard().fireMissle(new Position(Integer.parseInt(s[0]), Integer.parseInt(s[1])));\n\t\t\n\t\tif (ship == null) {\n\t\t\tout.println(\"You missed!\");\n\t\t\tout.flush();\n\t\t\treturn false;\n\t\t} else {\n\t\t\tout.println(ship.getName() + \" was hit!\");\n\t\t\tout.flush();\n\t\t\treturn true;\n\t\t}\n\t}", "abstract void fly();", "protected void handleFiring(double dt)\r\n\t{\r\n\t\t//Fire if the mouse button is pressed.\r\n\t\tif (input.getMouseButton(InputHandler.FIRE) && charge <= 0 && energy >= energyUse)\r\n\t\t{\r\n\t\t\tEntityBullet bullet = (EntityBullet)c.createEntity(w, EI.EntityBullet);\r\n\t\t\tdouble xDir = Math.cos(horizontalDir)*Math.cos(verticalDir),\r\n\t\t\t\t\tyDir = Math.sin(horizontalDir)*Math.cos(verticalDir), zDir = Math.sin(verticalDir);\r\n\t\t\t\r\n\t\t\tdouble xDisp = shotX*Math.cos(verticalDir) - shotZ*Math.sin(verticalDir);\r\n\t\t\tdouble zDisp = shotX*Math.sin(verticalDir) + shotZ*Math.cos(verticalDir);\r\n\t\t\t\r\n\t\t\tdouble yDisp = xDisp*Math.sin(horizontalDir) - shotY*Math.cos(horizontalDir);\r\n\t\t\txDisp = xDisp*Math.cos(horizontalDir) + shotY*Math.sin(horizontalDir);\r\n\t\t\t\r\n\t\t\t//t is to prevent bullets from spawning through walls.\r\n\t\t\t\r\n\t\t\tdouble t = w.getCollision().getBulletCollision(x, y, z, xDisp, yDisp, zDisp);\r\n\t\t\t\r\n\t\t\tif (t == 1)\r\n\t\t\t{\r\n\t\t\t\t//Create the bullet\r\n\t\t\t\tenergy -= energyUse;\r\n\t\t\t\tbullet.setPosition(x+xDisp, y+yDisp, z+zDisp);\r\n\t\t\t\tint vel = 60;\r\n\t\t\t\t\r\n\t\t\t\tbullet.setVelocity(vel*xDir, vel*yDir, vel*zDir);\r\n\t\t\t\tbullet.setDamage(1, 1);//damage, knockback\r\n\t\t\t\tbullet.setColor(0, 1, 0);\r\n\t\t\t\t\r\n\t\t\t\tbullet.setOwner(player);\r\n\t\t\t\t\r\n\t\t\t\tw.create(bullet);\r\n\t\t\t\t\r\n\t\t\t\tcharge = shotDelay;\r\n\t\t\t\t\r\n\t\t\t\t//Laser gun sound\r\n\t\t\t\tc.getSoundHandler().playSound(0);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t//Weapon recharging\r\n\t\tcharge -= dt;\r\n\t}", "public static void launchFirewor(Player p) {\n Firework fw = (Firework) p.getWorld().spawnEntity(p.getLocation(), EntityType.FIREWORK);\n FireworkMeta fwm = fw.getFireworkMeta();\n \n //Our random generator\n Random r = new Random(); \n\n //Get the type\n int rt = r.nextInt(4) + 1;\n Type type = Type.BALL; \n if (rt == 1) type = Type.BALL;\n if (rt == 2) type = Type.BALL_LARGE;\n if (rt == 3) type = Type.BURST;\n if (rt == 4) type = Type.CREEPER;\n if (rt == 5) type = Type.STAR;\n \n //Get our random colours \n Color c1 = Color.AQUA;\n Color c2 = Color.BLACK;\n \n //Create our effect with this\n FireworkEffect effect = FireworkEffect.builder().flicker(r.nextBoolean()).withColor(c1).withFade(c2).with(type).trail(r.nextBoolean()).build();\n \n //Then apply the effect to the meta\n fwm.addEffect(effect);\n \n //Generate some random power and set it\n int rp = r.nextInt(2) + 1;\n fwm.setPower(rp);\n \n //Then apply this to our rocket\n fw.setFireworkMeta(fwm); \n\t}", "public void trigger(Fact fact) {\n\t\t\n\t}", "protected boolean isFireNecessary(SpaceShipPhysics thisShip, SpaceShipPhysics otherShip){\r\n double angleToTarget = thisShip.angleTo(otherShip);\r\n return (angleToTarget < Math.abs(FIRE_DISTANCE_THRESHOLD));\r\n }", "public void drawFire(Graphics g){\n \n if(player.getScore()>= initScore+1000){\n fireRecord.add(new Fire());\n initScore+=1000;\n } \n \n for(int i=0; i<fireRecord.size(); i++){\n Fire current = fireRecord.get(i);\n boolean test = current.test(player.getX(), player.getY(), player.getW(), player.getH(),-5); \n if(!delay){\n if(test){\n player.loseLife();\n delay = true; //If player loses a life, become invulnerable for a short period of time\n }\n }\n \n if (moveCount%5000 == 0){ /// Delay after taking dmg\n delay = false;\n } \n \n if(moveCount%speedAdj==0){ //Adjust Speed\n current.addX();\n current.addY();\n }\n g.drawImage(current.getImage(), current.getX(), current.getY(), this); \n } \n }", "public boolean isFire(Point3d position){\r\n\t\tBlockPos pos = new BlockPos(position.x, position.y, position.z);\r\n\t\tIBlockState state = world.getBlockState(pos); \r\n\t\treturn state.getMaterial().equals(Material.FIRE);\r\n\t}" ]
[ "0.738382", "0.738382", "0.7024969", "0.6859979", "0.6835894", "0.6722237", "0.67121917", "0.66708934", "0.6659564", "0.6635049", "0.65857005", "0.6552142", "0.6507305", "0.6489334", "0.6485122", "0.6483599", "0.6471778", "0.6461934", "0.64470327", "0.64417565", "0.64360404", "0.64120144", "0.64017725", "0.63875383", "0.63588846", "0.63195276", "0.62913513", "0.6276115", "0.62736106", "0.6237304", "0.6233154", "0.62024534", "0.6178956", "0.6169322", "0.6168784", "0.6161979", "0.613428", "0.61101556", "0.61092055", "0.61070377", "0.61050725", "0.60973734", "0.6047055", "0.6024403", "0.6015166", "0.60094", "0.59976846", "0.59754413", "0.5916773", "0.59030473", "0.58978844", "0.5896391", "0.58867496", "0.58694804", "0.58602464", "0.58198184", "0.58137906", "0.58050746", "0.57882375", "0.57882375", "0.5779346", "0.57767195", "0.5771188", "0.57696986", "0.5763511", "0.5755667", "0.5732689", "0.5720037", "0.57182884", "0.571701", "0.57099575", "0.57099575", "0.57099575", "0.5708686", "0.5692413", "0.56917804", "0.56904125", "0.5683443", "0.56763303", "0.5671184", "0.5662528", "0.5662119", "0.56605244", "0.5655515", "0.56520617", "0.5645569", "0.5645265", "0.56429625", "0.56425375", "0.5641386", "0.5641342", "0.56405467", "0.564042", "0.5640116", "0.5639529", "0.5631722", "0.5622081", "0.5611701", "0.56011355", "0.55994713", "0.55989337" ]
0.0
-1
Scans the area for ships
private static String scan(Request req) { // Generate model from json, get coordinates from fire request BattleshipModelUpdated model = (BattleshipModelUpdated) getModelFromReq( req ); model.resetArrayUpdated( model ); model = model.Scan( model, req ); model.resetArrayUpdated( model ); model = model.resetArrayUpdated( model ); Gson gson = new Gson(); return gson.toJson( model ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void placeAllShips()\n {\n \t\n \t//place 2 aircrafts\n \tfor(int n = 0; n < 2; n++){\n \trandomRow = rnd.nextInt(10); //get random integer from 0-9\n \trandomCol = rnd.nextInt(10);//get random integer from 0-9\n \trandomDir = rnd.nextInt(2);//get random integer from 0-1\n \twhile(!checkOverlap(randomRow,randomCol,AIRCRAFT_CARRIER_LENGTH)){ //check if random integers overlap existing ones\n \t\trandomRow = rnd.nextInt(10);\n \trandomCol = rnd.nextInt(10);\n \t}\n \t//place aircraft if no overlap\n \tfor(int i = randomRow; i <randomRow + AIRCRAFT_CARRIER_LENGTH ; i++){\n \t\tfor(int j = randomCol; j < randomCol + AIRCRAFT_CARRIER_LENGTH; ++j){\n \t\t\tif(randomDir == DIRECTION_RIGHT)\n \t\t\t\tgrid[i][randomCol] = SHIP;\n \t\t\tif(randomDir == DIRECTION_DOWN)\n \t\t\t\tgrid[randomRow][j] = SHIP;\n \t\t\t}\n \t\t}\n \t}\n \t\n \t\n \t//place battleship\n \trandomRow = rnd.nextInt(10);\n \trandomCol = rnd.nextInt(10);\n \trandomDir = rnd.nextInt(2);\n \twhile(!checkOverlap(randomRow,randomCol,BATTLESHIP_LENGTH)){\n \t\trandomRow = rnd.nextInt(10);\n \trandomCol = rnd.nextInt(10);\n \t}\n \tfor(int i = randomRow; i <randomRow + BATTLESHIP_LENGTH ; i++){\n\t\t\tfor(int j = randomCol; j < randomCol + BATTLESHIP_LENGTH; j++){\n\t\t\t\tif(randomDir == DIRECTION_RIGHT)\n\t\t\t\t\tgrid[i][randomCol] = SHIP;\n\t\t\t\tif(randomDir == DIRECTION_DOWN)\n\t\t\t\t\tgrid[randomRow][j] = SHIP;\n\t\t\t}\n\t\t}\t\n \t//place destroyer\n \trandomRow = rnd.nextInt(10);\n \trandomCol = rnd.nextInt(10);\n \trandomDir = rnd.nextInt(2);\n \twhile(!checkOverlap(randomRow,randomCol,DESTROYER_LENGTH)){\n \t\trandomRow = rnd.nextInt(10);\n \trandomCol = rnd.nextInt(10);\n \t}\n \tfor(int i = randomRow; i < randomRow + DESTROYER_LENGTH ; i++){\n\t\t\tfor(int j = randomCol; j < randomCol + DESTROYER_LENGTH; j++){\n\t\t\t\tif(randomDir == DIRECTION_RIGHT)\n\t\t\t\t\tgrid[i][randomCol] = SHIP;\n\t\t\t\tif(randomDir == DIRECTION_DOWN)\n\t\t\t\t\tgrid[randomRow][j] = SHIP;\n\t\t\t}\n\t\t}\t\n \t//place submarine\n \trandomRow = rnd.nextInt(10);\n \trandomCol = rnd.nextInt(10);\n \trandomDir = rnd.nextInt(2);\n \twhile(!checkOverlap(randomRow,randomCol,SUBMARINE_LENGTH)){\n \t\trandomRow = rnd.nextInt(10);\n \trandomCol = rnd.nextInt(10);\n \t}\n \tfor(int i = randomRow; i < randomRow + SUBMARINE_LENGTH ; i++){\n\t\t\tfor(int j = randomCol; j < randomCol + SUBMARINE_LENGTH; j++){\n\t\t\t\tif(randomDir == DIRECTION_RIGHT)\n\t\t\t\t\tgrid[i][randomCol] = SHIP;\n\t\t\t\tif(randomDir == DIRECTION_DOWN)\n\t\t\t\t\tgrid[randomRow][j] = SHIP;\n\t\t\t}\n\t\t}\n \t//place patrol\n \trandomRow = rnd.nextInt(10);\n \trandomCol = rnd.nextInt(10);\n \trandomDir = rnd.nextInt(2);\n \twhile(!checkOverlap(randomRow,randomCol,PATROL_BOAT_LENGTH)){\n \t\trandomRow = rnd.nextInt(10);\n \trandomCol = rnd.nextInt(10);\n \t}\n \tfor(int i = randomRow; i < randomRow + PATROL_BOAT_LENGTH ; i++){\n\t\t\tfor(int j = randomCol; j < randomCol + PATROL_BOAT_LENGTH; j++){\n\t\t\t\tif(randomDir == DIRECTION_RIGHT)\n\t\t\t\t\tgrid[i][randomCol] = SHIP;\n\t\t\t\tif(randomDir == DIRECTION_DOWN)\n\t\t\t\t\tgrid[randomRow][j] = SHIP;\n\t\t\t}\n\t\t}\n }", "private void setShips() {\n //This clears the board. To \"Invalidate\"\n for (int x = 0; x < maxN; x++) {\n for (int y = 0; y < maxN; y++) {\n ivCell[x][y].setBackgroundResource(gridID);\n }\n }\n\n for (Ship s : ships) {\n for (int i = 0; i < s.getShipSize(); i++) {\n if(player)ivCell[s.getBodyLocationPoints()[i].x][s.getBodyLocationPoints()[i].y].setBackgroundResource(s.getBodyResources()[i]);\n updateOccupiedCells(s.getBodyLocationPoints());\n }\n }\n\n }", "private void setShips(){\n\t\t\n\t\tint x,y;\n\t\tboolean orientacja;\n\t\tRandom generator = new Random();\n\t\t\n\t\tint ilosc = 1;\n\t\tint j = 0;\n\t\tfor(int i = 4; i > 0 ; i--){\n\t\t\twhile( j < ilosc ){\n\t\t\t\tx = generator.nextInt( 13 );\t\t\n\t\t\t\ty = generator.nextInt( 13 );\n\t\t\t\torientacja = generator.nextBoolean();\n\t\t\t\tif( isPossibleAddShip(x, y, i, orientacja) ) j++;\t\n\t\t\t}\n\t\tilosc++;\n\t\tj=0;\n\t\t}\n\t\t\n\t}", "public void findShips(int game[][]) {\n\t\tint counter =0; // total number of cells searched\n\t\tint count = 0;\n\t\tString carr=\"\"; // Concatenating the carrier strings.\n\t\tString sub = \"\"; // Concatenating the submarines strings.\n\t\t//System.out.println(\"Horizontal is implemented\"+ game);\n\t\tfor(int i=0 ; i<25; i++) {\n\t\t\tfor(int j =0; j<25;j++) {\n\t\t\t\tif(game[i][j]==1) {\n\t\t\t\t\t//System.out.print(\" Found Carrier at (\"+i+\",\"+j+\") \");\n\t\t\t\t\tString a = \"(\"+i+\",\"+j+\")\";\n\t\t\t\t\tcarr = carr.concat(a);\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\telse if(game[i][j]==2) {\n\t\t\t\t\t//System.out.print(\" Found submarine at (\"+i+\",\"+j+\") \");\n\t\t\t\t\tString b = \"(\"+i+\",\"+j+\")\";\n\t\t\t\t\tsub = sub.concat(b);\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t\tif(count==8) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tSystem.out.println(\"Strategy: Horizontal Sweep\");\n\t\tSystem.out.println(\"Number of cells searched: \"+counter);\n\t\tSystem.out.print(\"Found Carrier at \"+carr+\";\");\n\t\tSystem.out.println(\" Found Sub at \"+sub);\n\t\t\n\t}", "private void cp2PlaceShips(){\n\t\tint start = 5, stop = 9, orientation;\n\t\tboolean placed;\n\n\t\tfor(int x = start; x <= stop; x++){\n\t\t\tplaced = false;\n\n\t\t\twhile(!placed)\n\t\t\t{\n\t\t\t\tranX = ranNum.nextInt(600);\n\t\t\t\tranY = ranNum.nextInt(600);\n\t\t\t\torientation = ranNum.nextInt(2);\n\t\t\t\tplaced = true;\n\n\t\t\t\tships[x] = new Ship(x, shipNames[x], 'H', shipPlayer[x], shipWidth[x], shipHeight[x], ranX, ranY, shipSize[x]);\n\t\t\t\tships[x].setLocation(ships[x].getX(), ships[x].getY());\n\t\t\t\tships[x].setSize(ships[x].getWidth(), ships[x].getHeight());\n\n\t\t\t\tif(orientation == 1){\n\t\t\t\t\tchangeOrientation(x);\n\t\t\t\t}\n\n\t\t\t\tif(ships[x].getX() + ships[x].getWidth() < boardTwo.getWidth() && ships[x].getY() + ships[x].getHeight() < boardTwo.getHeight()){\n\t\t\t\t\tfor(int y = start; y < x; y++){\n\t\t\t\t\t\tif(ships[x].getBounds().intersects(ships[y].getBounds())){\n\t\t\t\t\t\t\tplaced = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tplaced = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tboardTwo.add(ships[x]);\n\t\t}\n\t}", "private void cp1PlaceShips(){\n\t\tint start = 0;\n\t\tint stop = 4;\n\t\tboolean placed;\n\n\t\tfor(int x = start; x <= stop; x++){\n\t\t\tplaced = false;\n\n\t\t\twhile(!placed)\n\t\t\t{\n\t\t\t\tranX = ranNum.nextInt(600);\n\t\t\t\tranY = ranNum.nextInt(600);\n\t\t\t\tplaced = true;\n\n\t\t\t\tships[x] = new Ship(x, shipNames[x], 'H', shipPlayer[x], shipWidth[x], shipHeight[x], ranX, ranY, shipSize[x]);\n\t\t\t\tships[x].setLocation(ships[x].getX(), ships[x].getY());\n\t\t\t\tships[x].setSize(ships[x].getWidth(), ships[x].getHeight());\n\n\t\t\t\tif(ships[x].getX() + ships[x].getWidth() < boardOne.getWidth() && ships[x].getY() + ships[x].getHeight() < boardOne.getHeight()){\n\t\t\t\t\tfor(int y = start; y < x; y++){\n\t\t\t\t\t\tif(ships[x].getBounds().intersects(ships[y].getBounds())){\n\t\t\t\t\t\t\tplaced = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tplaced = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tboardOne.add(ships[x]);\n\t\t}\n\t}", "abstract void findArea();", "abstract void findArea();", "private void setShips(int x, int y) {\n\t\t// Mausi innerhalb des 1. Spielfeldes?\n\t\tif (x > 450 && x < 750 && y > 90 && y < 390) {\n\t\t\t// Position auf dem Spielfeld ermitteln\n\t\t\tint posX = Math.floorDiv(x - 450, 30);\n\t\t\tint posY = Math.floorDiv(y - 90, 30);\n\t\t\t// Wie \"lang\" ist das Schiff\n\t\t\tint anzahl = ships[anzahlschiffe - 1];\n\t\t\t// kontrolle ob der Punkt wo das Schiff gesetzt wird\n\t\t\t// nicht bereits in Liste ist. Ansonsten funktion beeneden.\n\t\t\t// Einmal fuer die drehung (vertikal) und einmal ohne (horizontal)\n\t\t\tif (drehen) {\n\t\t\t\tif (posX + anzahl <= 10) {\n\t\t\t\t\tfor (int l = 0; l < anzahl; l++) {\n\t\t\t\t\t\t// kontrolle ob nicht bereits in Liste\n\t\t\t\t\t\tif (gesetzeSchiffe.contains(new Point(posX + l, posY)))\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (posY + anzahl <= 10) {\n\t\t\t\t\tfor (int l = 0; l < anzahl; l++) {\n\t\t\t\t\t\t// kontrolle ob nicht bereits in Liste\n\t\t\t\t\t\tif (gesetzeSchiffe.contains(new Point(posX, posY + l)))\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Wenn das Schiff gesetzt werden kann setze es.\n\t\t\tif (drehen) {\n\t\t\t\tif (posX + anzahl <= 10) {\n\t\t\t\t\tfor (int l = 0; l < anzahl; l++) {\n\t\t\t\t\t\tgesetzeSchiffe.add(new Point(posX + l, posY));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (posY + anzahl <= 10) {\n\t\t\t\t\tfor (int l = 0; l < anzahl; l++) {\n\t\t\t\t\t\tgesetzeSchiffe.add(new Point(posX, posY + l));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Gesetzte Schiffe reduzieren.\n\t\t\tanzahlschiffe--;\n\t\t\t// Wenn alle Schiffe gesetzt wurden dann \"beende\" das Schiffe\n\t\t\t// setzen.\n\t\t\tif (anzahlschiffe == 0) {\n\t\t\t\tstopPlaceingShips();\n\t\t\t\ttry {\n\t\t\t\t\t//Dem Server die Schiffe mitteilen\n\t\t\t\t\tserver.setShips(this.gesetzeSchiffe, this.spielerNummer);\n\t\t\t\t\tthis.setStatus(\"Bitte warten...\");\n\t\t\t\t} catch (RemoteException e) {\n\t\t\t\t\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Dannach neu malen damit der User die aenderungen gleich sieht!\n\t\t\tthis.repaint();\n\n\t\t}\n\t}", "public void doScan() {\n\t\tSystemMapObject[] results = scan();\r\n\t\t// add to its current map.\r\n\t\t// System.out.println(toStringInternalMap());\r\n\t\tupdateMowerCords();\r\n\t\t// NorthWest\r\n\t\tif (y + 1 >= this.map.size()) {\r\n\t\t\tthis.map.add(new ArrayList<SystemMapObject>());\r\n\t\t\tthis.map.get(y + 1).add(0, results[7]);\r\n\t\t} else if (x - 1 <= 0) {\r\n\t\t\tthis.map.get(y + 1).add(x, results[7]);\r\n\t\t} else {\r\n\t\t\tthis.map.get(y + 1).set(x - 1, results[7]);\r\n\t\t}\r\n\t\tupdateMowerCords();\r\n\t\t// West\r\n\t\tif (this.map.get(y).size() < 2) {\r\n\t\t\tthis.map.get(y).add(0, results[6]);\r\n\t\t} else if (x - 1 < 0) {\r\n\t\t\tthis.map.get(y).add(0, results[6]);\r\n\t\t} else {\r\n\t\t\tthis.map.get(y).set(x - 1, results[6]);\r\n\t\t}\r\n\t\t// SouthWest\r\n\t\tupdateMowerCords();\r\n\t\tif (y - 1 < 0) {\r\n\t\t\tthis.map.add(0, new ArrayList<SystemMapObject>());\r\n\t\t\tthis.map.get(0).add(0, results[5]);\r\n\t\t} else if (this.map.get(y - 1).size() < 2) {\r\n\t\t\tthis.map.get(y - 1).add(0, results[5]);\r\n\t\t} else if (this.map.get(y - 1).size() <= x - 1) {\r\n\t\t\tthis.map.get(y - 1).add(results[5]);\r\n\t\t} else {\r\n\t\t\tthis.map.get(y - 1).set(x - 1, results[5]);\r\n\t\t}\r\n\t\tupdateMowerCords();\r\n\t\t// North\r\n\t\tif (y + 1 < this.map.size() && x >= this.map.get(y + 1).size()) {\r\n\t\t\tif (x >= this.map.get(y + 1).size()) {\r\n\t\t\t\tthis.map.get(y+1).add(results[0]);\r\n\t\t\t} else {\r\n\t\t\t\tthis.map.get(y + 1).add(x, results[0]);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthis.map.get(y + 1).set(x, results[0]);\r\n\t\t}\r\n\t\tupdateMowerCords();\r\n\t\t// NorthEast\r\n\t\tif (this.map.get(y + 1).size() <= x + 1) {\r\n\t\t\tthis.map.get(y + 1).add(results[1]);\r\n\t\t} else {\r\n\t\t\tthis.map.get(y + 1).set(x + 1, results[1]);\r\n\t\t}\r\n\t\tupdateMowerCords();\r\n\t\t// East\r\n\t\tif (this.map.get(y).size() <= x + 1) {\r\n\t\t\tthis.map.get(y).add(results[2]);\r\n\t\t} else {\r\n\t\t\tthis.map.get(y).set(x + 1, results[2]);\r\n\t\t}\r\n\t\tupdateMowerCords();\r\n\r\n\t\t// South\r\n\t\tif (y - 1 < 0) {\r\n\t\t\tthis.map.add(0, new ArrayList<SystemMapObject>());\r\n\t\t\tthis.map.get(0).add(results[4]);\r\n\t\t} else if (x >= this.map.get(y - 1).size()) {\r\n\t\t\tthis.map.get(y - 1).add(results[4]);\r\n\t\t} else {\r\n\t\t\tthis.map.get(y - 1).set(x, results[4]);\r\n\t\t}\r\n\t\tupdateMowerCords();\r\n\t\t// South East\r\n\t\tif (this.map.get(y - 1).size() <= x + 1) {\r\n\t\t\tthis.map.get(y - 1).add(results[3]);\r\n\t\t} else {\r\n\t\t\tthis.map.get(y - 1).set(x + 1, results[3]);\r\n\t\t}\r\n\r\n\t\tupdateMowerCords();\r\n\t\t// System.out.println(\"This is your X:\" + this.x);\r\n\t\t// System.out.println(\"This is your Y:\" + this.y);\r\n\t\t//\r\n\t\t// System.out.println(toStringInternalMap());\r\n\t\t// System.out.println(\"-------------------------------------------------------------------------------------\");\r\n\r\n\t}", "public abstract int[][] setupBattleships(int[] ships, int gridSize);", "private void fillAreaAround(int[][] shots, int x, int y) {\n for (int i = putInSea(x - 1); i <= putInSea(x + 1); i++)\n for (int j = putInSea(y - 1); j <= putInSea(y + 1); j++)\n if (shots[i][j] == 0) shots[i][j] = 1;\n }", "public void startPlaceingShips() {\n\t\tSystem.out.println(\"[DEBUG] Schiffe setzen [START]\");\n\t\tsetzeSchiffe = true;\n\t\t//Die schiffe festlegen\n\t\tanzahlschiffe = ships.length;\n\t}", "public boolean placeComputerShipsSmart(int pattern) {\n if(cpuHasPlaced){\n return false;\n }\n switch(pattern) {\n case 1:\n computerShips[0].setShip(1, 2, 1);\n for (int i = 2; i < 7; i++) {\n computerPlayerBoard[i][1] = board.ship.ordinal();\n }\n computerShips[1].setShip(3, 4, 1);\n for (int j = 4; j < 8; j++){\n computerPlayerBoard[j][3] = board.ship.ordinal();\n }\n computerShips[2].setShip(5, 3, 0);\n for (int i = 3; i < 6; i++){\n computerPlayerBoard[i][5] = board.ship.ordinal();\n }\n computerShips[3].setShip(4, 1, 0);\n for (int i = 4; i < 7; i++){\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n computerShips[4].setShip(8, 5, 1);\n for (int i = 5; i < 7; i++){\n computerPlayerBoard[i][8] = board.ship.ordinal();\n }\n\n break;\n case 2:\n computerShips[0].setShip(4, 2, 1);\n for (int i = 2; i < 7; i++) {\n computerPlayerBoard[i][4] = board.ship.ordinal();\n }\n computerShips[1].setShip( 6, 3, 1);\n for (int j = 3; j < 7; j++){\n computerPlayerBoard[j][6] = board.ship.ordinal();\n }\n computerShips[2].setShip( 6, 0, 0);\n for (int i = 6; i < 9; i++){\n computerPlayerBoard[0][i] = board.ship.ordinal();\n }\n computerShips[3].setShip( 1, 8, 0);\n for (int i = 1; i < 4; i++){\n computerPlayerBoard[8][i] = board.ship.ordinal();\n }\n computerShips[4].setShip( 1, 2, 1);\n for (int i = 2; i < 4; i++){\n computerPlayerBoard[i][1] = board.ship.ordinal();\n }\n\n break;\n case 4:\n computerShips[0].setShip( 0, 2, 1);\n for (int i = 2; i < 7; i++) {\n computerPlayerBoard[i][0] = board.ship.ordinal();\n }\n computerShips[1].setShip( 8, 3, 1);\n for (int j = 3; j < 7; j++){\n computerPlayerBoard[j][8] = board.ship.ordinal();\n }\n computerShips[2].setShip( 5, 2, 1);\n for (int i = 2; i < 5; i++){\n computerPlayerBoard[i][5] = board.ship.ordinal();\n }\n computerShips[3].setShip( 3, 8, 0);\n for (int i = 3; i < 6; i++){\n computerPlayerBoard[8][i] = board.ship.ordinal();\n }\n computerShips[4].setShip(0, 9, 0);\n for (int i = 0; i < 2; i++){\n computerPlayerBoard[9][i] = board.ship.ordinal();\n }\n\n break;\n case 5:\n computerShips[0].setShip( 7, 5, 1);\n for (int i = 5; i < 10; i++) {\n computerPlayerBoard[i][7] = board.ship.ordinal();\n }\n computerShips[1].setShip( 1, 1, 1);\n for (int j = 1; j < 5; j++){\n computerPlayerBoard[j][1] = board.ship.ordinal();\n }\n computerShips[2].setShip( 4, 2, 0);\n for (int i = 4; i < 7; i++){\n computerPlayerBoard[2][i] = board.ship.ordinal();\n }\n computerShips[3].setShip( 1, 8, 0);\n for (int i = 1; i < 4; i++){\n computerPlayerBoard[8][i] = board.ship.ordinal();\n }\n computerShips[4].setShip( 3, 6, 0);\n for (int i = 3; i < 5; i++){\n computerPlayerBoard[6][i] = board.ship.ordinal();\n }\n\n break;\n case 6:\n computerShips[0].setShip( 3, 3, 0);\n for (int i = 3; i < 8; i++) {\n computerPlayerBoard[3][i] = board.ship.ordinal();\n }\n computerShips[1].setShip( 3, 7, 0);\n for (int j = 3; j < 7; j++){\n computerPlayerBoard[7][j] = board.ship.ordinal();\n }\n computerShips[2].setShip( 7, 4, 0);\n for (int i =7; i < 10; i++){\n computerPlayerBoard[4][i] = board.ship.ordinal();\n }\n computerShips[3].setShip( 2, 5, 0);\n for (int i = 2; i < 5; i++){\n computerPlayerBoard[5][i] = board.ship.ordinal();\n }\n computerShips[4].setShip(8, 8, 0);\n for (int i = 8; i < 10; i++){\n computerPlayerBoard[8][i] = board.ship.ordinal();\n }\n\n break;\n case 7:\n computerShips[0].setShip( 3, 6, 0);\n for (int i = 3; i < 8; i++) {\n computerPlayerBoard[6][i] = board.ship.ordinal();\n }\n computerShips[1].setShip(1, 2, 1);\n for (int j = 2; j < 6; j++){\n computerPlayerBoard[j][1] = board.ship.ordinal();\n }\n computerShips[2].setShip( 7, 4, 1);\n for (int i =7; i < 10; i++){\n computerPlayerBoard[4][i] = board.ship.ordinal();\n }\n computerShips[3].setShip( 2, 5, 0);\n for (int i = 2; i < 5; i++){\n computerPlayerBoard[5][i] = board.ship.ordinal();\n }\n computerShips[4].setShip( 8, 8, 0);\n for (int i = 8; i < 10; i++){\n computerPlayerBoard[8][i] = board.ship.ordinal();\n }\n\n break;\n case 8:\n computerShips[0].setShip(5, 1, 0);\n for (int i = 5; i < 10; i++) {\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n computerShips[1].setShip( 7, 4, 1);\n for (int j = 4; j < 8; j++){\n computerPlayerBoard[j][7] = board.ship.ordinal();\n }\n computerShips[2].setShip( 4, 6, 1);\n for (int i =6; i < 9; i++){\n computerPlayerBoard[i][4] = board.ship.ordinal();\n }\n computerShips[3].setShip( 2, 4, 1);\n for (int i = 4; i < 7; i++){\n computerPlayerBoard[i][2] = board.ship.ordinal();\n }\n computerShips[4].setShip( 0, 1, 1);\n for (int i = 1; i < 3; i++){\n computerPlayerBoard[i][0] = board.ship.ordinal();\n }\n\n break;\n case 9:\n computerShips[0].setShip( 5, 1, 0);\n for (int i = 5; i < 10; i++) {\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n computerShips[1].setShip( 7, 4, 1);\n for (int j = 4; j < 8; j++){\n computerPlayerBoard[j][7] = board.ship.ordinal();\n }\n computerShips[2].setShip( 6, 3, 1);\n for (int i =3; i < 6; i++){\n computerPlayerBoard[i][6] = board.ship.ordinal();\n }\n computerShips[3].setShip( 0, 1, 0);\n for (int i = 0; i < 3; i++){\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n computerShips[4].setShip( 5, 8, 1);\n for (int i = 8; i < 10; i++){\n computerPlayerBoard[i][5] = board.ship.ordinal();\n }\n\n break;\n case 10:\n computerShips[0].setShip( 9, 3, 1);\n for (int i = 3; i < 8; i++) {\n computerPlayerBoard[i][9] = board.ship.ordinal();\n }\n computerShips[1].setShip( 7, 4, 1);\n for (int j = 4; j < 8; j++){\n computerPlayerBoard[j][7] = board.ship.ordinal();\n }\n computerShips[2].setShip( 4, 6, 1);\n for (int i =6; i < 9; i++){\n computerPlayerBoard[4][i] = board.ship.ordinal();\n }\n computerShips[3].setShip( 2, 4, 1);\n for (int i = 4; i < 7; i++){\n computerPlayerBoard[i][2] = board.ship.ordinal();\n }\n computerShips[4].setShip( 0, 1, 1);\n for (int i = 1; i < 3; i++){\n computerPlayerBoard[i][0] = board.ship.ordinal();\n }\n\n break;\n case 11:\n //carrier\n computerShips[0].setShip( 1, 3, 0);\n for(int i = 1; i < 6; i++){\n computerPlayerBoard[3][i] = board.ship.ordinal();\n }\n //battleship\n computerShips[1].setShip(1, 6, 0);\n for(int i = 1; i < 5; i++){\n computerPlayerBoard[6][i] = board.ship.ordinal();\n }\n //submarine\n computerShips[2].setShip( 5, 6, 1);\n for(int i = 6; i < 8; i++){\n computerPlayerBoard[i][5] = board.ship.ordinal();\n }\n //cruiser\n computerShips[3].setShip( 1, 0, 0);\n for(int i = 1; i < 4; i++){\n computerPlayerBoard[0][i] = board.ship.ordinal();\n }\n //destroyer\n computerShips[4].setShip( 7, 0, 1);\n for(int i = 0; i < 2; i++){\n computerPlayerBoard[i][7] = board.ship.ordinal();\n }\n\n break;\n case 12:\n //carrier (5)\n computerShips[0].setShip( 2, 1, 0);\n for (int i = 2; i < 7; i++) {\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n //battleship (4)\n computerShips[1].setShip( 4, 3, 1);\n for (int j = 3; j < 7; j++){\n computerPlayerBoard[j][4] = board.ship.ordinal();\n }\n //submarine (3)\n computerShips[2].setShip( 7, 3, 1);\n for (int i = 3; i < 6; i++){\n computerPlayerBoard[i][7] = board.ship.ordinal();\n }\n //cruiser (3)\n computerShips[3].setShip( 2, 9, 0);\n for (int i = 2; i < 5; i++){\n computerPlayerBoard[9][i] = board.ship.ordinal();\n }\n //destroyer (2)\n computerShips[4].setShip( 1, 3, 1);\n for (int i = 3; i < 5; i++){\n computerPlayerBoard[i][1] = board.ship.ordinal();\n }\n break;\n case 13:\n //carrier (5)\n computerShips[0].setShip( 9, 2, 1);\n for (int i = 2; i < 7; i++) {\n computerPlayerBoard[i][9] = board.ship.ordinal();\n }\n //battleship (4)\n computerShips[1].setShip( 6, 0, 1);\n for (int j = 0; j < 4; j++){\n computerPlayerBoard[j][6] = board.ship.ordinal();\n }\n //submarine (3)\n\n computerShips[2].setShip( 4, 9, 0);\n for (int i = 4; i < 7; i++){\n computerPlayerBoard[9][i] = board.ship.ordinal();\n }\n //cruiser (3)\n\n computerShips[3].setShip( 1, 1, 0);\n for (int i = 1; i < 4; i++){\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n //destroyer (2)\n\n computerShips[4].setShip( 3, 5, 1);\n for (int i = 5; i < 7; i++){\n computerPlayerBoard[i][3] = board.ship.ordinal();\n }\n break;\n case 14:\n //carrier (5)\n\n computerShips[0].setShip( 0, 5, 1);\n for (int i = 5; i < 10; i++) {\n computerPlayerBoard[i][0] = board.ship.ordinal();\n }\n //battleship (4)\n\n computerShips[1].setShip( 7, 3, 1);\n for (int j = 3; j < 7; j++){\n computerPlayerBoard[j][7] = board.ship.ordinal();\n }\n //submarine (3)\n\n computerShips[2].setShip( 3, 3, 1);\n for (int i = 3; i < 6; i++){\n computerPlayerBoard[i][3] = board.ship.ordinal();\n }\n //cruiser (3)\n\n computerShips[3].setShip( 4, 5, 1);\n for (int i = 5; i < 8; i++){\n computerPlayerBoard[i][4] = board.ship.ordinal();\n }\n //destroyer (2)\n\n computerShips[4].setShip( 5, 1, 0);\n for (int i = 5; i < 7; i++){\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n break;\n case 15:\n //carrier (5)\n\n computerShips[0].setShip( 1, 8, 0);\n for (int i = 1; i < 6; i++) {\n computerPlayerBoard[8][i] = board.ship.ordinal();\n }\n //battleship (4)\n\n computerShips[1].setShip( 7, 3, 1);\n for (int j = 3; j < 7; j++){\n computerPlayerBoard[j][7] = board.ship.ordinal();\n }\n //submarine (3)\n\n computerShips[2].setShip( 6, 1, 0);\n for (int i = 6; i < 9; i++){\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n //cruiser (3)\n\n computerShips[3].setShip( 1, 5, 0);\n for (int i = 1; i < 4; i++){\n computerPlayerBoard[5][i] = board.ship.ordinal();\n }\n //destroyer (2)\n\n computerShips[4].setShip( 2, 1, 1);\n for (int i = 1; i < 3; i++){\n computerPlayerBoard[i][2] = board.ship.ordinal();\n }\n break;\n case 16:\n //carrier (5)\n\n computerShips[0].setShip( 0, 1, 1);\n for (int i = 1; i < 6; i++) {\n computerPlayerBoard[i][0] = board.ship.ordinal();\n }\n //battleship (4)\n\n computerShips[1].setShip( 1, 9, 0);\n for (int j = 1; j < 5; j++){\n computerPlayerBoard[9][j] = board.ship.ordinal();\n }\n //submarine (3)\n\n computerShips[2].setShip( 9, 5, 1);\n for (int i = 5; i < 8; i++){\n computerPlayerBoard[i][9] = board.ship.ordinal();\n }\n //cruiser (3)\n\n computerShips[3].setShip( 9, 1, 1);\n for (int i = 1; i < 4; i++){\n computerPlayerBoard[i][9] = board.ship.ordinal();\n }\n //destroyer (2)\n\n computerShips[4].setShip( 4, 0, 0);\n for (int i = 4; i < 6; i++){\n computerPlayerBoard[0][i] = board.ship.ordinal();\n }\n break;\n case 17:\n //carrier (5)\n\n computerShips[0].setShip( 4, 2, 1);\n for (int i = 2; i < 7; i++) {\n computerPlayerBoard[i][4] = board.ship.ordinal();\n }\n //battleship (4)\n\n computerShips[1].setShip( 1, 5, 1);\n for (int j = 5; j < 9; j++){\n computerPlayerBoard[j][1] = board.ship.ordinal();\n }\n //submarine (3)\n\n computerShips[2].setShip( 7, 4, 1);\n for (int i = 4; i < 7; i++){\n computerPlayerBoard[i][7] = board.ship.ordinal();\n }\n //cruiser (3)\n\n computerShips[3].setShip( 6, 1, 0);\n for (int i = 6; i < 9; i++){\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n //destroyer (2)\n\n computerShips[4].setShip( 1, 1, 0);\n for (int i = 1; i < 3; i++){\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n break;\n case 18:\n //carrier (5)\n\n computerShips[0].setShip( 2, 3, 1);\n for (int i = 3; i < 8; i++) {\n computerPlayerBoard[i][2] = board.ship.ordinal();\n }\n //battleship (4)\n\n computerShips[1].setShip( 6, 4, 1);\n for (int j = 4; j < 8; j++){\n computerPlayerBoard[j][6] = board.ship.ordinal();\n }\n //submarine (3)\n\n computerShips[2].setShip( 8, 1, 1);\n for (int i = 1; i < 4; i++){\n computerPlayerBoard[i][8] = board.ship.ordinal();\n }\n //cruiser (3)\n\n computerShips[3].setShip( 3, 2, 0);\n for (int i = 3; i < 6; i++){\n computerPlayerBoard[2][i] = board.ship.ordinal();\n }\n //destroyer (2)\n\n computerShips[4].setShip( 4, 9, 0);\n for (int i = 4; i < 6; i++){\n computerPlayerBoard[9][i] = board.ship.ordinal();\n }\n break;\n case 19:\n //carrier (5)\n\n computerShips[0].setShip( 8, 5, 1);\n for (int i = 5; i < 10; i++) {\n computerPlayerBoard[i][8] = board.ship.ordinal();\n }\n //battleship (4)\n\n computerShips[1].setShip( 0, 0, 0);\n for (int j = 0; j < 4; j++){\n computerPlayerBoard[0][j] = board.ship.ordinal();\n }\n //submarine (3)\n\n computerShips[2].setShip( 7, 0, 1);\n for (int i = 0; i < 3; i++){\n computerPlayerBoard[i][7] = board.ship.ordinal();\n }\n //cruiser (3)\n\n computerShips[3].setShip( 5, 4, 1);\n for (int i = 4; i < 7; i++){\n computerPlayerBoard[i][5] = board.ship.ordinal();\n }\n //destroyer (2)\n\n computerShips[4].setShip( 3, 8, 0);\n for (int i = 3; i < 5; i++){\n computerPlayerBoard[8][i] = board.ship.ordinal();\n }\n break;\n case 20:\n //carrier (5)\n\n computerShips[0].setShip( 2, 5, 0);\n for (int i = 2; i < 7; i++) {\n computerPlayerBoard[5][i] = board.ship.ordinal();\n }\n //battleship (4)\n\n computerShips[1].setShip( 2, 1, 0);\n for (int j = 2; j < 6; j++){\n computerPlayerBoard[1][j] = board.ship.ordinal();\n }\n //submarine (3)\n\n computerShips[2].setShip( 3, 7, 1);\n for (int i = 7; i < 10; i++){\n computerPlayerBoard[i][3] = board.ship.ordinal();\n }\n //cruiser (3)\n\n computerShips[3].setShip( 6, 8, 0);\n for (int i = 6; i < 9; i++){\n computerPlayerBoard[8][i] = board.ship.ordinal();\n }\n //destroyer (2)\n\n computerShips[4].setShip( 8, 0, 0);\n for (int i = 8; i < 10; i++){\n computerPlayerBoard[0][i] = board.ship.ordinal();\n }\n break;\n\n }\n return true;\n }", "public int getNumberShips();", "private int getNumberOfBoxesOfAllShips() {\r\n int count = 30;\r\n return count;\r\n }", "@Test\r\n\tpublic void testPlaceAllShipsRandomly() {\n\t\tint shipCount = 0;\r\n\t\to.placeAllShipsRandomly();\r\n\t\tfor (int i = 0; i < Ocean.BOARD_SIZE; i++) {\r\n\t\t\tfor (int j = 0; j < Ocean.BOARD_SIZE; j++) {\r\n\t\t\t\tif (o.isOccupied(i, j))\r\n\t\t\t\t\tshipCount++;\r\n\t\t\t}\r\n\t\t}\r\n\t\tassertEquals(shipCount, (5 + 2 * 4 + 2 * 3 + 2 * 2 + 4 * 1));\r\n\r\n\t\t// check no diagonally adjacent ships\r\n\t\tfor (int i = 0; i < Ocean.BOARD_SIZE; i++) {\r\n\t\t\tfor (int j = 0; j < Ocean.BOARD_SIZE; j++) {\r\n\t\t\t\tif (o.isOccupied(i, j)) {\r\n\t\t\t\t\tfor (int x = i - 1; x <= i + 1; x = x + 2) {\r\n\t\t\t\t\t\tif (x < 0 || x >= Ocean.BOARD_SIZE)\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\tfor (int y = j - 1; y <= j + 1; y = y + 2) {\r\n\t\t\t\t\t\t\tif (y < 0 || y >= Ocean.BOARD_SIZE)\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\tif (o.isOccupied(x, y))\r\n\t\t\t\t\t\t\t\tfail(\"Diagonally adjacent ships at (\" + i\r\n\t\t\t\t\t\t\t\t\t\t+ \", \" + j + \"), (\" + x + \", \" + y\r\n\t\t\t\t\t\t\t\t\t\t+ \")\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public void checkShipsSunk() {\n int sunkships = 0;\n int pos = 0; \n Ship ship;\n for(int i =0; i<5; i++) {\n ship = ships.get(i); \n if(ship.getSunk() == true) {\n sunkships++;\n pos = pos + ship.getLength(); \n }\n else{\n ship.setSunk(isSunk(ship.getLength(), pos));\n pos = pos + ship.getLength(); \n if(ship.getSunk() == true) {\n sunkships++;\n }\n }\n }\n shipsRemaining = 5 - sunkships; \n }", "private void checkIfOccupied(int row, int col) {\n if (status == MotionStatus.DOWN || AIisAttacking) {\n\n// if (player && playerAttacks != null) {\n// // Ignore touch if player has previously committed an attack on that cell.\n// for (int i = 0; i < playerAttacks.size(); i++) {\n// if (playerAttacks.get(i).equals(row,col)) {\n// Log.i(\"for\", \"You Hit this Previously!\");\n// }\n// }\n// }\n\n for (int i = 0; i < occupiedCells.size(); i++) {\n if (occupiedCells.get(i).x == row && occupiedCells.get(i).y == col) {\n Point p = new Point(row, col);\n selectedShip = findWhichShip(p); //Touching View Updated\n Log.i(\"checkIfOccupied getHit\", \"\" + getHit() + \", (\" + row + \", \" + col + \")\");\n setHit(true);\n break;\n }\n }\n\n if (selectedShip == null) {\n setHit(false);\n Log.i(\"checkIfOccupied getHit\", \"\" + getHit() + \", (\" + row + \", \" + col + \")\");\n }\n\n } else if (status == MotionStatus.MOVE) {//MotionStatus.MOVE\n if (selectedShip != null) {//Need to make sure none of the current ship parts will overlap another.\n int rowHolder = selectedShip.getHeadCoordinatePoint().x;\n int colHolder = selectedShip.getHeadCoordinatePoint().y;\n int tempRow, tempCol;\n selectedShip.moveShipTo(row, col);\n for (Ship s : ships) {\n if (s != selectedShip) {\n\n for (int i = 0; i < selectedShip.getShipSize(); i++) {\n tempRow = selectedShip.getBodyLocationPoints()[i].x;\n tempCol = selectedShip.getBodyLocationPoints()[i].y;\n\n for (int j = 0; j < s.getShipSize(); j++) {\n if (tempRow == s.getBodyLocationPoints()[j].x && tempCol == s.getBodyLocationPoints()[j].y) {\n selectedShip.moveShipTo(rowHolder, colHolder);\n }\n }//for\n }//for\n }\n }//for\n }\n }//Move\n }", "public boolean placeComputerShipsDumb(int pattern) {\n if(cpuHasPlaced){\n return false;\n }\n switch(pattern){\n case 1:\n computerShips[0].setShip(4, 2, 1);\n for (int i = 4; i < 9; i++) {\n computerPlayerBoard[i][2] = board.ship.ordinal();\n }\n computerShips[1].setShip(2, 4, 0);\n for (int j = 4; j < 8; j++){\n computerPlayerBoard[2][j] = board.ship.ordinal();\n }\n computerShips[2].setShip(0, 0, 1);\n for (int i = 0; i < 3; i++){\n computerPlayerBoard[i][0] = board.ship.ordinal();\n }\n computerShips[3].setShip(7, 9, 1);\n for (int i = 6; i < 9; i++){\n computerPlayerBoard[i][9] = board.ship.ordinal();\n }\n computerShips[4].setShip(5, 4, 1);\n for (int i = 5; i < 7; i++){\n computerPlayerBoard[i][5] = board.ship.ordinal();\n }\n break;\n case 2:\n computerShips[0].setShip(0, 0, 1);\n for(int i = 0; i < 6; i++){\n computerPlayerBoard[i][0] = board.ship.ordinal();\n }\n computerShips[1].setShip( 0, 3, 1);\n for(int i = 0; i < 5; i++){\n computerPlayerBoard[i][3] = board.ship.ordinal();\n }\n computerShips[2].setShip(0, 4, 1);\n for(int i = 0; i < 4; i++){\n computerPlayerBoard[i][4] = board.ship.ordinal();\n }\n computerShips[3].setShip(0,1,1);\n for(int i = 0; i < 4; i++){\n computerPlayerBoard[i][1] = board.ship.ordinal();\n }\n computerShips[4].setShip(0,2,1);\n for(int i = 0; i < 3; i++){\n computerPlayerBoard[i][2] = board.ship.ordinal();\n }\n break;\n case 3:\n computerShips[0].setShip(0,0,0);\n for(int i = 0; i < 6; i++){\n computerPlayerBoard[0][i] = board.ship.ordinal();\n }\n computerShips[1].setShip( 0, 3, 0);\n for(int i = 0; i < 5; i++){\n computerPlayerBoard[3][i] = board.ship.ordinal();\n }\n computerShips[2].setShip(0, 4, 0);\n for(int i = 0; i < 4; i++){\n computerPlayerBoard[4][i] = board.ship.ordinal();\n }\n computerShips[3].setShip( 0, 1, 0);\n for(int i = 0; i < 4; i++){\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n computerShips[4].setShip(0,2,0);\n for(int i = 0; i < 3; i++){\n computerPlayerBoard[2][i] = board.ship.ordinal();\n }\n break;\n case 4:\n computerShips[0].setShip(3,4,1);\n for(int i = 3; i < 8; i++){\n computerPlayerBoard[i][4] = board.ship.ordinal();\n }\n computerShips[1].setShip( 3, 6, 1);\n for(int i = 3; i < 7; i++){\n computerPlayerBoard[i][6] = board.ship.ordinal();\n }\n computerShips[2].setShip(3, 3, 1);\n for(int i = 3; i < 6; i++){\n computerPlayerBoard[i][3] = board.ship.ordinal();\n }\n computerShips[3].setShip( 7, 9, 1);\n for(int i = 6; i < 9; i++){\n computerPlayerBoard[i][9] = board.ship.ordinal();\n }\n computerShips[4].setShip(8,0,0);\n for(int i = 8; i <= 9; i++){\n computerPlayerBoard[0][i] = board.ship.ordinal();\n }\n break;\n case 5:\n computerShips[0].setShip(0,9,0);\n for(int i = 0; i < 5; i++){\n computerPlayerBoard[9][i] = board.ship.ordinal();\n }\n computerShips[1].setShip(3,6,1);\n for(int i = 3; i < 7; i++){\n computerPlayerBoard[i][6] = board.ship.ordinal();\n }\n computerShips[2].setShip(3,3,0);\n for(int i = 3; i < 6; i++){\n computerPlayerBoard[3][i] = board.ship.ordinal();\n }\n computerShips[3].setShip(0,9,1);\n for(int i = 0; i < 3; i++){\n computerPlayerBoard[i][9] = board.ship.ordinal();\n }\n computerShips[4].setShip(8,0,1);\n for(int i = 7; i < 9; i++){\n computerPlayerBoard[i][0] = board.ship.ordinal();\n }\n break;\n case 6:\n computerShips[0].setShip(0,9,0);\n for(int i = 0; i < 5; i++){\n computerPlayerBoard[9][i] = board.ship.ordinal();\n }\n computerShips[1].setShip(0,6,0);\n for(int i = 0; i < 4; i++){\n computerPlayerBoard[6][i] = board.ship.ordinal();\n }\n computerShips[2].setShip(0,5,0);\n for(int i = 0; i < 3; i++){\n computerPlayerBoard[5][i] = board.ship.ordinal();\n }\n computerShips[3].setShip(0,8,0);\n for(int i = 0; i < 3; i++){\n computerPlayerBoard[8][i] = board.ship.ordinal();\n }\n computerShips[3].setShip(0,7,0);\n for(int i = 0; i < 2; i++){\n computerPlayerBoard[7][i] = board.ship.ordinal();\n }\n break;\n case 7:\n computerShips[0].setShip(3,3,0);\n for(int i = 3; i < 8; i++){\n computerPlayerBoard[3][i] = board.ship.ordinal();\n }\n computerShips[1].setShip(3,5,0);\n for(int i = 3; i < 7; i++){\n computerPlayerBoard[5][i] = board.ship.ordinal();\n }\n //cruiser\n for(int i = 3; i < 6; i++){\n computerPlayerBoard[6][i] = board.ship.ordinal();\n }\n computerShips[3].setShip(3,2,0);\n for(int i = 3; i < 6; i++){\n computerPlayerBoard[2][i] = board.ship.ordinal();\n }\n computerShips[4].setShip(3,4,0);\n for(int i = 3; i < 5; i++){\n computerPlayerBoard[4][i] = board.ship.ordinal();\n }\n break;\n case 8:\n computerShips[0].setShip(2,4,1);\n for(int i = 2; i < 7; i++){\n computerPlayerBoard[i][4] = board.ship.ordinal();\n }\n computerShips[1].setShip(2,6,1);\n for(int i = 2; i < 6; i++){\n computerPlayerBoard[i][6] = board.ship.ordinal();\n }\n computerShips[2].setShip(4,5,1);\n for(int i = 4; i < 7; i++){\n computerPlayerBoard[i][5] = board.ship.ordinal();\n }\n computerShips[3].setShip(2,3,1);\n for(int i = 2; i < 5; i++){\n computerPlayerBoard[i][3] = board.ship.ordinal();\n }\n computerShips[4].setShip(2,5,1);\n for(int i = 2; i < 4; i++){\n computerPlayerBoard[i][5] = board.ship.ordinal();\n }\n break;\n case 9:\n computerShips[0].setShip(0,0,1);\n for(int i = 0; i < 5; i++){\n computerPlayerBoard[i][0] = board.ship.ordinal();\n }\n computerShips[1].setShip(2,1,1);\n for(int i = 2; i < 6; i++){\n computerPlayerBoard[i][1] = board.ship.ordinal();\n }\n computerShips[2].setShip(7,0,1);\n for(int i = 7; i <= 9; i++){\n computerPlayerBoard[i][0] = board.ship.ordinal();\n }\n computerShips[3].setShip(5,0,1);\n for(int i = 5; i < 8; i++){\n computerPlayerBoard[i][0] = board.ship.ordinal();\n }\n computerShips[4].setShip(0,1,1);\n for(int i = 0; i < 2; i++){\n computerPlayerBoard[i][1] = board.ship.ordinal();\n }\n break;\n case 10:\n computerShips[0].setShip(0,0,0);\n for(int i = 0; i < 5; i++){\n computerPlayerBoard[0][i] = board.ship.ordinal();\n }\n computerShips[1].setShip(2,1,0);\n for(int i = 2; i < 6; i++){\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n computerShips[2].setShip(7,0,0);\n for(int i = 7; i <= 9; i++){\n computerPlayerBoard[0][i] = board.ship.ordinal();\n }\n computerShips[3].setShip(5,0,0);\n for(int i = 5; i < 8; i++){\n computerPlayerBoard[0][i] = board.ship.ordinal();\n }\n computerShips[4].setShip(0,1,0);\n for(int i = 0; i < 2; i++){\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n break;\n case 11:\n computerShips[0].setShip(2,3,1);\n for(int i = 2; i < 7; i++){\n computerPlayerBoard[i][3] = board.ship.ordinal();\n }\n computerShips[1].setShip(2,5,1);\n for(int i = 2; i < 6; i++){\n computerPlayerBoard[i][5] = board.ship.ordinal();\n }\n computerShips[2].setShip(3,0,0);\n for(int i = 3; i < 6; i++){\n computerPlayerBoard[0][i] = board.ship.ordinal();\n }\n computerShips[3].setShip(4,1,1);\n for(int i = 4; i < 6; i++){\n computerPlayerBoard[i][1] = board.ship.ordinal();\n }\n computerShips[4].setShip(4,8,1);\n for(int i = 4; i < 6; i++){\n computerPlayerBoard[i][8] = board.ship.ordinal();\n }\n break;\n case 12:\n computerShips[0].setShip(3,5,0);\n for(int i = 3; i < 8; i++){\n computerPlayerBoard[5][i] = board.ship.ordinal();\n }\n computerShips[1].setShip(3,2,0);\n for(int i = 3; i < 7; i++){\n computerPlayerBoard[2][i] = board.ship.ordinal();\n }\n computerShips[2].setShip(4,2,1);\n for(int i = 4; i < 7; i++){\n computerPlayerBoard[i][2] = board.ship.ordinal();\n }\n computerShips[3].setShip(3,0,0);\n for(int i = 3; i < 6; i++){\n computerPlayerBoard[0][i] = board.ship.ordinal();\n }\n computerShips[4].setShip(3,9,0);\n for(int i = 3; i < 5; i++){\n computerPlayerBoard[9][i] = board.ship.ordinal();\n }\n break;\n case 13:\n computerShips[0].setShip(0,0,1);\n for(int i = 0; i < 5; i++){\n computerPlayerBoard[i][0] = board.ship.ordinal();\n }\n computerShips[1].setShip(0,9,1);\n for(int i = 0; i < 5; i++){\n computerPlayerBoard[i][9] = board.ship.ordinal();\n }\n computerShips[2].setShip(6,0,1);\n for(int i = 6; i < 9; i++){\n computerPlayerBoard[i][0] = board.ship.ordinal();\n }\n computerShips[3].setShip(6,9,1);\n for(int i = 6; i < 9; i++){\n computerPlayerBoard[i][9] = board.ship.ordinal();\n }\n computerShips[4].setShip(8,9,1);\n for(int i = 8; i <= 9; i++){\n computerPlayerBoard[i][9] = board.ship.ordinal();\n }\n break;\n case 14:\n computerShips[0].setShip(0,4,1);\n for(int i = 0; i < 5; i++){\n computerPlayerBoard[i][4] = board.ship.ordinal();\n }\n computerShips[1].setShip(0,2,1);\n for(int i = 0; i < 4; i++){\n computerPlayerBoard[i][2] = board.ship.ordinal();\n }\n computerShips[2].setShip(5,4,1);\n for(int i = 5; i < 8; i++){\n computerPlayerBoard[i][4] = board.ship.ordinal();\n }\n computerShips[3].setShip(4,2,1);\n for(int i = 4; i < 7; i++){\n computerPlayerBoard[i][2] = board.ship.ordinal();\n }\n computerShips[4].setShip(6,2,1);\n for(int i = 6; i < 8; i++){\n computerPlayerBoard[i][2] = board.ship.ordinal();\n }\n break;\n case 15:\n computerShips[0].setShip(1,4,0);\n for(int i = 1; i < 6; i++){\n computerPlayerBoard[4][i] = board.ship.ordinal();\n }\n computerShips[1].setShip(3,5,0);\n for(int i = 3; i < 7; i++){\n computerPlayerBoard[5][i] = board.ship.ordinal();\n }\n computerShips[2].setShip(6,4,0);\n for(int i = 6; i < 9; i++){\n computerPlayerBoard[4][i] = board.ship.ordinal();\n }\n computerShips[3].setShip(1,5,0);\n for(int i = 1; i < 4; i++){\n computerPlayerBoard[5][i] = board.ship.ordinal();\n }\n computerShips[4].setShip(7,5,0);\n for(int i = 7; i < 9; i++){\n computerPlayerBoard[5][i] = board.ship.ordinal();\n }\n break;\n case 16:\n computerShips[0].setShip(1,1,0);\n for(int i = 1; i < 6; i++){\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n computerShips[1].setShip(3,8,0);\n for(int i = 3; i < 7; i++){\n computerPlayerBoard[8][i] = board.ship.ordinal();\n }\n computerShips[2].setShip(6,1,0);\n for(int i = 6; i < 9; i++){\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n computerShips[3].setShip(1,8,0);\n for(int i = 1; i < 4; i++){\n computerPlayerBoard[8][i] = board.ship.ordinal();\n }\n computerShips[4].setShip(7,8,0);\n for(int i = 7; i < 9; i++){\n computerPlayerBoard[8][i] = board.ship.ordinal();\n }\n break;\n case 17:\n computerShips[0].setShip(1,1,0);\n for(int i = 1; i < 6; i++){\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n computerShips[1].setShip(3,2,0);\n for(int i = 3; i < 7; i++){\n computerPlayerBoard[2][i] = board.ship.ordinal();\n }\n computerShips[2].setShip(6,1,0);\n for(int i = 6; i < 9; i++){\n computerPlayerBoard[1][i] = board.ship.ordinal();\n }\n computerShips[3].setShip(1,2,0);\n for(int i = 1; i < 4; i++){\n computerPlayerBoard[2][i] = board.ship.ordinal();\n }\n computerShips[4].setShip(7,2,0);\n for(int i = 7; i < 9; i++){\n computerPlayerBoard[2][i] = board.ship.ordinal();\n }\n break;\n case 18:\n computerShips[0].setShip(1,6,0);\n for(int i = 1; i < 6; i++){\n computerPlayerBoard[6][i] = board.ship.ordinal();\n }\n computerShips[1].setShip(3,7,0);\n for(int i = 3; i < 7; i++){\n computerPlayerBoard[7][i] = board.ship.ordinal();\n }\n computerShips[2].setShip(6,6,0);\n for(int i = 6; i < 9; i++){\n computerPlayerBoard[6][i] = board.ship.ordinal();\n }\n computerShips[3].setShip(1,7,0);\n for(int i = 1; i < 4; i++){\n computerPlayerBoard[7][i] = board.ship.ordinal();\n }\n computerShips[4].setShip(7,7,0);\n for(int i = 7; i < 9; i++){\n computerPlayerBoard[7][i] = board.ship.ordinal();\n }\n break;\n case 19:\n computerShips[0].setShip(0,5,0);\n for(int i = 0; i < 5; i++){\n computerPlayerBoard[5][i] = board.ship.ordinal();\n }\n computerShips[1].setShip(2,2,0);\n for(int i = 2; i < 6; i++){\n computerPlayerBoard[2][i] = board.ship.ordinal();\n }\n computerShips[2].setShip(0,9,0);\n for(int i = 0; i < 3; i++){\n computerPlayerBoard[9][i] = board.ship.ordinal();\n }\n computerShips[3].setShip(6,0,0);\n for(int i = 6; i < 9; i++){\n computerPlayerBoard[0][i] = board.ship.ordinal();\n }\n computerShips[4].setShip(6,9,0);\n for(int i = 6; i < 8; i++){\n computerPlayerBoard[9][i] = board.ship.ordinal();\n }\n break;\n case 20:\n computerShips[0].setShip(2,5,1);\n for(int i = 2; i < 7; i++){\n computerPlayerBoard[i][5] = board.ship.ordinal();\n }\n computerShips[1].setShip(1,8,0);\n for(int i = 1; i < 5; i++){\n computerPlayerBoard[8][i] = board.ship.ordinal();\n }\n computerShips[2].setShip(3,0,0);\n for(int i = 3; i < 6; i++){\n computerPlayerBoard[0][i] = board.ship.ordinal();\n }\n computerShips[3].setShip(1,2,0);\n for(int i = 1; i < 4; i++){\n computerPlayerBoard[2][i] = board.ship.ordinal();\n }\n computerShips[4].setShip(4,2,1);\n for(int i = 4; i < 6; i++){\n computerPlayerBoard[i][2] = board.ship.ordinal();\n }\n break;\n\n }\n cpuHasPlaced = true;\n return true;\n }", "public void makeShips()\n\t{\n\t\t//The below is firstly to create the five ships \n\t\tint[] shipSizes= {2,3,3,4,5};\n\n\t\t//### Creating battleship to be put in the playerBattleShipsList\n\t\tfor (int x = 0; x < shipSizes.length; x ++) \n\t\t{\n\t\t\t//This creates a new battleship of size X from index's of shipSizes\n\t\t\tBattleShip newPlayerBattleShip = new BattleShip(shipSizes[x]);\n\n\t\t\t//This add the new battleship of size x (above) to a part in the array\n\t\t\tplayerBattleShipsList[x] = newPlayerBattleShip;\n\t\t}\n\n\t\t//### Creating battleship to be put in the aiBattleShipsList\n\n\t\tfor (int y = 0; y < shipSizes.length; y ++) \n\t\t{\n\t\t\t//This creates a new battleship of size X from index's of shipSizes\n\t\t\tBattleShip newAIBattleShip = new BattleShip(shipSizes[y]);\n\n\t\t\t//This add the new battleship of size x (above) to a part in the array\n\t\t\taiBattleShipsList[y] = newAIBattleShip;\n\t\t}\n\n\t}", "private void fillShotsArea(int[][] shots, int x, int y) {\n for (int i = x; inSea(i) && shots[i][y] == 4; i--) fillAreaAround(shots, i, y);\n for (int i = x; inSea(i) && shots[i][y] == 4; i++) fillAreaAround(shots, i, y);\n for (int i = y; inSea(i) && shots[x][i] == 4; i--) fillAreaAround(shots, x, i);\n for (int i = y; inSea(i) && shots[x][i] == 4; i++) fillAreaAround(shots, x, i);\n }", "@Override\n public void placeShips(Fleet fleet, Board board) {\n foundPosition = new boolean[sizeX][sizeY];\n for (int i = fleet.getNumberOfShips() - 1; i >= 0; i--) {\n Ship s = fleet.getShip(i);\n boolean vertical = rnd.nextBoolean();\n Position pos;\n if (vertical) {\n int x = rnd.nextInt(sizeX);\n int y = rnd.nextInt(sizeY - (s.size()));\n\n while (true) {\n boolean check = false;\n for (int j = 0; j < s.size(); j++) {\n if (foundPosition[x][y + j]) {\n check = true;\n x = rnd.nextInt(sizeX);\n y = rnd.nextInt(sizeY - (s.size()));\n break;\n }\n }\n if (check == false) {\n break;\n }\n /* int counter = 0;\n if (counter > 1) {\n y = rnd.nextInt(sizeY - (s.size()));\n }\n boolean check = false;\n for (int j = 0; j < s.size(); j++) {\n if (foundPosition[x][y + j]) {\n check = true;\n x++;\n if (x >= sizeX) {\n x = 0;\n }\n }\n }\n if (check == false) {\n break;\n }\n counter++;\n }*/\n }\n for (int j = 0; j < s.size(); j++) {\n foundPosition[x][y + j] = true;\n }\n pos = new Position(x, y);\n } else {\n int x = rnd.nextInt(sizeX - (s.size()));\n int y = rnd.nextInt(sizeY);\n while (true) {\n boolean check = false;\n for (int j = 0; j < s.size(); j++) {\n if (foundPosition[x + j][y]) {\n check = true;\n x = rnd.nextInt(sizeX - (s.size()));\n y = rnd.nextInt(sizeY);\n }\n }\n if (check == false) {\n break;\n }\n /*int counter = 0;\n if (counter > 1) {\n x = rnd.nextInt(sizeX - (s.size() - 1));\n }\n boolean check = false;\n for (int j = 0; j < s.size(); j++) {\n if (foundPosition[x + j][y]) {\n check = true;\n y++;\n if (y >= sizeX) {\n y = 0;\n }\n }\n }\n if (check == false) {\n break;\n }\n counter++;\n }*/\n }\n for (int j = 0; j < s.size(); j++) {\n foundPosition[x + j][y] = true;\n }\n pos = new Position(x, y);\n }\n board.placeShip(pos, s, vertical);\n }\n }", "public void positionShipsRandomly() {\r\n\t\tfor(Ship ship:ships) {\r\n\t\t\tpositionShipRandomly(ship,occupiedFields);\r\n\t\t}\r\n\t}", "public static void placeShips (Game game) {\n\t\t\n\t\tint dir, x, y, length, width;\n\t\tint[] shipDim;\n\t\tboolean[] success = new boolean[shipSizes.length];\n\t\t\n\t\tfor (int i = 0; i < shipSizes.length; i++) {\n\t\t\tsuccess[i] = false;\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < shipSizes.length; i++) {\n\t\t\t\n\t\t\t// If an attempted ship location is invalid (off-screen or overlapping another ship) then success[i] will be false so it tries again.\n\t\t\twhile (success[i] == false) {\n\t\t\t\tdir = rnd.nextInt(2);\n\t\t\t\tx = rnd.nextInt(Config.BOARD_LENGTH);\n\t\t\t\ty = rnd.nextInt(Config.BOARD_WIDTH);\n\t\t\t\tshipDim = shipSizes[i];\n\t\t\t\tif (dir == 0) {\n\t\t\t\t\t// Across.\n\t\t\t\t\tlength = shipDim[0];\n\t\t\t\t\twidth = shipDim[1];\n\t\t\t\t} else {\n\t\t\t\t\t// Down.\n\t\t\t\t\tlength = shipDim[1];\n\t\t\t\t\twidth = shipDim[0];\n\t\t\t\t}\n\n\t\t\t\tShip ship = new Ship(i*10+5,length,width); // IDs will be 5, 15, 25, etc.\n\t\t\t\tsuccess[i] = game.addShip(ship, x, y);\n\n\t\t\t}\n\t\t}\n\t\t\n\t}", "public boolean isThereStandingShips() {\r\n\t\r\n\t/*\t\r\n\t\tint SIZE = 100;\r\n\t\tint state = 0;\r\n\t\tboolean shipPresent = false;\r\n\t\tint x = 0, y = -1;\r\n\t\tfor (int i = 0; i < SIZE; i++) {\r\n\t\t\tif (i % 10 == 0) {\r\n\t\t\t\tx = 0;\r\n\t\t\t\ty = y + 1;\r\n\t\t\t}\r\n\t\t\tstate = shipStateMap.get(new Point(x, y));\r\n\t\t\tif (state == 1)\r\n\t\t\t\tshipPresent = true;\r\n\t\t\tx++;\r\n\t\t}\r\n\t\treturn shipPresent;\r\n\t*/\r\n\r\n\t\treturn (numberOfAllowedShotsRemaining!=0);\r\n\t}", "public void fillWithIslandTiles() {\n\t\tthis.addCard(new IslandTile(\"Breakers Bridge\", CardType.TILE, TreasureType.NONE));\n\t\tthis.addCard(new IslandTile(\"Bronze Gate\", CardType.TILE, TreasureType.NONE));\n\t\tthis.addCard(new IslandTile(\"Cliffs of Abandon\", CardType.TILE, TreasureType.NONE));\n\t\tthis.addCard(new IslandTile(\"Cave of Embers\", CardType.TILE, TreasureType.CRYSTAL_OF_FIRE));\n\t\tthis.addCard(new IslandTile(\"Crimson Forest\", CardType.TILE, TreasureType.NONE));\n\t\tthis.addCard(new IslandTile(\"Copper Gate\", CardType.TILE, TreasureType.NONE));\n\t\tthis.addCard(new IslandTile(\"Coral Palace\", CardType.TILE, TreasureType.OCEAN_CHALICE));\n\t\tthis.addCard(new IslandTile(\"Cave of Shadows\", CardType.TILE, TreasureType.CRYSTAL_OF_FIRE));\n\t\tthis.addCard(new IslandTile(\"Dunes of Deception\", CardType.TILE, TreasureType.NONE));\n\t\tthis.addCard(new IslandTile(\"Fool's Landing\", CardType.TILE, TreasureType.NONE));\n\t\tthis.addCard(new IslandTile(\"Gold Gate\", CardType.TILE, TreasureType.NONE));\n\t\tthis.addCard(new IslandTile(\"Howling Garden\", CardType.TILE, TreasureType.STATUE_OF_WIND));\n\t\tthis.addCard(new IslandTile(\"Iron Gate\", CardType.TILE, TreasureType.NONE));\n\t\tthis.addCard(new IslandTile(\"Lost Lagoon\", CardType.TILE, TreasureType.NONE));\n\t\tthis.addCard(new IslandTile(\"Misty Marsh\", CardType.TILE, TreasureType.NONE));\n\t\tthis.addCard(new IslandTile(\"Observatory\", CardType.TILE, TreasureType.NONE));\n\t\tthis.addCard(new IslandTile(\"Phantom Rock\", CardType.TILE, TreasureType.NONE));\n\t\tthis.addCard(new IslandTile(\"Silver Gate\", CardType.TILE, TreasureType.NONE));\n\t\tthis.addCard(new IslandTile(\"Temple of the Moon\", CardType.TILE, TreasureType.EARTH_STONE));\n\t\tthis.addCard(new IslandTile(\"Tidal Palace\", CardType.TILE, TreasureType.OCEAN_CHALICE));\n\t\tthis.addCard(new IslandTile(\"Temple of the Sun\", CardType.TILE, TreasureType.EARTH_STONE));\n\t\tthis.addCard(new IslandTile(\"Twilight Hollow\", CardType.TILE, TreasureType.NONE));\n\t\tthis.addCard(new IslandTile(\"Whispering Garden\", CardType.TILE, TreasureType.STATUE_OF_WIND));\n\t\tthis.addCard(new IslandTile(\"Watchtower\", CardType.TILE, TreasureType.NONE));\n\t}", "public int[][] getShips() {\n return ships;\n }", "private void showShips(Grid aiGrid, Grid playerGrid){\n\t\tint count = 1;\n\t\tfor(int i = 0; i < 12; i++){\n\t\t\tfor(int a = 0; a < 12; a++){\n\t\t\t\tboolean hasShip = aiGrid.getGrid()[i][a].hasShip();\n\t\t\t\tif(hasShip == true){\n\t\t\t\t\tSystem.out.println(count + \": \" + i + \", \" + a + \" Has Enemy \" + aiGrid.getGrid()[i][a].getShip().getName());\n\t\t\t\t\tcount += 1;\n\t\t\t\t\t//System.out.print(\"|X\");\n\t\t\t\t} //else System.out.print(\"| \");\n\t\t\t}\n\t\t\t//System.out.println(\"|\");\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\n\t\t//states where Player ships are\n\t\tint countP = 1;\n\t\tfor(int i = 0; i < 12; i++){\n\t\t\tfor(int a = 0; a < 12; a++){\n\t\t\t\tboolean hasShip = playerGrid.getGrid()[i][a].hasShip();\n\t\t\t\tif(hasShip == true){\n\t\t\t\t\tSystem.out.println(countP + \": \" + i + \", \" + a + \" Has Player \" + playerGrid.getGrid()[i][a].getShip().getName());\n\t\t\t\t\tcountP += 1;\n\t\t\t\t\t//System.out.print(\"|X\");\n\t\t\t\t} //else System.out.print(\"| \");\n\t\t\t}\n\t\t\t//System.out.println(\"|\");\n\t\t}\n\t\t//states where Enemy ships are\n\t\tfor(int i = 0; i < 12; i++){\n\t\t\tfor(int a = 0; a < 12; a++){\n\t\t\t\tboolean hasShip = aiGrid.getGrid()[i][a].hasShip();\n\t\t\t\tif(hasShip == true)System.out.print(\"|X\");\n\t\t\t\telse System.out.print(\"| \");\n\t\t\t}\n\t\t\tSystem.out.println(\"|\");\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\n\t\t//states where Player ships are\n\t\tfor(int i = 0; i < 12; i++){\n\t\t\tfor(int a = 0; a < 12; a++){\n\t\t\t\tboolean hasShip = playerGrid.getGrid()[i][a].hasShip();\n\t\t\t\tif(hasShip == true)System.out.print(\"|X\");\n\t\t\t\telse System.out.print(\"| \");\n\t\t\t}\n\t\t\tSystem.out.println(\"|\");\n\t\t}\n\t}", "protected void updateShips(String input) {\n\t\t//System.out.println(\"updateShips \" + input);\n\t\tShip temp = smallShip;\n \tfor(int i = 0; i < 3; i++) {\n \t\t\n// \t\n \tfor(int j = 0; j < temp.getCoordinates().size(); j++) {\n \t\tif(temp.getCoordinates().get(j).equals(input))\n \t\t\ttemp.getCoordinates().set(j, \"X\");\n \t}\n \tif(i == 0)\n \t\ttemp = mediumShip;\n \telse if(i == 1)\n \t\ttemp = largeShip;\n \t}\n\t}", "private ArrayList<Gfa> faAreaClip( Gfa smear, ArrayList<Gfa> snapshots ) {\n \n\t\tArrayList<Gfa> newSmears = new ArrayList<Gfa>();\n\t\t\n\t\t//If smear can be formatted, return.\n\t\tif ( canBeFormatted( smear ) ) {\n\t\t\tnewSmears.add( smear );\n\t\t\treturn newSmears;\n\t\t}\n\n\t\t/*\n\t\t * If the smear resides only in one FA area or two areas belong to different \n\t\t * FA regions, no need to clip. \n\t\t */\n\t\tString faAreas = smear.getGfaArea();\n\t\tif ( !faAreas.contains( \"-\" ) ||\n\t\t\t !isSameFaRegion( faAreas ) ) {\n\t\t\tnewSmears.add( smear );\n\t\t\treturn newSmears;\n\t\t}\n\t\t\n\t\t\n\n\t\t// Retrieve extended FA area bounds\n\t\tHashMap<String, Geometry> xareaBnds = GfaClip.getInstance().getFaAreaXBoundsInGrid();\n\n\t\t\n\t\t/*\n\t\t * Find the intersection points with the extended FA area bounds and snap them. \n\t\t */\n\t\tPolygon smearPoly = GfaClip.getInstance().gfaToPolygon( smear );\n\t\tPolygon smearPolyInGrid = GfaClip.getInstance().gfaToPolygonInGrid( smear );\n\t\tHashMap<Coordinate, Coordinate> areaInterPts = getAreaIntersectionPt( smearPoly );\n\n\t\t/*\n\t\t * Do area clipping. The strategy is the same as regional clipping.\n\t\t * \n\t\t * 1. clip the smear polygon against each FA region (WEST, CENTRAL, EAST)\n\t\t * 2. create a list of parts bigger than/equal to 3K for each region\n\t\t * 3. hold the parts smaller than 3K for all regions in another list. \n\t\t */\n\t\tHashMap<String, ArrayList<Geometry> > clipWithAreas = new HashMap<String, ArrayList<Geometry> >(); \n\n\t\tArrayList<Geometry> smallPoly = new ArrayList<Geometry>(); \n\n\t\tfor ( String areaName : xareaBnds.keySet() ) {\n\n\t\t\tif ( !faAreas.contains( areaName ) ) continue;\n\n\t\t\tclipWithAreas.put( areaName, new ArrayList<Geometry>() );\n\n\t\t\t//Do area clipping as described above.\n\t\t\tGeometry areaBnd = xareaBnds.get( areaName );\t\t\t\t \n\t\t\tif ( areaBnd.intersects( smearPolyInGrid ) ) {\n\n\t\t\t\tGeometry areaPoly = areaBnd.intersection( smearPolyInGrid );\t\n\n\t\t\t\tif ( areaPoly != null ) {\t\t\t\t\t \t\t\t\t\t\t\t\n\t\t\t\t\tfor ( int kk = 0; kk < areaPoly.getNumGeometries(); kk++ ) {\t\t\t\t\t \t \n\t\t\t\t\t\tGeometry bigPoly = areaPoly.getGeometryN( kk );\t\t\t\t\t \t \n\n\t\t\t\t\t\tif ( GfaClip.getInstance().isBiggerInGrid( bigPoly ) ) {\t\t\t\t\t \t\n\t\t\t\t\t\t\tclipWithAreas.get( areaName ).add( bigPoly ); \n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tsmallPoly.add( bigPoly ); \n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} \n\t\t\t}\t \n\n\t\t}\t\t\t\t\t\t\t\t\n\n\t\t/*\n\t\t * Create smears from VALID parts and add into the return list\n\t\t * \n\t\t * 1. Union the parts in each FA region with the list of small parts -\n\t\t * If a small part touches one of the bigs (only one, I believe), it\n\t\t * will be united into that big and thus be included into a new\n\t\t * smear. So no part gets lost and all will be included eventually.\n\t\t * 2. When a small part is united into a big one (if they intersect), \n\t\t * the common points are still retained in the result, we need to \n\t\t * remove those extra point. The common points are resulted from the\n\t\t * previous clipping with the area boundaries.\n\t\t * 3. check the resulting union for VALID geometries and create new\n\t\t * smears for each of them.\t \t\t\t\n\t\t */\n\t\tfor ( String areaName : clipWithAreas.keySet() ) {\n\n\t\t\tArrayList<Geometry> bigs = clipWithAreas.get( areaName );\n\n\t\t\tArrayList<Geometry> toBeUnioned = new ArrayList<Geometry>();\n\t\t\ttoBeUnioned.addAll( bigs );\n\t\t\ttoBeUnioned.addAll( smallPoly );\n\t\t\tGeometry result = GfaClip.getInstance().quickUnion( toBeUnioned ); \t\t\t\n\n\t\t\tArrayList<Coordinate> commPts = GfaClip.getInstance().getCommonPoints( bigs, smallPoly );\n\n\t\t\tif ( result != null ) {\t\t \n\n\t\t\t\tfor ( int kk = 0; kk < result.getNumGeometries(); kk++ ) {\n\n\t\t\t\t\tGeometry one = result.getGeometryN( kk );\n\n\t\t\t\t\t//Remove residue points by clipping followed by subsequent union.\n\t\t\t\t\tGeometry onePart = GfaClip.getInstance().removeCommonPoints( one, commPts );\n\n\t\t\t\t\t//Clean up some improper cases\n\t\t\t\t\tCoordinate[] gPts = PgenUtil.gridToLatlon( onePart.getCoordinates() );\n\t\t\t\t\tArrayList<Coordinate> points = new ArrayList<Coordinate>();\n\t\t\t\t\tfor ( Coordinate c : gPts ) {\n\t\t\t\t\t\tpoints.add( c );\n\t\t\t\t\t}\n\t\t\t\t\tpoints.remove( points.size() - 1 );\n\n\t\t\t\t\t//Geometry cleanPts = GfaClip.getInstance().cleanupPoints( onePart );\n\t\t\t\t\t\n\t\t\t\t\tGeometry cleanPts = GfaClip.getInstance().cleanupPoints( \n\t\t\t\t\t\t\t GfaClip.getInstance().pointsToGeometry( points ) );\n\n\t\t\t\t\tif ( GfaClip.getInstance().isAddableAsSmear( cleanPts, snapshots, smear ) ) {\n\n\t\t\t\t\t\t//Replace intersection points with their pre-snapped pair.\n\t\t\t\t\t\tGeometry rplPts = GfaClip.getInstance().replacePts( cleanPts, areaInterPts );\n\n\t\t\t\t\t\t//Create a new GFA smear.\n\t\t\t\t\t\tcleanPts = GfaClip.getInstance().cleanupPoints( rplPts );\n\t\t\t\t\t\t\n\t\t\t\t\t\tGfa newElm = GfaClip.getInstance().geometryToGfa( smear, cleanPts );\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\tnewElm.setGfaArea( areaName );\n\t\t\t\t\t\t\n\t\t\t\t\t\tnewSmears.add( newElm );\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tfor ( Gfa gg : newSmears ) {\n\t\t boolean[] reduFlg = new boolean[ gg.getPoints().size() ];\n\t\t\tint ii = 0;\n\t\t for ( Coordinate newPt : gg.getPoints() ) {\n\t\t \treduFlg[ ii ] = false;\n\t\t \t\n\t\t \tfor ( int jj = 0; jj < smear.getPoints().size(); jj++ ) {\n\t\t \t\tif ( GfaSnap.getInstance().isSamePoint( newPt, \n\t\t \t\t\t\t smear.getPoints().get( jj ), GfaSnap.MAP_PRECISION ) ) {\n\t\t \t\t\treduFlg[ ii ] = smear.getReduceFlags()[ jj ];\n\t\t \t\t\tbreak;\t\t \t\t\t\n\t\t \t\t}\n\t\t \t}\n\t\t \tii++;\n\t\t }\n\t\t\t\n\t\t\tgg.setReduceFlags( reduFlg ); \n\t\t}\n\t\t\t\t\t\t\t\t\n\t\treturn newSmears;\n\t\n }", "private void fillShips(Ships ship) {\n int numShip = ship.getNumShip();\n System.out.println(\"Enter the coordinates of the \" + ship + \"(\" + numShip + \" cells):\");\n while (true) {\n String[] coord = sc.nextLine().split(\" \");\n if (!hasValidOrientation(coord) || !hasValidNumber(coord, numShip) || !locateSafety(coord)) {\n continue;\n } else {\n createShips(ship, coord);\n break;\n }\n }\n shipTypeCount++;\n }", "public void findShipPiece() {\r\n\t\tshipPiecesFound += 1;\r\n\t}", "protected ArrayList<Ship> initiateShips(){\n ArrayList<Ship> initialShips = new ArrayList<>();\n\n //battleship\n for (int i=0;i<1;i++){\n Battleship battleship = new Battleship();\n initialShips.add(battleship);\n }\n\n //cruiser\n for (int i=0;i<2;i++){\n Cruiser cruiser = new Cruiser();\n initialShips.add(cruiser);\n }\n\n //destroyer\n for (int i=0;i<3;i++){\n Destroyer destroyer = new Destroyer();\n initialShips.add(destroyer);\n }\n\n //submarine\n for (int i=0;i<4;i++){\n Submarine submarine = new Submarine();\n initialShips.add(submarine);\n }\n\n return initialShips;\n }", "private void placeEnemyShips() {\n\t\tint s51 = (int) (Math.random() * 6); // mostly random numbers\n\t\tint s52 = (int) (Math.random() * 10);\n\t\tfor (int i = 0; i < 5; i++)\n\t\t\tpgrid[s51 + i][s52] = 1;\n\n\t\t// Places the ship of length 3\n\t\tint s31 = (int) (Math.random() * 10);\n\t\tint s32 = (int) (Math.random() * 8);\n\t\twhile (pgrid[s31][s32] == 1 || pgrid[s31][s32 + 1] == 1 // prevents\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// overlaps\n\t\t\t\t|| pgrid[s31][s32 + 2] == 1) {\n\t\t\ts31 = (int) (Math.random() * 10);\n\t\t\ts32 = (int) (Math.random() * 8);\n\t\t}\n\t\tpgrid[s31][s32] = 1;\n\t\tpgrid[s31][s32 + 1] = 1;\n\t\tpgrid[s31][s32 + 2] = 1;\n\n\t\t// Places the ship of length 1\n\t\tint s21 = (int) (Math.random() * 10);\n\t\tint s22 = (int) (Math.random() * 9);\n\t\twhile (pgrid[s21][s22] == 1 || pgrid[s21][s22 + 1] == 1) { // prevents\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// overlaps\n\t\t\ts21 = (int) (Math.random() * 10);\n\t\t\ts22 = (int) (Math.random() * 9);\n\t\t}\n\t\tpgrid[s21][s22] = 1;\n\t\tpgrid[s21][s22 + 1] = 1;\n\n\t}", "protected void placeAllShipsRandomly(){\n ArrayList<Ship> shipArrayList = initiateShips();\n Random random = new Random();\n int row;\n int col;\n boolean orientation;\n //place battleship first\n for (Ship ship: shipArrayList){\n row = random.nextInt(10);\n col = random.nextInt(10);\n orientation = random.nextBoolean();\n\n while(!ship.okToPlaceShipAt(row, col, orientation,this)){\n row = random.nextInt(10);\n col = random.nextInt(10);\n orientation = random.nextBoolean();\n }\n\n ship.placeShipAt(row,col,orientation,this);\n }\n\n }", "public void deployComputerShips() {\r\n\r\n\t\ttry {\r\n\t\t\tRandom rand = new Random();\r\n\t\t\tint carrierX = rand.nextInt(9);\r\n\t\t\tint carrierY = rand.nextInt(11);\r\n\r\n\t\t\tHashMap<Integer, Integer> Carrier = new HashMap<>();\r\n\t\t\tBoolean placed = false;\r\n\r\n\t\t\twhile (!placed) {\r\n\t\t\t\tif (check(carrierX, carrierY, \"horizontal\", 5)) {\r\n\t\t\t\t\tif ((carrierY + 5) <= 11) {\r\n\r\n\t\t\t\t\t\tfor (int i = 0; i < 5; i++) {\r\n\t\t\t\t\t\t\tCarrier.put((carrierY + i), carrierX);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tfor (int i = 0; i < 5; i++) {\r\n\t\t\t\t\t\t\tCarrier.put((carrierY - i), carrierX);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tplaced = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tcarrierX = rand.nextInt(9);\r\n\t\t\t\t\tcarrierY = rand.nextInt(11);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tfor (Map.Entry<Integer, Integer> entry : Carrier.entrySet()) {\r\n\t\t\t\trandomGrid[entry.getValue()][entry.getKey()] = 1;\r\n\t\t\t}\r\n\r\n\t\t\tint battleShipX = rand.nextInt(9);\r\n\t\t\tint battleShipY = rand.nextInt(11);\r\n\r\n\t\t\tHashMap<Integer, Integer> BattleShip = new HashMap<>();\r\n\r\n\t\t\tplaced = false;\r\n\t\t\twhile (!placed) {\r\n\t\t\t\tif (check(battleShipX, battleShipY, \"vertical\", 4)) {\r\n\t\t\t\t\tif ((battleShipX + 4) < 9) {\r\n\r\n\t\t\t\t\t\tfor (int i = 0; i < 4; i++) {\r\n\t\t\t\t\t\t\tBattleShip.put((battleShipX + i), battleShipY);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tfor (int i = 0; i < 4; i++) {\r\n\t\t\t\t\t\t\tBattleShip.put((battleShipX - i), battleShipY);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tplaced = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tbattleShipX = rand.nextInt(9);\r\n\t\t\t\t\tbattleShipY = rand.nextInt(11);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tfor (Map.Entry<Integer, Integer> entry : BattleShip.entrySet()) {\r\n\r\n\t\t\t\trandomGrid[entry.getKey()][entry.getValue()] = 1;\r\n\t\t\r\n\t\t\t}\r\n\r\n\t\t\tint cruiserX = rand.nextInt(9);\r\n\t\t\tint cruiserY = rand.nextInt(11);\r\n\r\n\t\t\tHashMap<Integer, Integer> Cruiser = new HashMap<>();\r\n\t\t\tplaced = false;\r\n\t\t\twhile (!placed) {\r\n\t\t\t\tif (check(cruiserX, cruiserY, \"vertical\", 3)) {\r\n\t\t\t\t\tif ((cruiserX + 3) < 9) {\r\n\r\n\t\t\t\t\t\tfor (int i = 0; i < 3; i++) {\r\n\t\t\t\t\t\t\tCruiser.put((cruiserX + i), cruiserY);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tfor (int i = 0; i < 3; i++) {\r\n\t\t\t\t\t\t\tCruiser.put((cruiserX - i), cruiserY);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tplaced = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tcruiserX = rand.nextInt(9);\r\n\t\t\t\t\tcruiserY = rand.nextInt(11);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tfor (Map.Entry<Integer, Integer> entry : Cruiser.entrySet()) {\r\n\r\n\t\t\t\trandomGrid[entry.getKey()][entry.getValue()] = 1;\r\n\t\t\r\n\t\t\t}\r\n\r\n\t\t\tint subX = rand.nextInt(9);\r\n\t\t\tint subY = rand.nextInt(11);\r\n\t\t\tHashMap<Integer, Integer> Submarine = new HashMap<>();\r\n\r\n\t\t\tplaced = false;\r\n\t\t\twhile (!placed) {\r\n\t\t\t\tif (check(subX, subY, \"vertical\", 3)) {\r\n\t\t\t\t\tif ((subX + 3) < 9) {\r\n\r\n\t\t\t\t\t\tfor (int i = 0; i < 3; i++) {\r\n\t\t\t\t\t\t\tSubmarine.put((subX + i), subY);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tfor (int i = 0; i < 3; i++) {\r\n\t\t\t\t\t\t\tSubmarine.put((subX - i), subY);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tplaced = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsubX = rand.nextInt(9);\r\n\t\t\t\t\tsubY = rand.nextInt(11);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tfor (Map.Entry<Integer, Integer> entry : Submarine.entrySet()) {\r\n\r\n\t\t\t\trandomGrid[entry.getKey()][entry.getValue()] = 1;\r\n\t\t\r\n\t\t\t}\r\n\r\n\t\t\tint destroyerX = rand.nextInt(9);\r\n\t\t\tint destroyerY = rand.nextInt(11);\r\n\r\n\t\t\tHashMap<Integer, Integer> Destroyer = new HashMap<>();\r\n\r\n\t\t\tplaced = false;\r\n\t\t\twhile (!placed) {\r\n\t\t\t\tif (check(destroyerX, destroyerY, \"horizontal\", 2)) {\r\n\t\t\t\t\tif ((destroyerY + 2) < 11) {\r\n\r\n\t\t\t\t\t\tfor (int i = 0; i < 2; i++) {\r\n\t\t\t\t\t\t\tDestroyer.put((destroyerY + i), destroyerX);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tfor (int i = 0; i < 2; i++) {\r\n\t\t\t\t\t\t\tDestroyer.put((destroyerY - i), destroyerX);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tplaced = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdestroyerX = rand.nextInt(9);\r\n\t\t\t\t\tdestroyerY = rand.nextInt(11);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tfor (Map.Entry<Integer, Integer> entry : Destroyer.entrySet()) {\r\n\r\n\t\t\t\trandomGrid[entry.getValue()][entry.getKey()] = 1;\r\n\r\n\t\t\t}\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\r\n\t\t}\r\n\r\n\t}", "protected void calculatePathfindingGrid(Tile[] tiles) {\n \n if(tiles == null) {\n return;\n }\n \n /**\n * Problem:\n * Because the tile size used by the path finding engine will most likely be\n * different from that of the visual effect size, we have to\n * look at all the visual tiles and judge whether they are blocking of\n * particular kinds of unit.\n * \n * Algorithm:\n * For land, air and sea take a look at the number of blocking/non-blocking\n * tiles there are and if there is over 50% either way then that will be the\n * PathTiles result.\n */\n \n // First get the size of the map in PathTile(s)\n int rows = getActualHeightInTiles();\n int cols = getActualWidthInTiles();\n \n // Calculate the number of tiles to a PathTile\n int tilesPerActualTilesX = getActualTileWidth() / getTileWidth();\n int tilesPerActualTilesY = getActualTileHeight() / getTileHeight();\n int tileCount = tilesPerActualTilesX * tilesPerActualTilesY;\n \n int tileCols = getWidthInTiles();\n \n // Create an array\n mPathTiles = new PathTile[ rows * cols ];\n \n // Iterate through these tiles\n for(int x = 0; x < cols ; x++) {\n for(int y = 0; y < rows; y++) {\n \n // Setup some variables\n int blockSea, blockAir, blockLand;\n blockAir = blockLand = blockSea = 0;\n \n // Figure out the percentage of each block\n for(int tx = 0; tx < tilesPerActualTilesX; tx++) {\n for(int ty = 0; ty < tilesPerActualTilesY; ty++) {\n \n int tileX = (x * tilesPerActualTilesX) + tx;\n int tileY = (y * tilesPerActualTilesY) + ty;\n \n Tile thisTile = tiles[ (tileY * tileCols) + tileX ];\n \n if(thisTile.blockAir()) {\n blockAir++;\n }\n \n if(thisTile.blockLand()) {\n blockLand++;\n }\n \n if(thisTile.blockSea()) {\n blockSea++;\n }\n \n }\n }\n \n // Calculate percentage\n float a,b,c;\n a = (float)blockAir / (float)tileCount;\n b = (float)blockLand / (float)tileCount;\n c = (float)blockSea / (float)tileCount;\n \n // Set the new tile\n mPathTiles[ (y * cols) + x ] = new PathTile( (a >= .5f), (b >= .5f), (c >= .5f) );\n \n // System.out.println(\"Grid \" + ((y * cols) + x) + \" (\" + x + \", \" + y + \") Air: \" + a + \" Land: \" + b + \" Sea: \" + c);\n \n }\n }\n \n }", "public Ship[] addTotalShipsToBattleArea(int totalShips) {\n return battleArea.addTotalShips(totalShips);\n }", "public Location attack() {\n resetBoard();\n\n if (getHits().isEmpty()) {\n// System.out.println(\"Hunting\");\n\n for (final int[] r : board) {\n for (int c = 0; c < r.length; c++) {\n if (getIntegers().contains(5) && (c < (r.length - 4)))\n if ((-1 != r[c]) && (-1 != r[c + 1]) && (-1 != r[c + 2]) && (-1 != r[c + 3]) && (-1 != r[c + 4])) {\n ++r[c];\n ++r[c + 1];\n ++r[c + 2];\n ++r[c + 3];\n ++r[c + 4];\n }\n\n if (getIntegers().contains(4) && (c < (r.length - 3)))\n if ((-1 != r[c]) && (-1 != r[c + 1]) && (-1 != r[c + 2]) && (-1 != r[c + 3])) {\n ++r[c];\n ++r[c + 1];\n ++r[c + 2];\n ++r[c + 3];\n }\n if (getIntegers().contains(3) && (c < (r.length - 2)))\n if ((-1 != r[c]) && (-1 != r[c + 1]) && (-1 != r[c + 2])) {\n ++r[c];\n ++r[c + 1];\n ++r[c + 2];\n\n }\n if (getIntegers().contains(3) && (2 == Collections.frequency(getIntegers(), 3)) && (c < (r.length - 2)))\n if ((-1 != r[c]) && (-1 != r[c + 1]) && (-1 != r[c + 2])) {\n ++r[c];\n ++r[c + 1];\n ++r[c + 2];\n\n }\n if (getIntegers().contains(2) && (c < (r.length - 1)))\n if ((-1 != r[c]) && (-1 != r[c + 1])) {\n ++r[c];\n ++r[c + 1];\n }\n }\n }\n\n for (int c = 0; c < board[0].length; c++) {\n for (int r = 0; r < board.length; r++) {\n if (getIntegers().contains(5) && (r < (board.length - 4)))\n if ((-1 != board[r][c]) && (-1 != board[r + 1][c]) && (-1 != board[r + 2][c]) && (-1 != board[r + 3][c]) && (-1 != board[r + 4][c])) {\n ++board[r][c];\n ++board[r + 1][c];\n ++board[r + 2][c];\n ++board[r + 3][c];\n ++board[r + 4][c];\n }\n\n if (getIntegers().contains(4) && (r < (board.length - 3)))\n if ((-1 != board[r][c]) && (-1 != board[r + 1][c]) && (-1 != board[r + 2][c]) && (-1 != board[r + 3][c])) {\n ++board[r][c];\n ++board[r + 1][c];\n ++board[r + 2][c];\n ++board[r + 3][c];\n }\n if (getIntegers().contains(3) && (r < (board.length - 2)))\n if ((-1 != board[r][c]) && (-1 != board[r + 1][c]) && (-1 != board[r + 2][c])) {\n\n ++board[r][c];\n ++board[r + 1][c];\n ++board[r + 2][c];\n\n\n }\n if (getIntegers().contains(3) && (2 == Collections.frequency(getIntegers(), 3)) && (r < (board.length - 2)))\n if ((-1 != board[r][c]) && (-1 != board[r + 1][c]) && (-1 != board[r + 2][c])) {\n\n ++board[r][c];\n ++board[r + 1][c];\n ++board[r + 2][c];\n\n\n }\n if (getIntegers().contains(2) && (r < (board.length - 1)))\n if ((-1 != board[r][c]) && (-1 != board[r + 1][c])) {\n ++board[r][c];\n ++board[r + 1][c];\n }\n }\n }\n } else {\n// System.out.println(\"Hitting\");\n\n for (final Location hit : getHits()) {\n final int r = hit.getRow();\n final int c = hit.getCol();\n\n if (getIntegers().contains(2)) {\n if ((0 <= (c - 1)) && (-1 != board[r][c]) && (-1 != board[r][c - 1])) {\n ++board[r][c];\n ++board[r][c - 1];\n }\n\n\n if (((c + 1) < board[0].length) && (-1 != board[r][c]) && (-1 != board[r][c + 1])) {\n ++board[r][c];\n ++board[r][c + 1];\n }\n\n if ((0 <= (r - 1)) && (-1 != board[r][c]) && (-1 != board[r - 1][c])) {\n ++board[r][c];\n ++board[r - 1][c];\n }\n\n if (((r + 1) < board.length) && (-1 != board[r][c]) && (-1 != board[r + 1][c])) {\n ++board[r][c];\n ++board[r + 1][c];\n }\n\n\n }\n if (getIntegers().contains(3)) {\n final int inc = Collections.frequency(getIntegers(), 3);\n\n if ((0 <= (c - 2)) && (-1 != board[r][c]) && (-1 != board[r][c - 1]) && (-1 != board[r][c - 2])) {\n board[r][c] += inc;\n board[r][c - 1] += inc;\n board[r][c - 2] += inc;\n }\n if (((c + 2) < board[0].length) && (-1 != board[r][c]) && (-1 != board[r][c + 1]) && (-1 != board[r][c + 2])) {\n board[r][c] += inc;\n board[r][c + 1] += inc;\n board[r][c + 2] += inc;\n }\n if ((0 <= (r - 2)) && (-1 != board[r][c]) && (-1 != board[r - 1][c]) && (-1 != board[r - 2][c])) {\n board[r][c] += inc;\n board[r - 1][c] += inc;\n board[r - 2][c] += inc;\n }\n if (((r + 2) < board.length) && (-1 != board[r][c]) && (-1 != board[r + 1][c]) && (-1 != board[r + 2][c])) {\n board[r][c] += inc;\n board[r + 1][c] += inc;\n board[r + 2][c] += inc;\n }\n\n\n }\n if (getIntegers().contains(4)) {\n if ((0 <= (c - 3)) && (-1 != board[r][c]) && (-1 != board[r][c - 1]) && (-1 != board[r][c - 2]) && (-1 != board[r][c - 3])) {\n ++board[r][c];\n ++board[r][c - 1];\n ++board[r][c - 2];\n ++board[r][c - 3];\n }\n if (((c + 3) < board[0].length) && (-1 != board[r][c]) && (-1 != board[r][c + 1]) && (-1 != board[r][c + 2]) && (-1 != board[r][c + 3])) {\n ++board[r][c];\n ++board[r][c + 1];\n ++board[r][c + 2];\n ++board[r][c + 3];\n }\n if ((0 <= (r - 3)) && (-1 != board[r][c]) && (-1 != board[r - 1][c]) && (-1 != board[r - 2][c]) && (-1 != board[r - 3][c])) {\n ++board[r][c];\n ++board[r - 1][c];\n ++board[r - 2][c];\n ++board[r - 3][c];\n }\n if (((r + 3) < board.length) && (-1 != board[r][c]) && (-1 != board[r + 1][c]) && (-1 != board[r + 2][c]) && (-1 != board[r + 3][c])) {\n ++board[r][c];\n ++board[r + 1][c];\n ++board[r + 2][c];\n ++board[r + 3][c];\n }\n\n\n }\n if (getIntegers().contains(5)) {\n if ((0 <= (c - 4)) && (-1 != board[r][c]) && (-1 != board[r][c - 1]) && (-1 != board[r][c - 2]) && (-1 != board[r][c - 3]) && (-1 != board[r][c - 4])) {\n ++board[r][c];\n ++board[r][c - 1];\n ++board[r][c - 2];\n ++board[r][c - 3];\n ++board[r][c - 4];\n }\n if (((c + 4) < board[0].length) && (-1 != board[r][c]) && (-1 != board[r][c + 1]) && (-1 != board[r][c + 2]) && (-1 != board[r][c + 3]) && (-1 != board[r][c + 4])) {\n ++board[r][c];\n ++board[r][c + 1];\n ++board[r][c + 2];\n ++board[r][c + 3];\n ++board[r][c + 4];\n }\n if ((0 <= (r - 4)) && (-1 != board[r][c]) && (-1 != board[r - 1][c]) && (-1 != board[r - 2][c]) && (-1 != board[r - 3][c]) && (-1 != board[r - 4][c])) {\n ++board[r][c];\n ++board[r - 1][c];\n ++board[r - 2][c];\n ++board[r - 3][c];\n ++board[r - 4][c];\n }\n if (((r + 4) < board.length) && (-1 != board[r][c]) && (-1 != board[r + 1][c]) && (-1 != board[r + 2][c]) && (-1 != board[r + 3][c]) && (-1 != board[r + 4][c])) {\n ++board[r][c];\n ++board[r + 1][c];\n ++board[r + 2][c];\n ++board[r + 3][c];\n ++board[r + 4][c];\n }\n }\n }\n\n for (final Location hit : getHits()) {\n board[hit.getRow()][hit.getCol()] = 0;\n }\n }\n\n// for (int[] i : board)\n// System.out.println(Arrays.toString(i));\n return findLargest();\n }", "public void autoPutShip(int padding) {\n for (int l=3; l>=0; l--) {\n// if already have ships of this type go to another length\n if (decks[l] == (4-l)) continue;\n for (int i = 0; i < (4-l); i++) {\n// if already put ships of that type go on..\n if (decks[l] == (4-l)) continue;\n// choice random side of sea\n// (for optimal placing need to place near it)\n int side = (int) (Math.random() * 4);\n// generate random indent from side corner\n// (like you go counter clock wise)\n int indent = (int) (Math.random() * (10 - l));\n int x = 0, y = 0;\n// for side get direction\n Direction dir = Direction.values()[side];\n// calculate coordinates\n switch (side) {\n case 0:\n x = padding;\n y = indent;\n break;\n case 1:\n x = indent;\n y = 9 - padding;\n break;\n case 2:\n x = 9 - padding;\n y = 9 - indent;\n break;\n case 3:\n x = 9 - indent;\n y = padding;\n break;\n }\n// create ship (just for right coordinates)\n Ship ship = new Ship(x, y, l, dir);\n// and if you can put it - put\n if (canPutShip(ship)) putShip(ship);\n }\n }\n if (!isAllShipsOn()&& padding < 9) autoPutShip(padding + 1);\n }", "public int getNumberOfShips() {\r\n\t\treturn numberOfShips;\r\n\t}", "private void createShips() {\n //context,size, headLocation, bodyLocations\n Point point;\n Ship scout_One, scout_Two, cruiser, carrier, motherShip;\n if(player) {\n point = new Point(maxN - 1, 0); //row, cell\n scout_One = new Ship(1, point, maxN, \"Scout One\", player);\n ships.add(scout_One);\n point = new Point(maxN - 1, 1);\n scout_Two = new Ship(1, point, maxN, \"Scout Two\", player);\n ships.add(scout_Two);\n point = new Point(maxN - 2, 2);\n cruiser = new Ship(2, point, maxN, \"Cruiser\", player);\n ships.add(cruiser);\n point = new Point(maxN - 2, 3);\n carrier = new Ship(4, point, maxN, \"Carrier\", player);\n ships.add(carrier);\n point = new Point(maxN - 4, 5);\n motherShip = new Ship(12, point, maxN, \"MotherShip\", player);\n ships.add(motherShip);\n\n }else{\n Random rand = new Random();\n int rowM = maxN-3;\n int colM = maxN -2;\n int row = rand.nextInt(rowM);\n int col = rand.nextInt(colM);\n point = new Point(row, col);\n motherShip = new Ship(12, point, maxN, \"MotherShip\", player);\n updateOccupiedCells(motherShip.getBodyLocationPoints());\n ships.add(motherShip);\n\n rowM = maxN - 1;\n colM = maxN -1;\n row = rand.nextInt(rowM);\n col = rand.nextInt(colM);\n point = new Point(row, col);\n carrier = new Ship(4, point, maxN, \"Carrier\", player);\n updateOccupiedCells(carrier.getBodyLocationPoints());\n ships.add(carrier);\n checkIfOccupiedForSetShip(carrier, row, col, rowM, colM);\n\n\n rowM = maxN - 1;\n colM = maxN;\n row = rand.nextInt(rowM);\n col = rand.nextInt(colM);\n point = new Point(row, col);\n cruiser = new Ship(2, point, maxN, \"Cruiser\", player);\n updateOccupiedCells(cruiser.getBodyLocationPoints());\n ships.add(cruiser);\n checkIfOccupiedForSetShip(cruiser, row, col, rowM, colM);\n\n\n rowM = maxN;\n colM = maxN;\n row = rand.nextInt(rowM);\n col = rand.nextInt(colM);\n point = new Point(row, col);\n scout_Two = new Ship(1, point, maxN, \"Scout_Two\", player);\n updateOccupiedCells(scout_Two.getBodyLocationPoints());\n ships.add(scout_Two);\n checkIfOccupiedForSetShip(scout_Two, row, col, rowM, colM);\n\n rowM = maxN;\n colM = maxN;\n row = rand.nextInt(rowM);\n col = rand.nextInt(colM);\n point = new Point(row, col);\n scout_One = new Ship(1, point, maxN, \"Scout_One\", player);\n updateOccupiedCells(scout_One.getBodyLocationPoints());\n ships.add(scout_One);\n checkIfOccupiedForSetShip(scout_One, row, col, rowM, colM);\n\n\n\n\n }\n //Need an algorithm to set enemy ship locations at random without overlaps\n }", "private void planDynamicStairs() throws GameActionException, HungryException {\r\n\t\tInteger fluxHeight = gameMap.get(fluxInfo.location).totalHeight;\r\n\t\tif (fluxHeight == fluxHeightWhenStairsPlanned){\r\n\t\t\tif (DEBUG) System.out.println(\"No need to plan stairs now\");\r\n\t\t\t//return; /* No return for now. Always plan stairs, so no stupid block lockups will occur */\r\n\t\t}\r\n\t\t\r\n\t\tif (DEBUG) System.out.println(\"-----TOWER-----\");\r\n\t\tDirection randDir = navigation.getRandomDirection();\r\n\t\tMapLocation start1 = fluxInfo.location.add(randDir).add(randDir);\r\n\t\tMapLocation start2 = fluxInfo.location.subtract(randDir).subtract(randDir);\r\n\t\tif ((gameMap.get(start1) == null) || (gameMap.get(start2) == null))\r\n\t\t\t/* unlucky - start position wasn't scanned yet */\r\n\t\t\treturn;\r\n\t\t\r\n\t\tfluxHeightWhenStairsPlanned = fluxHeight;\r\n\t\t\r\n\t\tList<MapLocation> fluxPath1 = navigation.findPathUsingAStar(gameMap, start1, fluxInfo.location, false);\r\n\t\t//if (DEBUG) System.out.println(fluxPath1);\r\n\t\tList<MapLocation> fluxPath2 = navigation.findPathUsingAStar(gameMap, start2, fluxInfo.location, false);\r\n\t\t//if (DEBUG) System.out.println(fluxPath2);\r\n\t\tCollections.reverse(fluxPath1);\r\n\t\tCollections.reverse(fluxPath2);\r\n\t\tList<MapLocation> result = new ArrayList<MapLocation>();\r\n\t\twhile ((fluxPath1.size() > 0) && (fluxPath2.size() > 0) && (fluxPath1.get(0).equals(fluxPath2.get(0)))){\r\n\t\t\tresult.add(fluxPath1.remove(0));\r\n\t\t\tfluxPath2.remove(0);\r\n\t\t}\r\n\t\tCollections.reverse(result);\r\n\t\tif (result.size() >= stairs.size())\r\n\t\t\t/* prefer fresh data, but not too short */\r\n\t\t\tstairs = result;\r\n\t\tif (DEBUG) System.out.println(result);\r\n\t\tif (DEBUG) System.out.println(navigation.changePathToDirections(result));\r\n\t\tif (DEBUG) System.out.println(\"----/TOWER-----\");\r\n\t}", "public static List<Location> generateLocations() {\n\t\tList<Location> locations = new ArrayList<Location>();\n\t\t\n\t\tfor(AREA area : AREA.values()) {\n\t\t\tLocation l = new Location(area);\n\t\t\t\n\t\t\tswitch (area) {\n\t\t\tcase Study:\n\t\t\t\tl.neighbors.add(AREA.HW_SH);\n\t\t\t\tl.neighbors.add(AREA.HW_SL);\n\t\t\t\tl.neighbors.add(AREA.Kitchen);\n\t\t\t\tl.isRoom = true;\n\t\t\t\tbreak;\n\t\t\tcase Hall:\n\t\t\t\tl.neighbors.add(AREA.HW_SH);\n\t\t\t\tl.neighbors.add(AREA.HW_HL);\n\t\t\t\tl.neighbors.add(AREA.HW_HB);\n\t\t\t\tl.isRoom = true;\n\t\t\t\tbreak;\n\t\t\tcase Lounge:\n\t\t\t\tl.neighbors.add(AREA.HW_HL);\n\t\t\t\tl.neighbors.add(AREA.HW_LD);\n\t\t\t\tl.neighbors.add(AREA.Conservatory);\n\t\t\t\tl.isRoom = true;\n\t\t\t\tbreak;\n\t\t\tcase Library:\n\t\t\t\tl.neighbors.add(AREA.HW_SL);\n\t\t\t\tl.neighbors.add(AREA.HW_LB);\n\t\t\t\tl.neighbors.add(AREA.HW_LC);\n\t\t\t\tl.isRoom = true;\n\t\t\t\tbreak;\n\t\t\tcase BilliardRoom:\n\t\t\t\tl.neighbors.add(AREA.HW_HB);\n\t\t\t\tl.neighbors.add(AREA.HW_LB);\n\t\t\t\tl.neighbors.add(AREA.HW_BD);\n\t\t\t\tl.neighbors.add(AREA.HW_BB);\n\t\t\t\tl.isRoom = true;\n\t\t\t\tbreak;\n\t\t\tcase DiningRoom:\n\t\t\t\tl.neighbors.add(AREA.HW_LD);\n\t\t\t\tl.neighbors.add(AREA.HW_BD);\n\t\t\t\tl.neighbors.add(AREA.HW_DK);\n\t\t\t\tl.isRoom = true;\n\t\t\t\tbreak;\n\t\t\tcase Conservatory:\n\t\t\t\tl.neighbors.add(AREA.HW_LC);\n\t\t\t\tl.neighbors.add(AREA.HW_CB);\n\t\t\t\tl.neighbors.add(AREA.Lounge);\n\t\t\t\tl.isRoom = true;\n\t\t\t\tbreak;\n\t\t\tcase Ballroom:\n\t\t\t\tl.neighbors.add(AREA.HW_BB);\n\t\t\t\tl.neighbors.add(AREA.HW_CB);\n\t\t\t\tl.neighbors.add(AREA.HW_BK);\n\t\t\t\tl.isRoom = true;\n\t\t\t\tbreak;\n\t\t\tcase Kitchen:\n\t\t\t\tl.neighbors.add(AREA.HW_DK);\n\t\t\t\tl.neighbors.add(AREA.HW_BK);\n\t\t\t\tl.neighbors.add(AREA.Study);\n\t\t\t\tl.isRoom = true;\n\t\t\t\tbreak;\n\t\t\tcase HW_SH:\n\t\t\t\tl.neighbors.add(AREA.Study);\n\t\t\t\tl.neighbors.add(AREA.Hall);\n\t\t\t\tbreak;\n\t\t\tcase HW_HL:\n\t\t\t\tl.neighbors.add(AREA.Hall);\n\t\t\t\tl.neighbors.add(AREA.Lounge);\n\t\t\t\tbreak;\n\t\t\tcase HW_SL:\n\t\t\t\tl.neighbors.add(AREA.Study);\n\t\t\t\tl.neighbors.add(AREA.Library);\n\t\t\t\tbreak;\n\t\t\tcase HW_HB:\n\t\t\t\tl.neighbors.add(AREA.Hall);\n\t\t\t\tl.neighbors.add(AREA.BilliardRoom);\n\t\t\t\tbreak;\n\t\t\tcase HW_LD:\n\t\t\t\tl.neighbors.add(AREA.Lounge);\n\t\t\t\tl.neighbors.add(AREA.DiningRoom);\n\t\t\t\tbreak;\n\t\t\tcase HW_LB:\n\t\t\t\tl.neighbors.add(AREA.Library);\n\t\t\t\tl.neighbors.add(AREA.BilliardRoom);\n\t\t\t\tbreak;\n\t\t\tcase HW_BD:\n\t\t\t\tl.neighbors.add(AREA.BilliardRoom);\n\t\t\t\tl.neighbors.add(AREA.DiningRoom);\n\t\t\t\tbreak;\n\t\t\tcase HW_LC:\n\t\t\t\tl.neighbors.add(AREA.Library);\n\t\t\t\tl.neighbors.add(AREA.Conservatory);\n\t\t\t\tbreak;\n\t\t\tcase HW_BB:\n\t\t\t\tl.neighbors.add(AREA.BilliardRoom);\n\t\t\t\tl.neighbors.add(AREA.Ballroom);\n\t\t\t\tbreak;\n\t\t\tcase HW_DK:\n\t\t\t\tl.neighbors.add(AREA.DiningRoom);\n\t\t\t\tl.neighbors.add(AREA.Kitchen);\n\t\t\t\tbreak;\n\t\t\tcase HW_CB:\n\t\t\t\tl.neighbors.add(AREA.Conservatory);\n\t\t\t\tl.neighbors.add(AREA.Ballroom);\n\t\t\t\tbreak;\n\t\t\tcase HW_BK:\n\t\t\t\tl.neighbors.add(AREA.Ballroom);\n\t\t\t\tl.neighbors.add(AREA.Kitchen);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlocations.add(l);\n\t\t}\n\t\t\n\t\treturn locations;\n\t}", "private List<SpaceShips> getSpaceShips() {\n API api = new API();\n\n List<SpaceShips> totalSpaceShips = new ArrayList<SpaceShips>();\n Gson gson = new Gson();\n GetRequestRepository requestRepository = new GetRequestRepository(api);\n\n JsonObject jsonObject = requestRepository.getAll(\"starships\", null);\n\n\n /**\n * Get next uri\n */\n SpaceShipsOverView spaceShipsOverView = gson.fromJson(jsonObject, SpaceShipsOverView.class);\n\n\n /**\n * Get SpaceShips\n */\n JsonArray resultsSpaceships = jsonObject.getAsJsonArray(\"results\");\n Type collectionType = new TypeToken<Collection<SpaceShips>>(){}.getType();\n Collection<SpaceShips> enums = gson.fromJson(resultsSpaceships, collectionType);\n totalSpaceShips.addAll(enums);\n\n while (spaceShipsOverView.getNext()!=null) {\n String valueUri = spaceShipsOverView.getNext();\n String [] splited = valueUri.split(\"/\");\n\n jsonObject = requestRepository.getAll(\"starships/\"+splited[splited.length-1],null);\n\n /**\n * Get next uri\n */\n spaceShipsOverView = gson.fromJson(jsonObject, SpaceShipsOverView.class);\n\n /**\n * Get SpaceShips\n */\n resultsSpaceships = jsonObject.getAsJsonArray(\"results\");\n collectionType = new TypeToken<Collection<SpaceShips>>(){}.getType();\n enums = gson.fromJson(resultsSpaceships, collectionType);\n totalSpaceShips.addAll(enums);\n }\n return totalSpaceShips;\n }", "@Override\n\tpublic void area() {\n\t\tSystem.out.println(\"------------------------------\");\n\t\tSystem.out.println(this.name+\"的面积:\"+land1high*land1);\n\t}", "static ArrayList<int[]> searcherTopLeftTiles(ArrayList<int[]> MoveList,int CurrentX, int CurrentY){\n\t\t\n\t\tfor(int j = 1; j <=7 ; j++){\n\t\t\tint [] NewXY = new int[2];\n\t\t\tNewXY[0] = CurrentX - j;\n\t\t\tNewXY[1] = CurrentY - j;\n\t\t\t\n\t\t\tif(NewXY[0] < 0 || NewXY[1] < 0){\n\t\t\t\treturn MoveList;\n\t\t\t}\n\t\t\t\n\n\t\t\tfor(int [] i: aggregateBlacks()){\n\t\t\t\tint[] Coordinate = i;\n\t\t\t\tif(Arrays.equals(Coordinate, NewXY)){\n\t\t\t\t\t//System.out.println(\"We have found a valid black piece to kill \" + j + \" tiles top left of this bishop\");\n\t\t\t\t\tMoveList.add(NewXY);\n\t\t\t\t\treturn MoveList;\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t\tfor(int [] i: aggregateWhites()){\n\t\t\t\tint[] Coordinate = i;\n\t\t\t\tif(Arrays.equals(Coordinate, NewXY)){\n\t\t\t\t\t//System.out.println(\"We have found a white piece \" + j + \" tiles top of this Queen\");\n\t\t\t\t\treturn MoveList;\n\t\t\t\t}\t\t\n\t\t\t}\t\n\t\t\tMoveList.add(NewXY);\n\t\t}\n\t\treturn MoveList;\n\t}", "public boolean setUpShip(int noOfShips, List<String> locationSets) throws SizeLimitExceededException {\r\n\r\n\t\tboolean setUpSuccessFully = false;\r\n\t\tif (noOfShips > battleArea.getWidth() * (battleArea.getHeight() - 'A' + 1)) {\r\n\t\t\tthrow new SizeLimitExceededException(\"Number of ships can not exceed width * height of battle area\");\r\n\r\n\t\t}\r\n\r\n\t\tlogger.info(\"No of Ships per player : \" + noOfShips);\r\n\r\n\t\t// Get each ship coordinates from input location sets\r\n\r\n\t\tint i = 0;\r\n\t\twhile (i < noOfShips) {\r\n\t\t\tString result = locationSets.get(i);\r\n\t\t\tString shipType = result.substring(0, 1);\r\n\t\t\tint width = Integer.valueOf(result.substring(2, 3));\r\n\t\t\tint height = Integer.valueOf(result.substring(4, 5));\r\n\t\t\tString startingCell = null;\r\n\r\n\t\t\r\n\r\n\t\t\t\tBattleShip ship = new BattleShip(width, height);\r\n\t\t\t\tstartingCell = result.substring(6, 8);\r\n\t\t\t\tlogger.info(\"Player Name :\" + this.getPlayerName() + \" \" + \"ship type : \" + shipType);\r\n\t\t\t\tlogger.info(\"width of ship: \" + width + \" \" + \"height : \" + height + \" \" + \"starting Cell: \"\r\n\t\t\t\t\t\t+ startingCell);\r\n\r\n\t\t\t\tsetUpSuccessFully = battleArea.addShipsToBattleArea(ship, startingCell, BattleShipType.valueOf(shipType).getVal());\r\n\t\t\t\r\n//\r\n//\t\t\telse if (BattleShipConstants.PType.equals(shipType)) {\r\n//\r\n//\t\t\t\tBattleShip pShip = new PTypeBattleShip(width, height);\r\n//\t\t\t\tstartingCell = result.substring(6, 8);\r\n//\t\t\t\tlogger.info(\"Player Name :\" + this.getPlayerName() + \" \" + \"ship type : \" + shipType);\r\n//\t\t\t\tlogger.info(\"width of ship: \" + width + \" \" + \"height : \" + height + \" \" + \"starting Cell: \"\r\n//\t\t\t\t\t\t+ startingCell);\r\n//\r\n//\t\t\t\tsetUpSuccessFully = battleArea.addShipsToBattleArea(pShip, startingCell, BattleShipConstants.pStrength);\r\n//\t\t\t}\r\n\r\n//\t\t\telse {\r\n//\t\t\t\tSystem.out.println(\"Ships can be either Q-Type or P-Type\");\r\n//\t\t\t}\r\n\r\n\t\t\ti++;\r\n\t\t}\r\n\r\n\t\tif (!setUpSuccessFully) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\treturn setUpSuccessFully;\r\n\r\n\t}", "public List<Ship> getAllShips() {return allShips; }", "@Override\r\n public void getRange(ArrayList<Piece> pieces){\r\n this.range.clear();\r\n int pieceX = this.getX(); int pieceY = this.getY(); // X and Y coordinates for the king piece\r\n\r\n // getPiece: 0 = empty; 1 = same color; 2 = opposite color\r\n //Up\r\n if (this.getPiece(pieceX, pieceY+1, pieces) == 0 || this.getPiece(pieceX, pieceY+1, pieces) == 2)\r\n this.range.add(new int[] {pieceX, pieceY+1}); // Return int[] of tested coordinates\r\n\r\n //Up-right\r\n if (this.getPiece(pieceX+1, pieceY+1, pieces) == 0 || this.getPiece(pieceX+1, pieceY+1, pieces) == 2)\r\n this.range.add(new int[] {pieceX+1, pieceY+1}); // Return int[] of tested coordinates\r\n\r\n //Right\r\n if (this.getPiece(pieceX+1, pieceY, pieces) == 0 || this.getPiece(pieceX+1, pieceY, pieces) == 2)\r\n this.range.add(new int[] {pieceX+1, pieceY}); // Return int[] of tested coordinates\r\n\r\n //Down-right\r\n if (this.getPiece(pieceX+1, pieceY-1, pieces) == 0 || this.getPiece(pieceX+1, pieceY-1, pieces) == 2)\r\n this.range.add(new int[] {pieceX+1, pieceY-1}); // Return int[] of tested coordinates\r\n\r\n //Down\r\n if (this.getPiece(pieceX, pieceY-1, pieces) == 0 || this.getPiece(pieceX, pieceY-1, pieces) == 2)\r\n this.range.add(new int[] {pieceX, pieceY-1}); // Return int[] of tested coordinates\r\n\r\n //Down-left\r\n if (this.getPiece(pieceX-1, pieceY-1, pieces) == 0 || this.getPiece(pieceX-1, pieceY-1, pieces) == 2)\r\n this.range.add(new int[] {pieceX-1, pieceY-1}); // Return int[] of tested coordinates\r\n\r\n //Left\r\n if (this.getPiece(pieceX-1, pieceY, pieces) == 0 || this.getPiece(pieceX-1, pieceY, pieces) == 2)\r\n this.range.add(new int[] {pieceX-1, pieceY}); // Return int[] of tested coordinates\r\n\r\n //Up-left\r\n if (this.getPiece(pieceX-1, pieceY+1, pieces) == 0 || this.getPiece(pieceX-1, pieceY+1, pieces) == 2)\r\n this.range.add(new int[] {pieceX-1, pieceY+1}); // Return int[] of tested coordinates\r\n\r\n //Castling\r\n for (Piece piece : pieces) {\r\n if (piece instanceof Rook) {\r\n if (piece.getColor() == this.getColor()) {\r\n if (validCastling(pieces, (Rook)piece)) {\r\n int targetX = (piece.getX() < getX()) ? (this.getX() - 2) : (this.getX() + 2);\r\n this.range.add(new int[] {targetX, this.getY()});\r\n }\r\n }\r\n }\r\n }\r\n }", "public abstract int getPopulation(int west, int south, int east, int north);", "private GenericGridError testShipBoundaries(final ShipCommand command, GenericGridError errors){\r\n\t\tInteger xCount;\r\n\t\tInteger yCount;\r\n\t\tif(command.getIsHorizontal()){\r\n\t\t\txCount = command.getShipSize()+2;\r\n\t\t\tyCount = 3;\r\n\t\t} else{\r\n\t\t\txCount = 3;\r\n\t\t\tyCount = command.getShipSize()+2;\r\n\t\t}\r\n\t\tPoint currentPosition = command.getTile().getPosition();\r\n\t\tScanArea scanArea = new ScanArea(\r\n\t\t\t\t\t\t\tnew Point((currentPosition.x - 1), (currentPosition.y - 1)), \r\n\t\t\t\t\t\t\tnew Dimension(xCount, yCount));\r\n\t\t\r\n\t\tList<Point> positionList = scanArea.getScanAreaPositions();\r\n\t\t\r\n\t\tfor(Point position : positionList){\r\n\t\t\tAbstractTile currentTile = command.getGrid().getTile(position);\r\n\t\t\tif(AbstractShipTile.class.isInstance(currentTile)){\r\n\t\t\t\terrors.addErrorMessage(\"SHIP TILE DETECTED AT POSITION(X,Y): \" \r\n\t\t\t\t\t\t+ currentTile.getPosition().x + \", \" \r\n\t\t\t\t\t\t+ currentTile.getPosition().y \r\n\t\t\t\t\t\t+ \"\\nRULE VIOLATION: SHIPS CANNOT BE PLACED ADJACENT TO OTHER SHIPS (INCLUDING DIAGONAL)\");\r\n\t\t\t}\r\n\t\t}\t\t\r\n\t\treturn errors;\r\n\t}", "private void prepareBoard(){\n gameBoard.arrangeShips();\n }", "private void markShips(Point start, Point end, GenericShip newShip, GameCell[][] board) {\n\t\t// check if vertical or horizontal\n\t\tif (start.x == end.x ) {\n\t\t\t// must be horizontal\n\t\t\tfor (int i = start.y ; i <= end.y ; i++) {\n\t\t\t\tboard[start.x][i].addShip(newShip);\n\t\t\t}\n\t\t}\n\t\telse if (start.y == end.y){\n\t\t\t// vertical\n\t\t\tfor (int i = start.x ; i <= end.x ; i++) {\n\t\t\t\tboard[i][start.y].addShip(newShip);\n\t\t\t}\n\t\t}\n\t\telse { //must be diagonal\n\t\t\tfor (int i = start.x, j = start.y; i <= end.x ; i++, j++) {\n\t\t\t\tboard[i][j].addShip(newShip);\n\t\t\t}\n\t\t}\n\t}", "public Position findWeed() {\n int xVec =0;\n int yVec=0;\n int sum = 0;\n Position move = new Position(0, 0);\n for (int i = 0; i < this.WORLD.getMapSize().getX(); i++) {\n for (int j = 0; j < this.WORLD.getMapSize().getY(); j++) {\n\n //hogweed\n Organism organism = this.WORLD.getOrganism(i, j);\n if(organism!=null){\n Class c = organism.getClass();\n if (c.getSimpleName().equals(\"Parnsip\")) {\n int tmpX = Math.abs(this.position.getX() - i);\n int tmpY = Math.abs(this.position.getY() - j);\n if (!(xVec == 0 && yVec == 0)) {\n int tmpSum = tmpX + tmpY;\n if (sum > tmpSum) {\n xVec=tmpX;\n yVec=tmpY;\n sum = tmpSum;\n this.setMove(move, j, i);\n }\n }\n else {\n xVec=tmpX;\n yVec=tmpY;\n sum = tmpX + tmpY;\n this.setMove(move, j, i);\n }\n }\n }\n\n }\n }\n return move;\n }", "@Override\r\n\tpublic void getarea(int a) {\n\t\t\r\n\t}", "public abstract IAttackable getEnemyInSearchArea(ShortPoint2D centerPos, IAttackable movable, short minSearchRadius, short maxSearchRadius,\n\t\t\t\t\t\t\t\t\t\t\t\t\t boolean includeTowers);", "public void fullHouseTest(int tripsInd)\n\t{\n\t\tboolean boat = false;\n\t\tint index;\n\t\t\n\t\tswitch (tripsInd)\t// Handle various situations in which the trips could be placed\n\t\t{\n\t\t\tcase 0:\t\t// where the trips start at index 0 (0-1-2)\n\t\t\t\tindex = 3;\n\t\t\t\twhile (index<(hand.length-1) && (!boat))\n\t\t\t\t{\n\t\t\t\t\tif (intRep[index] == intRep[index+1])\n\t\t\t\t\t{\n\t\t\t\t\t\tboat = true;\n\t\t\t\t\t\thandScore = 60000;\n\t\t\t\t\t\thandScore += 3 * (100 * intRep[tripsInd]);\n\t\t\t\t\t\thandScore += 2 * (10 * intRep[index]);\n\t\t\t\t\t}\n\t\t\t\t\telse index++;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 1:\t\t// where the trips start at index 1 (1-2-3)\n\t\t\t\tindex = 4;\n\t\t\t\twhile (index<(hand.length-1) && (!boat))\n\t\t\t\t{\n\t\t\t\t\tif (intRep[index] == intRep[index+1])\n\t\t\t\t\t{\n\t\t\t\t\t\tboat = true;\n\t\t\t\t\t\thandScore = 60000;\n\t\t\t\t\t\thandScore += 3 * (100 * intRep[tripsInd]);\n\t\t\t\t\t\thandScore += 2 * (10 * intRep[index]);\n\t\t\t\t\t}\n\t\t\t\t\telse index++;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 2:\t\t// where the trips start at index 2 (2-3-4)\n\t\t\t\tindex = 0;\t\t// need to test (0-1) and (5-6)\n\t\t\t\tif (intRep[index] == intRep[index+1])\t// test index 0 and 1\n\t\t\t\t{\n\t\t\t\t\tboat = true;\n\t\t\t\t\thandScore = 60000;\n\t\t\t\t\thandScore += 3 * (100 * intRep[tripsInd]);\n\t\t\t\t\thandScore += 2 * (10 * intRep[index]);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tindex = 5;\t\t// test indices 5 and 6 (trips are 2-3-4)\n\t\t\t\t\tif (intRep[index] == intRep[index+1])\n\t\t\t\t\t{\n\t\t\t\t\t\tboat = true;\n\t\t\t\t\t\thandScore = 60000;\n\t\t\t\t\t\thandScore += 3 * (100 * intRep[tripsInd]);\n\t\t\t\t\t\thandScore += 2 * (10 * intRep[index]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\t// trips could either be (3-4-5) or (4-5-6)\n\t\t\t\tindex = 0;\t\t// in either case, pair cant be index (5-6)\n\t\t\t\twhile (index<tripsInd && (!boat))\n\t\t\t\t{\n\t\t\t\t\tif (intRep[index] == intRep[index+1])\n\t\t\t\t\t{\n\t\t\t\t\t\tboat = true;\n\t\t\t\t\t\thandScore = 60000;\n\t\t\t\t\t\thandScore += 3 * (100 * intRep[tripsInd]);\n\t\t\t\t\t\thandScore += 2 * (10 * intRep[index]);\n\t\t\t\t\t}\n\t\t\t\t\telse index++;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}\n\t}", "private Set<IntVector2D> canAttackFromDestination() {\n\t\tif(activePath == null || !pf.isValidPath(activePath))\n\t\t\treturn new HashSet<>();\n\t\tGameCharacter gc = getUnitAt(activePath.get(0)).getEnclosed();\n\t\tboolean ranged = gc.isRanged();\n\t\tboolean melee = gc.isMelee();\n\t\tAlignment atkSide = gc.getSide();\n\t\tSet<IntVector2D> attackable = new HashSet<>();\n\t\tint x = activePath.get(activePath.size() - 1).getX();\n\t\tint y = activePath.get(activePath.size() - 1).getY();\n\t\tif(ranged) {\n\t\t\tList<IntVector2D> arr = new LinkedList<>();\n\t\t\tarr.add(new IntVector2D(x + 2, y));\n\t\t\tarr.add(new IntVector2D(x - 2, y));\n\t\t\tarr.add(new IntVector2D(x, y + 2));\n\t\t\tarr.add(new IntVector2D(x, y - 2));\n\t\t\tarr.add(new IntVector2D(x + 1, y + 1));\n\t\t\tarr.add(new IntVector2D(x - 1, y + 1));\n\t\t\tarr.add(new IntVector2D(x + 1, y - 1));\n\t\t\tarr.add(new IntVector2D(x - 1, y - 1));\n\t\t\tattackable.addAll(arr.stream()\n\t\t\t\t\t.filter((vec) -> (\n\t\t\t\t\t\t\tisTileOnMap(vec) // not sure why this is necessary\n\t\t\t\t\t\t\t&& getTileAt(vec).isOccupied()\n\t\t\t\t\t\t\t&& Alignment.areOpposed(atkSide, getUnitAt(vec).getSide())))\n\t\t\t\t\t.collect(Collectors.toList()));\n\t\t}\n\t\tif(melee) {\n\t\t\tList<IntVector2D> arr = new LinkedList<>();\n\t\t\tarr.add(new IntVector2D(x + 1, y));\n\t\t\tarr.add(new IntVector2D(x - 1, y));\n\t\t\tarr.add(new IntVector2D(x, y + 1));\n\t\t\tarr.add(new IntVector2D(x, y - 1));\n\t\t\tattackable.addAll(arr.stream()\n\t\t\t\t\t.filter((vec) -> (\n\t\t\t\t\t\t\tisTileOnMap(vec) // not sure why this is necessary\n\t\t\t\t\t\t\t&& getTileAt(vec).isOccupied()\n\t\t\t\t\t\t\t&& Alignment.areOpposed(atkSide, getUnitAt(vec).getSide())))\n\t\t\t\t\t.collect(Collectors.toList()));\n\t\t}\n\t\treturn attackable;\n\t}", "@Override\n\tpublic void mouseEntered(MouseEvent e) {\n\t\tif (shipsToPlace > 0) {\n\t\t\tchar isTileEnabled = (\"\" + e.getComponent()).charAt(22);\n\n\t\t\tif (isTileEnabled == 't') {\n\n\t\t\t\tint x = Integer.parseInt((\"\" + e.getComponent()).charAt(20) + \"\");\n\t\t\t\tint y = Integer.parseInt((\"\" + e.getComponent()).charAt(21) + \"\");\n\t\t\t\tplayerBoard[x][y].setBackground(Color.yellow);\n\n\t\t\t\tif (shipsToPlace == 3) {\n\t\t\t\t\tfor (int i = 1; i < 5; i++) {\n\t\t\t\t\t\tif ((x + i) < 10)\n\t\t\t\t\t\t\tplayerBoard[x + i][y].setBackground(Color.yellow);\n\t\t\t\t\t}\n\t\t\t\t} else if (shipsToPlace == 2) {\n\t\t\t\t\tif (y + 1 < 10)\n\t\t\t\t\t\tplayerBoard[x][y + 1].setBackground(Color.yellow);\n\t\t\t\t\tif (y + 2 < 10)\n\t\t\t\t\t\tplayerBoard[x][y + 2].setBackground(Color.yellow);\n\t\t\t\t} else if (shipsToPlace == 1) {\n\t\t\t\t\tif (y + 1 < 10)\n\t\t\t\t\t\tplayerBoard[x][y + 1].setBackground(Color.yellow);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "protected boolean canSampleArea() { return true; }", "private ArrayList processBuilding(int[][] building, int minArea, Random rand){\n\t\tint a = RescueMapToolkit.area(building);\n\t\t//System.out.println(minArea+\", \"+a);\n\t\tif(a < 1000) //kill these ones...\n\t\t\treturn new ArrayList(0);\n\t\tif(a < minArea){ //primary base case\n\t\t\tArrayList l = new ArrayList(1);\n\t\t\tl.add(building);\n\t\t\treturn l;\n\t\t}\n\t\tint lower = (int)(rand.nextDouble()*minArea);\n\t\tlower = lower*4;\n\t\tif(a < lower){ //probabilistic base case\n\t\t\tArrayList l = new ArrayList(1);\n\t\t\tl.add(building);\n\t\t\treturn l;\n\t\t}\n\t\t//find the max and min points\n\t\tint minX = building[0][0];\n\t\tint minY = building[0][1];\n\t\tint maxX = building[0][0];\n\t\tint maxY = building[0][1];\n\t\tfor(int i = 1; i < building.length; i++){\n\t\t\tif(minX > building[i][0]) minX = building[i][0];\n\t\t\tif(maxX < building[i][0]) maxX = building[i][0];\n\t\t\tif(minY > building[i][1]) minY = building[i][1];\n\t\t\tif(maxY < building[i][1]) maxY = building[i][1];\n\t\t}\n\t\tint midX = (minX+maxX)/2;\n\t\tint midY = (minY+maxY)/2;\n\t\t//split the building in half\n\t\tint[][][] split;\n\t\tif(maxX-minX > maxY-minY)\n\t\t\tsplit = RescueMapToolkit.split(building,midX,minY,midX,maxY);\n\t\telse\n\t\t\tsplit = RescueMapToolkit.split(building,minX,midY,maxX,midY);\n\n\t\tif(split == null || RescueMapToolkit.area(split[0]) == 0 || RescueMapToolkit.area(split[1]) == 0)\n\t\t\treturn new ArrayList(0);\n\n\t\t//and recurse\n\t\tArrayList a1 = processBuilding(split[0],minArea,rand);\n\t\tArrayList a2 = processBuilding(split[1],minArea,rand);\n\t\tArrayList toRet = new ArrayList(a1.size()+a2.size());\n\t\tfor(int i = 0; i < a1.size(); i++)\n\t\t\ttoRet.add(a1.get(i));\n\t\tfor(int i = 0; i < a2.size(); i++)\n\t\t\ttoRet.add(a2.get(i));\n\t\treturn toRet;\n\t}", "protected Ocean(){\n for (int i=0; i<10; i++){\n for (int j=0;j<10; j++){\n EmptySea empty = new EmptySea();\n ships[i][j] = empty;\n }\n }\n }", "public List<Pair> calculateShipTileIndices() {\n List<Pair> shipTileIndices = new ArrayList<>();\n for (int i = 0; i < shipSize; i++) {\n if (orientation == Orientation.HORIZONTAL) {\n shipTileIndices.add(new Pair(startX + i, startY));\n } else {\n shipTileIndices.add(new Pair(startX, startY + i));\n }\n }\n return shipTileIndices;\n }", "public abstract int getArea();", "public int getShipsAlive() {\n return this.numberOfShips;\n }", "private Ship consoleGetAShip(Ship[] ships, String name, int size) {\n // boolean goodLocation = false;\n boolean vertical;\n int range = 10 - size;\n int row, col;\n String line;\n String in;\n Ship ship;\n \n //This code sometimes places ships outside of graphical grid\n // ¯\\_(\"/)_/¯\n while (true) {\n System.out.println(\"Place your \" + name + \": Will it be vertical? (Y/N) \");\n line = scan.nextLine();\n while (line.length() == 0) {\n line = scan.nextLine();\n }\n in = line.substring(0,1);\n System.out.println(\"input string: \" + in);\n \n if (in.equalsIgnoreCase(\"Y\")) {\n vertical = true;\n break;\n } else if (in.equalsIgnoreCase(\"N\")) {\n vertical = false;\n break;\n }\n // Invalid input; once more through the while loop to try again\n }\n while (true) {\n if (vertical) {\n System.out.print(\"Row (0 through \" + range + \"): \");\n row = scan.nextInt();\n scan.nextLine();\n System.out.print(\"Column (0 through 9): \");\n col = scan.nextInt();\n if (row < 0 || row > range || col < 0 || col > 9) continue;\n } else { // horizontal\n System.out.print(\"Row (0 through 9): \");\n row = scan.nextInt();\n System.out.print(\"Column (0 through \" + range + \"): \");\n col = scan.nextInt();\n if (row < 0 || row > 9 || col < 0 || col > range) continue;\n } \n ship = new Ship(row, col, vertical, size, name);\n if (collide(ship, ships)) {\n System.out.println(\"There's already a ship there! Please try again.\");\n continue;\n }\n break;\n }\n return ship;\n }", "@Test\n void should_place_ships_scenario_1() {\n Board board = BoardData.getBoard(15, 15);\n\n List<ShipType> shipConfigs = Arrays.asList(\n ShipType.ONE,\n ShipType.ONE,\n ShipType.TWO,\n ShipType.THREE\n );\n\n AutomaticShipPlacer automaticShipPlacer = new AutomaticShipPlacer();\n automaticShipPlacer.placeShips(shipConfigs, board);\n\n assertSame(4, board.getShips().size());\n BoardPrinter.print(board);\n }", "public int countShips(Sea sea, int[] bottomLeft, int[] topRight) {\n\n int xMid = bottomLeft[0] + (topRight[0] - bottomLeft[0]) / 2;\n int yMid = bottomLeft[1] + (topRight[1] - bottomLeft[1]) / 2;\n\n int tl = 0, tr = 0, bl = 0, br = 0;\n\n int[] middle = {xMid, yMid};\n\n if (sea.hasShips(bottomLeft, middle)) {\n bl = countShips(sea, bottomLeft, middle);\n }\n\n if (sea.hasShips(new int[] {bottomLeft[0], yMid}, new int[] {xMid, topRight[1]})) {\n tl = countShips(sea, new int[] {bottomLeft[0], yMid}, new int[] {xMid, topRight[1]});\n }\n\n if (sea.hasShips(new int[] {xMid + 1, bottomLeft[1]}, new int[] {topRight[0], yMid + 1})) {\n br = countShips(sea, new int[] {xMid + 1, bottomLeft[1]}, new int[] {topRight[0], yMid + 1});\n }\n\n if (sea.hasShips(new int[] {xMid + 1, yMid + 1}, topRight)) {\n tr = countShips(sea, new int[] {xMid + 1, yMid + 1}, topRight);\n }\n\n return tl + tr + bl + br;\n }", "@Test\n void should_place_ships_scenario_2() {\n Board board = BoardData.getBoard(15, 15);\n\n List<ShipType> shipConfigs = Arrays.asList(\n ShipType.ONE,\n ShipType.ONE,\n ShipType.ONE,\n ShipType.ONE,\n ShipType.TWO,\n ShipType.TWO\n );\n\n AutomaticShipPlacer automaticShipPlacer = new AutomaticShipPlacer();\n automaticShipPlacer.placeShips(shipConfigs, board);\n\n assertSame(6, board.getShips().size());\n BoardPrinter.print(board);\n }", "public int[] pick() {\n int key = map.ceilingKey(random.nextInt(areaSum) + 1);\n int[] rectangle = map.get(key);\n\n int length = rectangle[2] - rectangle[0] + 1;\n int breadth = rectangle[3] - rectangle[1] + 1;\n\n //length denotes the no of x coordinates we can have.\n //breadth denotes the no of y coordinates we can have\n\n //random.nextInt gives a random value from x1 - x2-1 which we can add to the current x and we can have a valid x .\n //random.nextInt gives a random value from y1 - y2-1 which we can add to the current y and we can have a valid y .\n\n int x = rectangle[0] + random.nextInt(length);\n int y = rectangle[1] + random.nextInt(breadth);\n\n return new int[]{x, y};\n }", "public Ships() {\n\t\tships = new ArrayList<Ship>();\n\t\tships.add(new Ship(ShipType.BATTLESHIP));\n\t\tships.add(new Ship(ShipType.CRUISER));\n\t\tships.add(new Ship(ShipType.CRUISER));\n\t\tships.add(new Ship(ShipType.DESTROYER));\n\t\tships.add(new Ship(ShipType.DESTROYER));\n\t\tships.add(new Ship(ShipType.DESTROYER));\n\t\tships.add(new Ship(ShipType.SUBMARINE));\n\t\tships.add(new Ship(ShipType.SUBMARINE));\n\t\tships.add(new Ship(ShipType.SUBMARINE));\n\t}", "public boolean placementDone() {return placedShips == 4;}", "private void setScanStars(String filled, String notFilled, String filledGold)\t{\n\t\t\n\t\tint idFilled = getResources().getIdentifier(filled, \"drawable\", \"com.loyal3.loyal3\");\n\t\tint idNotFilled = getResources().getIdentifier(notFilled, \"drawable\", \"com.loyal3.loyal3\");\n\t//\tint idFilledGold = getResources().getIdentifier(filledGold, \"drawable\", \"com.loyal3.loyal3\");\n\t\t\n\t\t\n\tif(Integer.parseInt(scanCount) < Integer.parseInt(maxScans)) {\t\n\t\t\n\t\t//Top Row \n\t\tLinearLayout llStarsTopRow = (LinearLayout) findViewById(R.id.llStars1);\n\t\tLinearLayout llStarsBottomRow = (LinearLayout) findViewById(R.id.llStars2);\n\n\t\tfor(int i = 0; i < (Integer.parseInt(maxScans)-(Integer.parseInt(maxScans)/2));i++)\t{\n\n\t\t\tstarCounter = i;\n\t\t\tImageView iv = new ImageView(this);\n\n\n\t/*\t\tif(Integer.parseInt(scanCount) == Integer.parseInt(maxScans))\t{\n\t\t\t\tiv.setImageResource(idFilledGold);\n\t\t\t}\n\t\t\telse*/ if( i < Integer.parseInt(scanCount))\t{\n\t\t\t\tiv.setImageResource(idFilled);\n\t\t\t}\t\n\t\t\telse\t{\n\t\t\t\tiv.setImageResource(idNotFilled);\n\t\t\t}\n\n\t\t\tiv.setLayoutParams(new LinearLayout.LayoutParams((int)(width/(Integer.parseInt(maxScans)-(Integer.parseInt(maxScans)/2))),(int)(height*(0.08))));\n\t\t\tiv.setBackgroundColor(Color.TRANSPARENT);\n\n\t\t\tllStarsTopRow.addView(iv);\n\t\t}\n\n\t\t//Bottom Row\n\t\tfor(int i = starCounter+1; i < (Integer.parseInt(maxScans));i++)\t{\n\t\t\tImageView iv = new ImageView(this);\n\n\n\t\t/*\tif(Integer.parseInt(scanCount) == Integer.parseInt(maxScans))\t{\n\t\t\t\tiv.setImageResource(idFilledGold);\n\t\t\t}\n\t\t\telse*/ if( i < Integer.parseInt(scanCount))\t{\n\t\t\t\tiv.setImageResource(idFilled);\n\t\t\t}\t\n\t\t\telse\t{\n\t\t\t\tiv.setImageResource(idNotFilled);\n\t\t\t}\n\n\t\t\tiv.setLayoutParams(new LinearLayout.LayoutParams((int)(width/(Integer.parseInt(maxScans)/2)),(int)(height*(0.08))));\n\t\t\tiv.setBackgroundColor(Color.TRANSPARENT);\n\n\t\t\tllStarsBottomRow.addView(iv);\n\n\t\t}\n\t}\n\n\t\tLinearLayout llMainDisplay = (LinearLayout) findViewById(R.id.llMainDisplay);\n\n\t\tthis.setContentView(llMainDisplay);\t\n\t}", "public void mouseExited(MouseEvent e) {\n\n\t\tif (shipsToPlace > 0) {\n\t\t\tint x = Integer.parseInt((\"\" + e.getComponent()).charAt(20) + \"\");\n\t\t\tint y = Integer.parseInt((\"\" + e.getComponent()).charAt(21) + \"\");\n\n\t\t\tchar isTileEnabled = (\"\" + e.getComponent()).charAt(22);\n\n\t\t\tif (isTileEnabled == 't')\n\t\t\t\tplayerBoard[x][y].setBackground(Color.darkGray);\n\n\t\t\tif (shipsToPlace == 3) {\n\n\t\t\t\tfor (int i = 1; i < 5; i++) {\n\n\t\t\t\t\tif ((x + i) < 10) {\n\n\t\t\t\t\t\tisTileEnabled = playerBoard[x + i][y].getName().charAt(2);\n\n\t\t\t\t\t\tif (isTileEnabled == 't')\n\t\t\t\t\t\t\tplayerBoard[x + i][y].setBackground(Color.darkGray);\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tplayerBoard[x + i][y].setBackground(Color.lightGray);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t} else if (shipsToPlace == 2) {\n\t\t\t\tif (y + 1 < 10) {// first tile\n\n\t\t\t\t\tisTileEnabled = playerBoard[x][y + 1].getName().charAt(2);\n\n\t\t\t\t\tif (isTileEnabled == 't')\n\t\t\t\t\t\tplayerBoard[x][y + 1].setBackground(Color.darkGray);\n\t\t\t\t\telse\n\t\t\t\t\t\tplayerBoard[x][y + 1].setBackground(Color.lightGray);\n\n\t\t\t\t}\n\n\t\t\t\tif (y + 2 < 10) {// second tile\n\t\t\t\t\tisTileEnabled = playerBoard[x][y + 2].getName().charAt(2);\n\n\t\t\t\t\tif (isTileEnabled == 't')\n\t\t\t\t\t\tplayerBoard[x][y + 2].setBackground(Color.darkGray);\n\t\t\t\t\telse\n\t\t\t\t\t\tplayerBoard[x][y + 2].setBackground(Color.lightGray);\n\t\t\t\t}\n\n\t\t\t} else if (shipsToPlace == 1) {\n\n\t\t\t\tif (y + 1 < 10) {// first tile\n\n\t\t\t\t\tisTileEnabled = playerBoard[x][y + 1].getName().charAt(2);\n\n\t\t\t\t\tif (isTileEnabled == 't')\n\t\t\t\t\t\tplayerBoard[x][y + 1].setBackground(Color.darkGray);\n\t\t\t\t\telse\n\t\t\t\t\t\tplayerBoard[x][y + 1].setBackground(Color.lightGray);\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "void lowerNumberOfStonesOnBoard();", "public ShotResult checkForHit(Admiral admiral, int playerShot) {\r\n\t\tAdmiral opponentAdmiral = returnOpponent(admiral);\r\n\t\tint[] mapGrid = opponentAdmiral.getMapGrid();\r\n\t\tadmiral.setCountOfPlayerShots((admiral.getCountOfPlayerShots()) + 1);\r\n\t\tShotResult result = ShotResult.Miss;\r\n\t\tIterator<Unit> iteratorForShips = opponentAdmiral.getFleet().iterator();\r\n\t\twhile (iteratorForShips.hasNext()) {\r\n\t\t\tUnit ship = iteratorForShips.next();\r\n\t\t\tArrayList<Integer> location = ship.getLocationCells();\r\n\t\t\tIterator<Integer> iteratorFofCells = location.iterator();\r\n\t\t\twhile (iteratorFofCells.hasNext()) {\r\n\t\t\t\tInteger cell = iteratorFofCells.next();\r\n\t\t\t\tif (cell == playerShot) {\r\n\t\t\t\t\tmapGrid[cell] = 2;\r\n\t\t\t\t\titeratorFofCells.remove();\r\n\t\t\t\t\tint countOfHits = ship.getHitsToSunk();\r\n\t\t\t\t\tship.setHitsToSunk(--countOfHits);\r\n\t\t\t\t\tif (ship.getHitsToSunk() == 0) {\r\n\t\t\t\t\t\tresult = ShotResult.Sunk;\t\t\t\t\t\t\r\n\t\t\t\t\t\tSystem.out.println(\"Sunk \" + ship.getTypeOfShip() + \" \"+ ship.getName());\r\n\t\t\t\t\t\titeratorForShips.remove();\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tresult = ShotResult.Hit;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (result.equals(ShotResult.Miss)) {\r\n\t\t\tmapGrid[playerShot] = -1;\r\n\t\t}\r\n\t\tif (returnOpponent(admiral).getFleet().isEmpty()) {\r\n\t\t\tgameWin = true;\r\n\t\t\twinner = admiral;\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "private boolean isAllAreaAchievable() throws ReachabilityException {\n\t\t\n\t\t// mark all points that the player should reach as 1, else as 0\n\t\tint[][] tempMap = new int[height][width];\n\t\tfor (int i = 0; i < height; i++) {\n\t\t\tfor (int j = 0; j < width; j++) {\n\t\t\t\tif (mapElementArray[i][j] instanceof Item\n\t\t\t\t\t\t|| mapElementArray[i][j] instanceof Teleporter\n\t\t\t\t\t\t|| mapElementArray[i][j] instanceof PlayerSpawnPoint)\n\t\t\t\t\ttempMap[i][j] = 1;\n\t\t\t\telse\n\t\t\t\t\ttempMap[i][j] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\t//try to reach all area\n\t\treachAllValidPoint(tempMap, aPlayerSpawnPointRow, aPlayerSpawnPointCol);\n\t\t\n\t\t//check if all area have been reached\n\t\tint unreachablePoint = 0;\n\t\tfor (int i = 0; i < height; i++) {\n\t\t\tfor (int j = 0; j < width; j++) {\n\t\t\t\tif (tempMap[i][j] == 1) {\n\t\t\t\t\tunreachablePoint++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n//\t\ttry {\n\t\t\tif (unreachablePoint > 0) {\n\t\t\t\tSystem.out.println(unreachablePoint + \" points are unreachable\");\n\t\t\t\tthrow new ReachabilityException();\n\t\t\t}else {\n\t\t\t\treturn true;\n\t\t\t}\n\t/*\t} catch (ReachabilityException e) {\n\t\t\tSystem.out.println(e);\n\t\t\t//print out map with invalid area\n\t\t\tfor (int i = 0; i < height; i++) {\n\t\t\t\tfor (int j = 0; j <width; j++) {\n\t\t\t\t\tSystem.out.print(tempMap[i][j]);\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\treturn false;\n\t\t}*/\n\n\t}", "@Override\n public void mouseReleased(MouseEvent arg0) {\n yourBoardPanel[xx][yy].setBackground(updateYourBoardHelper(xx, yy));\n //potential problem here during initialization of ships?\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 }", "public void areaTracker() {\n\n\t\turl = ClassLoader.getSystemClassLoader().getResource(\n\t\t\t\t\"res/floor_plan.jpg\");\n\n\t\t// file path is read to the buffered image\n\t\ttry {\n\t\t\ticon1 = ImageIO.read(url);\n\t\t} catch (IOException e) {\n\n\t\t\te.printStackTrace();\n\t\t}\n\t\t// mouse listener (to display the selected area) for the mouse events\n\n\t\taddMouseListener(new MouseEventAdapterA());\n\t\tsetVisible(true);\n\t}", "static ArrayList<int[]> searcherBottomRightTiles(ArrayList<int[]> MoveList,int CurrentX, int CurrentY){\n\t\t\n\t\tfor(int j = 1; j <=7 ; j++){\n\t\t\tint [] NewXY = new int[2];\t\n\t\t\tNewXY[0] = CurrentX + j;\n\t\t\tNewXY[1] = CurrentY + j;\n\t\t\t\n\t\t\tif(NewXY[0] > 7 || NewXY[1] > 7){\n\t\t\t\treturn MoveList;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int [] i: aggregateBlacks()){\n\t\t\t\tint[] Coordinate = i;\n\t\t\t\tif(Arrays.equals(Coordinate, NewXY)){\n\t\t\t\t\t//System.out.println(\"We have found a valid black piece to kill \" + j + \" tiles bottom right of this bishop\");\n\t\t\t\t\tMoveList.add(NewXY);;\n\t\t\t\t\treturn MoveList;\n\t\t\t\t}\t \t\t\t\t\n\t\t\t}\n\t\t\tfor(int [] i: aggregateWhites()){\n\t\t\t\tint[] Coordinate = i;\n\t\t\t\tif(Arrays.equals(Coordinate, NewXY)){\n\t\t\t\t\t//System.out.println(\"We have found a white piece \" + j + \" tiles top of this Queen\");\n\t\t\t\t\treturn MoveList;\n\t\t\t\t}\t\t\n\t\t\t}\t\n\t\t\tMoveList.add(NewXY);\n\t\t\t}\n\t\treturn MoveList;\n\t\t}", "private int surroundingLandCheckCity(City city) {\n int numLandTilesSurrounding = 0;\n for (int i = city.getRow() - 1; i < city.getRow() + 2; i++) {\n for (int j = city.getCol() - 1; j < city.getCol() + 2; j++) {\n if (tileMap[i][j].getTerrain() instanceof Grass) {\n numLandTilesSurrounding++;\n }\n }\n }\n return numLandTilesSurrounding;\n }", "private void scanForBlockFarAway() {\r\n\t\tList<MapLocation> locations = gameMap.senseNearbyBlocks();\r\n\t\tlocations.removeAll(stairs);\r\n\t\tif (locations.size() == 0) {\r\n\t\t\tblockLoc = null;\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t/* remove blocks that can be sensed */\r\n\t\tIterator<MapLocation> iter = locations.iterator();\r\n\t\twhile(iter.hasNext()) {\r\n\t\t\tMapLocation loc = iter.next();\r\n\t\t\tif (myRC.canSenseSquare(loc))\r\n\t\t\t\titer.remove();\r\n\t\t} \r\n\t\t\r\n\t\tlocations = navigation.sortLocationsByDistance(locations);\r\n\t\t//Collections.reverse(locations);\r\n\t\tfor (MapLocation block : locations) {\r\n\t\t\tif (gameMap.get(block).robotAtLocation == null){\r\n\t\t\t\t/* this location is unoccupied */\r\n\t\t\t\tblockLoc = block;\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t\tblockLoc = null;\r\n\t}", "public void createIsipship() {\r\n\t\tRandom randomGenerator = new Random();\r\n\t\tint posX = 840;\r\n\t\tint randomPosY = randomGenerator.nextInt(480); \r\n\t\tIsipEngineer isipEngineer = new IsipEngineer(posX, randomPosY);\r\n\t\tisipShips.add(isipEngineer);\r\n\t\t//rectangles.add(isipEngineer.r);\r\n\t}", "private boolean didMyShipSink(int x, int y) {\n boolean sunk = false; //assumes ship hasn't sunk\n for (int i = 0; i < fleet.size(); i++) { //going through fleet to find boat\n if (fleet.get(i).getStartX() == x && fleet.get(i).getStartY() == y) {\n sunk = fleet.get(i).hitAndMaybeSunk(); \n //System.out.println(\"didMyShipSink(): \" + fleet.get(i).getIsSunk());\n if (sunk) { \n shipsSunk.add(fleet.get(i)); \n fleet.remove(i);\n }\n }\n }\n return sunk;\n }", "public boolean placeShip(int player, int x, int y) {\n\n Ship ship = null;\n\n for (int i = 0; i < 5; i++) {\n if (playerShips[i].selected) {\n ship = playerShips[i];\n }\n }\n if (ship == null) {\n return false;\n }\n\n if (orientation == 1) {\n if (ship.length + y > 10) {\n return false;\n }\n }\n if (orientation == 0) {\n if (ship.length + x > 10) {\n return false;\n }\n }\n for (int i = 0; i < ship.length; i++) {\n if(orientation == 0) {\n if (humanPlayerBoard[y][x+i] != board.water.ordinal()) {\n return false;\n }\n }\n else{\n if(humanPlayerBoard[y+i][x] != board.water.ordinal()){\n return false;\n }\n }\n }\n for (int i = 0; i < ship.length; i++) {\n if(orientation == 0) {\n humanPlayerBoard[y][x+i] = board.ship.ordinal();\n }\n else{\n humanPlayerBoard[y+i][x] = board.ship.ordinal();\n }\n }\n if(ship.placed){\n if(ship.orientation == 1){\n for(int i = 0; i < ship.length; i++){\n humanPlayerBoard[ship.y+i][ship.x] = board.water.ordinal();\n }\n }\n else{\n for(int j = 0; j < ship.length; j++){\n humanPlayerBoard[ship.y][ship.x+j] = board.water.ordinal();\n }\n }\n }\n ship.setShip(x, y, orientation);\n ship.placed = true;\n\n return true;\n }", "public static ArrayList<XYCoord> findPossibleDestinations(Unit unit, GameMap gameMap, boolean includeOccupiedSpaces)\n {\n ArrayList<XYCoord> reachableTiles = new ArrayList<XYCoord>();\n\n if( null == unit || unit.x < 0 || unit.y < 0 )\n {\n System.out.println(\"WARNING! Finding destinations for ineligible unit!\");\n return reachableTiles;\n }\n\n // set all locations to false/remaining move = 0\n int[][] costGrid = new int[gameMap.mapWidth][gameMap.mapHeight];\n for( int i = 0; i < gameMap.mapWidth; i++ )\n {\n for( int j = 0; j < gameMap.mapHeight; j++ )\n {\n costGrid[i][j] = Integer.MAX_VALUE;\n }\n }\n\n // set up our search\n SearchNode root = new SearchNode(unit.x, unit.y);\n costGrid[unit.x][unit.y] = 0;\n Queue<SearchNode> searchQueue = new java.util.PriorityQueue<SearchNode>(13, new SearchNodeComparator(costGrid));\n searchQueue.add(root);\n // do search\n while (!searchQueue.isEmpty())\n {\n // pull out the next search node\n SearchNode currentNode = searchQueue.poll();\n // if the space is empty or holds the current unit, highlight\n Unit obstacle = gameMap.getLocation(currentNode.x, currentNode.y).getResident();\n if( obstacle == null || obstacle == unit || includeOccupiedSpaces ) // expandSearchNode will throw out spaces occupied by enemies\n {\n reachableTiles.add(new XYCoord(currentNode.x, currentNode.y));\n }\n\n expandSearchNode(unit, gameMap, currentNode, searchQueue, costGrid, false);\n\n currentNode = null;\n }\n\n return reachableTiles;\n }", "public Location spread()\n {\n // plant needs to be alive, ready to reproduce (# of turns) \n // square needs to have fewer than 10 plants, BUT a tree can kill \n // a grass plant\n }", "private void analyzeForObstacles() {\n \t\n \t\n \tStack<Rect> bestFound = new Stack<Rect>();//This is a stack as the algorithm moves along x linearly\n \tboolean[][] blackWhiteGrid = getBlackWhiteGrid();\n \tint[] cache = new int[grid.length];\n \t\n \twhile (true) {\n\t\t\tboolean noneFound = true;\n\t\t\t\n\t\t\tfor (int i = 0; i<cache.length; i++)\n\t\t\t\tcache[i] = 0;\n\t\t\tfor (int llx = grid.length -1; llx >= 0; llx--) {\n\t\t\t\tupdate_cache(blackWhiteGrid,cache, llx);\n\t\t\t\tfor (int lly = 0; lly < grid.length; lly++) {\n\t\t\t\t\tRect bestOfRound = new Rect(llx,lly,llx,lly);\n\t\t\t\t\tint y = lly;\n\t\t\t\t\tint x_max = 9999;\n\t\t\t\t\tint x = llx;\n\t\t\t\t\twhile (y+1<grid.length && blackWhiteGrid[llx][y]) {\n\t\t\t\t\t\ty++;\n\t\t\t\t\t\tx = Math.min(llx+cache[y]-1, x_max);\n\t\t\t\t\t\tx_max = x;\n\t\t\t\t\t\tRect tryRect = new Rect(llx,lly-1,x,y);\n\t\t\t\t\t\tif (tryRect.area() > bestOfRound.area()) {\n\t\t\t\t\t\t\tbestOfRound = tryRect;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (bestOfRound.area() > 40) {\n\t\t\t\t\t\tif (noneFound) {\n\t\t\t\t\t\t\tbestFound.push(bestOfRound);\n\t\t\t\t\t\t\tnoneFound = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tRect lastRect = bestFound.peek();\n\t\t\t\t\t\t\tif (lastRect.area() < bestOfRound.area()) {\n\t\t\t\t\t\t\t\tbestFound.pop();\n\t\t\t\t\t\t\t\tbestFound.push(bestOfRound);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (noneFound)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tclearFoundRectangle(blackWhiteGrid, bestFound.peek());\n \t}\n \t\n \t//add found rectanlges\n \tobstacles.clear();\n \tobstacles.addAll(bestFound);\n \tSystem.out.println(\"Sweep done:\");\n \tfor (Rect r : bestFound){\n \t\tSystem.out.println(\"Rect: llx=\" + (r.llx-400) + \"\\tlly=\" + (r.lly-400) + \"\\turx=\" + (r.urx-400) + \"\\tury=\" + (r.ury-400));\n \t\tList<Point2D.Double> corners = new ArrayList<Point2D.Double>();\n \t\tcorners.add(new Point2D.Double((r.llx-400),(r.lly-400)));\n \t\tcorners.add(new Point2D.Double((r.llx-400),(r.ury-400)));\n \t\tcorners.add(new Point2D.Double((r.urx-400),(r.lly-400)));\n \t\tcorners.add(new Point2D.Double((r.urx-400),(r.ury-400)));\n \t\tobstaclesF.add(new Obstacle(corners));\n \t}\n \t\n \ttoExplore.clear();\n \tint i = 0;\n \tRandom rand = new Random();\n \twhile (toExplore.size() < 10 && i < 1000) {\n \t\tint x = rand.nextInt(grid.length);\n \t\tint y = rand.nextInt(grid.length);\n \t\tif (grid[x][y] == .5) {\n \t\t\ttoExplore.add(new Flag(\"blue\",x,y));\n \t\t}\n \t}\n }", "@Override\n\tprotected void placeStones(int numStones) {\n\n\t\tShape pitBounds = this.getShape();\n\t\tdouble pitW = pitBounds.getBounds().getWidth();\n\t\tdouble pitH = pitBounds.getBounds().getHeight();\n\t\t\n\n\t\tint stoneWidth = this.stoneIcon.getIconWidth();\n\t\tint stoneHeight = this.stoneIcon.getIconHeight();\n\n\t\t\t\n\t\tfor (int i = 0; i < numStones; i++){\n\t\t\tboolean locationFound = false;\n\t\t\tdo{\n\t\t\t\tfloat x = (float) Math.random();\n\t\t\t\tfloat y = (float) Math.random();\n\n\t\t\t\tx *= pitW;\n\t\t\t\ty *= pitH;\n\t\t\t\t\n\t\t\t\tEllipse2D.Float stoneBounds = new Ellipse2D.Float((float) (x+pitBounds.getBounds().getX()), (float) (y+pitBounds.getBounds().getY()), (float) (stoneWidth), (float) (stoneHeight));\n\n\t\t\t\tSystem.out.println(stoneBounds.getBounds());\n\t\t\t\tpitBounds.getBounds().setLocation(0, 0);\n\t\t\t\tArea pitArea = new Area(pitBounds);\n\t\t\t\tArea pendingStoneLocation = new Area(stoneBounds);\n\t\t\t\tArea intersectionArea = (Area) pitArea.clone();\n\t\t\t\tintersectionArea.add(pendingStoneLocation);\n\t\t\t\tintersectionArea.subtract(pitArea);\n\t\t\t\t\n\t\t\t\tif(intersectionArea.isEmpty() ){\n\t\t\t\t\tlocationFound = true;\n\t\t\t\t\tPoint2D p = new Point2D.Float((float) (x/pitW), (float) (y/pitH));\n\t\t\t\t\trelativeStoneLocations.add(p);\n\t\t\t\t\tSystem.out.println(p);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t} while(!locationFound);\n\t\n\t\t}\n\t}", "private Ship findWhichShip(Point p) {\n int row, col;\n for (Ship s : ships) {\n for (int i = 0; i < s.getShipSize(); i++) {\n row = s.getBodyLocationPoints()[i].x;\n col = s.getBodyLocationPoints()[i].y;\n if (row == p.x && col == p.y) {\n //Point head = s.getHeadCoordinatePoint();\n //touchingView = ivCell[head.x][head.y];\n Log.i(\"VIEW FOUND: \", \"!!!!!!!!!!!!!!!!\");\n return s;\n }\n }\n }\n return null;\n }", "public void placeShip(Board board, Ship ship) {\n\n\n Point startPoint = null;\n boolean validPoint = false;\n while (!validPoint) {\n System.out.printf(\"Place your %s (%d spaces).%n\", ship.getName(), ship.getLength());\n try {\n startPoint = returnPointFromInput(board);\n if (startPoint != null && !startPoint.hasShip()) {\n validPoint = true;\n } else {\n System.out.println(\"Invalid input. Please enter a coordinate pair. Ex: 1A (Case insensitive).\");\n }\n } catch (IllegalArgumentException | NoSuchElementException e) {\n System.out.println(e.getMessage());\n }\n }\n\n int emptySpaces = 0;\n boolean validBranch = false;\n Point[] branch = null;\n while (!validBranch) {\n\n String direction = null;\n boolean validDirection = false;\n while (!validDirection) {\n try {\n direction = directionFromInput();\n validDirection = true;\n } catch (IllegalArgumentException e) {\n System.out.println(e.getMessage());\n }\n }\n\n branch = makeBranch(board, startPoint, ship.getLength(), direction);\n for (Point point : branch) {\n if (!point.hasShip()) {\n emptySpaces++;\n }\n }\n if (emptySpaces == ship.getLength()) {\n validBranch = true;\n } else {\n System.out.println(\"You can't put a ship there. Not enough room\");\n emptySpaces = 0;\n }\n }\n\n // pass ship to point\n for (Point point : branch) {\n point.setShip(ship);\n point.setHasShip(true);\n }\n }", "public void hyperSpace()\n\t{\n\t\t//only return the ship if a PlayerShip is currently spawned\n\t\tIIterator iter = gameObj.getIterator();\n\t\twhile(iter.hasNext())\n\t\t{\n\t\t\tGameObject current = (GameObject)iter.getNext();\n\t\t\tif(current instanceof PlayerShip)\n\t\t\t{\n\t\t\t//invoke resetShip() method from PlayerShip\n\t\t\t\t((PlayerShip)current).resetShip();\n\t\t\t\tSystem.out.println(\"PS location reset\");\n\t\t\t\tnotifyObservers();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"There is no playership spawned\");\n\t}", "private static void fillArea()\n\t{\n\t\tconnections=new int[board.length][board[1].length];\n\n\t\twhile(!(isFilled()))\n\t\t{\n\t\t\tTemplates temp = Templates.intToTemplates(rn.nextInt(Templates.values().length));\n\t\t\ttemp.rotate(rn.nextInt(4));\n\n\t\t\taddTemplate(temp);\n\t\t}\t\n\t}", "private boolean isInArea(Area area, Position p) {\n long shipLongitude = p.getLongitude();\n long shipLatitude = p.getLatitude();\n\n if (shipLongitude >= area.getLongLeft() && shipLongitude <= area.getLongRight()\n && shipLatitude >= area.getLatBottom() && shipLatitude <= area.getLatTop()) {\n return true;\n }\n return false;\n }", "public static void main(String[] args) {\r\n\t\t//double lat = 36.149 + (0.001 * Math.random());\r\n\t\t//double lon = -86.800 + (0.001 * Math.random());\r\n\t\t\r\n\t\t// Note: The game area must already be set for this to work!\r\n\t\t\r\n\t\t// This puts a land mine in the middle of the parking lot\r\n\t\t// between ISIS and 21st.\r\n\t\tdouble lat = 36.14923059940338;\r\n\t\tdouble lon = -86.79988324642181;\r\n\t\tdouble rad = 5.0;\r\n\t\tLandMine lm = new LandMine(lat, lon, rad);\r\n\t\t//doLandMinePost(lm);\r\n\t\tdoLandMineRemove(lm);\r\n\t}", "public boolean gameIsOver() {return revealedShips >= 4;}", "public void putShips(int nbShips){\n ai.putShips(this.ships);\n }", "public void findStreets() {\r\n\t\tpolygonMap.resetStreets();\r\n\t\tpolygonMap.setCurrentPlayerID(client.getSettler().getID());\r\n\t\tfor (int i = 0; i < island.getRoads().length; i++) {\r\n\t\t\tif (buildStreetIsAllowed(island.getRoads()[i])\r\n\t\t\t\t\t&& !isWaterStreet(island.getRoads()[i])) {\r\n\t\t\t\tpolygonMap.addStreet(i);\r\n\t\t\t}\r\n\t\t}\r\n\t}" ]
[ "0.63076806", "0.6201355", "0.6198651", "0.6194501", "0.61449087", "0.6051449", "0.60204816", "0.60204816", "0.592532", "0.5816882", "0.58079916", "0.57668966", "0.5746632", "0.5743831", "0.5726545", "0.5707251", "0.5702802", "0.56979024", "0.56469256", "0.56454235", "0.56424886", "0.5630321", "0.5628462", "0.562838", "0.5616698", "0.5612935", "0.5600151", "0.5590553", "0.55738413", "0.5554421", "0.5521622", "0.5519382", "0.5519183", "0.5504351", "0.5501902", "0.5495289", "0.5477099", "0.5469888", "0.5444278", "0.5440249", "0.5422676", "0.54118466", "0.5379704", "0.5375202", "0.53664374", "0.5329983", "0.5322529", "0.53051573", "0.5296564", "0.52890843", "0.52711284", "0.5270397", "0.5269097", "0.52573335", "0.5231829", "0.52278924", "0.52249", "0.5221719", "0.52153945", "0.52142507", "0.5212146", "0.52114534", "0.52098805", "0.5195028", "0.5187048", "0.5184015", "0.5174895", "0.5173921", "0.51710814", "0.5166808", "0.5160297", "0.51588047", "0.5146268", "0.51461995", "0.5129246", "0.51190203", "0.5117785", "0.5117009", "0.51158524", "0.5115371", "0.5100235", "0.50985694", "0.50900733", "0.5089717", "0.5086853", "0.508073", "0.5070192", "0.5069181", "0.50652915", "0.5061166", "0.5060718", "0.5058467", "0.5054351", "0.50490254", "0.5039683", "0.50361645", "0.5030744", "0.5022602", "0.50139225", "0.501095", "0.5009119" ]
0.0
-1
Helper functions Checks a list for either player/computer and sees if the same point is already in the list
static boolean alreadyShot(Point shotPoint, BattleshipModel model, boolean player){ List<Point> checkHits; List<Point> checkMisses; int sizeHits; int sizeMisses; //if player if(player) { checkHits = model.getComputerHits(); //Grabs the point list for player checkMisses = model.getComputerMisses(); sizeHits = model.getComputerHits().size(); sizeMisses = model.getComputerMisses().size(); }else{ checkHits = model.getPlayerHits(); //Grabs the point list for computer checkMisses = model.getPlayerMisses(); sizeHits = model.getPlayerHits().size(); sizeMisses = model.getPlayerMisses().size(); } for(int i = 0; i < sizeHits; i++){ //checks the Hit list for the same point if(shotPoint.getAcross() == checkHits.get(i).getAcross() && shotPoint.getDown() == checkHits.get(i).getDown()){ return true; } } for(int i = 0; i < sizeMisses; i++){ //checks the Hit list for the same point if(shotPoint.getAcross() == checkMisses.get(i).getAcross() && shotPoint.getDown() == checkMisses.get(i).getDown() ){ return true; } } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean isInList(List<Point3D> pointsList, Point3D point) {\r\n for (Point3D tempPoint : pointsList) {\r\n if(point.isAlmostEquals(tempPoint))\r\n return true;\r\n }\r\n return false;\r\n }", "private boolean contains(List<PointList> list, PointList pList){\n\t\n\t\tfor (PointList p : list){\n\t\t\tif (p.equals(pList)) return true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "public boolean checkIfPlayerInList(Player player, Player player1) {\n for(int i = 0; i < core.getPlayers().get(player).size(); i++) {\n /*\n if(core.getPlayers().get(player).contains(configList.get(i))) {\n core.getPlayers().get(player).add(configList.get(i));\n }\n */\n if (core.getPlayers().get(player).get(i).equalsIgnoreCase(player1.getName())) {\n return true;\n }\n }\n return false;\n }", "private DataPoint isUnique(ArrayList<DataPoint> points, int x, int y){\n\t\tfor(DataPoint temp:points){\n\t\t\tif(temp.x == x && temp.y == y){\n\t\t\t\treturn temp;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn null;\n\t}", "public synchronized boolean addPathToPlayer(int player, int x, int y) {\n if (correction == null) {\n correction = new Point(x, y);\n x = 0;\n y = 0;\n } else {\n x -= correction.X;\n y -= correction.Y;\n }\n\n boolean found = false;\n for (Player p : playerTracking) {\n if (p.getId() == player) {\n found = true;\n Point lastPointPlayer = p.getLastPosition();\n\n if (!p.addPlayerPosition(x, y)) {\n break;\n }\n\n boolean breakFor = false;\n if (lastPointPlayer != null) {\n for (Player allPlayers : playerTracking) {\n // Check if there is any collision with any other player\n if (allPlayers.getId() != player) {\n// List<Point> playerPoints = allPlayers.getPoints();\n// for (int i = 0; i < playerPoints.size() - 1; i++) {\n// boolean result = intersect(playerPoints.get(i), playerPoints.get(i + 1), lastPointPlayer, new Point(x, y));\n// if (result) {\n// onCollision(new PlayerCollision(p, allPlayers, playerPoints.get(i), playerPoints.get(i + 1), lastPointPlayer, new Point(x, y)));\n// p.removeLast();\n// breakFor = true;\n// break;\n// }\n// }\n } // Check if there is a collision with the player itself\n else {\n// List<Point> playerPoints = allPlayers.getPoints();\n// for (int i = 0; i < playerPoints.size() - 2; i++) {\n// boolean result = intersect(playerPoints.get(i), playerPoints.get(i + 1), lastPointPlayer, new Point(x, y));\n// if (result) {\n// onCollision(new PlayerCollision(p, allPlayers, playerPoints.get(i), playerPoints.get(i + 1), lastPointPlayer, new Point(x, y)));\n// p.removeLast();\n// breakFor = true;\n// break;\n// }\n// }\n }\n\n if (breakFor) {\n break;\n }\n }\n }\n\n break;\n }\n }\n\n calculateMapSize();\n\n return found;\n }", "private boolean checkForPointInArr(ArrayList<Point> array, Point point){\n\t\tfor (int i = 0; i < array.size(); i++){\n\t\t\tPoint checkPoint = array.get(i);\n\t\t\tif (array.get(i).x == point.x && array.get(i).y == point.y){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "private boolean containsSameCoord(Point p) {\n boolean elementsContainsP = false;\n Iterator<Point> it = _elements.iterator();\n while (it.hasNext()) {\n Point pt = it.next();\n if (x(pt) == x(p) && y(pt) == y(p)) {\n elementsContainsP = true;\n break;\n }\n }\n return elementsContainsP;\n }", "private boolean exist(List<PlayerTeam> l, String name) {\n boolean ex = false;\n PlayerTeam curr = l.first();\n while (curr != null) {\n if (curr.getName().equals(name))\n return true;\n curr = l.next();\n }\n return ex;\n }", "void checkRepeated() {\r\n Move check = listOfMoves.peek();\r\n if (map.containsKey(check)) {\r\n _repeated = true;\r\n _winner = map.get(check.from()).opponent();\r\n }\r\n _repeated = false;\r\n }", "abstract public boolean isPickedBy(Point p);", "public List<Player> lookForShootPeople(Player player)\n {\n List<Player> playerList = new LinkedList<>();\n\n playerList.addAll(player.getSquare().getRoom().getPlayerRoomList()); //adds all the players in the room\n\n /*\n * Now i have to check if the player is close to a door. In this case i can see all the players in this adiacent room.\n * I will implement the method in this way:\n * 1. I check if the player can move to a different room with a distance 1 using the method squareReachableNoWall\n * 2. If the player can effectively move to a different room it means it is close to a door\n * 3. I will add to the list all the players in this different room\n */\n\n for (Square square : player.getSquare().getGameBoard().getArena().squareReachableNoWall(player.getSquare().getX(), player.getSquare().getY(), 1))\n {\n if (!(player.getSquare().getColor().equals(square.getColor()))) // if the color of the reachable square is different from the color of the square\n // where the player is this means player can see in a different room\n {\n playerList.addAll(player.getSquare().getRoom().getPlayerRoomList()); //adds all the players in the room\n }\n\n }\n\n Set<Player> playerSet = new HashSet<>();\n playerSet.addAll(playerList);\n\n playerList.clear();\n\n playerList.addAll(playerSet);\n playerList.remove(player);\n\n\n return playerList;\n }", "public void checkEntityOverlap(){\n for(Entity entity:entityList){\n if(entity.getEntityType().equals(\"Sandwich\")) {\n if (player.getPlayerCoordinates() == entity.getEntityCoordinates()) {\n player.eatSandwich();\n entityList.remove(entity);\n }\n }\n }\n }", "private boolean checkExistLocationPoint(String point, String lPoint) {\n\n ArrayList<LocationPointModel> listLocationPoint ;\n\n listLocationPoint = point.equals(\"loading\")?listLoadingnPoint : listDestinationPoint ;\n\n for (LocationPointModel lPointModel:listLocationPoint) {\n if(lPointModel.locPoint.toLowerCase().trim().equals(lPoint.toLowerCase().trim()))\n {\n Toast.makeText(getActivity(),(point.equals(\"loading\")?\"Loading\":\"Destination\")+\" point already exists!\", Toast.LENGTH_SHORT).show();\n return true ;\n }\n }\n return false ;\n\n }", "private boolean checkPoints() {\n\n for (Map.Entry pair : playersAgentsMap.entrySet()) {\n ArrayList<IAgent> iAgentList = (ArrayList<IAgent>) pair.getValue();\n\n int points = 0;\n try {\n points = iPlayerList.get(iAgentList.get(0).getName()).getPoints();\n } catch (RemoteException ex) {\n Logger.getLogger(ServerFrame.class.getName()).log(Level.SEVERE, null, ex);\n }\n try {\n for (Component comp : playerList.getComponents()) {\n if (comp instanceof PlayerPanel) {\n PlayerPanel panel = (PlayerPanel) comp;\n if (panel.getName().equals(iAgentList.get(0).getName())) {\n panel.setPlayerPoints(points);\n }\n }\n\n }\n } catch (RemoteException e1) {\n e1.printStackTrace();\n }\n if (points >= targetAmount) {\n try {\n System.out.println(iAgentList.get(0).getName() + \" has won with \" + points + \" points\");\n } catch (RemoteException e) {\n e.printStackTrace();\n }\n return false;\n }\n }\n\n return true;\n }", "public boolean containsPointList(final PointListPanel plp) {\n\t\tfinal Component[] c = panel.getComponents();\n\t\tfor (int i = 0; i < c.length; i++) {\n\t\t\tif (c[i] == plp) return true;\n\t\t}\n\t\treturn false;\n\t}", "private static boolean containsAddivelySameNumber(Card card, ArrayList<Card> list){\n if(card.getRank().getValue()<3 || card.getRank().getValue()>7){\n for(int i=0; i<list.size(); i++){\n for(int j=i; j<list.size(); j++){\n if(list.get(i).getRank().getValue()+list.get(j).getRank().getValue() == card.getRank().getValue())\n return true;\n }\n }\n return false;\n }\n else\n return false;\n }", "Boolean checkIfPriceExist(ArrayList<Point> pointList ,float price)\n\t{\n\t\tint a=0;\n\t\twhile(a<pointList.size())\n\t\t{\n\t\t\tif (price==pointList.get(a).getPrice())\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\ta++;\n\t\t}\n\t\treturn false;\n\t}", "private boolean isOver() {\r\n return players.size() == 1;\r\n }", "public boolean hasPair(ArrayList<Card>cards) {\r\n\t\tCollections.sort(cards);\r\n\t\tfor(int i = 0; i < cards.size() - 1; i++) {\r\n\t\t\tfor(int j = i+1; j < cards.size(); j++) {\r\n\t\t\t\tif(cards.get(i).getValue() == cards.get(j).getValue()) {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t\r\n\t}", "public boolean isWinner(ArrayList<Player> allPlayers,Player player){\n\t\tPlayer winner=player;\n\t\tfor (Player p : allPlayers) {\n\t\t\tif(p.getTimeStamp()>winner.getTimeStamp()){\n\t\t\t\twinner = p;\n\t\t\t}\n\t\t}\n\t\treturn winner.equals(player);\n\t}", "public boolean play(Pawn p,ArrayList<Pawn> opponentPawnList) {\n\t\tboolean ret = true;\n\t\tif (this.version == 0) {\n\t\t\tint indPawn = 0;\n\t\t\tboolean peutYAller = false;\n\n\t\t\tfor (Pawn pawn : this.pawnListPlayer) {\n\t\t\t\tif (pawn.equals(p)) {\n\t\t\t\t\tindPawn = this.pawnListPlayer.indexOf(pawn);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\twhile (!peutYAller) {\n\t\t\t\tpeutYAller = true;\n\n\t\t\t\tint[] coord = consoleControl.askCoordMove(p);\n\n\t\t\t\tfor (Pawn pawn : this.pawnListPlayer) {\n\t\t\t\t\tif (Arrays.equals(pawn.getPosition(), coord)) {\n\t\t\t\t\t\tSystem.out.println(\"Déplacement non autorisé : tu ne peux pas te placer sur un de tes pions\");\n\t\t\t\t\t\tpeutYAller = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif(peutYAller) {\n\t\t\t\t\tif (p.rules1(coord)) {\n\t\t\t\t\t\tif (p.rules2(coord,this.pawnListPlayer,opponentPawnList)) {\n\t\t\t\t\t\t\tif (p.rules3(coord,opponentPawnList)) {\n\t\t\t\t\t\t\t\tp.setPosition(coord[0],coord[1]);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"Déplacement non autorisé : tu ne dois pas passer au dessus d'un pion qui ne t'appartient pas\");\n\t\t\t\t\t\t\t\tpeutYAller = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tSystem.out.println(\"Déplacement non autorisé : tu dois déplacer ton pion d'autant de cases qu'il y a de pions sur la ligne de déplacement\");\n\t\t\t\t\t\t\tpeutYAller = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"Déplacement non autorisé : tu dois déplacer ton pion à l'horizontal, à la vertical ou en diagonale\");\n\t\t\t\t\t\tpeutYAller = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif(peutYAller) {\n\t\t\t\tthis.pawnListPlayer.set(indPawn, p);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "boolean canPickup(int x, int y) {\n return ((posX == x) && (posY == y));\n }", "private void checkIfAnotherPlayerLiesThere(int player, int place) {\n //get our board position\n int playerPos = userGridToLudoBoardGrid(player, place);\n\n //iterate all players\n for (int i = 0; i < nrOfPlayers(); i++) {\n //not our player\n if (players.get(i).getName() != players.get(player).getName()) {\n int counter = 0;\n //go through all pieces\n for (Piece piece : players.get(i).getPieces()) {\n //check if board position is the same\n if (userGridToLudoBoardGrid(i, piece.getPosition()) == playerPos) {\n counter++;\n }\n }\n //if there is only 1 piece there, reset it\n if (counter == 1) {\n int pieceIndex = 0;\n for (Piece piece : players.get(i).getPieces()) {\n if (userGridToLudoBoardGrid(i, piece.getPosition()) == playerPos) {\n\n // PIECELISTENER : Throw PieceEvent to PieceListeners\n for (PieceListener listener : pieceListeners) {\n PieceEvent pieceEvent = new PieceEvent(this, players.get(i).colour, pieceIndex++, piece.getPosition(), 0);\n listener.pieceMoved(pieceEvent);\n }\n\n // Reset piece\n piece.setPosition(0);\n }\n }\n }\n }\n }\n }", "private boolean alreadyHit(int x, int y) {\n for (int i = 0; i < hitCount; i++){\n if (x == hitList[i].x && y == hitList[i].y){\n return true;\n }\n }\n for (int i = 0; i < missCount; i++) {\n if (x == missList[i].x && y == missList[i].y) {\n return true;\n }\n }\n return false;\n }", "private boolean findTicTacToe(int x, int y) {\n for (Point c : ticTacToeList) {\n if (c != null && c.getX() == x && c.getY() == y)\n return true;\n }\n return false;\n }", "private boolean checkSeesPlayer(int x, int y) {\r\n\t\tint enemy;\r\n\t\tif (creature.getCreature().team == 1) {\r\n\t\t\tenemy = 2;\r\n\t\t} else if (creature.getCreature().team == 2) {\r\n\t\t\tenemy = 1;\r\n\t\t} else {\r\n\t\t\tenemy = 0; //No enemy\r\n\t\t}\r\n\t\tRectangle r = new Rectangle(); // Location Rectangle\r\n\t\tr.width = Tile.TILEWIDTH;\r\n\t\tr.height = Tile.TILEHEIGHT;\r\n\t\tr.x = x * Tile.TILEWIDTH;\r\n\t\tr.y = y * Tile.TILEHEIGHT;\r\n\t\tfor(Creature c : handler.getWorld().getEntityManager().getCreatures()) {\r\n\t\t\tif (c.getCreature().team == enemy) {\r\n\t\t\t\tif(c.getCollisionBounds(0, 0).intersects(r)) {\r\n\t\t\t\t\tseenEnemy = c;\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "private boolean isOwnOccupied(int x, int y) {\n for (int i = 0; i < player.own.length; i++) {\n if (player.own[i].x == x && player.own[i].y == y) {\n //System.out.println(\"own occupied:\" + i);\n return true;\n }\n }\n return false;\n }", "public void repeat_check(ArrayList<Connection> c_list) throws RepeatException {\n\t\t\t\n\t\tfor(int i = 0;i < c_list.size();i++) {\n\t\t\t\t\t\t\n\t\t\tString name1 = c_list.get(i).getPerson1().getName();\n\t\t\tString name2 = c_list.get(i).getPerson2().getName();\n\t\t\t\n\t\t\tif(name1.equals(getPerson1().getName()) \n\t\t\t\t\t&& name2.equals(getPerson2().getName()) \n\t\t\t\t\t&& c_list.get(i).getClass().equals(getClass())){\n\t\t\t \n\t\t\t\t\n\t\t\t\tthrow new RepeatException(\"Profile Repeated\");\n\t\t\t}\n\t\n\t\t\tif(name2.equals(getPerson1().getName()) \n\t\t\t\t\t&& name1.equals(getPerson2().getName())\n\t\t\t\t\t&& c_list.get(i).getClass().equals(getClass())){\n\t\t\t\t\n\t\t\t\tthrow new RepeatException(\"Profile Repeated\");\n\t\t\t}\n\t\t}\n\t}", "private static boolean isSame(List<PokerLabel> list, int size) {\n PokerLabel firstPokerLabel = list.get(0);\n int num = firstPokerLabel.getNum();\n for (PokerLabel p: list) {\n if (num != p.getNum()) {\n return false;\n }\n }\n return true;\n }", "public boolean onPosition(Point p)\n {\n for(Point pellet : pellets) // iterate over all the pellets\n {\n if (pellet.equals(p))\n return true;\n }\n return false;\n }", "boolean aTeleport(int[] coor) {\n System.out.println(\"I found a teleport point at: \" + Arrays.toString(coor));\n if(teleport.size() == 0)return false;\n\n for (int i = 0; i < teleport.size(); i++) {\n int coorX = teleport.get(i)[0];\n int coorY = teleport.get(i)[1];\n\n int[] teleporter = new int[]{coorX,coorY};\n\n if(Arrays.equals(teleporter, coor))return true;\n\n }\n\n return false;\n }", "protected void findSpaceHolder(Vector v){\n\t\tint holder = GoPlayer.UNKNOWN;\n\n\t\tfor (int i = 0 ; i < v.size() ; i++){\n\t\t\tPoint p = (Point) v.elementAt(i);\n\t\t\tint x = p.x;\n\t\t\tint y = p.y;\n \t int a[] = {x - 1 , x + 1 , x , x};\n \t\tint b[] = {y , y , y - 1 , y + 1};\n\n \t\tfor (int j = 0 ; j < 4 ; j++){\n if (!validatePoint(a[j], b[j]))\n continue;\n \t\t\t\telse {\n \t\t\t\tint xx = a[j];\n\t \t\t\tint yy = b[j];\n \t\t\t\tif (getPoint(xx, yy).getState() == GoPoint.BLACK){\n \t\tif (holder == GoPlayer.UNKNOWN) {\n holder = GoPlayer.BLACK;\n \t\t}\n else if (holder == GoPlayer.WHITE){\n holder = GoPlayer.BOTH;\n \t\t\tbreak;\n \t\t}\n \t}\n \t\tif (getPoint(xx, yy).getState() == GoPoint.WHITE){\n if (holder == GoPlayer.UNKNOWN){\n holder = GoPlayer.WHITE;\n \t\t}\n else if (holder == GoPlayer.BLACK){\n \t\t\tholder = GoPlayer.BOTH;\n \t\t\tbreak;\n \t\t}\n \t}\n \t}\n \t}\n\t\t} // end for\n\n\t\tfor (int i = 0 ; i < v.size() ; i++) {\n\t\t\tPoint p = (Point) v.elementAt(i);\n\t\t\tgetPoint(p.x, p.y).setHolder(holder);\n\t\t}\n\t}", "@Override\n\t\tboolean hasMatch(ArrayList<Card> hand) {\n\t\t\tHashMap<Integer, Integer> map = new HashMap<Integer, Integer>();\n\t\t\tfor (int i = 0; i < hand.size(); i++) {\n\t\t\t\tif (!map.containsKey(hand.get(i).getCardValue().getValue())) {\n\t\t\t\t\tmap.put(hand.get(i).getCardValue().getValue(), 1);\n\t\t\t\t} else {\n\t\t\t\t\tmap.put(hand.get(i).getCardValue().getValue(),\n\t\t\t\t\t\t\tmap.get(hand.get(i).getCardValue().getValue()) + 1);\n\t\t\t\t}\n\t\t\t}\n\t\t\tint counter = 0;\n\t\t\tif (map.size() == 2) {\n\t\t\t\tfor (Integer key : map.keySet()) {\n\t\t\t\t\tif (map.get(key) == 3) {\n\t\t\t\t\t\tcounter++;\n\t\t\t\t\t}\n\t\t\t\t\tif (map.get(key) == 2) {\n\t\t\t\t\t\tcounter++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn counter == map.size();\n\t\t}", "public boolean isShipAlreadyPiloted() {\t\t\n\t\tfor (ACBaseShip othership : Autocraft.shipmanager.ships.values()) {\n\t\t\tfor (int i = 0; i < othership.blocks.length; i++) {\n\t\t\t\tif (blockBelongsToShip(othership.blocks[i], blocks))\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean checkWithFragmentingWarheadRocketJump ()\n {\n Map<Square, List<Player>> squarePlayerListMap = checkRocketJump();\n List<Player> playerList;\n\n for (Square squareIterate : squarePlayerListMap.keySet())\n {\n\n for (Player playerIterate : squarePlayerListMap.get(squareIterate))\n {\n playerList = new ArrayList<>();\n\n playerList.addAll(playerIterate.getSquare().getPlayerList());\n playerList.remove(player);\n\n if (playerList.size()>1)\n return true;\n\n }\n }\n\n return false;\n }", "public boolean blockedGame() {\r\n int pointsperplayer = 0;\r\n if (playedDominoes.size() > 9) {\r\n if (end[0] == end[1]) {\r\n List<Domino> aux = new ArrayList();\r\n for (Domino d : playedDominoes) {\r\n if (d.getBothNumbers().contains(end[0])) {\r\n System.out.println(\"Adding domino\" + d.toString());\r\n aux.add(d);\r\n }\r\n }\r\n return aux.size() == 7;\r\n }\r\n }\r\n return false;\r\n }", "@Override\n\t\tboolean hasMatch(ArrayList<Card> hand) {\n\t\t\tint suitValue = hand.get(0).getSuit().getValue();\n\n\t\t\t// check all of the same suit\n\t\t\tfor (int i = 1; i < hand.size(); i++) {\n\t\t\t\tif (hand.get(i).getSuit().getValue() != suitValue)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}", "public Point shot() {\n int x;\n int y;\n int z;\n Point shotPoint;\n while (true) {\n System.out.printf(\"%sX: \", Text.GAME_COORDINATE);\n x = coordinateInput();\n System.out.printf(\"%sY: \", Text.GAME_COORDINATE);\n y = coordinateInput();\n System.out.printf(\"%sZ: \", Text.GAME_COORDINATE);\n z = coordinateInput();\n shotPoint = new Point(x, y, z);\n if (shootedPoints.contains(shotPoint)) {\n System.out.println(Text.GAME_WRONG_POINT);\n } else {\n shootedPoints.add(shotPoint);\n return shotPoint;\n }\n }\n }", "private boolean findChess(int x,int y){\r\n for(Point c:chessList){\r\n if(c!=null&&c.getX()==x&&c.getY()==y)\r\n return true;\r\n }\r\n return false;\r\n }", "@Test\n void should_second_player_win_match_when_he_won_tie_break() {\n List<Integer> setPointOrderTab = Arrays.asList(1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 2); // 6-6 and 1-3 for secondPlayer\n\n //WHEN\n game.computePoint(setPointOrderTab, true);\n\n //THEN\n assertEquals(GameStatus.FINISHED, game.getGameStatus());\n assertTrue(secondPlayer.isWinner());\n }", "private boolean checkIn(MyPair<Integer, Integer> position){\n Board copy;\n try{\n copy = new Board(getBoard());\n }\n catch(Exception e){\n System.out.println(\"AAA\");\n return true;\n }\n\n copy.removePiece(copy.kingByColour(getColour()));\n copy.addPiece(new King(getColour(), copy, position));\n if(copy.check() == getColour())\n return true;\n return false;\n }", "private Vector<Integer> matchCheckPoint(List<Point> a) {\t\t\t\n\t\tVector<Integer> iDS= new Vector<>();\n\t\tfor(Point p :a) {\n\t\t\tif(!getAsphalt(p.x, p.y,this.trk).isIdDefalt()) {\n\t\t\t\tiDS.add(getAsphalt(p.x, p.y,this.trk).getId());\n\t\t\t}\n\t\t}\n\t\treturn iDS;\n\t}", "@Override\n\t\tboolean hasMatch(ArrayList<Card> hand) {\n\t\t\tHashMap<Integer, Integer> map = new HashMap<Integer, Integer>();\n\t\t\tfor (int i = 0; i < hand.size(); i++) {\n\t\t\t\tif (!map.containsKey(hand.get(i).getCardValue().getValue())) {\n\t\t\t\t\tmap.put(hand.get(i).getCardValue().getValue(), 1);\n\t\t\t\t} else {\n\t\t\t\t\tmap.put(hand.get(i).getCardValue().getValue(),\n\t\t\t\t\t\t\tmap.get(hand.get(i).getCardValue().getValue()) + 1);\n\t\t\t\t}\n\t\t\t}\n\t\t\tint counter = 0;\n\t\t\tif (map.size() == 3) {\n\n\t\t\t\tfor (Integer key : map.keySet()) {\n\t\t\t\t\tif (map.get(key) == 2) {\n\t\t\t\t\t\tcounter++;\n\t\t\t\t\t}\n\t\t\t\t\tif (map.get(key) == 1) {\n\t\t\t\t\t\tcounter++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn counter == 3;\n\t\t}", "private boolean in(Integer e, ArrayList<Integer> l) {\n for (int i=0; i<l.size();i++) {\n if (l.get(i) == e) {\n return true;\n }\n }\n return false;\n }", "public boolean isValidMultiplayerMove(int xMove, int yMove, ArrayList<Entity> objects, \r\n ArrayList<NonPlayerCharacter> npcs, ArrayList<Item> items, World world){\n for (int i = 0; i < objects.size(); i++)//collisioned an object\r\n {\r\n if (x + xMove == objects.get(i).getX() && y + yMove == objects.get(i).getY()) {\r\n objects.get(i).setCollisioned(true);\r\n return false;\r\n } else {\r\n objects.get(i).setCollisioned(false);\r\n }\r\n }\r\n\r\n //ArrayList<NonPlayerCharacter> npcs = ((GameState) game.getGameState()).getNpcs();\r\n for (int i = 0; i < npcs.size(); i++) {\r\n if (x + xMove == npcs.get(i).getX() && y + yMove == npcs.get(i).getY()) {\r\n npcs.get(i).setCollisioned(true);\r\n return false;\r\n }\r\n }\r\n\r\n //ArrayList<Item> items = ((GameState) game.getGameState()).getItems();\r\n for (int i = 0; i < items.size(); i++) {\r\n if (x + xMove == items.get(i).getX() && y + yMove == items.get(i).getY()) {\r\n items.get(i).setCollisioned(true);\r\n return false;\r\n }\r\n }\r\n\r\n /*if (((GameState) game.getGameState()).getWorld().getTile((int) (x + xMove), (int) (y + yMove)).isSolid()) {\r\n return false;\r\n }*/\r\n if (world.getTile((int) (x + xMove), (int) (y + yMove)).isSolid()) {\r\n return false;\r\n }\r\n \r\n if (world.getTile((int) (x + xMove), (int) (y + yMove)).getId() == 2) {\r\n return false;\r\n }\r\n\r\n /*if (x + xMove == ((GameState) game.getGameState()).getPlayer().getX()\r\n && y + yMove == ((GameState) game.getGameState()).getPlayer().getY()) {\r\n return false;\r\n }*/\r\n return true;\r\n }", "private static boolean areAdjoining(List<Integer> list) {\r\n if (list.isEmpty()) {\r\n return false;\r\n }\r\n int check = list.get(0);\r\n for (int value : list) { // (use iterator for efficiency)\r\n if (value != check) {\r\n return false;\r\n }\r\n check += 1;\r\n }\r\n return true;\r\n }", "public boolean inArena(Player p)\n {\n return arenaPlayers.contains(p);\n }", "private boolean duplicatePlaneEditCheck(UiAirplaneModel model,\r\n\t\t\tList<AirplaneModelType> planeList) {\r\n\t\tboolean flag=false;\r\n\t\tfor(AirplaneModelType m:planeList){\r\n\t\t\tif(m.getAirplaneModelType().trim().equalsIgnoreCase(model.getAirplaneModel().trim()) && ! (m.getAirplaneModelTypeID().longValue()==model.getAirplaneID().longValue()) ){\r\n\t\t\t\tflag=true;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn flag;\r\n\t}", "private void checkPair(Player player) {\n\t\tfor (int j = 6; j > 0; j--) {\n\t\t\tif (player.getSevenCardsTempHand().get(j).getRank()\n\t\t\t\t\t.equals(player.getSevenCardsTempHand().get(j - 1).getRank())) {\n\t\t\t\tplayer.setPair(true);\n\t\t\t\tplayer.setHandRank(HandRank.PAIR);\n\n\t\t\t\t// add the pair to the 5 cards hand\n\t\t\t\thand[0] = player.getSevenCardsTempHand().get(j);\n\t\t\t\thand[1] = player.getSevenCardsTempHand().get(j - 1);\n\t\t\t\tplayer.getSevenCardsTempHand().remove(j);\n\t\t\t\tplayer.getSevenCardsTempHand().remove(j - 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "public boolean isPair(){\n \r\n List<PokerCard> pair;\r\n remainingCardValues = new ArrayList<>();\r\n \r\n //First possibility: first two cards\r\n pair = cards.subList(0, 2);\r\n if(haveSameValue(pair)){\r\n handValue = pair.get(0).getValue();\r\n \r\n //Store remaining card values for potential later comparison\r\n remainingCardValues.add(cards.get(4).getValue());\r\n remainingCardValues.add(cards.get(3).getValue());\r\n remainingCardValues.add(cards.get(2).getValue()); \r\n \r\n return true;\r\n }\r\n \r\n //Second possibility: cards 2 and 3\r\n pair = cards.subList(1, 3);\r\n if(haveSameValue(pair)){\r\n handValue = pair.get(0).getValue();\r\n \r\n //Store remaining card values for potential later comparison\r\n remainingCardValues.add(cards.get(4).getValue());\r\n remainingCardValues.add(cards.get(3).getValue());\r\n remainingCardValues.add(cards.get(0).getValue());\r\n \r\n return true;\r\n }\r\n \r\n //Third possibility: cards 3 and 4\r\n pair = cards.subList(2, 4);\r\n if(haveSameValue(pair)){\r\n handValue = pair.get(0).getValue();\r\n \r\n //Store remaining card values for potential later comparison\r\n remainingCardValues.add(cards.get(4).getValue());\r\n remainingCardValues.add(cards.get(1).getValue());\r\n remainingCardValues.add(cards.get(0).getValue());\r\n \r\n return true;\r\n }\r\n \r\n //Fourth possibility: last two cards\r\n pair = cards.subList(3, 5);\r\n if(haveSameValue(pair)){\r\n handValue = pair.get(0).getValue();\r\n \r\n //Store remaining card values for potential later comparison\r\n remainingCardValues.add(cards.get(2).getValue());\r\n remainingCardValues.add(cards.get(1).getValue());\r\n remainingCardValues.add(cards.get(0).getValue());\r\n \r\n return true;\r\n }\r\n return false;\r\n }", "public boolean containsPoint(Player player)\n {\n //Initially calculate the squared values of the distance between the player and the object\n float xSquared = (player.getX() - x)*(player.getX() - x);\n\t\tfloat ySquared = (player.getY() - y)*(player.getY() - y);\n float radiusSquared = radius*radius;\n //While our asteroid is within the x bounds of our player.\n while (x > player.getX() && x < player.getX()+player.getWidth())\n {\n xSquared = 0; //Set to zero so we can calculate distance from the top\n //of the square rather than the top left x value\n //If statement for if the asteroid is below the player\n if (y > player.getY()+player.getHeight())\n {\n ySquared = ((player.getY()+player.getHeight())-y)*((player.getY()+player.getHeight())-y);\n if (xSquared + ySquared - radiusSquared <= 0)\n return true;\n else\n return false;\n }\n //For if the asteroid is above the player do nothing but compare\n\t\t if (xSquared + ySquared - radiusSquared <= 0)\n\t\t\t return true;\n\t\t else\n return false;\n }\n //While our asteroid is within the y bounds of our player\n while (y > player.getY() && y < player.getY()+player.getHeight())\n {\n ySquared = 0; //Similar to pervious while statement. We only care about\n //the x-component this time rather than the y-component.\n //If the asteroid is to the right of the player\n if (x > player.getX()+player.getWidth())\n {\n xSquared = ((player.getX()+player.getWidth())-x)*((player.getX()+player.getWidth())-x);\n if (xSquared + ySquared - radiusSquared <= 0)\n return true;\n else\n return false;\n }\n //Asteroid is to the left so compare\n if (xSquared + ySquared - radiusSquared <= 0)\n\t\t\t return true;\n\t\t else\n return false;\n }\n return false;\n }", "private boolean checkInList(String ip, int port) {\r\n\t\tif(this.ip.equals(ip) & this.port == port)\r\n\t\t\treturn true;\r\n\t\t\r\n\t\tif(nodes.size()>0) {\r\n\t\t\tSystem.out.println(\"checking if node already exists...\");\r\n\t\t\t\r\n\t\t\tfor (Node node : this.nodes) {\r\n\t\t\t\treturn node.ip.equals(ip) && node.port == port;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "static boolean checkForParallelPositions(int i, int j, String[][] board, boolean playerWins) {\r\n\t\tif (board[i][j].equals(board[0][0]) && board[0][0].equals(\"*\") && board[i][j].equals(board[0][1])\r\n\t\t\t\t&& board[0][1].equals(\"*\") && board[i][j].equals(board[0][2]) && board[0][2].equals(\"*\")\r\n\t\t\t\t|| board[i][j].equals(board[1][0]) && board[1][0].equals(\"*\") && board[i][j].equals(board[1][1])\r\n\t\t\t\t\t\t&& board[1][1].equals(\"*\") && board[i][j].equals(board[1][2]) && board[1][2].equals(\"*\")\r\n\t\t\t\t|| board[i][j].equals(board[2][0]) && board[2][0].equals(\"*\") && board[i][j].equals(board[2][1])\r\n\t\t\t\t\t\t&& board[2][1].equals(\"*\") && board[i][j].equals(board[2][2]) && board[2][2].equals(\"*\")) {\r\n\t\t\tplayerWins = true;\r\n\t\t}\r\n\t\treturn playerWins;\r\n\t}", "private Player checkIfEatsGreenPlayer(Player player)\n {\n int x_cord = getMidPoint(player.x_cordinate);\n int y_cord = getMidPoint(player.y_cordinate);\n int green_x1 = getMidPoint(ludo.getGreenPlayer1().x_cordinate);\n int green_x2 = getMidPoint(ludo.getGreenPlayer2().x_cordinate);\n int green_x3 = getMidPoint(ludo.getGreenPlayer3().x_cordinate);\n int green_x4 = getMidPoint(ludo.getGreenPlayer4().x_cordinate);\n int green_y1 = getMidPoint(ludo.getGreenPlayer1().y_cordinate);\n int green_y2 = getMidPoint(ludo.getGreenPlayer2().y_cordinate);\n int green_y3 = getMidPoint(ludo.getGreenPlayer3().y_cordinate);\n int green_y4 = getMidPoint(ludo.getGreenPlayer4().y_cordinate);\n if (collisionDetection(x_cord, y_cord, green_x1, green_y1) == 1)\n {\n return green_player1;\n }\n else if (collisionDetection(x_cord, y_cord, green_x2, green_y2) == 1)\n {\n return green_player2;\n }\n else if (collisionDetection(x_cord, y_cord, green_x3, green_y3) == 1)\n {\n return green_player3;\n }\n else if (collisionDetection(x_cord, y_cord, green_x4, green_y4) == 1)\n {\n return green_player4;\n }\n else\n {\n return null;\n }\n }", "public boolean overlapsWith()\r\n\t{\r\n\t\tboolean alive = false;\r\n\t\tfor (Platforms platform : platforms)\r\n\t\t{\r\n\t\t\tif (getAvatar().getX() == platform.getX() && getAvatar().getY() == platform.getY())\r\n\t\t\t{\r\n\t\t\t\talive = true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn alive;\r\n\t}", "public void putListInPointOrder() {\n for (int i = 0; i < players.size(); i++) {\n Player s = players.get(i);\n if (i < players.size() - 1) {\n for (int j = i; j < players.size(); j++) {\n while (s.getPoint() < players.get(j).getPoint()) {\n Collections.swap(players, i, j);\n }\n\n }\n }\n }\n }", "private boolean collisonCheck(List<Tile> nextTiles, Snake enemy) {\n\t\t// check himself\n\t\tfor (Tile tile : (List<Tile>)snakeTiles) {\n\t\t\tfor (Tile t : nextTiles) {\n\t\t\t\tif (tile.equals(t)) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// check enemy\n\t\tfor (Tile tile : enemy.getSnakeTiles()) {\n\t\t\tfor (Tile t : nextTiles) {\n\t\t\t\tif (tile.equals(t)) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "private Player checkIfEatsRedPlayer(Player player)\n {\n int x_cord = getMidPoint(player.x_cordinate);//player.x_cordinate;\n int y_cord = getMidPoint(player.y_cordinate);//player.y_cordinate;\n int redx1 = getMidPoint(getRed_player1().x_cordinate);\n int redx2 = getMidPoint(getRed_player2().x_cordinate);\n int redx3 = getMidPoint(getRed_player3().x_cordinate);\n int redx4 = getMidPoint(getRed_player4().x_cordinate);\n int redy1 = getMidPoint(getRed_player1().y_cordinate);\n int redy2 = getMidPoint(getRed_player2().y_cordinate);\n int redy3 = getMidPoint(getRed_player3().y_cordinate);\n int redy4 = getMidPoint(getRed_player4().y_cordinate);\n if (collisionDetection(x_cord, y_cord, redx1, redy1) == 1)\n {\n return getRed_player1();\n }\n else if (collisionDetection(x_cord, y_cord, redx2, redy2) == 1)\n {\n return getRed_player2();\n }\n else if (collisionDetection(x_cord, y_cord, redx3, redy3) == 1)\n {\n return getRed_player3();\n }\n else if (collisionDetection(x_cord, y_cord, redx4, redy4) == 1)\n {\n return getRed_player4();\n }\n else\n {\n return null;\n }\n }", "@Override\n\t\tboolean hasMatch(ArrayList<Card> hand) {\n\n\t\t\tint counter = 0;\n\t\t\tfor (int i = 0; i < hand.size(); i++) {\n\t\t\t\tif (i + 1 < hand.size()) {\n\t\t\t\t\tif (hand.get(i + 1).getCardValue().getValue()\n\t\t\t\t\t\t\t- hand.get(i).getCardValue().getValue() == 1)\n\t\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//if not straight, then do a final check of 5 unique cards\n\t\t\tHashMap<Integer, Integer> map = new HashMap<Integer, Integer>();\n\t\t\tif (counter != 4) {\n\t\t\t\tfor (int i = 0; i < hand.size(); i++) {\n\t\t\t\t\tif (!map.containsKey(hand.get(i).getCardValue().getValue())) {\n\t\t\t\t\t\tmap.put(hand.get(i).getCardValue().getValue(), 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmap.put(hand.get(i).getCardValue().getValue(),\n\t\t\t\t\t\t\t\tmap.get(hand.get(i).getCardValue().getValue()) + 1);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\t\t\treturn map.size() == 5;\n\t\t}", "public void addUser(ArrayList<Player> list,String U,String F,String G) {\r\n\t\tboolean flag = true;\r\n\t\tIterator<Player> aa = list.iterator();\r\n\t\twhile (aa.hasNext()) {\r\n\t\t\tPlayer in = aa.next();\r\n\t\t\tif(in.getUserName().equals(U)){\r\n\t\t\t\tSystem.out.println(\"The player already exists.\");\r\n\t\t\t\tflag =false;\r\n\t\t\t\treturn;\r\n\t\t\t}\t\r\n\t\t}\r\n\t\t\r\n\t\tif(flag)\r\n\t\t\tlist.add(new NimPlayer(U,F,G,0,0,\"Human\"));\r\n\t\tSystem.out.println(\"\");\r\n\t}", "public boolean play(Pawn p,ArrayList<Pawn> opponentPawnList,int[] coord) {\n\t\tboolean ret = true;\n\t\tint indPawn = 0;\n\n\t\tfor (Pawn pawn : this.pawnListPlayer) {\n\t\t\tif (pawn.equals(p)) {\n\t\t\t\tindPawn = this.pawnListPlayer.indexOf(pawn);\n\t\t\t}\n\t\t}\n\n\t\tfor (Pawn pawn : this.pawnListPlayer) {\n\t\t\tif (Arrays.equals(pawn.getPosition(), coord)) {\n\t\t\t\tret = false;\n\t\t\t}\n\t\t}\n\n\t\tif(ret) {\n\t\t\tif (p.rules1(coord)) {\n\t\t\t\tif (p.rules2(coord,this.pawnListPlayer,opponentPawnList)) {\n\t\t\t\t\tif (p.rules3(coord,opponentPawnList)) {\n\t\t\t\t\t\tp.setPosition(coord[0],coord[1]);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tret = false;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tret = false;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tret = false;\n\t\t\t}\n\t\t}\n\n\t\tif(ret) {\n\t\t\tthis.pawnListPlayer.set(indPawn, p);\n\t\t}\n\n\t\treturn ret;\n\t}", "public boolean isMine(int x, int y);", "public boolean lastPongContains(ServentInfo input){\n\t\tfor(ServentInfo s : lastPong.keySet()){\n\t\t\tif(s.IP.equals(input.IP) && s.port == input.port){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean samePieceCheck(GameBoardVertex p){\n if (pieceAtVertex == null){\n if (p.getPiece() == null){\n return true;\n } else {\n return false;\n }\n } else {\n if (p.getPiece() == null) {\n return false;\n } else {\n return pieceAtVertex.equals(p.getPiece());\n }\n }\n }", "public boolean hasTwoP(ArrayList<Card> cards) {\r\n\t\tCollections.sort(cards);\r\n\t\tboolean retVal = false;\r\n\t\tint numPairs = 0;\r\n\t\tint counter;// counts how many of those cards are in the hand\r\n\t\tint pairVal = 0;\r\n\t\tfor (int i = 0; i <cards.size()-1; i++) {\r\n\t\t\tcounter = 1;\r\n\t\t\tfor (int j = i+1; j < cards.size(); j++) {\r\n\t\t\t\tif(cards.get(i).getValue() == cards.get(j).getValue() &&\r\n\t\t\t\t\t\tcards.get(i).getValue() != pairVal){\r\n\t\t\t\t\tcounter++;\r\n\t\t\t\t\tpairVal = cards.get(j).getValue();\r\n\t\t\t\t\tif(counter > 1) {\r\n\t\t\t\t\t\tnumPairs++;\r\n\t\t\t\t\t\tif (numPairs == 2) {\r\n\t\t\t\t\t\t\tretVal = true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn retVal;\r\n\t}", "@Override\n\t\tboolean hasMatch(ArrayList<Card> hand) {\n\t\t\tHashMap<Integer, Integer> map = new HashMap<Integer, Integer>();\n\t\t\tfor (int i = 0; i < hand.size(); i++) {\n\t\t\t\tif (!map.containsKey(hand.get(i).getCardValue().getValue())) {\n\t\t\t\t\tmap.put(hand.get(i).getCardValue().getValue(), 1);\n\t\t\t\t} else {\n\t\t\t\t\tmap.put(hand.get(i).getCardValue().getValue(),\n\t\t\t\t\t\t\tmap.get(hand.get(i).getCardValue().getValue()) + 1);\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (Integer counter : map.values()) {\n\t\t\t\tif (map.size() == 3 && counter == 3)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}", "private boolean setPair(EntityPlayer player)\n\t{\n\t\t//valid point position\n\t\tif (tilePoint[0].getY() <= 0 || tilePoint[1].getY() <= 0) return false;\n\t\t\n\t\t//get player UID\n\t\tCapaTeitoku capa = CapaTeitoku.getTeitokuCapability(player);\n\t\tint uid = 0;\n\t\tif (capa != null) uid = capa.getPlayerUID();\n\t\tif (uid <= 0) return false;\n\t\t\n\t\t//get tile\n\t\tTileEntity[] tiles = new TileEntity[2];\n\t\ttiles[0] = player.world.getTileEntity(tilePoint[0]);\n\t\ttiles[1] = player.world.getTileEntity(tilePoint[1]);\n\t\t\n\t\t//calc distance\n\t\tint dx = this.tilePoint[0].getX() - this.tilePoint[1].getX();\n\t\tint dy = this.tilePoint[0].getY() - this.tilePoint[1].getY();\n\t\tint dz = this.tilePoint[0].getZ() - this.tilePoint[1].getZ();\n\t\tint dist = dx * dx + dy * dy + dz * dz;\n\t\t\n\t\t//is same point\n\t\tif (dx == 0 && dy == 0 && dz == 0)\n\t\t{\n\t\t\tplayer.sendMessage(new TextComponentTranslation(\"chat.shincolle:wrench.samepoint\"));\n\t\t\t\n\t\t\t//clear data\n\t\t\tresetPos();\n\t\t\t\n\t\t\treturn false;\n\t\t}\n\n\t\t//chest and crane pairing\n\t\tif (tiles[0] instanceof IInventory && !(tiles[0] instanceof TileEntityCrane) && tiles[1] instanceof TileEntityCrane ||\n\t\t\ttiles[1] instanceof IInventory && !(tiles[1] instanceof TileEntityCrane) && tiles[0] instanceof TileEntityCrane)\n\t\t{\n\t\t\t//check dist < ~6 blocks\n\t\t\tif (dist < 40)\n\t\t\t{\n\t\t\t\tBlockPos cranePos = null;\n\t\t\t\tBlockPos chestPos = null;\n\t\t\t\t\n\t\t\t\t//set chest pair\n\t\t\t\tif (tiles[0] instanceof TileEntityCrane)\n\t\t\t\t{\n\t\t\t\t\tcranePos = tilePoint[0];\n\t\t\t\t\tchestPos = tilePoint[1];\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tcranePos = tilePoint[1];\n\t\t\t\t\tchestPos = tilePoint[0];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//send pairing request packet\n\t\t\t\tCommonProxy.channelI.sendToServer(new C2SInputPackets(C2SInputPackets.PID.Request_ChestSet,\n\t\t\t\t\tuid, cranePos.getX(), cranePos.getY(), cranePos.getZ(),\n\t\t\t\t\tchestPos.getX(), chestPos.getY(), chestPos.getZ()));\n\t\t\t\t\n\t\t\t\t//clear data\n\t\t\t\tresetPos();\n\t\t\t\t\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\t//send too far away msg\n\t\t\telse\n\t\t\t{\n\t\t\t\tTextComponentTranslation str = new TextComponentTranslation(\"chat.shincolle:wrench.toofar\");\n\t\t\t\tstr.getStyle().setColor(TextFormatting.YELLOW);\n\t\t\t\tplayer.sendMessage(str);\n\t\t\t\t\n\t\t\t\t//clear data\n\t\t\t\tresetPos();\n\t\t\t\t\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\t//waypoint pairing\n\t\telse if (tiles[0] instanceof ITileWaypoint && tiles[1] instanceof ITileWaypoint)\n\t\t{\n\t\t\t//dist < 48 blocks\n\t\t\tif (dist < 2304)\n\t\t\t{\n\t\t\t\t//get waypoint order\n\t\t\t\tITileWaypoint wpFrom = (ITileWaypoint) tiles[this.pointID];\n\t\t\t\tBlockPos posF = tilePoint[this.pointID];\n\t\t\t\tthis.switchPoint();\n\t\t\t\tITileWaypoint wpTo = (ITileWaypoint) tiles[this.pointID];\n\t\t\t\tBlockPos posT = tilePoint[this.pointID];\n\t\t\t\t\n\t\t\t\t//send pairing request packet\n\t\t\t\tCommonProxy.channelI.sendToServer(new C2SInputPackets(C2SInputPackets.PID.Request_WpSet,\n\t\t\t\t\tuid, posF.getX(), posF.getY(), posF.getZ(), posT.getX(), posT.getY(), posT.getZ()));\n\t\t\t\t\n\t\t\t\t//clear data\n\t\t\t\tresetPos();\n\t\t\t\t\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\t//send too far away msg\n\t\t\telse\n\t\t\t{\n\t\t\t\tTextComponentTranslation str = new TextComponentTranslation(\"chat.shincolle:wrench.wptoofar\");\n\t\t\t\tstr.getStyle().setColor(TextFormatting.YELLOW);\n\t\t\t\tplayer.sendMessage(str);\n\t\t\t\t\n\t\t\t\t//clear data\n\t\t\t\tresetPos();\n\t\t\t\t\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tTextComponentTranslation str = new TextComponentTranslation(\"chat.shincolle:wrench.wrongtile\");\n\t\t\tstr.getStyle().setColor(TextFormatting.YELLOW);\n\t\t\tplayer.sendMessage(str);\n\t\t\t\n\t\t\t//clear data\n\t\t\tresetPos();\n\t\t\t\n\t\t\treturn false;\n\t\t}\n\t}", "public void addAI(ArrayList<Player> list,String U,String F,String G) {\r\n\t\tboolean flag = true;\r\n\t\tIterator<Player> aa = list.iterator();\r\n\t\twhile (aa.hasNext()) {\r\n\t\t\tPlayer in = aa.next();\r\n\t\t\tif(in.getUserName().equals(U)){\r\n\t\t\t\tSystem.out.println(\"The player already exists.\");\r\n\t\t\t\tflag =false;\r\n\t\t\t\treturn;\r\n\t\t\t}\t\r\n\t\t}\r\n\t\tif(flag)\r\n\t\t\tlist.add(new NimAIPlayer(U,F,G,0,0,\"AI\"));\r\n\t\tSystem.out.println(\"\");\r\n\t}", "boolean isAllOnDestination(){\n\n if(player.getCurrentX()-player.getDestinationX()!=0 || player.getCurrentY()-player.getDestinationY()!=0)\n return false;\n\n for(int i = 0; i < boxes.size(); i++){\n Box item = boxes.get(i);\n if(item.getCurrentX()-item.getDestinationX()!=0 || item.getCurrentY()-item.getDestinationY()!=0)\n return false;\n }\n return true;\n }", "private boolean existe(ArrayList<Spot> arr, Spot s) {\n for (int i = 0; i < arr.size(); i++) \n if (s.equals(arr.get(i))) \n return true;\n return false;\n }", "private boolean arePointsRepeated(Point[] points) {\n for (int i = 0; i < points.length; i++) {\r\n for (int j = i + 1; j < points.length; j++) {\r\n if (points[i].compareTo(points[j]) == 0)\r\n return true;\r\n }\r\n }\r\n return false;\r\n }", "@Override\n\t\tboolean hasMatch(ArrayList<Card> hand) {\n\t\t\tHashMap<Integer, Integer> map = new HashMap<Integer, Integer>();\n\t\t\tfor (int i = 0; i < hand.size(); i++) {\n\t\t\t\tif (!map.containsKey(hand.get(i).getCardValue().getValue())) {\n\t\t\t\t\tmap.put(hand.get(i).getCardValue().getValue(), 1);\n\t\t\t\t} else {\n\t\t\t\t\tmap.put(hand.get(i).getCardValue().getValue(),\n\t\t\t\t\t\t\tmap.get(hand.get(i).getCardValue().getValue()) + 1);\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (Integer counter : map.values()) {\n\t\t\t\tif (map.size() == 2 && counter == 4)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}", "public boolean meWin(){\n return whitePieces.size() > blackPieces.size() && isWhitePlayer;\n }", "private static int planeSearch(String item, AOSLArrayBased listOfPlanes)\r\n\t{\r\n\t\tint returnedValue = 0;\r\n\r\n\t\t// Uses the listOfPlanes' search method to search for duplicates in\r\n\t\t// the ordered listOfPlanes\r\n\t\treturnedValue = listOfPlanes.search(item);\r\n\r\n\t\tif(returnedValue >= 0) // There are duplicates\r\n\t\t{\r\n\t\t\treturn 1; // Duplicate\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\treturn 0; // No duplicate \r\n\t\t} // END IF/ELSE\r\n\t}", "public boolean isAlreadyRegistered(BlackjackPlayer player) {\r\n return getPlayers().contains(player);\r\n }", "public boolean shooting(){\n\t\t\tif(x==tmp || x==tmp1 || x==tmp2 || x == tmp3){\n\t\t\t\treturn true; \n\t\t\t}\n\t\t\telse \n\t\t\t\treturn false; \n\t}", "private boolean contains(ArrayList<int[]> list, int[] element) {\n for (int[] temp : list) {\n if (temp[0] == element[0] && temp[1] == element[1]) {\n return true;\n }\n }\n return false;\n }", "private void getPlayers() {\r\n\t\tSystem.out.println(\"How Many Players: \");\r\n\t\tpnum = getNumber(1, 3);\r\n\r\n\t\tfor(int i=0; i < pnum; i++){\r\n\t\t\tSystem.out.println(\"What is player \" + (i + 1) + \"'s name? \");\r\n\t\t\tString name = sc.next();\r\n\t\t\tboolean dupe = true;\r\n\t\t\twhile(dupe){\r\n\t\t\t\tint samecounter = 0;\r\n\t\t\t\tfor(Player p : players){\r\n\t\t\t\t\tif(name.equals(p.getName())){\r\n\t\t\t\t\t\tsamecounter += 1;\r\n\t\t\t\t\t\tSystem.out.println(\"Name is the same as another players. Please choose another name: \");\r\n\t\t\t\t\t\tname = sc.next();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif(samecounter == 0){\r\n\t\t\t\t\tdupe = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tplayers.add(new Player(name));\r\n\r\n\t\t}\r\n\t}", "public boolean has (Player p)\n\t{\n\t\tIterator<Player> it = this.iterator();\n\t\twhile(it.hasNext())\n\t\t{\n\t\t\tPlayer p2 = it.next();\n\t\t\tif(p2.equals(p))\n\t\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public boolean legalMove(ArrayList<Point2D> inputMove,ArrayList<Object> Gamestate){\n FooHistory currentGameState = (FooHistory) Gamestate.get(0);\n ArrayList<Point2D> player1moves= currentGameState.getCurrentState().get(0);\n ArrayList<Point2D> player2moves= currentGameState.getCurrentState().get(1);\n //System.out.println(\"Player1 moves in FooRules: \"+ player1moves);\n \n if(inputMove.size()==1){\n for(ArrayList<Point2D> array: currentGameState.getCurrentState()){\n for(Point2D point:array){\n if(inputMove.get(0).getX()==point.getX() && inputMove.get(0).getY()==point.getY()){\n System.out.println(\"Ilegal Move\");\n return false;\n }\n }\n }\n return true;\n }\n else{//Deals with moving a piece to take pieces\n if(adjacent(inputMove.get(0),inputMove.get(1))){//Makes sure the two input moves are adjacent\n if(currentGameState.getTurnCount()%2==1){ //Player 1's turn\n for(Point2D point:player2moves){\n if(point.getX()==inputMove.get(1).getX() && point.getY()==inputMove.get(1).getY()){\n return true;\n }\n }\n }\n if(currentGameState.getTurnCount()%2==0){//Player 2's turn\n for(Point2D point:player1moves){\n if(point.getX()==inputMove.get(1).getX() && point.getY()==inputMove.get(1).getY()){\n return true;\n }\n }\n }\n }\n System.out.println(\"Ilegal Move\"); \n return false; \n }\n \n }", "public boolean checkWithFragmentingWarhead ()\n {\n List<Player> players = new ArrayList<>();\n\n for (Player playerIterate : player.playerThatSee(player.getSquare().getGameBoard()))\n {\n if (playerIterate.getSquare() != player.getSquare())\n players.add(playerIterate);\n }\n\n for (Player playerIterate : players)\n {\n if (playerIterate.getSquare().getPlayerList().size()>1)\n return true;\n }\n\n return false;\n }", "@Override\n\tpublic boolean equals(Object obj) {\n if (obj == this) { \n return true; \n } \n // Check if obj is an instance of Position or not \n if (!(obj instanceof Player)) { \n return false; \n } \n // Type cast obj to \"Player\" so that we can compare the name & side attributes \n Player p = (Player) obj; \n return ( this.name == p.getName() && this.side == p.getSide() ); \n }", "@Override\n\t\tboolean hasMatch(ArrayList<Card> hand) {\n\t\t\tHashMap<Integer, Integer> map = new HashMap<Integer, Integer>();\n\t\t\tfor (int i = 0; i < hand.size(); i++) {\n\t\t\t\tif (!map.containsKey(hand.get(i).getCardValue().getValue())) {\n\t\t\t\t\tmap.put(hand.get(i).getCardValue().getValue(), 1);\n\t\t\t\t} else {\n\t\t\t\t\tmap.put(hand.get(i).getCardValue().getValue(),\n\t\t\t\t\t\t\tmap.get(hand.get(i).getCardValue().getValue()) + 1);\n\t\t\t\t}\n\t\t\t}\n\t\t\tint counter = 0;\n\t\t\tif (map.size() == 4) {\n\n\t\t\t\tfor (Integer key : map.keySet()) {\n\t\t\t\t\tif (map.get(key) == 2) {\n\t\t\t\t\t\tcounter++;\n\t\t\t\t\t}\n\t\t\t\t\tif (map.get(key) == 1) {\n\t\t\t\t\t\tcounter++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn counter == 4;\n\t\t}", "private boolean isMyPiece(Loc thisSpot) {\n\t\tfor (Loc loc : currentPiece.getLocation()) {\n\t\t\tif (loc.row == thisSpot.row && loc.col == thisSpot.col) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "private int containsInOldList(ID id) {\n\t\tfor (Player player : playerList)\n\t\t\tif (player.getPlayerID().compareTo(id) == 0)\n\t\t\t\treturn playerList.indexOf(player);\n\t\treturn -1;\n\t}", "public boolean contains(Point p);", "public boolean tileOccupied(int x, int y, int pno){\n\t\tfor (int key : playerPosition.keySet()){\n\t\t\tif (key != pno){\n\t\t\t\tint a = playerPosition.get(key)[0];\n\t\t\t\tint b = playerPosition.get(key)[1];\n\t\t\t\tif (a == x && b == y){\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "private boolean compareList(ArrayList<Point> solutions2, ArrayList<Point> current) {\r\n\t\treturn solutions2.toString().contentEquals(current.toString());\r\n\t}", "public boolean pointInFlammableLocations(Point point) {\n for (Point location : fireLocations) {\n if (location == point) {\n return true;\n }\n }\n return false;\n }", "@Override\n\t\tboolean hasMatch(ArrayList<Card> hand) {\n\t\t\tfor (int i = 0; i < hand.size(); i++) {\n\t\t\t\tif (i + 1 < hand.size()) {\n\t\t\t\t\tif (hand.get(i + 1).getCardValue().getValue()\n\t\t\t\t\t\t\t- hand.get(i).getCardValue().getValue() > 1)\n\t\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t}", "public boolean cellAlreadyExists(Cell c) {\r\n for (Cell cell : cells) {\r\n if (Arrays.equals(c.getShape().xpoints, cell.getShape().xpoints)) { // && Arrays.equals(c.getShape().ypoints, cell.getShape().ypoints)) {\r\n\r\n return true;\r\n }\r\n }\r\n return false;\r\n\r\n }", "private boolean isWinning(Piece[] arr) {\n if (arr[0] == X) {\n for (Piece piece : arr) {\n if (piece != X) {\n return false;\n }\n }\n }\n else {\n for (Piece piece : arr) {\n if (piece != O) {\n return false;\n }\n }\n }\n return true;\n }", "public boolean isAvailable(Player player) {\n return playerList.contains(player);\n }", "public void checkCollision(Actor player) {\n\n for (int i = 0; i < activePickups.size(); i++) {\n Pickup p = activePickups.get(i);\n\n if (p.getBounds().intersects(player.getBounds())) {\n p.despawn();\n if (p instanceof FogLightsPickup) {\n PlayerInventory.incrementFogLights();\n } else if (p instanceof SlowMotionPickup) {\n PlayerInventory.incrementSlowMotion();\n } else if (p instanceof InvincibilityPickup) {\n PlayerInventory.incrementInvincibility();\n\n } else if (p instanceof CoinPickup) {\n coinsPickedUp++;\n canvas.playSound(\"coin.wav\");\n }\n }\n }\n }", "public static boolean isDuplicate(List list, int id)\r\n {\r\n for (int i = 0; i < list.size(); i++)\r\n {\r\n int dupID = ((Integer) list.get(i)).intValue();\r\n\r\n if (dupID == id)\r\n {\r\n //slist.remove(list.get(i));\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n }", "private Point[] moveCars(ParkingLot p)\r\n {\r\n ArrayList<Point> emptySpots = new ArrayList<>();\r\n ArrayList<Point> oneSpotTaken = new ArrayList<>();\r\n for(int i = 0; i < p.getTotalRow(); i++){\r\n for(int j = 0; j < p.getTotalColumn(); j++){\r\n if(!p.getOccupany(i,j)){\r\n emptySpots.add(new Point(i,j));\r\n }else{\r\n if(p.getSpotInfo(i,j).getVehicle().getSpotsTaken() == 1){\r\n oneSpotTaken.add(new Point(i,j));\r\n }\r\n }\r\n }\r\n }\r\n\r\n if(oneSpotTaken.size() <= 1){\r\n System.out.println(\"There are not enough spots in this lot to park this car.\");\r\n return null;\r\n }\r\n\r\n Random rand = new Random();\r\n Point randomPoint = emptySpots.get(rand.nextInt(emptySpots.size()));\r\n\r\n if(((int)randomPoint.getY()-1) >= 0 && oneSpotTaken.contains(new Point((int)randomPoint.getX(),(int)randomPoint.getY()-1))){\r\n emptySpots.remove(randomPoint);\r\n Point newEmpty = emptySpots.get(rand.nextInt(emptySpots.size()));\r\n p.setSpot((int)newEmpty.getX(),(int)newEmpty.getY(),p.getSpotInfo((int)randomPoint.getX(),(int)randomPoint.getY()-1));\r\n p.setSpot((int)randomPoint.getX(),(int)randomPoint.getY()-1,null);\r\n return new Point[]{new Point((int)randomPoint.getX(),((int)randomPoint.getY()-1)),randomPoint};\r\n }else if((int)randomPoint.getY()+1 <= p.getTotalColumn()-1 && oneSpotTaken.contains(new Point((int)randomPoint.getX(),(int)randomPoint.getY()+1))){\r\n emptySpots.remove(randomPoint);\r\n Point newEmpty = emptySpots.get(rand.nextInt(emptySpots.size()));\r\n p.setSpot((int)newEmpty.getX(),(int)newEmpty.getY(),p.getSpotInfo((int)randomPoint.getX(),(int)randomPoint.getY()+1));\r\n p.setSpot((int)randomPoint.getX(),(int)randomPoint.getY()+1,null);\r\n return new Point[]{randomPoint,new Point((int)randomPoint.getX(),((int)randomPoint.getY()+1))};\r\n }else{\r\n return moveCars(p);\r\n }\r\n }", "private boolean towerLocation(final Point current_point) {\r\n\t\tfor (int i = 0; i < my_towers.size(); i++) {\r\n\t\t\tif (my_towers.get(i).getLocation().equals(current_point)) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public boolean equals(LinkedList list){\n if (this.size() == list.size()){\n for (int i = 0; i < this.size(); i++){\n if(this.get(i) != list.get(i)){\n return false;\n }\n }\n return true;\n }else{ \n return false;\n } \n }", "public boolean jackpot()\n {\n\treturn (_fruits[0].equals(_fruits[1]) \n\t\t&& _fruits[1].equals(_fruits[2]));\n }", "private Player checkIfEatsYellowPlayer(Player player)\n {\n int x_cord = getMidPoint(player.x_cordinate);\n int y_cord = getMidPoint(player.y_cordinate);\n int yellow_x1 = getMidPoint(ludo.getYellowPlayer1().x_cordinate);\n int yellow_x2 = getMidPoint(ludo.getYellowPlayer2().x_cordinate);\n int yellow_x3 = getMidPoint(ludo.getYellowPlayer3().x_cordinate);\n int yellow_x4 = getMidPoint(ludo.getYellowPlayer4().x_cordinate);\n int yellow_y1 = getMidPoint(ludo.getYellowPlayer1().y_cordinate);\n int yellow_y2 = getMidPoint(ludo.getYellowPlayer2().y_cordinate);\n int yellow_y3 = getMidPoint(ludo.getYellowPlayer3().y_cordinate);\n int yellow_y4 = getMidPoint(ludo.getYellowPlayer4().y_cordinate);\n if (collisionDetection(x_cord, y_cord, yellow_x1, yellow_y1) == 1)\n {\n return yellow_player1;\n }\n else if (collisionDetection(x_cord, y_cord, yellow_x2, yellow_y2) == 1)\n {\n return yellow_player2;\n }\n else if (collisionDetection(x_cord, y_cord, yellow_x3, yellow_y3) == 1)\n {\n return yellow_player3;\n }\n else if (collisionDetection(x_cord, y_cord, yellow_x4, yellow_y4) == 1)\n {\n return yellow_player4;\n }\n else\n {\n return null;\n }\n }" ]
[ "0.644639", "0.633778", "0.6110817", "0.60888886", "0.6058226", "0.6016861", "0.6010693", "0.5999185", "0.59789234", "0.5948308", "0.5918594", "0.59184474", "0.59080684", "0.5896891", "0.5879161", "0.58469635", "0.5829161", "0.57954663", "0.5784048", "0.5761193", "0.5732674", "0.5729804", "0.5727672", "0.5721818", "0.57112145", "0.5701242", "0.5662439", "0.56618565", "0.5645129", "0.5633435", "0.5630897", "0.5630447", "0.56260943", "0.561972", "0.5601709", "0.55827177", "0.5566051", "0.5558605", "0.554875", "0.5543116", "0.5528424", "0.55226403", "0.5518037", "0.5510013", "0.5509304", "0.550857", "0.55081385", "0.54998803", "0.54968333", "0.54915375", "0.54912156", "0.5487429", "0.5483293", "0.54812986", "0.54780704", "0.5471922", "0.54690593", "0.5468708", "0.5464293", "0.54634285", "0.5462702", "0.545966", "0.5446382", "0.5445571", "0.5444944", "0.5425562", "0.5423933", "0.542029", "0.54187566", "0.54181004", "0.54145366", "0.5411269", "0.54083973", "0.53906435", "0.5385956", "0.5380015", "0.5376563", "0.53758514", "0.5375198", "0.53711414", "0.53572595", "0.5354027", "0.5346139", "0.533745", "0.5335868", "0.53122514", "0.5299892", "0.52965534", "0.5290081", "0.52854705", "0.5283173", "0.52809286", "0.5279795", "0.52695733", "0.52661484", "0.5264341", "0.5263004", "0.5260904", "0.52465934", "0.5245708" ]
0.6990148
0
Returns true if the shot point is between shipStart and shipEnd otherwise return false
static boolean Hit(Point shipStart, Point shipEnd, Point shotPoint){ if(shipStart.getDown() == shipEnd.getDown()){ // if start and end on same y coordinate, ship is horizontal int y = shipStart.getDown(); for (int x = shipStart.getAcross(); x <= shipEnd.getAcross(); x++){ // loop from left to right of ship position if(x == shotPoint.getAcross() && y == shotPoint.getDown()) return true; // if the coordinates of current point match shot, you hit! } } else if (shipStart.getAcross() == shipEnd.getAcross()) { // if start and end on same x coordinate, ship is vertical int x = shipStart.getAcross(); for (int y = shipStart.getDown(); y <= shipEnd.getDown(); y++) { if (x == shotPoint.getAcross() && y == shotPoint.getDown()) return true; // if the coordinates of current point match shot, you hit! } } return false; // points given are not horizontal or vertical and not valid, can't hit diagonally }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean collides (){\n if(shipX<=astX && shipY>=astY){\n if(Math.abs(shipX-astX)<=40 && Math.abs(shipY-astY)<=65){\n return true;\n }\n }\n else if(shipX>=astX && shipY>=astY){\n if(Math.abs(shipX-astX)<=75 && Math.abs(shipY-astY)<=65){\n return true;\n }\n }\n else if(shipX>=astX && shipY<=astY){\n if(Math.abs(shipX-astX)<=75 && Math.abs(shipY-astY)<=55){\n return true;\n }\n }\n else if(shipX<=astX && shipY<=astY){\n if(Math.abs(shipX-astX)<=60 && Math.abs(shipY-astY)<=55){\n return true;\n }\n }\n return false;\n }", "public boolean hasHitShip() {\n\t\t// see if the lines of the ship have intersected with the lines of the\n\t\t// asteroid\n\t\treturn linesIntersect();\n\n\t}", "public boolean isThereStandingShips() {\r\n\t\r\n\t/*\t\r\n\t\tint SIZE = 100;\r\n\t\tint state = 0;\r\n\t\tboolean shipPresent = false;\r\n\t\tint x = 0, y = -1;\r\n\t\tfor (int i = 0; i < SIZE; i++) {\r\n\t\t\tif (i % 10 == 0) {\r\n\t\t\t\tx = 0;\r\n\t\t\t\ty = y + 1;\r\n\t\t\t}\r\n\t\t\tstate = shipStateMap.get(new Point(x, y));\r\n\t\t\tif (state == 1)\r\n\t\t\t\tshipPresent = true;\r\n\t\t\tx++;\r\n\t\t}\r\n\t\treturn shipPresent;\r\n\t*/\r\n\r\n\t\treturn (numberOfAllowedShotsRemaining!=0);\r\n\t}", "public boolean isValid(Ships ship) {\n\t\tboolean orientation = ship.getOrientation();\r\n\t\tif(orientation) {\r\n\t\t\tif(ship.getLength() + ship.getCoord()[1] <= 10) {\r\n\t\t\t\treturn this.isOverlapping(ship);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tif(ship.getLength() + ship.getCoord()[0] <= 10) {\r\n\t\t\t\treturn this.isOverlapping(ship);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "static boolean alreadyShot(Point shotPoint, BattleshipModel model, boolean player){\n List<Point> checkHits;\n List<Point> checkMisses;\n\n int sizeHits;\n int sizeMisses;\n\n //if player\n if(player) {\n checkHits = model.getComputerHits(); //Grabs the point list for player\n checkMisses = model.getComputerMisses();\n\n sizeHits = model.getComputerHits().size();\n sizeMisses = model.getComputerMisses().size();\n\n }else{\n checkHits = model.getPlayerHits(); //Grabs the point list for computer\n checkMisses = model.getPlayerMisses();\n\n sizeHits = model.getPlayerHits().size();\n sizeMisses = model.getPlayerMisses().size();\n }\n\n for(int i = 0; i < sizeHits; i++){ //checks the Hit list for the same point\n if(shotPoint.getAcross() == checkHits.get(i).getAcross() && shotPoint.getDown() == checkHits.get(i).getDown()){\n return true;\n }\n }\n\n for(int i = 0; i < sizeMisses; i++){ //checks the Hit list for the same point\n if(shotPoint.getAcross() == checkMisses.get(i).getAcross() && shotPoint.getDown() == checkMisses.get(i).getDown() ){\n return true;\n }\n }\n\n return false;\n }", "public boolean inRange(){\n //System.out.println(\"inRange\");\n return Math.abs(GameView.instance.player.position.x - creationPoint.x) < GameView.instance.cameraSize * attackRange;\n }", "boolean testIsTouchingShipShip(Tester t) {\n return t.checkExpect(ship1.isTouchingShip(ship11), false)\n && t.checkExpect(ship11.isTouchingShip(ship11), false);\n }", "private boolean withinGridDimensions(int startX, int startY, int endX, int endY) {\n boolean within = true;\n int largerX = Math.max(startX, endX);\n int smallerX = Math.min(startX, endX);\n int largerY = Math.max(startY, endY);\n int smallerY = Math.min(startY, endY);\n \n if (smallerX < 1 || smallerY < 1 || largerX > GRID_DIMENSIONS || largerY > GRID_DIMENSIONS) {\n within = false;\n }\n \n return within;\n }", "boolean takeShot(Point shot);", "public boolean checkMove(location start_pos, location end_pos, chess[][] board){\n // move in vertical direction or horizontal direction\n if(start_pos.getY() == end_pos.getY() || start_pos.getX() == end_pos.getX() ){\n // Distance is greater than zero\n if(!isStay(start_pos, end_pos)){\n return !isChessOnWay(start_pos, end_pos, board);\n }\n }\n return false;\n }", "public boolean contains(ShiffmanShip ship) {\n PVector loc =ship.location;\n // is Lover object is inside of mouse controlled fluid?\n // if (loc.x> mouseX && loc.x < mouseX + w && loc.y > mouseY && loc.y < mouseY+ h) { //creates flyover\n // return true;\n // } \n // is Lover object inside of stationary fluid area? Yes? then go back to if statement and apply force\n if (loc.x> x && loc.x < x + w && loc.y > y && loc.y < y+ h) {\n return true;\n } \n // No? then return fals and do not apply drag force\n else {\n return false;\n }\n }", "public boolean isInRange(Point testPt){\n\t\tfor(int i = 0; i < display.size();i++){\n\t\t\tif(testPt.x >= display.get(i).x && testPt.y >= display.get(i).y && testPt.x <= (display.get(i).x + display.get(i).width()) && testPt.y <= (display.get(i).y + display.get(i).height())){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean verifShipCoordinates( IPlayer iPlayer, String startCoord,String endCoord, int size) {\n\t\tif (goodCoordinatesForm(startCoord) && goodCoordinatesForm(endCoord) ) {\r\n\r\n\t\t\tCoordinates coord1 = new Coordinates(startCoord);\r\n\t\t\tCoordinates coord2 = new Coordinates(endCoord);\r\n\t\t\tcoordinatesShipConverter(coord1, coord2);\r\n\t\t\tif (inMap(iPlayer,coord1) && inMap(iPlayer,coord2) ) {\r\n\t\t\t\tif (nonDiagonal(coord1,coord2)) {\r\n\t\t\t\t\tif(goodSize(coord1,coord2, size)) {\r\n\t\t\t\t\t\tif (isEmpty(iPlayer, coord1, coord2)) {\r\n\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse { System.out.println(\"Another ship is already on it\");\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse { System.out.println(\"The size of the ship isn't good, try again it should be \"+ size + \" coordinates large\");\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\telse {System.out.println(\"The ship is in diagonal, try again it should be like A-2\");\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\telse { System.out.println(\"Coordinates out of map, try again it should be between 0 and 10, and A to J\" );// can't do this.height.. because cannot do a static reference to a non static..\r\n\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t\telse { System.out.println(\"Wrong coordinates writing, try again it should be like A-2\");\r\n\t\t}\r\n\t\t// is this presentation very clear ?\r\n\t\t\r\n\treturn false;\r\n\t\r\n\t}", "public boolean takeShot(Point shot) {\n return opponentsBoard.takeShot(shot);\n }", "public boolean isChessOnWay(location start, location end, chess[][] board) {\n int startX = start.getX();\n int startY = start.getY();\n int endX = end.getX();\n int endY = end.getY();\n\n if(Math.abs(startX-endX) > 0){\n int step = startX < endX ? 1 : -1;\n for(int i = startX+step; i != endX ; i+=step){\n if(board[i][startY]!=null){\n return true;\n }\n }\n }\n else if(Math.abs(startY-endY) > 0){\n int step = startY < endY ? 1 : -1;\n for(int i = startY+step; i != endY; i+=step){\n if(board[startX][i]!=null){\n return true;\n }\n }\n\n }\n return false;\n\n }", "boolean testIsTouchingShip(Tester t) {\n return t.checkExpect(\n this.ship1.isTouching(new Bullet(7, Color.PINK, new MyPosn(1, 150), this.p7, 2)), true)\n && t.checkExpect(ship4.isTouching(bullet3), true)\n && t.checkExpect(ship5.isTouching(bullet3), true)\n && t.checkExpect(ship6.isTouching(bullet3), true)\n && t.checkExpect(ship7.isTouching(bullet3), true)\n && t.checkExpect(ship7.isTouching(bullet1), false)\n && t.checkExpect(ship8.isTouching(bullet1), false)\n && t.checkExpect(ship9.isTouching(bullet4), true)\n && t.checkExpect(ship9.isTouching(bullet5), false)\n && t.checkExpect(ship9.isTouching(ship9), false);\n }", "boolean hasDestRange();", "public boolean playerShootCheck(int x, int y){\n\t\tif( opponentShips[x][y] != null ){\n\t\t\t\n\t\t\tif(opponentShips[x][y].isDestroyed()){\n\t\t\t\tint shipSize = opponentShips[x][y].getshipSize();\n\t\t\t\topponentShips[x][y] = null;\n\t\t\t\tthis.dmgLastRound = shipSize;\t\t\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\topponentShips[x][y] = null;\n\t\t\tthis.dmgLastRound = 0;\n\t\t\treturn true;\n\t\t}\n\t\telse this.dmgLastRound = -1;\n\t\treturn false;\n\t}", "public Boolean isValidMovement(int x, int y){\n\t\tif ( x < 0 || x > 7 || y < 0 || y > 7 \n\t\t\t\t|| this.board.getPiece(x, y).getColor().equalsIgnoreCase(this.color))\n\t\t\treturn false;\n\t\t\n\t\tint distX = Math.abs(this.posX - x);\n\t\tint distY = Math.abs(this.posY - y);\n\t\t\n\t\tif (distX != distY)\n\t\t\treturn false;\n\t\t\n\t\tif (this.posX > x && this.posY > y){\n\t\t\tfor (int i = 1; i < distX ; i ++){\n\t\t\t\tif (!this.board.getPiece(this.posX - i, this.posY - i).isEmpty())\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (this.posX < x && this.posY > y){\n\t\t\tfor (int i = 1; i < distX ; i ++){\n\t\t\t\tif (!this.board.getPiece(this.posX + i, this.posY - i).isEmpty())\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (this.posX > x && this.posY < y){\n\t\t\tfor (int i = 1; i < distX ; i ++){\n\t\t\t\tif (!this.board.getPiece(this.posX - i, this.posY + i).isEmpty())\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (this.posX < x && this.posY < y){\n\t\t\tfor (int i = 1; i < distX ; i ++){\n\t\t\t\tif (!this.board.getPiece(this.posX + i, this.posY + i).isEmpty())\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "public boolean tileInBounds(float xTile, float yTile)\r\n/* 111: */ {\r\n/* 112:124 */ return (xTile >= 0.0F) && (xTile < getWidthInTiles()) && (yTile >= 0.0F) && (\r\n/* 113:125 */ yTile < getHeightInTiles());\r\n/* 114: */ }", "public boolean checkShot(int row, int col) {\n /* invalid board position */\n if(row < 1 || col < 1 || row > (this.boardHeight-1) || col > (this.boardWidth-1))\n return false;\n \n /* We have a hit! */\n if(this.board[row][col] == 'S') {\n this.board[row][col] = 'X';\n \n /* check if this was the last part of a ship, if so decrement the\n * number of ships left */\n if(this.board[row+1][col] != 'S' && this.board[row][col+1] != 'S' &&\n this.board[row-1][col] != 'S' && this.board[row][col-1] != 'S') {\n numShips--;\n }\n \n return true;\n }\n /* Did they really shoot at the same spot again? */\n else if(this.board[row][col] == 'X' || this.board[row][col] == 'O') {\n /* do nothing, penalize them for their foolish double shot! */\n return false;\n }\n /* The must have missed then */\n else {\n this.board[row][col] = 'O';\n return false;\n }\n }", "public boolean contains(Ship s){\n\t\treturn myPolygon.contains(s.getX()-10, s.getY()-10,s.getW()/2,s.getH()/2);\n\t\t\n\t}", "public boolean atSpaceship()\r\n\t{\r\n\t\treturn this.currentPlace.isSpaceship();\r\n\t}", "private boolean didMyShipSink(int x, int y) {\n boolean sunk = false; //assumes ship hasn't sunk\n for (int i = 0; i < fleet.size(); i++) { //going through fleet to find boat\n if (fleet.get(i).getStartX() == x && fleet.get(i).getStartY() == y) {\n sunk = fleet.get(i).hitAndMaybeSunk(); \n //System.out.println(\"didMyShipSink(): \" + fleet.get(i).getIsSunk());\n if (sunk) { \n shipsSunk.add(fleet.get(i)); \n fleet.remove(i);\n }\n }\n }\n return sunk;\n }", "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 }", "public boolean canMove(Board board, Spot start, Spot end) {\n boolean withinRange = ((end.getFile() >=0 && end.getFile() < 8) && (end.getRow() >= 0 && end.getRow() < 8));\n boolean occupied = (end.getPiece() != null);\n int fileChange = Math.abs(end.getFile() - start.getFile());\n int rowChange = Math.abs(end.getRow() - start.getRow());\n boolean movingLikeAKnight = (fileChange * rowChange == 2);\n\n // if end is in board\n if (withinRange) {\n // if end is not occupied\n if (!occupied) {\n return movingLikeAKnight;\n }\n // end is occupied\n else {\n boolean sameColour = (end.getPiece().isWhite() == this.isWhite());\n // if occupied by opponent\n if (!sameColour)\n return movingLikeAKnight;\n // if occupied by player\n else\n return false;\n }\n }\n // end is not in board\n else\n return false;\n }", "static Boolean pointInPgm(int x, int y) {\n return (x >= 0 ) && (y >= 0) && (x <= pgmInf.width) && (y <= pgmInf.height);\n }", "boolean testMoveShip(Tester t) {\n return t.checkExpect(ship1.move(),\n new Ship(10, Color.CYAN, new MyPosn(50, 200), new MyPosn(50, 50)))\n && t.checkExpect(ship10.move(),\n new Ship(10, Color.CYAN, new MyPosn(290, 270), new MyPosn(-10, -30)));\n }", "public boolean hitTarget(MouseEvent e) {\n\t\treturn (e.getX() > coord.x && e.getX() < endCoord.x && e.getY() > coord.y && e.getY() < endCoord.y);\n\t}", "protected boolean shootAt(int row, int column){\n\n //update shots fired\n //call Ship.shootAt to update the ship\n //check if new ship sunk\n this.shotsFired++;\n boolean prevSunk = ships[row][column].isSunk();\n\n ships[row][column].shootAt(row, column);\n boolean currSunk = ships[row][column].isSunk();\n if (!prevSunk && currSunk) shipsSunk++;\n\n //if the location is empty, return false\n if (!isOccupied(row,column)) return false;\n //if the location has a real ship but already sunk\n if (prevSunk) return false;\n //if the location has a real ship an is not sunk yet\n else {\n this.hitCount++;\n return true;\n }\n\n }", "public boolean validateShipPlacement(Ship thisShip, String coordinate,\r\n\t\t\tint direction) {\r\n\t\tint letterCoord = letterToIndex(coordinate.charAt(0));\r\n\t\tint numberCoord;\r\n\t\ttry{\r\n\t\tnumberCoord = Integer.parseInt(coordinate.substring(1))-1;\r\n\t\t}catch (NumberFormatException nfe){\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif (thisShip.placed == true)\r\n\t\t\treturn false;\r\n\t\telse {\r\n\t\t\tif (myBoard.in_Grid(numberCoord, letterCoord)) {\r\n\t\t\t\tif (direction == 1) { //left to right\r\n\t\t\t\t\tfor (int i = 0; i < thisShip.getSize(); i++) {\r\n\t\t\t\t\t\tif (myBoard\r\n\t\t\t\t\t\t\t\t.in_Grid(numberCoord+i, letterCoord) == false\r\n\t\t\t\t\t\t\t\t|| isOccupied(numberCoord+i, letterCoord)) {\r\n\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (direction == 2) { //top to bottom\r\n\t\t\t\t\tfor (int i = 0; i < thisShip.getSize(); i++) {\r\n\t\t\t\t\t\tif (myBoard\r\n\t\t\t\t\t\t\t\t.in_Grid(numberCoord, letterCoord+i) == false\r\n\t\t\t\t\t\t\t\t|| isOccupied(numberCoord, letterCoord+i)) {\r\n\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (direction == 3) { //right to left\r\n\t\t\t\t\tfor (int i = 0; i < thisShip.getSize(); i++) {\r\n\t\t\t\t\t\tif (myBoard\r\n\t\t\t\t\t\t\t\t.in_Grid(numberCoord-i, letterCoord ) == false\r\n\t\t\t\t\t\t\t\t|| isOccupied(numberCoord-i, letterCoord )) {\r\n\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (direction == 4) { //bottom to top\r\n\t\t\t\t\tfor (int i = 0; i < thisShip.getSize(); i++) {\r\n\t\t\t\t\t\tif (myBoard\r\n\t\t\t\t\t\t\t\t.in_Grid(numberCoord, letterCoord-i) == false\r\n\t\t\t\t\t\t\t\t|| isOccupied(numberCoord, letterCoord-i)) {\r\n\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "public boolean isShipAlreadyPiloted() {\t\t\n\t\tfor (ACBaseShip othership : Autocraft.shipmanager.ships.values()) {\n\t\t\tfor (int i = 0; i < othership.blocks.length; i++) {\n\t\t\t\tif (blockBelongsToShip(othership.blocks[i], blocks))\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean isHit(Point p){\n if(super.getLocation().equals(p)){\n nunMissiles = 0;\n return true;\n } else {\n return false;\n }\n }", "public boolean validMove(int x, int y){\n if(!super.validMove(x, y)){\n return false;\n }\n if(((Math.abs(x - this.x()) == 2) && (Math.abs(y - this.y()) == 1))\n || ((Math.abs(x - this.x()) == 1) && (Math.abs(y - this.y()) == 2))){\n return true;\n }else{\n return false;\n }\n }", "public boolean hit(int y, int x)\n {\n if (this.space[y][x].charAt(1) == 'X' || this.space[y][x].charAt(1) == '*') { //Test to see if space already hit wasn't passed to hit method\n throw new IllegalArgumentException(\"A space that was already hit can't be hit again\".toUpperCase());\n }\n \n if (!(this.space[y][x].equals(\"[ ]\"))) { //Remove point y, x on ship and board, illegal values not looked at (X or *)\n Ship shipHit = null;\n for (int i = 0; i < this.fleet.size(); i++)\n {\n if(this.space[y][x].charAt(1) == this.fleet.get(i).getEmblem()) {\n shipHit = this.fleet.get(i);\n break;\n }\n }\n \n if(shipHit.destroyPointOnShip(new int[]{y,x})) //check to see if ship was destroyed and displays appropriate message to user, subtracts from\n //number of ships remaining\n {\n System.out.println((shipHit.getClass().getName().replace('_',' ')+ \" was destroyed!!!\").toUpperCase());\n this.numberOfShips--;\n }\n else {\n System.out.println((shipHit.getClass().getName().replace('_',' ')+ \" was hit at \"+(char)(y+'A') + \"-\" + (x+1)).toUpperCase());\n }\n this.space[y][x] = \"[X]\";\n return true;\n }\n else { //Mark useless shot on Board\n System.out.println(\"Nothing was hit at \".toUpperCase()+ (char)(y+'A') + \"-\" + (x+1) + \".\");\n this.space[y][x] = \"[*]\";\n return false;\n }\n }", "public int gotShot(int x, int y) throws InvalidShotException {\n int hit = 0; //miss \n// System.out.println(\"didMyShipSink: grid[\" + indexX + \"][\" + indexY + \"]'s current shotAt state is: (true)\"\n// + grid[indexX][indexY].getShotAt());\n\n int gridX = x - 1; //0-indexing\n int gridY = y - 1;\n System.out.println(\"Before: \" + grid[gridX][gridY]);\n if (!grid[gridX][gridY].getShotAt()) { //look at your grid, check that cell. hit or miss?\n grid[gridX][gridY].setShotAt(true);\n hit = (grid[gridX][gridY].getHasBoat()) ? HIT_NOT_SUNK : MISS; //if it has a boat, then hit = true.\n if (hit == HIT_NOT_SUNK) {\n hit = didMyShipSink(x, y) ? HIT_AND_SUNK : hit;\n } \n } else {\n throw new InvalidShotException(\"You've already shot this coordinate!\");\n }\n System.out.println(\"After: \" + grid[gridX][gridY]);\n \n switch (hit) {\n case -1: \n System.out.println(\"hit: \" + hit + \" Already been shot!\");\n break;\n case 1: \n System.out.println(\"hit: \" + hit + \" Hit!\");\n break;\n case 2: \n System.out.println(\"hit: \" + hit + \" Hit and sunk!\");\n break;\n default:\n System.out.println(\"hit: \" + hit + \" Miss!\");\n }\n return hit;\n }", "@Override\n public boolean isInScreen(){\n return this.getX() > App.START_COORDINATE_X - this.getSpriteImage().getWidth() / 2\n && this.getX() < App.SCREEN_WIDTH + this.getSpriteImage().getWidth() / 2;\n }", "@Override\n public boolean inBounds(int x, int y) {\n return x >= 0 && y >= 0 && x < this.bounds.width\n && y < this.bounds.height;\n }", "boolean testOffscreenShip(Tester t) {\n return t.checkExpect(this.ship1.isOffScreen(100, 100), true)\n && t.checkExpect(this.ship1.isOffScreen(200, 200), false)\n && t.checkExpect(this.ship3.isOffScreen(50, 50), false);\n }", "public boolean inValidSpot(Path p1){\n\t\t// Checks to see it the path piece placed expects an entrance or exit piece out of bounds\n\t\t\n\t\tint largestRow = (height*width-1)/width;\n\t\t\n\t\t// if entrance or exit pos expected is negative, know it is expecting a path outside the top bound\n\t\tif(p1.getEntry()<0 || p1.getExit()<0){\n\t\t\treturn false;\n\t\t}\n\t\t// if entrance or exit's row greater than the maximum row, know it is expecting a path outside bottom bound\n\t\tif(p1.getEntryRow()>largestRow || p1.getExitRow()>largestRow){\n\t\t\treturn false;\n\t\t}\n\t\tint currentRow = p1.getRow();\n\t\tint nextRow=0;\n\t\tif(Math.abs(p1.getPos()-p1.getEntry())==1){\n\t\t\t// If the absolute value of the difference between the current position and its entrance is 1 ...\n\t\t\t// Checking to see if the entrance is expected to be outside of the left or right edges of Map\n\t\t\tnextRow = p1.getEntryRow();\n\t\t\tif(currentRow!=nextRow){\n\t\t\t\t// This means that the entrance expected is not to the left or to the right\n\t\t\t\t// In other words, the entrance is expected in another row\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\tif(Math.abs(p1.getPos()-p1.getExit())==1){\n\t\t\t// If the absolute value of the difference between the current position and its exit is 1 ...\n\t\t\t// Checking to see if the exit is expected to be outside of the left or right edges of Map\n\t\t\tnextRow = p1.getExitRow();\n\t\t\tif(currentRow!=nextRow){\n\t\t\t\t// This means that the exit expected is not to the left or to the right\n\t\t\t\t// In other words, the exit is expected in another row\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\t/*\n\t\tif(Math.abs(p1.getPos()-p1.getEntry())==width){\n\t\t\tnextRow = p1.getEntryRow();\n\t\t\tif(p1.getEntry()<0 || nextRow>(height-1/width)){//it used to be calculaterow(height*width-1\n\t\t\t\t//Less than zero would make it on top of the top edge\n\t\t\t\t//First term calculated in this manner because any negative entrance between -1 and \n\t\t\t\t// -width+1 will have an integer rounded to zero. The double casting will give an \n\t\t\t\t// accurate number without losing the sign\n\t\t\t\t\n\t\t\t\t//Greater than height*width-1 would make in lower than the bottom edge\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\tif(Math.abs(p1.getPos()-p1.getExit())==width){\n\t\t\tnextRow = p1.getExitRow();\n\t\t\tif(p1.getEntry()<0 || nextRow>(height-1/width)){//it used to be calculaterow(height*width-1\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\t*/\n\t\treturn true;\n\t\t\n\t}", "boolean isAllOnDestination(){\n\n if(player.getCurrentX()-player.getDestinationX()!=0 || player.getCurrentY()-player.getDestinationY()!=0)\n return false;\n\n for(int i = 0; i < boxes.size(); i++){\n Box item = boxes.get(i);\n if(item.getCurrentX()-item.getDestinationX()!=0 || item.getCurrentY()-item.getDestinationY()!=0)\n return false;\n }\n return true;\n }", "private boolean isValid(AStarNode start, AStarNode end) {\n boolean check = true;\n for (Obstacle obs : getObstacles()) {\n if (isOnTheWay(start, end, obs))\n check = false;\n }\n return check;\n }", "public boolean validPosition(Player p, double x, double y) {\n\n\t\tTile tile = getTile(p, x + p.BOUNDING_BOX_X, y);\n\t\tif (tile == null || !tile.canEnter(p)) {\n\t\t\treturn false;\n\t\t}\n\n\t\ttile = getTile(p, x, y + p.BOUNDING_BOX_Y);\n\t\tif (tile == null || !tile.canEnter(p)) {\n\t\t\treturn false;\n\t\t}\n\n\t\ttile = getTile(p, x - p.BOUNDING_BOX_X, y);\n\t\tif (tile == null || !tile.canEnter(p)) {\n\t\t\treturn false;\n\t\t}\n\n\t\ttile = getTile(p, x, y - p.BOUNDING_BOX_Y);\n\t\tif (tile == null || !tile.canEnter(p)) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}", "public abstract boolean isHit(int x, int y);", "boolean collidesShip(Ship s) {\n // establish a rectangle for the player ship\n Rectangle ship = new Rectangle((int)s.getX() + 5, (int)s.getY(), 30, 50);\n\n // determine if an enemy blast intersects ship rectangle\n for(int i = 0; i < enemyBarrage.size(); i++) {\n Rectangle blaster = new Rectangle((int)enemyBarrage.get(i).getX(), (int)enemyBarrage.get(i).getY(), WIDTH, HEIGHT);\n if (blaster.intersects(ship)) {\n return true; // hit\n }\n }\n return false; // miss\n }", "@Override\n public boolean canMove(int destinationX, int destinationY) {\n int differenceX = Math.abs(destinationX - this.boardCoordinates.x);\n int differenceY = Math.abs(destinationY - this.boardCoordinates.y);\n\n return (destinationX == this.boardCoordinates.x && differenceY == 1) ||\n (destinationY == this.boardCoordinates.y && differenceX == 1) ||\n (differenceX == differenceY && differenceX == 0); //we're handling start=finish coordinates separately\n }", "public boolean atPosition(float x, float y) {\n return (Math.abs(y-this.y) <= 0.25 || Math.abs(x-this.x) <= 0.25);\n }", "private static boolean withinArea(Point dronePos) {\r\n\t\tvar droneLat = dronePos.latitude();\r\n\t\tvar droneLon = dronePos.longitude();\r\n\t\treturn droneLat<latUB && droneLat>latLB && droneLon<lonUB && droneLon>lonLB;\r\n\t}", "boolean isInsideScreen() {\n if (_hitbox.length == 1) {\n float r = _hitbox[0].x;\n PVector c = _getCenter();\n return 0 <= c.x + r && c.x - r < width && 0 <= c.y + r && c.y - r < height;\n }\n \n PVector[] points = this._getPoints();\n for(PVector p : points) {\n if(0 <= p.x && p.x < width && 0 <= p.y && p.y < height) {\n return true;\n }\n }\n return false;\n }", "private boolean isNearToEndPosition() {\n switch (direction) {\n case UP:\n return posY <= endPosition;\n case DOWN:\n return posY >= endPosition;\n case LEFT:\n return posX <= endPosition;\n case RIGHT:\n return posX >= endPosition;\n }\n throw new RuntimeException(\"Unknown position\");\n }", "public Boolean adjacentShipCheck(int i, int j) {\r\n\t\tBoolean shipPresence = false;\r\n\t\tint m, n;\r\n\t\tint[] ith = { 0, 1, 1, -1, 0, -1, -1, 1 };\r\n\t\tint[] jth = { 1, 0, 1, 0, -1, -1, 1, -1 };\r\n\t\tfor (int k = 0; k < 8; k++) {\r\n\t\t\tm = i + ith[k];\r\n\t\t\tn = j + jth[k];\r\n\t\t\tif (isValid(i + ith[k], j + jth[k])) {\r\n\t\t\t\tif (randomGrid[m][n] == 1) {\r\n\t\t\t\t\tshipPresence = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn shipPresence;\r\n\t}", "public boolean inBound(int x, int y) {\n\n if (x < 0 || x >= boardSize.x || y < 0 || y >= boardSize.y) {\n return false;\n } else {\n return true;\n }\n }", "@Override\n\tpublic boolean testMove(int xEnd, int yEnd, board b){\n return (xEnd == x - 1 && yEnd == y - 1) || (xEnd == x - 1 && yEnd == y) || (xEnd == x - 1 && yEnd == y + 1) || (xEnd == x && yEnd == y - 1) || (xEnd == x && yEnd == y + 1) || (xEnd == x + 1 && yEnd == y - 1) || (xEnd == x + 1 && yEnd == y) || (xEnd == x + 1 && yEnd == y + 1);\n\t}", "public abstract boolean isOutOfBounds(int x, int y);", "boolean canPickup(int x, int y) {\n return ((posX == x) && (posY == y));\n }", "public boolean checkCollision(int x, int y){\n return x<=xEnd&&x>=xStart&&y<=yEnd&&y>=yStart;\n }", "public boolean isCastlingMove(Spot start, Spot end) {\n return false;\n }", "public boolean isSunk() {\n\t\tfor (Coordinate coordinate : shipPositions) {\n\t\t\tif (!coordinate.getIsHit()) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "public boolean checkObs(double x, double y, Landscape scape){\n\t\tArrayList<SimObject> obs = (ArrayList<SimObject>)scape.getAgents();\n\t\t// for each Obstacle object\n\t\tfor( int i = 0 ; i < obs.size() ; i++){\n\t\t\tSimObject obstacle = obs.get(i);\n\t\t\t// if the x and y positions are the same (+/- 1 or .5 is because the defender not a point element and it's width\n\t\t\t// and height need to be taken into account)\n\t\t\tif( obstacle.getX() >= (x-1) && obstacle.getX() <= (x+.5) \n\t\t\t\t\t&& obstacle.getY() >= (y-1) && obstacle.getY() <=(y+.5) ){\n\t\t\t\t// this obstacle is in the way of the motion, return false and stop checking for other obstacles\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\t// no obstacles in the way, the Defender is free to move with respect to the Obstacles\n\t\treturn true;\n\t}", "private boolean isLegalPositon(Position checkPosition){\n if (checkPosition.equalPosition(start)||checkPosition.equalPosition(end))\n return true;\n if(checkPosition.getRow()<0 || checkPosition.getCol()<0 || checkPosition.getRow()>=this.rows || checkPosition.getCol() >= this.cols){\n return false;\n }\n\n if(maze[checkPosition.getRow()][checkPosition.getCol()]== WallType.wall){\n return false;\n }\n return true;\n }", "private boolean onBoard(int x, int y){\n if((x<WIDTH&&y<HEIGHT)){\n if(0<=x&&0<=y){\n return true;\n }\n return false;\n }else{\n return false;\n }\n\t}", "public boolean isIn(Point p)\n {\n \n \treturn isIn(p.x, p.y);\n \t\n //\tboolean cond1 = false;\n // boolean cond2 = false; \n // cond1 = (p.x>=rettangoloX)&&(p.x<=(rettangoloX+larghezza));\n // cond2 = (p.y>=rettangoloY)&&(p.y<=(rettangoloY+altezza));\n // return (cond1&&cond2);\n }", "private boolean alreadyHit(int x, int y) {\n for (int i = 0; i < hitCount; i++){\n if (x == hitList[i].x && y == hitList[i].y){\n return true;\n }\n }\n for (int i = 0; i < missCount; i++) {\n if (x == missList[i].x && y == missList[i].y) {\n return true;\n }\n }\n return false;\n }", "public boolean isValid(Point start, Point end)\n \t{\n \t\tDirection direction = getDirection(start,end);\n \t\t\n \t\tif(board[end.y][end.x] != null) //you can only move a piece to an empty spot\n \t\t\treturn false;\n \t\tif(direction == Direction.none) //no move was made\n \t\t\treturn true;\n \t\t\n \t\t//no need to check for borders since visual board should not let you move a piece outside the borders\n \t\t\n \t\tif(Math.abs(start.x-end.x) <= 1 && Math.abs(start.y-end.y) <= 1) //only moved max 1 position in any direction\n \t\t{\n \t\t\tif(start.y + start.x % 2 == 0) //diagonals are possible\n \t\t\t{\t\n \t\t\t\t//check for piece\n \t\t\t\treturn true;\n \t\t\t}\n \t\t\telse //only up, down, left, right\n \t\t\t{\n \t\t\t\tif(\t\tdirection == Direction.topleft ||\n \t\t\t\t\t\tdirection == Direction.topright ||\n \t\t\t\t\t\tdirection == Direction.botright || \n \t\t\t\t\t\tdirection == Direction.botleft )\n \t\t\t\t\treturn false;\n \t\t\t\telse\t\n \t\t\t\t\treturn true;\n \t\t\t}\n \t\t}\n \t\telse\n \t\t\treturn false; //moved either x or y more than one position\n \t}", "public static boolean inRange(double lon, double lat) {\n // Coordinates of office and current location in radians\n double lon1 = Math.toRadians(lon);\n double lat1 = Math.toRadians(lat);\n double lon2 = Constants.OFFICE_LONG;\n double lat2 = Constants.OFFICE_LAT;\n\n // Uses the haversine formula to calculate distance\n double deltaLon = Math.abs(lon1 - lon2);\n double deltaLat = Math.abs(lat1 - lat2);\n double num1 = Math.sin(deltaLat/Constants.SQUARE);\n num1 = Math.pow(num1, Constants.SQUARE);\n double num2 = Math.sin(deltaLon/Constants.SQUARE);\n num2 = Math.pow(num2, Constants.SQUARE);\n num2 = num2 * Math.cos(lat1) * Math.cos(lat2);\n double num = num1 + num2;\n num = Math.sqrt(num);\n num = Math.asin(num);\n num *= Constants.SQUARE;\n double dist = num * Constants.RADIUS; \n return (dist <= Constants.MAX); // Compares it to max distance\n }", "boolean testIsTouchingShipBullet(Tester t) {\n return t.checkExpect(bullet3.isTouchingShip(ship12), true)\n && t.checkExpect(bullet3.isTouchingShip(ship13), true)\n && t.checkExpect(bullet3.isTouchingShip(ship14), true)\n && t.checkExpect(bullet3.isTouchingShip(ship15), true)\n && t.checkExpect(bullet1.isTouchingShip(ship15), false)\n && t.checkExpect(bullet1.isTouchingShip(ship16), false);\n }", "private boolean isOnTheWay(AStarNode start, AStarNode end, Obstacle obs){\n\t/*Making sure whether obstacle even has a chance to be on the way*/\n\tdouble x_left_bound = Math.min(start.getX(), end.getX()) - obs.getRadius() - CLEARANCE;\n\tdouble x_right_bound = Math.max(start.getX(), end.getY()) + obs.getRadius() + CLEARANCE;\n\tdouble y_top_bound = Math.min(start.getY(), end.getY()) - obs.getRadius() - CLEARANCE;\n\tdouble y_bottom_bound = Math.max(start.getY(), end.getY()) + obs.getRadius() + CLEARANCE;\n\t\n\t/*If it is not within the range we should worry about, return false*/\n\tif(obs.getX() < x_left_bound || obs.getX() > x_right_bound || obs.getY() < y_top_bound || obs.getY() > y_bottom_bound){\n\t return false;\n\t}\n\t\n\t/*Angle between the tangent line of clearance range that intersects start node position and the line between start node and center of Obstacle*/\n double theta = Math.atan((CLEARANCE / 2 + obs.getRadius()) / Math.abs(start.getDistTo(obs)));\n\t\n\t/*Absolute angle positions of two tangent lines of clearance ranges that intersects start position*/\n double leftBound = start.getHeadingTo(obs) - theta;\n double rightBound = start.getHeadingTo(obs) + theta;\n\n if (rightBound > Math.PI * 2) rightBound = rightBound - 2 * Math.PI; // In case the angle bounds\n if (leftBound < 0) leftBound = leftBound + 2 * Math.PI; // exceed the angle range\n\n double angle = start.getHeadingTo(end); // absolute angle position of end node relative to the start node\n\n if (leftBound < rightBound) { // Normal case\n if (angle > leftBound && angle < rightBound) return true;\n else return false;\n } else { // Special case, when either leftBound or rightBound value exceeded angle range\n if (angle > rightBound && angle < leftBound) return false;\n else return true;\n }\n\n }", "public boolean intersects(Sprite ship) {\r\n\t\t\tArea asteroid = new Area(shape);\r\n\t\t\treturn ship.intersects(this);\r\n\t\t}", "private boolean checkInBounds(int startX, int startY, int finalX, int finalY) {\r\n\t\treturn startX < 0 || startX >= this.SIZE || startY < 0 || startY >= this.SIZE\r\n\t\t\t\t|| finalX < 0 || finalX >= this.SIZE || finalY < 0 || finalY >= this.SIZE;\r\n\t}", "@Override\n public boolean contain(int x, int y) {\n return(x>=this.x && y>=this.y && x<=this.x+(int)a && y<=this.y+(int)b);\n }", "private boolean canCaptureSomewhere(int x, int y){\n\t\tfor (int i = -2; i <= 2; i=i+4){\n\t\t\tfor (int j = -2; j <= 2; j=j+4){\n\t\t\t\tif (!(x+i < 0 || x+i > N\t\t\n\t\t\t\t|| y+j < 0 || y+j > N)){\t\t//don't give validMove impossible final coordinates\n\t\t\t\t\tif (validMove(x, y, x+i, y+j)) return true;\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "private boolean isInRange(Balloon balloon) {\r\n\t\tfloat xDistance = Math.abs(balloon.getX() - x);\r\n\t\tfloat yDistance = Math.abs(balloon.getY() - y);\r\n\r\n\t\tif (xDistance < range && yDistance < range) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "boolean handleInput(float x, float y){\n return r1_.x_ <= x && r2_.x_ >= x && r1_.y_ >= y && r2_.y_ <= y;\n }", "public boolean verifAIShipCoordinates( IPlayer iPlayer, String startCoord,String endCoord, int size) {\n\t\tif (goodCoordinatesForm(startCoord) && goodCoordinatesForm(endCoord) ) {\r\n\r\n\t\t\tCoordinates coord1 = new Coordinates(startCoord);\r\n\t\t\tCoordinates coord2 = new Coordinates(endCoord);\r\n\t\t\tcoordinatesShipConverter(coord1, coord2);\r\n\t\t\tif (inMap(iPlayer,coord1) && inMap(iPlayer,coord2) ) {\r\n\t\t\t\tif (nonDiagonal(coord1,coord2)) {\r\n\t\t\t\t\tif(goodSize(coord1,coord2, size)) {\r\n\t\t\t\t\t\tif (isEmpty(iPlayer, coord1, coord2)) {\r\n\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\t\t\t\t\r\n\t\t// is this presentation very clear ?\r\n\t\t\r\n\treturn false;\r\n\t\r\n\t}", "private boolean isInBounds(float x, float y) {\n\n if (x <= 0 || x >= this.getWidth() || y <= 0 || y >= this.getHeight()) {\n\n return false;\n }\n return new RectF(0, 0, this.getWidth(), this.getHeight())\n .contains(x, y);\n }", "boolean testIsTouchingBulletShip(Tester t) {\n return t.checkExpect(ship4.isTouchingBullet(bullet6), true)\n && t.checkExpect(ship5.isTouchingBullet(bullet6), true)\n && t.checkExpect(ship6.isTouchingBullet(bullet6), true)\n && t.checkExpect(ship7.isTouchingBullet(bullet6), true)\n && t.checkExpect(ship7.isTouchingBullet(bullet7), false)\n && t.checkExpect(ship8.isTouchingBullet(bullet7), false);\n }", "public boolean isEmpty( IPlayer iPlayer, Coordinates startCoord, Coordinates endCoord) {\n\t\tboolean empty = true;\r\n\t\t\r\n\t\t//We first chose the smallest coordinates to increment\r\n\t\tint nb1 = startCoord.getNumber();\r\n\t\tchar letter1 = startCoord.getLetter();\r\n\t\tint nb2 = endCoord.getNumber();\r\n\t\tchar letter2 = endCoord.getLetter();\r\n\t\t\r\n\t\tfor (int i = nb1; i<= nb2; i++)\r\n\t\t{\r\n\t\t\tfor (char j = letter1; j <= letter2; j++){\r\n\t\t\t\t\r\n\t\t\t\tif ( iPlayer.occupyCoordinates(new Coordinates(j,i))) {\r\n\t\t\t\t\tempty = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn empty;\t\r\n\t}", "public Boolean check(int x, int y, String direction, int points) {\r\n\t\tBoolean canPlace = true;\r\n\t\tif (direction.equals(\"horizontal\")) {\r\n\t\t\tif ((y + points) < 11) {\r\n\t\t\t\tfor (int j = 0; j < points; j++) {\r\n\t\t\t\t\tif (randomGrid[x][y + j] != 0 || adjacentShipCheck(x, y + j))\r\n\t\t\t\t\t\tcanPlace = false;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tfor (int j = 0; j < points; j++) {\r\n\t\t\t\t\tif (randomGrid[x][y - j] != 0 || adjacentShipCheck(x, y - j))\r\n\t\t\t\t\t\tcanPlace = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t} else {\r\n\r\n\t\t\tif ((x + points) < 9) {\r\n\t\t\t\tfor (int j = 0; j < points; j++) {\r\n\t\t\t\t\tif (randomGrid[x + j][y] != 0 || adjacentShipCheck(x + j, y))\r\n\t\t\t\t\t\tcanPlace = false;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tfor (int j = 0; j < points; j++) {\r\n\t\t\t\t\tif (randomGrid[x - j][y] != 0 || adjacentShipCheck(x - j, y))\r\n\t\t\t\t\t\tcanPlace = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\treturn canPlace;\r\n\r\n\t}", "public boolean destinationReached() {\n boolean xCheck = cDestination.getX() <= cPosition.getX() + cFishSizeX\n && cDestination.getX() >= cPosition.getX();\n\n boolean yCheck = cDestination.getY() <= cPosition.getY() + cFishSizeY\n && cDestination.getY() >= cPosition.getY();\n return xCheck && yCheck;\n }", "public boolean onScreen(double x, double y) {\n // get the in game coordinates and real coordinates on screen\n int scaledWidth = (int) (TileDataRegister.TILE_WIDTH * scale);\n int scaledHeight = (int) (TileDataRegister.TILE_HEIGHT * scale);\n double basex = (map.getWidth() * scaledWidth) / 2.0\n + scaledWidth / 4.0;\n double basey = scaledHeight / 4.0;\n\n //reverse the math logic from the GameRenderer\n double realX = ((y - x) / 2.0) * scaledWidth + currentXOffset + xOffset + basex;\n double realY = ((y + x) / 2.0) * scaledHeight + currentYOffset + yOffset + basey;\n\n return !(realX < -0.1 * viewPortWidth - basex || realX > 1.1 * viewPortWidth + basex ||\n realY < -0.1 * viewPortHeight - basex || realY > 1.1 * viewPortHeight + basey);\n }", "private boolean hasValidNumber(String[] coord, int numShip) {\n int[] indices = getIndexFromCoord(coord);\n int x0 = indices[0];\n int y0 = indices[1];\n int x1 = indices[2];\n int y1 = indices[3];\n\n if (x0 == x1) {\n // horizontal ships\n if (Math.abs(y0 - y1) + 1 != numShip) {\n System.out.println(\"Error! Wrong length of the Submarine! Try again:\");\n return false;\n }\n return true;\n } else {\n // vertical ships\n if (Math.abs(x0 - x1) + 1 != numShip) {\n System.out.println(\"Error! Wrong length of the Submarine! Try again:\");\n return false;\n }\n return true;\n }\n }", "public boolean checkValidSelection(Point start, Point end){\n \t\tboolean flag = false;\n \t\tif (start.x == end.x) {\n \t\t\tflag = true;\n \t\t}\n \t\telse if (start.y == end.y) {\n \t\t\tflag = true;\n \t\t}\n \t\telse if ((start.x - start.y) == (end.x - end.y)) {\n \t\t\tflag = true;\n \t\t}\n \t\telse if ((start.x + start.y) == (end.x + end.y)) {\n \t\t\tflag = true;\n \t\t}\n \t\treturn flag;\n \t}", "public boolean hasShip(int tile) {\r\n return (tiles[tile] & 1) != 0;\r\n }", "public boolean hit(int x, int y) {\n if (x >= arrow_orange_right_left && x <= (arrow_orange_right_left + arrow_orange_right_width) &&\n y >= arrow_orange_right_top && y <= (arrow_orange_right_top + arrow_orange_right_height)) {\n return true;\n } else {\n return false;\n }\n }", "public static boolean insideBounds(GameTile tile) {\n\n if (tile == null) {\n return false;\n } else {\n\n int x = tile.getXCoord();\n int y = tile.getYCoord();\n\n return !(x < 0 || y < 0) && !(x > TILE_COLS || y > TILE_ROWS);\n\n }\n\n }", "public boolean isSpaceship();", "public boolean isInBounds(int x, int y) {\r\n boolean check = false;\r\n if (x>=0 && x<this.width && y>=0 && y<this.tiles.length/this.width) {\r\n check = true;\r\n }\r\n return check;\r\n }", "public final boolean checkIfInZone(int x, int y) { return (getSiege(x, y) != null); }", "private boolean hasHitBoundry() {\r\n if (snake[HEAD].row < 0 || \r\n snake[HEAD].row >= maxRows ||\r\n snake[HEAD].column < 0 ||\r\n snake[HEAD].column >= maxColumns) {\r\n gameOver();\r\n return true;\r\n }\r\n return false;\r\n }", "public boolean contains2(DecimalPosition position) { // TODO rename: ???\n return position != null && position.getX() >= start.getX() && position.getY() >= start.getY() && position.getX() <= end.getX() && position.getY() <= end.getY();\n }", "public boolean shooting(){\n\t\t\tif(x==tmp || x==tmp1 || x==tmp2 || x == tmp3){\n\t\t\t\treturn true; \n\t\t\t}\n\t\t\telse \n\t\t\t\treturn false; \n\t}", "public boolean checkReached(float xTile, float yTile)\r\n/* 134: */ {\r\n/* 135:149 */ if ((this.mission) && (tileReachObjectives(xTile, yTile)))\r\n/* 136: */ {\r\n/* 137:152 */ this.reach[((int)xTile)][((int)yTile)] = 0;\r\n/* 138:153 */ this.reachablePlaces -= 1;\r\n/* 139:154 */ if (this.reachablePlaces == 0) {\r\n/* 140:156 */ return true;\r\n/* 141: */ }\r\n/* 142: */ }\r\n/* 143:160 */ return false;\r\n/* 144: */ }", "public boolean canMoveEntity (Entity entity, Point dest) {\n if (entity == null) throw new IllegalArgumentException(\"Entity is null\");\n if (dest == null) throw new IllegalArgumentException(\"Point is null\");\n if (!grid.containsKey(dest)) throw new IllegalArgumentException(\"The cell is not on the grid\");\n\n Point origin = entity.getCoords();\n\n if (origin.equals(dest)) return false;\n\n Vector vector = Vector.findStraightVector(origin, dest);\n\n if (vector == null) return false;\n Vector step = new Vector(vector.axis(), (int) (1 * Math.signum(vector.length())));\n Point probe = (Point) origin.clone();\n while (!probe.equals(dest)) {\n probe = step.applyVector(probe);\n if (!grid.containsKey(probe)) return false;\n }\n\n\n return true;\n }", "public int checkScreenedShip(Spaceship aShip){\n\t \r\n\t \r\n\t int found = -1;\r\n\t for (int i = 0; i < screenedShips.size(); i++){\r\n\t if (aShip.getId() == screenedShips.get(i)){\r\n\t found = i;\r\n\t }\r\n\t }\r\n\t \r\n\t return found;\r\n\t }", "private boolean isBetweenBounds(int x, int y, int[] bounds) {\n return x >= bounds[0] && x <= bounds[2] && y >= bounds[1] && y <= bounds[3];\n }", "public Point shot() {\n int x;\n int y;\n int z;\n Point shotPoint;\n while (true) {\n System.out.printf(\"%sX: \", Text.GAME_COORDINATE);\n x = coordinateInput();\n System.out.printf(\"%sY: \", Text.GAME_COORDINATE);\n y = coordinateInput();\n System.out.printf(\"%sZ: \", Text.GAME_COORDINATE);\n z = coordinateInput();\n shotPoint = new Point(x, y, z);\n if (shootedPoints.contains(shotPoint)) {\n System.out.println(Text.GAME_WRONG_POINT);\n } else {\n shootedPoints.add(shotPoint);\n return shotPoint;\n }\n }\n }", "public static boolean pointInRectangle(int minX, int minY, int maxX, int maxY, int x, int y) {\n\t\treturn minX < x && maxX > x && minY < y && maxY > y;\n\t}", "private boolean isValidPosition(Point pos){\r\n return (0 <= pos.getFirst() && pos.getFirst() < 8 && \r\n 0 <= pos.getSecond() && pos.getSecond() < 8);\r\n }", "public boolean isClicked(int x, int y) {\n boolean in_flag = false ;\n int i ;\n int j=0 ;\n for (i=1; i<4; i++) {\n j=i-1 ;\n if ((((ypoints[i] <= y) && (y < ypoints[j])) || ((ypoints[j] <= y) && (y < ypoints[i]))) \n && (x < (xpoints[j] - xpoints[i]) * (y - ypoints[i]) / (ypoints[j] - ypoints[i]) + xpoints[i])) {\n in_flag = !in_flag ;\n }\n } // end for\n return in_flag ;\n //System.out.println(\"IN_FLAG=\"+in_flag+VIDStr(100)) ;\n /*\n int dx = x - pos.x ;\n int dy = y - pos.y ;\n double dist = Math.sqrt(dx*dx+dy*dy) ;\n if (dist<=length) {\n return true ;\n } else {\n return false ; \n }\n */\n }", "public boolean canCapture(Piece piece, Point start)\n \t{\n \t\t//Piece.Team team = piece.getTeam();\n \t\tPiece.Team opposite = piece.getOppositeTeam();\n \t\t\n \t\tboolean ahead = false;\n \t\tboolean behind = false;\n \t\tint captureAhead = 0;\n \t\tint captureBehind = 0;\n \t\t\n \t\tfor(Direction d : Direction.values())\n \t\t{\n \t\t\tPoint land = getPoint(start,d); //get point in all directions\n \t\t\t\n \t\t\tif( land == start) //when direction is none\n \t\t\t\tcontinue;\n \t\t\t\n \t\t\tif(board[land.y][land.x] == null) //you will land in an empty spot\n \t\t\t{\n \t\t\t\tPoint target = getPoint(land,d); //look for targets in the same direction you traveled\n \t\t\t\tPoint targetBehind = getPoint(start,getOppositeDirection(d)); //from your starting position get the target behind \n \t\t\t\tif(board[target.y][target.x].getTeam() == opposite) //check position ahead in the same direction you advanced for opposite team\n \t\t\t\t{\n \t\t\t\t\tahead = true;\n \t\t\t\t\t++captureAhead;\n \t\t\t\t}\n \t\t\t\tif(board[targetBehind.y][targetBehind.x].getTeam() == opposite)\n \t\t\t\t{\n \t\t\t\t\tbehind = true;\n \t\t\t\t\t++captureBehind;\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\tif (captureAhead+captureBehind > 0)\n \t\t\treturn true;\n \t\telse \n \t\t\treturn false;\n \t}" ]
[ "0.65616596", "0.6505904", "0.6502598", "0.64072526", "0.6356788", "0.62686604", "0.62477875", "0.61545247", "0.61296415", "0.60556704", "0.6047865", "0.603147", "0.6026341", "0.5996817", "0.5982045", "0.59754384", "0.59706855", "0.5970021", "0.59699744", "0.5943169", "0.59418535", "0.59334314", "0.59277767", "0.5914341", "0.59006435", "0.58845174", "0.5875302", "0.58614725", "0.5857401", "0.58487254", "0.58428895", "0.5837715", "0.58154124", "0.58058125", "0.58033437", "0.5796806", "0.5796799", "0.5795857", "0.57931614", "0.5791328", "0.5788261", "0.5783338", "0.5776845", "0.5775056", "0.57739204", "0.5766504", "0.576284", "0.5755945", "0.57402843", "0.5709627", "0.5707925", "0.5701066", "0.5689876", "0.56896144", "0.5689579", "0.56848395", "0.56839156", "0.56820464", "0.56734437", "0.56732416", "0.56645626", "0.5659296", "0.5658706", "0.56580436", "0.56575096", "0.5653087", "0.56512034", "0.56450754", "0.564025", "0.56299955", "0.56299174", "0.5627591", "0.5615079", "0.56134737", "0.56121916", "0.5609735", "0.5608439", "0.5607038", "0.5606196", "0.5604114", "0.5602493", "0.5598458", "0.5597509", "0.55848634", "0.5579091", "0.5576165", "0.5556554", "0.55527955", "0.555049", "0.5550039", "0.55499303", "0.5538613", "0.5527481", "0.5522169", "0.5520872", "0.5518704", "0.5517977", "0.55172896", "0.55169", "0.5510346" ]
0.8099617
0
log.debug( "method not implemented. resource: " + resource.getClass().getName() + " method " + request.getMethod() );
public void respondMethodNotImplemented( Resource resource, Response response, Request request ) { try { response.setStatus( Response.Status.SC_NOT_IMPLEMENTED ); OutputStream out = response.getOutputStream(); out.write( METHOD_NOT_IMPLEMENTED_HTML.getBytes() ); } catch( IOException ex ) { log.warn( "exception writing content" ); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Object invoke(final MethodInvocation methodInvocation) throws Throwable {\n return methodInvocation.proceed()\n + \" ResourceInterceptor: Method \\\"\"\n + methodInvocation.getMethod().getName() + \"\\\" intercepted\\n\";\n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "@Override\n public int getMethodCount()\n {\n return 1;\n }", "String getMethod();", "String getMethod();", "@Override\n public String getMethod() {\n return METHOD_NAME;\n }", "private void sendNoSuchMethod(HttpRequest request, HttpResponse response) {\n\t\tresponse.clearContent();\n\t\tresponse.setStatus( HttpResponse.STATUS_NOT_FOUND );\n\t\tresponse.setContentType( \"text/plain\" );\n\t\tresponse.println ( \"The method you requested is not known to this service!\" );\n\t\tconnector.logError(\"Invocation request \" + request.getPath() + \" for unknown service method\");\n\t}", "private void logRequest(int method, String url) {\n switch (method) {\n\n case Method.GET:\n Log.d(TAG, \"Method : GET \");\n\n break;\n case Method.POST:\n Log.d(TAG, \"Method : POST \");\n break;\n default:\n break;\n }\n Log.d(TAG, \"Request Url : \" + url);\n Log.d(TAG, \"Request Headers : \");\n logHeaders(mRequestHeaders);\n Log.d(TAG, \"Request Params : \");\n logParams(mRequestParams);\n logRequestBodyContent();\n mRequestTime = currentDateTime();\n\n }", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public void request() {\n }", "@Override\n\t\t\t\t\t\tpublic void onFailure(Method method, Throwable exception) {\n\n\t\t\t\t\t\t}", "@Nullable\n @Override\n public String getName() {\n return /*this.requestMethod + \" \" +*/ this.url;\n }", "@Override\n\tboolean isRegistedMethodNotNeed() {\n\t\treturn true;\n\t}", "public interface Request {\n}", "@Override\n public void log()\n {\n }", "public String getRequestMethod(){\n return this.requestMethod;\n }", "public static Method getMethod(String method) throws IllegalArgumentException {\n/* 119 */ return getMethod(method, false);\n/* */ }", "public HttpMethod getMethod()\r\n/* 44: */ {\r\n/* 45: 78 */ return HttpMethod.valueOf(this.servletRequest.getMethod());\r\n/* 46: */ }", "public void method_200() {}", "public String getMethod ()\n {\n return method;\n }", "public HttpMethod getMethod()\r\n/* 29: */ {\r\n/* 30:56 */ return this.method;\r\n/* 31: */ }", "@Override\n\t\t\t\t\t\t\t\t\t\tpublic void onRequestFail() {\n\n\t\t\t\t\t\t\t\t\t\t}", "public interface EndpointBase {\n\n boolean isIdleNow();\n\n /**\n * @param connectionTimeout\n * @param methodTimeout\n */\n void setTimeouts(int connectionTimeout, int methodTimeout);\n\n /**\n * @param alwaysMainThread\n */\n void setCallbackThread(boolean alwaysMainThread);\n\n /**\n * @param flags\n */\n void setDebugFlags(int flags);\n\n int getDebugFlags();\n\n /**\n * @param delay\n */\n void setDelay(int delay);\n\n void addErrorLogger(ErrorLogger logger);\n\n void removeErrorLogger(ErrorLogger logger);\n\n void setOnRequestEventListener(OnRequestEventListener listener);\n\n\n void setPercentLoss(float percentLoss);\n\n int getThreadPriority();\n\n void setThreadPriority(int threadPriority);\n\n\n ProtocolController getProtocolController();\n\n void setUrlModifier(UrlModifier urlModifier);\n\n /**\n * No log.\n */\n int NO_DEBUG = 0;\n\n /**\n * Log time of requests.\n */\n int TIME_DEBUG = 1;\n\n /**\n * Log request content.\n */\n int REQUEST_DEBUG = 2;\n\n /**\n * Log response content.\n */\n int RESPONSE_DEBUG = 4;\n\n /**\n * Log cache behavior.\n */\n int CACHE_DEBUG = 8;\n\n /**\n * Log request code line.\n */\n int REQUEST_LINE_DEBUG = 16;\n\n /**\n * Log request and response headers.\n */\n int HEADERS_DEBUG = 32;\n\n /**\n * Log request errors\n */\n int ERROR_DEBUG = 64;\n\n /**\n * Log cancellations\n */\n int CANCEL_DEBUG = 128;\n\n /**\n * Log cancellations\n */\n int THREAD_DEBUG = 256;\n\n /**\n * Log everything.\n */\n int FULL_DEBUG = TIME_DEBUG | REQUEST_DEBUG | RESPONSE_DEBUG | CACHE_DEBUG | REQUEST_LINE_DEBUG | HEADERS_DEBUG | ERROR_DEBUG | CANCEL_DEBUG;\n\n int INTERNAL_DEBUG = FULL_DEBUG | THREAD_DEBUG;\n\n /**\n * Created by Kuba on 17/07/14.\n */\n interface UrlModifier {\n\n String createUrl(String url);\n\n }\n\n interface OnRequestEventListener {\n\n void onStart(Request request, int requestsCount);\n\n void onStop(Request request, int requestsCount);\n\n }\n}", "public int getMethod(){\n return method;\n }", "public void method_206() {}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public MissingMethodArgumentException() {\n }", "public String formNotImplemented()\r\n {\r\n return formError(\"501 Method not implemented\",\"Service not implemented, programer was lazy\");\r\n }", "@Override\n\tpublic String getRequestMethod() {\n\t\treturn requestMethod;\n\t}", "public HTTPRequestMethod getMethod();", "public void method_201() {}", "@Override\n public final int getMethodCount() {\n return 1;\n }", "@Override\n\t\t\tpublic void onFailure(Request request, IOException e) {\n\t\t\t\t Log.i(\"info\",\"hehe\");\n\t\t\t}", "public void onFailure(String method, Object data) {\n\t\t\t\t\n\t\t\t}", "public void onFailure(String method, Object data) {\n\t\t\t\t\n\t\t\t}", "public HttpMethod getMethod()\r\n/* 31: */ {\r\n/* 32:60 */ return HttpMethod.valueOf(this.httpRequest.getMethod());\r\n/* 33: */ }", "public void method_192() {}", "public MethodProxy getMethod() {\n\t\treturn null;\n\t}", "MethodName getMethod();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n public void onSpecializedResourceReportRequest(SpecializedResourceReportRequest arg0) {\n\n }", "public static void logResource(Log log, Resource resource) {\n log.debug(String.format(\"=== Resource: %s ===\", resource.getPath()));\n log.debug(\"isCollection: \" + (resource instanceof Collection));\n log.debug(\"isSymLink: \" + Boolean.parseBoolean(resource.getProperty(\"registry.link\")));\n logIfNotNull(log, \"author: %s\", resource.getAuthorUserName());\n logIfNotNull(log, \"description: %s\", resource.getDescription());\n logIfNotNull(log, \"id: %s\", resource.getId());\n logIfNotNull(log, \"created: %s\", resource.getCreatedTime());\n logIfNotNull(log, \"lastUpdated: %s\", resource.getLastModified());\n logIfNotNull(log, \"lastUpdatedBy: %s\", resource.getLastUpdaterUserName());\n logIfNotNull(log, \"mediaType: %s\", resource.getMediaType());\n logIfNotNull(log, \"permanentPath: %s\", resource.getPermanentPath());\n logIfNotNull(log, \"parentPath: %s\", resource.getParentPath());\n if (!resource.getProperties().isEmpty()) {\n log.debug(\"Properties:\");\n for (Map.Entry<Object, Object> prop : resource.getProperties().entrySet()) {\n log.debug(\"\\t\" + prop.getKey() + \": \" + prop.getValue());\n }\n }\n log.debug(\"============================\");\n }", "protected boolean methodForbidden() {\n return methodToTest.getName().equals(\"getClassNull\")\n || methodToTest.getName().startsWith(\"isA\")\n || methodToTest.getName().equals(\"create\")\n || methodToTest.getName().equals(\"getTipString\")\n || methodToTest.getName().equals(\"toString\");\n }", "Method getMethod();", "Method getMethod();", "void warnInvalidActionMethod(Method m, String string) {\n log.warn(\"Invalid Action method '\" + m.toGenericString() + \"': \" + string);\n }", "@Override\n public void logs() {\n \n }", "private void caseForfeit(Request request) {\n }", "String getHttpMethod();", "String getHttpMethod();", "public void method_115() {}", "@Override\n public String getServletInfo() {\n return \"Handle question and answer request\";\n }", "void logHTTPRequest(HttpServletRequest request, Logger logger, List parameterNamesToObfuscate);", "@Override\r\n\t\t\tpublic void onRequest() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n\tprotected Method getMethod() {\n\t\treturn Method.GET;\n\t}", "@Override\n\tpublic void OnRequest() {\n\t\t\n\t}", "public Method getMethod();", "public interface ErrorLogger {\n\n public void onError(JudoException e, RequestInterface request);\n\n}", "public void onApiRequestFailed();", "public void method_4270() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "public interface Target {\n void handleRequest();\n}", "@When(\"user calls {string} with {string} http request\")\n public void user_calls_with_http_request(String resource, String method) {\n System.out.println(\"When\");\n\n APIResourcesEnum apiresource=APIResourcesEnum.valueOf(resource);\n System.out.println(apiresource.getResource());\n\n\n if(method.equalsIgnoreCase(method))\n response=reqSpec.when().post(apiresource.getResource());\n else if(method.equalsIgnoreCase(method))\n response= reqSpec.when().get(apiresource.getResource());\n\n\n // throw new io.cucumber.java.PendingException();\n }", "public void processMethodResourceAnnotations ()\n throws Exception\n {\n //Get all methods that have a Resource annotation\n List<Method> methods = _finder.getMethodsForAnnotation(javax.annotation.Resource.class);\n \n for (Method m: methods)\n {\n if (!isServletType(m.getDeclaringClass()))\n {\n Log.debug(\"Ignoring @Resource annotation on on-servlet type method \"+m.getName());\n continue;\n }\n /*\n * Commons Annotations Spec 2.3\n * \" The Resource annotation is used to declare a reference to a resource.\n * It can be specified on a class, methods or on fields. When the \n * annotation is applied on a field or method, the container will \n * inject an instance of the requested resource into the application \n * when the application is initialized... Even though this annotation \n * is not marked Inherited, if used all superclasses MUST be examined \n * to discover all uses of this annotation. All such annotation instances \n * specify resources that are needed by the application. Note that this \n * annotation may appear on private fields and methods of the superclasses. \n * Injection of the declared resources needs to happen in these cases as \n * well, even if a method with such an annotation is overridden by a subclass.\"\n * \n * Which IMHO, put more succinctly means \"If you find a @Resource on any method\n * or field, inject it!\".\n */\n Resource resource = (Resource)m.getAnnotation(Resource.class);\n if (resource == null)\n continue;\n \n //JavaEE Spec 5.2.3: Method cannot be static\n if (Modifier.isStatic(m.getModifiers()))\n throw new IllegalStateException(m+\" cannot be static\");\n \n \n // Check it is a valid javabean \n if (!IntrospectionUtil.isJavaBeanCompliantSetter(m))\n throw new IllegalStateException(m+\" is not a java bean compliant setter method\");\n \n //default name is the javabean property name\n String name = m.getName().substring(3);\n name = name.substring(0,1).toLowerCase()+name.substring(1);\n name = m.getDeclaringClass().getCanonicalName()+\"/\"+name;\n //allow default name to be overridden\n name = (resource.name()!=null && !resource.name().trim().equals(\"\")? resource.name(): name);\n //get the mappedName if there is one\n String mappedName = (resource.mappedName()!=null && !resource.mappedName().trim().equals(\"\")?resource.mappedName():null);\n \n Class type = m.getParameterTypes()[0];\n \n //get other parts that can be specified in @Resource\n Resource.AuthenticationType auth = resource.authenticationType();\n boolean shareable = resource.shareable();\n \n //if @Resource specifies a type, check it is compatible with setter param\n if ((resource.type() != null) \n && \n !resource.type().equals(Object.class)\n &&\n (!IntrospectionUtil.isTypeCompatible(type, resource.type(), false)))\n throw new IllegalStateException(\"@Resource incompatible type=\"+resource.type()+ \" with method param=\"+type+ \" for \"+m);\n \n //check if an injection has already been setup for this target by web.xml\n Injection webXmlInjection = _injections.getInjection(m.getDeclaringClass(), m);\n if (webXmlInjection == null)\n {\n try\n {\n //try binding name to environment\n //try the webapp's environment first\n boolean bound = org.mortbay.jetty.plus.naming.NamingEntryUtil.bindToENC(_webApp, name, mappedName);\n \n //try the server's environment\n if (!bound)\n bound = org.mortbay.jetty.plus.naming.NamingEntryUtil.bindToENC(_webApp.getServer(), name, mappedName);\n \n //try the jvm's environment\n if (!bound)\n bound = org.mortbay.jetty.plus.naming.NamingEntryUtil.bindToENC(null, name, mappedName);\n \n //TODO if it is an env-entry from web.xml it can be injected, in which case there will be no\n //NamingEntry, just a value bound in java:comp/env\n if (!bound)\n {\n try\n {\n InitialContext ic = new InitialContext();\n String nameInEnvironment = (mappedName!=null?mappedName:name);\n ic.lookup(\"java:comp/env/\"+nameInEnvironment); \n bound = true;\n }\n catch (NameNotFoundException e)\n {\n bound = false;\n }\n }\n \n if (bound)\n {\n Log.debug(\"Bound \"+(mappedName==null?name:mappedName) + \" as \"+ name);\n // Make the Injection for it\n Injection injection = new Injection();\n injection.setTargetClass(m.getDeclaringClass());\n injection.setJndiName(name);\n injection.setMappingName(mappedName);\n injection.setTarget(m);\n _injections.add(injection);\n } \n else if (!isEnvEntryType(type))\n {\n \n //if this is an env-entry type resource and there is no value bound for it, it isn't\n //an error, it just means that perhaps the code will use a default value instead\n // JavaEE Spec. sec 5.4.1.3 \n throw new IllegalStateException(\"No resource at \"+(mappedName==null?name:mappedName));\n }\n }\n catch (NamingException e)\n { \n //if this is an env-entry type resource and there is no value bound for it, it isn't\n //an error, it just means that perhaps the code will use a default value instead\n // JavaEE Spec. sec 5.4.1.3\n if (!isEnvEntryType(type))\n throw new IllegalStateException(e);\n }\n }\n else\n {\n //if an injection is already set up for this name, then the types must be compatible\n //JavaEE spec sec 5.2.4\n \n Object value = webXmlInjection.lookupInjectedValue();\n if (!IntrospectionUtil.isTypeCompatible(type, value.getClass(), false))\n throw new IllegalStateException(\"Type of field=\"+type+\" is not compatible with Resource type=\"+value.getClass());\n }\n }\n }", "void logHTTPRequest(HttpServletRequest request, Logger logger);", "private void log(String methodName, RemoteException re) {\n this.log(methodName + \" failed due to \" + re.getClass().getName() + \n \": \" + re.getMessage());\n }", "public interface ApplicationResourceUsage extends ResourceUsage\n{\n}", "@Test\n public void testGetResource() {\n System.out.println(\"getResource\");\n Resource instance = new ResourceImpl();\n String expResult = \"\";\n String result = instance.getResource();\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 }", "@Nullable\n abstract Method getMethod();", "public interface Target {\n void request();\n}", "public abstract String intercept(ActionInvocation invocation) throws Exception;", "@Override\n\t\t\t\tpublic void onNetworkError(Request request, IOException e) {\n\t\t\t\t\t\n\t\t\t\t}", "@Override\n public void onRequestFailure(SpiceException spiceException) {\n }", "public String get_log(){\n }", "public void method_202() {}", "@Override\n public void log(String message) {\n }", "public interface InterfaceWebRequest {\n void dispatchRequest();\n}", "@ExceptionHandler(HttpRequestMethodNotSupportedException.class)\r\n public ResponseEntity<DefaultErrorList> handlerMethodNotSupported(HttpRequestMethodNotSupportedException ex, HttpServletRequest request) {\r\n\t\tLOGGER.error(\"Error metodo HTTP no soportado para este endpoint, {}\", request.getRequestURL().toString());\r\n\t\treturn new ResponseEntity<DefaultErrorList>(new DefaultErrorList(new DefaultError\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(GeneralCatalog.GRAL001.getCode(),\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGeneralCatalog.GRAL001.getMessage(),\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGeneralCatalog.GRAL001.getLevelException().toString(),\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"Metodo HTTP no soportado para este endpoint\",\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trequest.getRequestURL().toString()\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)), HttpStatus.INTERNAL_SERVER_ERROR);\r\n }", "protected static void errorUnimplementedMethod(String sMethod)\n throws IOException\n {\n throw new IOException(\"DataOutputAdapter: \"+sMethod+\"not implemented\");\n }", "private void reportMissingMethod(JavaMethod method, TagNode node) {\n\t\tString container = \"\";\n\t\tif (node.source().size() == 1) {\n\t\t\tICodeElement parentElement = node.source().get(0);\n\t\t\tif (parentElement instanceof JavaClass) {\n\t\t\t\tJavaClass javaClass = (JavaClass) parentElement;\n\t\t\t\tcontainer = \" in the \\\"\" + javaClass.className() + \"\\\" \"\n\t\t\t\t\t\t+ (javaClass.isInterface() ? \"interface\" : \"class\");\n\t\t\t}\n\t\t}\n\t\tstatus.add(new Status(IStatus.ERROR, status.getPlugin(), 1, pattern\n\t\t\t\t+ \": Method \" + method.type() + \" for the \\\"\" + method.name()\n\t\t\t\t+ \"()\\\" method is missing\" + container\n\t\t\t\t+ \". Try to generate code or update the model.\"\n\t\t\t\t+ \" \", null));\n\t}", "@Override\n public String getMethod() {\n return \"POST\";\n }", "@Override\n public void log(Request request, Response response)\n {\n int committedStatus = response.getCommittedMetaData().getStatus();\n\n // only interested in error cases - bad request & server errors\n if ((committedStatus >= 500) || (committedStatus == 400))\n {\n super.log(request, response);\n }\n else\n {\n System.err.println(\"### Ignored request (response.committed.status=\" + committedStatus + \"): \" + request);\n }\n }", "@Override\n protected final void parseRequest(final HttpServletRequest request, HttpServletResponse response) {\n\n parsePath(request);\n\n LOGGER.warning(\"[REST]: \" + request.getMethod() + \"|\" + apiName + \"/\" + resourceName + \"|\" + request.getHeader(\"Current-Page\"));\n\n // Fixes BS-400. This is ugly.\n I18n.getInstance();\n\n api = APIs.get(apiName, resourceName);\n api.setCaller(this);\n\n super.parseRequest(request, response);\n\n }", "public interface ILog {\n\n /**\n * Send an information level log message, used by time-related log.\n *\n * @param tag Used to identify the source of a log message. It usually identifies\n * the class or activity where the log call occurs.\n * @param msg The message you would like logged.\n */\n void info(String tag, String msg);\n\n\n /**\n * Send an warning level log message, used by exception-related log.\n *\n * @param tag Used to identify the source of a log message. It usually identifies\n * the class or activity where the log call occurs.\n * @param msg The message you would like logged.\n */\n void warn(String tag, String msg);\n}", "public void method_203() {}", "public String getRequestMethod()\n {\n return requestMethod;\n }", "protected String requestResourceAssertingResponse(String resource, String httpMethod)\r\n {\r\n String response;\r\n\r\n logTestMessage(\"Requesting: \" + resource);\r\n\r\n // Get the response from requesting the supplied resource...\r\n WebTestArtifact wta = makeHttpRequest(resource, httpMethod);\r\n\r\n // First of all lets check that the response code is correct...\r\n Assert.assertEquals(200, wta.getResponseCode());\r\n\r\n response = wta.getResponse();\r\n logTestMessage(\"Response: \" + response);\r\n\r\n return response;\r\n }", "@Override\r\n public boolean isRequest() {\n return false;\r\n }", "private void checkRequest(Request req) throws MethodNotAllowed, NotFound {\n if (!req.getHeader(\"Method\").equals(\"GET\") ||\n !req.getHeader(\"Version\").equals(\"HTTP/1.1\")) {\n throw new MethodNotAllowed();\n }\n if (req.getHeader(\"Path\").endsWith(\"/\")) {\n throw new NotFound();\n }\n }", "@Override\n public String getMethodName() {\n return null;\n }", "interface Target {\n void request();\n}", "interface Target{\n void request();\n}", "@Override\npublic void get(String url) {\n\t\n}", "Methodsig getMethod();", "public interface OnError{void onReqError();}", "@Nonnull\n protected String getRequestSpec(WebTarget target, String method) {\n return method + \" \" + target.getUri().getPath();\n }", "@Override\n public String getMethod() {\n return \"POST\";\n }", "void onFailure() {\n\t}", "public interface OnRequestDetailsListen {\n}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }" ]
[ "0.62855893", "0.6255921", "0.62433386", "0.608429", "0.608429", "0.6066785", "0.60133713", "0.6006308", "0.5917196", "0.5790402", "0.57837754", "0.5777932", "0.5761018", "0.5737169", "0.5719373", "0.5690308", "0.56701", "0.56551194", "0.5646361", "0.56409657", "0.5629236", "0.5627497", "0.56007105", "0.558088", "0.55786616", "0.55561376", "0.5553084", "0.55339855", "0.5533774", "0.553127", "0.5519077", "0.5518945", "0.5510272", "0.5479405", "0.5479405", "0.54668254", "0.54600936", "0.54578495", "0.5457356", "0.5451417", "0.5439677", "0.5436969", "0.5436188", "0.54304355", "0.54304355", "0.5429832", "0.5428884", "0.5427498", "0.5426448", "0.5426448", "0.5425724", "0.54197115", "0.5414449", "0.54123116", "0.53914577", "0.53899896", "0.53871685", "0.5375311", "0.5373032", "0.5372483", "0.5370594", "0.5359306", "0.5355714", "0.5353366", "0.53527915", "0.534787", "0.53462523", "0.5344346", "0.53424346", "0.5341021", "0.53409356", "0.5338172", "0.53357667", "0.53331673", "0.5332268", "0.5324946", "0.53090346", "0.5302015", "0.52997273", "0.5294134", "0.5293791", "0.52915233", "0.52914244", "0.5280375", "0.5280352", "0.5278757", "0.52780074", "0.5277869", "0.52740264", "0.5264677", "0.5263116", "0.52439886", "0.5232289", "0.52280056", "0.52266544", "0.5223551", "0.52187085", "0.52134585", "0.5212987", "0.5209525" ]
0.63806814
0
log.debug( "respondContent: " + resource.getClass() );
public void respondContent( Resource resource, Response response, Request request, Map<String, String> params ) throws NotAuthorizedException, BadRequestException { setRespondContentCommonHeaders( response, resource ); if( resource instanceof GetableResource ) { GetableResource gr = (GetableResource) resource; Long contentLength = gr.getContentLength(); if( contentLength != null ) { // often won't know until rendered response.setContentLengthHeader( contentLength ); } String acc = request.getAcceptHeader(); String ct = gr.getContentType( acc ); if( ct != null ) { response.setContentTypeHeader( ct ); } setCacheControl( gr, response, request.getAuthorization() ); sendContent( request, response, (GetableResource) resource, params, null, ct ); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "public interface Resource extends Serializable\r\n{\r\n /**\r\n * Gets the resource id.\r\n * \r\n * @return the resource id\r\n */\r\n public String getResourceId();\r\n \r\n /**\r\n * Gets the protocol id\r\n * \r\n * @return the protocol id\r\n */\r\n public String getProtocolId(); \r\n \r\n /**\r\n * Returns the object id of the resource\r\n * \r\n * @return the object id\r\n */\r\n public String getObjectId();\r\n \r\n /**\r\n * Sets the object id.\r\n * \r\n * @param objectId the new object id\r\n */\r\n public void setObjectId(String objectId);\r\n\r\n /**\r\n * Returns the endpoint of the resource\r\n * \r\n * @return the endpoint\r\n */\r\n public String getEndpointId();\r\n\r\n /**\r\n * Sets the endpoint of the resource\r\n * \r\n * @param endpointId String\r\n */\r\n public void setEndpointId(String endpointId);\r\n \r\n /**\r\n * Gets the name.\r\n * \r\n * @return the name\r\n */\r\n public String getName();\r\n \r\n /**\r\n * Sets the name.\r\n * \r\n * @param name the new name\r\n */\r\n public void setName(String name);\r\n \r\n /**\r\n * Gets the metadata for this resource. If there is no metadata\r\n * for this resource, null will be returned.\r\n * \r\n * @return the metadata or null\r\n */\r\n public ResourceContent getMetadata() throws IOException;\r\n \r\n /**\r\n * Gets the content for this resource. If there is no content\r\n * for this resource, null will be returned.\r\n * \r\n * @return the content or null.\r\n */\r\n public ResourceContent getContent() throws IOException;\r\n \r\n /**\r\n * Gets the metadata url. If there is no metadata url for this\r\n * resource, null will be returned.\r\n * \r\n * @return the metadata url or null.\r\n */\r\n public String getMetadataURL();\r\n\r\n /**\r\n * Gets the content url. If there is no content url for this\r\n * resource, null will be returned.\r\n * \r\n * @return the content url\r\n */\r\n public String getContentURL();\r\n \r\n /**\r\n * Gets the object type id.\r\n * \r\n * @return the object type id\r\n */\r\n public String getObjectTypeId();\r\n \r\n /**\r\n * Checks if the resource is a container.\r\n * \r\n * @return true, if is container\r\n */\r\n public boolean isContainer(); \r\n}", "@Override\n public JsonElement serialize(FrontPageContentResponse src, Type typeOfSrc, JsonSerializationContext context) {\n\treturn null;\n }", "@Override\n public int getContentType() {\n return 0;\n }", "protected String getContentType(Resource resource, @SuppressWarnings(\"unused\") SlingHttpServletRequest request) {\n String mimeType = JcrBinary.getMimeType(resource);\n if (StringUtils.isEmpty(mimeType)) {\n mimeType = ContentType.OCTET_STREAM;\n }\n return mimeType;\n }", "@Override\n public String getContentType() {\n return null;\n }", "public ResourceContent getContent() throws IOException;", "public String getContentType();", "public String getContentType();", "HttpContent getHttpContent();", "public abstract T getCreatedResource();", "public ResourceClass getResourceClass()\n {\n return resourceClass;\n }", "Class<? extends Resource> getResourceType();", "String getContentType();", "String getContentType();", "String getContentType();", "public interface ResProcessingDetails {\n\n void setContentType(String contentType);\n\n boolean requiresCache();\n\n void setCache(boolean cache);\n\n String getContentType();\n\n\n}", "@Override\r\n\tpublic void setResourceToSend(ResourceType resource) {\n\t\t\r\n\t}", "public abstract Class<Response> getResponseClass();", "@Override\n \tpublic Representation postResource(Representation representation)\n \t\t\tthrows Exception {\n \t\treturn null;\n \t}", "public Resource getResource(Request request);", "@Override\n\tpublic void onResourceDelivered(ResourceResponse arg0) {\n\t\t\n\t}", "@JsonIgnore\n public String getResource() {\n return this.resource;\n }", "public Resource getResource(){\n return res;\n }", "abstract ContentType getContnentType();", "public String getContentType() {\n return this.response.getContentType();\n }", "public GenericResource()\n {\n }", "@Override\n\tpublic String getContentType() {\n\t\treturn null;\n\t}", "@Override\n\tpublic String getContentType() {\n\t\treturn null;\n\t}", "@Override\n\tpublic String getContentType() {\n\t\treturn null;\n\t}", "public int getContents( Resource.Type type );", "@Override\n \tpublic Representation getResource() throws Exception {\n \t\tJsonRepresentation result = null;\n \t\t// Rcupre l'identifiant unique de la ressource demande.\n \t\tString interId = (String) this.getRequestAttributes().get(\"interId\");\n \t\tString srcId = (String) this.getRequestAttributes().get(\"sourceId\");\n \t\tSystem.out.println(srcId);\n \t\t// Rcupration des sources de l'intervention\n \t\tList<Source> sources = Interventions.getInstance().getIntervention(interId).getSources();\n \n \t\tSource source = null;\n \t\t\n \t\t// Si on demande un source prcis\n \t\tif (srcId != null) {\n \t\t\t// Recherche du source demand\n \t\t\tfor (int i = 0; i < sources.size(); i++) {\n \t\t\t\tif (sources.get(i).getUniqueID().equals(srcId)) {\n \t\t\t\t\tsource = sources.get(i);\n \t\t\t\t}\n \t\t\t}\n \t\t\t// Si le source n'est pas trouv\n \t\t\tif (source == null) {\n \t\t\t\tresult = null;\n \t\t\t\tgetResponse().setStatus(Status.CLIENT_ERROR_NOT_ACCEPTABLE);\n \t\t\t} else {\n \t\t\t\tresult = new JsonRepresentation(source.toJSON());\n \t\t\t}\n \t\t// Si on veut tous les sources\n \t\t} else if (srcId == null) {\n \t\t\t\n \t\t\tJSONArray jsonAr = new JSONArray(); //Cration d'une liste Json\n \t\t\tfor(int i=0; i< sources.size();i++){\n\t\t\t\tjsonAr.put(sources.get(i).toJSON()); // On ajoute un jsonObject contenant le source dans le jsonArray\n \t\t\t}\n \t\t\t\n \t\t\tresult = new JsonRepresentation(jsonAr); // On cre la reprsentation de la liste\n \t\t}\n \n \t\t// Retourne la reprsentation, le code status indique au client si elle est valide\n \t\treturn result;\n \t}", "@Test\n public void testGetIt() {\n String responseMsg = target.path(\"myresource\").request().get(String.class);\n assertEquals(\"Got it!\", responseMsg);\n }", "public static void logResource(Log log, Resource resource) {\n log.debug(String.format(\"=== Resource: %s ===\", resource.getPath()));\n log.debug(\"isCollection: \" + (resource instanceof Collection));\n log.debug(\"isSymLink: \" + Boolean.parseBoolean(resource.getProperty(\"registry.link\")));\n logIfNotNull(log, \"author: %s\", resource.getAuthorUserName());\n logIfNotNull(log, \"description: %s\", resource.getDescription());\n logIfNotNull(log, \"id: %s\", resource.getId());\n logIfNotNull(log, \"created: %s\", resource.getCreatedTime());\n logIfNotNull(log, \"lastUpdated: %s\", resource.getLastModified());\n logIfNotNull(log, \"lastUpdatedBy: %s\", resource.getLastUpdaterUserName());\n logIfNotNull(log, \"mediaType: %s\", resource.getMediaType());\n logIfNotNull(log, \"permanentPath: %s\", resource.getPermanentPath());\n logIfNotNull(log, \"parentPath: %s\", resource.getParentPath());\n if (!resource.getProperties().isEmpty()) {\n log.debug(\"Properties:\");\n for (Map.Entry<Object, Object> prop : resource.getProperties().entrySet()) {\n log.debug(\"\\t\" + prop.getKey() + \": \" + prop.getValue());\n }\n }\n log.debug(\"============================\");\n }", "public GenericResource() {\n }", "@Override\r\n \tpublic String toString() {\r\n \t\t//\tSystem.out.println(this.getClass());\r\n \t\tif (this.getContent()==null) {\r\n\t\t\treturn \"no content\";\r\n \t\t} else {\r\n \t\t\treturn this.getContent().toString();\r\n \t\t}\r\n \t}", "public ResourceVO getResource() {\n\treturn resource;\n}", "@Override\n protected Serializable getContentObject() {\n return result;\n }", "@Override\n\t\tpublic String getContentType() {\n\t\t\treturn null;\n\t\t}", "public boolean isLogResponseContent() {\n return logResponseContent;\n }", "public ContentHandler getContentHandler()\n {\n return (contentHandler == base) ? null : contentHandler;\n }", "@GET\n @Produces(MediaType.TEXT_PLAIN)\n public String getIt() {\n return \"Got it!\";\n }", "public GenericResource()\r\n {\r\n }", "public ResourceType getResouceType() {\n return type;\n }", "@Override\n\tpublic void handleResponse() {\n\t\t\n\t}", "@Override\n\tpublic String getContentType()\n\t{\n\t\treturn contentType;\n\t}", "@Path(\"resource/create\")\n @POST\n @Consumes(MediaType.APPLICATION_JSON)\n @Produces(MediaType.APPLICATION_JSON)\n// public Response createText(@FormParam(\"\") TextDTO text) {\n public Response createResource(RSComponentDTO dto) {\n Response.ResponseBuilder rb = Response.created(context.getAbsolutePath());\n\n try {\n\n Collection parentCollection = ResourceSystemComponent.load(Collection.class, dto.uriParent);\n RSCType type = DTOValueRSC.instantiate(RSCType.class).withValue(ResourceSystemAnnotationType.RESOURCE);\n RSCParent parent = DTOValueRSC.instantiate(RSCParent.class).withValue(parentCollection);\n\n ResourceSystemComponent resource = ResourceSystemComponent.of(Resource.class, dto.uri)\n .withParams(dto.name, dto.description, type, parent);\n\n resource.setResourceContent(load(dto.catalogItemUri));\n parentCollection.add(resource);\n parentCollection.save();\n\n } catch (InstantiationException ie) {\n log.error(ie.getLocalizedMessage());\n rb.entity(new ServiceResult(\"1\", \"Error, \" + ExceptionUtils.getRootCauseMessage(ie)));\n return rb.build();\n } catch (IllegalAccessException iae) {\n log.error(iae.getLocalizedMessage());\n rb.entity(new ServiceResult(\"2\", \"Error, \" + ExceptionUtils.getRootCauseMessage(iae)));\n return rb.build();\n } catch (VirtualResourceSystemException vrse) {\n log.error(vrse.getLocalizedMessage());\n rb.entity(new ServiceResult(\"3\", \"Error, \" + ExceptionUtils.getRootCauseMessage(vrse)));\n return rb.build();\n } catch (ManagerAction.ActionException ex) {\n log.error(ex.getLocalizedMessage());\n rb.entity(new ServiceResult(\"4\", \"Error, \" + ExceptionUtils.getRootCauseMessage(ex)));\n return rb.build();\n } catch (Annotation.Data.InvocationMethodException ime) {\n log.error(ime.getLocalizedMessage());\n rb.entity(new ServiceResult(\"5\", \"Error, \" + ExceptionUtils.getRootCauseMessage(ime)));\n return rb.build();\n }\n\n log.info(\"resource created\");\n\n return rb.entity(new ServiceResult()).build();\n }", "HateosContentType() {\n super();\n }", "public String getContentType() {\n return this.contentType;\n }", "@Override\n\tpublic String getContentType() {\n\t\treturn CONTENT_TYPE;\n\t}", "ContentLoader getContentLoader(ClientRequestContext context);", "public interface Serializer {\r\n /**\r\n * Gets the value which indicates the encoding mechanism used.\r\n */\r\n String getContentEncoding();\r\n\r\n /**\r\n * Gets the MIME-type suffix\r\n */\r\n String getContentFormat();\r\n\r\n /**\r\n * Serializes the object graph provided and writes a serialized\r\n * representation to the output stream provided.\r\n */\r\n void serialize(OutputStream output, Object graph);\r\n\r\n /**\r\n * Deserializes the stream provided and reconstructs the corresponding\r\n * object graph.\r\n */\r\n Object deserialize(InputStream input, Class type, String format,\r\n String contentEncoding);\r\n}", "Content<?> one();", "public GenericResource() {\r\n }", "@Override\r\n\tpublic void handleRequest(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\n\t\tcheckRequest(request);\r\n\r\n\t\t// Check whether a matching resource exists\r\n\t\tResource resource = getResource(request);\r\n\t\tif (resource == null) {\r\n\t\t\tlogger.trace(\"No matching resource found - returning 404\");\r\n\t\t\tresponse.sendError(HttpServletResponse.SC_NOT_FOUND);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Check the resource's media type\r\n\t\tMediaType mediaType = getMediaType(resource);\r\n\t\tif (mediaType != null) {\r\n\t\t\tif (logger.isTraceEnabled()) {\r\n\t\t\t\tlogger.trace(\"Determined media type '\" + mediaType + \"' for \" + resource);\r\n\t\t\t}\r\n\r\n\t\t\tif (Objects.equal(mediaType, MediaType.TEXT_HTML)) {\r\n\t\t\t\tWebRender render = new WebRender(beetlConfig.getGroupTemplate());\r\n\t\t\t\tif (resource instanceof ServletContextResource) {\r\n\t\t\t\t\trender.render(((ServletContextResource) resource).getPath(), request, response);\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t} else {\r\n\t\t\tif (logger.isTraceEnabled()) {\r\n\t\t\t\tlogger.trace(\"No media type found for \" + resource + \" - not sending a content-type header\");\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Header phase\r\n\t\tif (new ServletWebRequest(request, response).checkNotModified(resource.lastModified())) {\r\n\t\t\tlogger.trace(\"Resource not modified - returning 304\");\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Apply cache settings, if any\r\n\t\tprepareResponse(response);\r\n\r\n\t\t// Content phase\r\n\t\tif (METHOD_HEAD.equals(request.getMethod())) {\r\n\t\t\tsetHeaders(response, resource, mediaType);\r\n\t\t\tlogger.trace(\"HEAD request - skipping content\");\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (request.getHeader(HttpHeaders.RANGE) == null) {\r\n\t\t\tsetHeaders(response, resource, mediaType);\r\n\t\t\twriteContent(response, resource);\r\n\t\t} else {\r\n\t\t\twritePartialContent(request, response, resource, mediaType);\r\n\t\t}\r\n\t}", "public String getResourceType() {\n return this.resourceType;\n }", "public T getContent();", "@Override\n\tpublic Class<? extends IResource> getResourceType() {\n\t\treturn DiagnosticReport.class;\n\t}", "@Test(priority=2)\r\n\tpublic void logResponseBody()\r\n\t{\r\n\t\tgiven()\r\n\t\t.get(\"https://reqres.in/api/users/2\")\r\n\t\t.then()\r\n\t\t.log().body();\t\t\r\n\t}", "public abstract Object getContent();", "@Override\n public void onResponse(String response) {\n }", "public String getResourceType () {\n return resourceType;\n }", "default String getContentType() {\n return \"application/octet-stream\";\n }", "public interface Response extends Serializable{}", "Resource getResource() {\n\t\treturn resource;\n\t}", "public static Response getResourceResponse() {\n return response;\n }", "HttpServletResponse getCurrentResponse();", "Object visitorResponse();", "@Override\n protected Response handleRequest(Request request) throws IOException {\n String path = request.getParameter(PATH);\n Resource res = request.getResource();\n String type = res.getValueMap().get(TYPE, String.class);\n Response answer;\n if(COMPONENTS.equals(type)) {\n answer = findComponents(request);\n } else if(TEMPLATES.equals(type)) {\n answer = findTemplates(request);\n } else if(OBJECTS.equals(type)) {\n answer = findObjects(request);\n } else {\n answer = new ErrorResponse().setHttpErrorCode(SC_BAD_REQUEST).setErrorMessage(UNKNOWN_TYPE + type);\n }\n return answer;\n }", "public interface RESTDocument {\n\n}", "public void handleMogridResource(RequestIdentifier reqID, Object resource) {\n \n }", "@Override\n public void onResponse(String response) {\n }", "@Override\n public void onResponse(String response) {\n }", "@Override\n public void onResponse(String response) {\n }", "public Object makeResource();", "private MyResource() {\n System.out.printf(\"[%s] has been created \\n\", MyResource.class.getSimpleName());\n }", "public String getResourceType() {\n return resourceType;\n }", "public java.lang.Object getContentType() {\r\n return contentType;\r\n }", "@Override\n public void onResponse(String response) {\n System.out.println(\"Recieved Response: \" + response);\n }", "public String toString() {\n/* 195 */ StringBuilder sb = new StringBuilder();\n/* 196 */ sb.append('[');\n/* 197 */ if (this.contentType != null) {\n/* 198 */ sb.append(\"Content-Type: \");\n/* 199 */ sb.append(this.contentType.getValue());\n/* 200 */ sb.append(',');\n/* */ } \n/* 202 */ if (this.contentEncoding != null) {\n/* 203 */ sb.append(\"Content-Encoding: \");\n/* 204 */ sb.append(this.contentEncoding.getValue());\n/* 205 */ sb.append(',');\n/* */ } \n/* 207 */ long len = getContentLength();\n/* 208 */ if (len >= 0L) {\n/* 209 */ sb.append(\"Content-Length: \");\n/* 210 */ sb.append(len);\n/* 211 */ sb.append(',');\n/* */ } \n/* 213 */ sb.append(\"Chunked: \");\n/* 214 */ sb.append(this.chunked);\n/* 215 */ sb.append(']');\n/* 216 */ return sb.toString();\n/* */ }", "@Override\n public void setContentType(String arg0) {\n\n }", "@Override\r\n public void render(HttpServletRequest request, HttpServletResponse response, Object result) throws Throwable\r\n {\n \r\n }", "boolean isSerializeResponse();", "public String getContentType() {\n\t\treturn null;\n\t}", "public interface Response extends Serializable {\n }", "void visit(Resource resource);", "public interface Request {\n}", "public abstract IResource getResource();", "@Override\n public Class<ResourcesRecord> getRecordType() {\n return ResourcesRecord.class;\n }", "public void service(HttpServletRequest req, HttpServletResponse res)\n throws IOException\n {\n// ncat.info(\"> service()\");\n\n //DBG\n/*\n System.out.println(\"AA:\" \n \t+ weblogic.servlet.internal.ServletRequestImpl.class.getClassLoader().getClass().getName());\n System.out.println(\"AA:\" \n \t+ weblogic.servlet.internal.ServletRequestImpl.class.getClassLoader().toString());\n \t\n System.out.println(\"ClassLoader is \" \n \t+ weblogic.kernel.T3SrvrLogger.class.getClassLoader().getClass().getName());\n System.out.println(\"ClassLoader is \" \n \t+ weblogic.kernel.T3SrvrLogger.class.getClassLoader().toString());\n System.out.println(\"2: \" + Thread.currentThread().getContextClassLoader().getClass().getName());\n System.out.println(\"2: \" + Thread.currentThread().getContextClassLoader().toString());\n*/\n// weblogic.kernel.T3SrvrLogger.logWarnPossibleStuckThread(\"DBG!!\", 1234, \"DUMMY\", 3456, \"DUMMY_STRACE\");\n\n res.setContentType(\"text/html\");\n PrintWriter out = res.getWriter();\n \n \n out.println(\"<HTML><HEAD><TITLE>Hello World</TITLE></HEAD><BODY>\");\n out.println(\"<h4>Hello World!</h4>\");\n out.println(\"<p>com.sun.management.jmxremote : \" + System.getProperty(\"com.sun.management.jmxremote\") + \"</p>\");\n out.println(\"</BODY></HTML>\");\n\n// ncat.info(\"< service(10)\");\n }", "@Override\n public void onResponse(String response)\n {\n\n }", "public static Representation getResourceResponseEntity() {\n return getResourceResponse() == null ? null : getResourceResponse().getEntity();\n }", "@Override\n\tpublic void OnRequest() {\n\t\t\n\t}", "public ResourceType getResourceType() {\n\treturn this.resourceType;\n }", "public interface ApplicationResourceUsage extends ResourceUsage\n{\n}", "public interface Resource { \n /**\n * @return the time, in <code>millis</code>, at which this resource was\n * last modified.\n */\n public long lastModified();\n\n /**\n * @return the URI that this resource corresponds to.\n */\n public String getURI();\n\n /**\n * @return the <code>InputStream</code> corresponding to this resource.\n * @throws IOException\n */\n public InputStream getInputStream() throws IOException;\n \n \n /**\n * @return the <code>Resource</code> corresponding to the given relative URI.\n * @param uri a URI.\n * @throws IOException\n */ \n public Resource getRelative(String uri) throws IOException;\n \n}", "private static String resourceName(Class<?> clazz) {\r\n\t\tString className = clazz.getSimpleName().replace(\"$\", \" \");\r\n\t\tif (className.equalsIgnoreCase(\"EvsInitiateMultipartUploadRequest\")) {\r\n\t\t\treturn \"multipartupload/initiate\";\r\n\t\t} else if (className.equalsIgnoreCase(\"EvsCompleteMultipartUploadRequest\")) {\r\n\t\t\treturn \"multipartupload/complete\";\r\n\t\t} else if (className.equalsIgnoreCase(\"EvsAbortMultipartUploadRequest\")) {\r\n\t\t\treturn \"multipartupload/abort\";\r\n\t\t} else if (className.equalsIgnoreCase(\"EvsListPartsRequest\")) {\r\n\t\t\treturn \"multipartupload/listparts\";\r\n\t\t} else if (className.equalsIgnoreCase(\"EvsUploadPartRequest\")) {\r\n\t\t\treturn \"multipartupload/uploadpart\";\r\n\t\t} else if (className.equalsIgnoreCase(\"EvsListMultipartUploadsRequest\")) {\r\n\t\t\treturn \"multipartupload/list\";\r\n\t\t} else if(className.equalsIgnoreCase(\"EvsUploadFileRequest\")){\r\n\t\t\treturn \"fileupload\";\r\n\t\t}else{\r\n\t\t\tthrow new EvsClientException(\"resource not available\");\r\n\t\t}\r\n\t}", "public ListResponseJsonSerializer(ScimResourceSerializer serializer){\n resourceSerializer=serializer;\n }", "public interface IResourceType {\n\n\t/**\n\t * A required attribute that identifies the ResourceType-element.\n\t */\n\tpublic URI getId();\n\n\tpublic boolean setId(URI id);\n\n\t/**\n\t * A ResourceType-element contains zero or more Doc-elements.\n\t */\n\tpublic List<IDoc> getDocs();\n\n\tpublic boolean addDoc(IDoc doc);\n\n\t/**\n\t * A ResourceType-element contains zero or more Param-elements whith one of the following values for its\n\t * style-attribute: query, header.\n\t */\n\tpublic List<IParam> getParams();\n\n\tpublic boolean addParam(IParam param);\n\n\t/**\n\t * A ResourceType-element contains zero or more Method-elements, each of which describes a HTTP protocol method that\n\t * can be applied to a resource of this type.\n\t */\n\tpublic List<IMethod> getMethods();\n\n\tpublic boolean addMethod(IMethod method);\n\n\tpublic String toString();\n\n}" ]
[ "0.6086467", "0.6086467", "0.5828737", "0.5688422", "0.565742", "0.5652638", "0.56366867", "0.55902356", "0.5581607", "0.5581607", "0.555703", "0.553919", "0.5523295", "0.55153614", "0.5486477", "0.5486477", "0.5486477", "0.547931", "0.54744583", "0.54501396", "0.54317164", "0.5424943", "0.5419698", "0.5413492", "0.53821754", "0.534239", "0.5331742", "0.5325077", "0.53057003", "0.53057003", "0.53057003", "0.53041553", "0.52916497", "0.52712303", "0.5268596", "0.52643186", "0.5258551", "0.5255643", "0.5253269", "0.5248911", "0.523745", "0.52366924", "0.5232338", "0.5222557", "0.5220695", "0.52154154", "0.52152324", "0.5204022", "0.5202328", "0.5187656", "0.5183863", "0.5179966", "0.5175757", "0.51690876", "0.5167115", "0.5159355", "0.5147842", "0.51473105", "0.5147113", "0.5146099", "0.5129932", "0.51231545", "0.5122602", "0.5121692", "0.51185316", "0.51149255", "0.5108488", "0.5088237", "0.50843143", "0.50816506", "0.50777465", "0.5068873", "0.50686944", "0.50686944", "0.50686944", "0.50681", "0.50656295", "0.50650984", "0.5062525", "0.5062091", "0.5061284", "0.50582606", "0.5053106", "0.5048404", "0.50479287", "0.5046386", "0.5040951", "0.50342155", "0.5033403", "0.5032687", "0.50250703", "0.50224257", "0.50202584", "0.50201416", "0.5014568", "0.5012988", "0.50103307", "0.5006309", "0.500372", "0.5002963" ]
0.5562156
10
log.debug( "not modified" );
public void respondNotModified( GetableResource resource, Response response, Request request ) { response.setStatus( Response.Status.SC_NOT_MODIFIED ); response.setDateHeader( new Date() ); String etag = eTagGenerator.generateEtag( resource ); if( etag != null ) { response.setEtag( etag ); } Date mod = resource.getModifiedDate(); if( mod != null ) { response.setLastModifiedHeader( resource.getModifiedDate() ); } setCacheControl( resource, response, request.getAuthorization() ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void log();", "public void logDebug(String str) {\n }", "public void debug() {\n\n }", "@Override\n public void log()\n {\n }", "public void log(boolean log) {\n this.log = log;\n }", "@Override\n public void logs() {\n \n }", "public void writeLog() {\n\n\t}", "public void writeLog() {\n\n\t}", "public void writeLog() {\n\n\t}", "public void logData(){\n }", "public void debug()\r\n {\n \t\treload();\r\n }", "private void doIt() {\n\t\tlogger.debug(\"hellow this is the first time I use Logback\");\n\t\t\n\t}", "final void out (String msg) { if (m_debugMode) { Logger.println (msg); } }", "private static void _logInfo ()\n {\n System.err.println (\"Logging is enabled using \" + log.getClass ().getName ());\n }", "@Override\r\n\t\t\tpublic void debug(String arg) {\n\t\t\t\t\r\n\t\t\t}", "void log(Log log);", "public void setLog(boolean log)\n {\n this.log = log;\n }", "private void logToFile() {\n }", "public void debug(Object message)\n/* */ {\n/* 118 */ if (message != null) {\n/* 119 */ getLogger().debug(String.valueOf(message));\n/* */ }\n/* */ }", "public void enableLogging();", "private static void writeLog(String log) {\n\t\twriteLog(log, true);\n\t}", "private void debug(String str) {\n }", "@Test\n\t/**\n\t * This is in effect:\n\t * \n\t * log4j.rootLogger=DEBUG\n\t */\n\tpublic void testDebugAbove(){\n\t\tlogger.trace(\"Trace\");\n\t\t//Above Debug are all logged\n\t\tlogger.debug(\"Debug\");\n\t\tlogger.info(\"Info\");\n\t\tlogger.warn(\"Warning\");\n\t\tlogger.error(\"Error\");\n\t}", "public void setDebug(boolean b) { debug = b; }", "public void log(String message) {\n\t}", "public void debug(String msg);", "public void log(String msg) {\n\n\t}", "public boolean logging() {\n\treturn logging;\n }", "public void add_to_log(String s){\n }", "void k2h_bump_debug_level();", "public void setLog(boolean log) {\n this.log = log;\n }", "@Test @Ignore\n\tpublic void testUpdate() {\n\t\tlog.info(\"*** testUpdate ***\");\n\t}", "public void setLogging(boolean logging);", "@Override\n\tpublic void debug(Object message) {\n\n\t}", "void log(String line);", "@SuppressWarnings({\"UNUSED_SYMBOL\"})\r\n private void plog(String m) {\n }", "@Override\n public void forceMlog() {\n }", "public LogScrap() {\n\t\tconsumer = bin->Conveyor.LOG.debug(\"{}\",bin);\n\t}", "@Override\n public void log(String message) {\n }", "private void Log(String action) {\r\n\t}", "public void debug(String message);", "public void log(String text) {\n }", "void log(String string);", "private void debug(String msg) {\r\n if (LOG.isDebugEnabled()) {\r\n LOG.debug(msg);\r\n }\r\n }", "public boolean isDebugEnabled()\n/* */ {\n/* 250 */ return getLogger().isDebugEnabled();\n/* */ }", "public static void debug(String log) {\n if (debug) {\n System.out.println(\"[DEBUG] \" + log);\n }\n }", "abstract protected void _log(Snapshot snapshot) throws Exception;", "public void logDebug()\n\t{\n\t\tLogHandler handlerList[];\n\t\tLogHandler handler = null;\n\n\t\tSystem.out.println(\"Logger = \"+logger);\n\t\tSystem.out.println(\"Logger log level is: \"+logger.getLogLevel());\n\t\tSystem.out.println(\"Logger log filter is: \"+logger.getFilter());\n\t\thandlerList = logger.getHandlers();\n\t\tfor(int i = 0; i < handlerList.length; i++)\n\t\t{\n\t\t\thandler = handlerList[i];\n\t\t\tSystem.out.println(\"Logger handler \"+i+\" is:\"+handler+\" and called \"+handler.getName());\n\t\t\tSystem.out.println(\"Logger handler \"+i+\" has filter:\"+handler.getFilter());\n\t\t\tSystem.out.println(\"Logger handler \"+i+\" has log level:\"+handler.getLogLevel());\n\t\t}\n\t}", "@Override\n\tpublic void debug(Message msg) {\n\n\t}", "private void log(String s) {\n RlogEx.i(TAG, s);\n }", "public static void log(String str)\r\n\t{\n\t}", "private static final void log(String msg) {\n\t\tlog.println(msg);\n\t}", "void log(Message message);", "protected Log getLog()\n/* */ {\n/* 59 */ return log;\n/* */ }", "final void out (String msg1, String msg2) { if (m_debugMode) { Logger.print (msg1); Logger.println (msg2); } }", "private void log(String s) {\n Rlog.i(TAG, s);\n }", "public void projectModified() { }", "public void projectModified() { }", "Appendable getLog();", "private void debug(String s) {\r\n\t\tif (debug)\r\n\t\t\tSystem.out.println(s);\r\n\t}", "public void enableDebug() {\n this.debug = true;\n }", "public void log(String msg) {\n if(Debug.isEnabled()){ \n filterConfig.getServletContext().log(msg); //Shows in the Tomcat logs \n Debug.println(msg);\n }\n }", "private static void printDebug(String s)\n {\n }", "void k2h_set_debug_level_silent();", "public void setLogging(boolean logging){\n this.logging=logging;\n }", "protected abstract void debug(String msg);", "private static void logDebug(String message, Object... arguments) {\n\t\tif (LOGGER.isDebugEnabled()) {\n\t\t\tLOGGER.debug(message, arguments);\n\t\t}\n\t}", "@Override\n public void debug(\n Object obj\n )\n {\n mLogger.fine( obj.toString() );\n }", "void debug(String a, String b) {\n\t\t}", "public void toggleDebug() {\n\t\tdebug = debug ? false : true;\n\t}", "public void logImportant(String str) {\n\t\tSystem.out.println(str);\n\t}", "public static void Log(String message){\r\n if(isDebugBuild == false){\r\n return;\r\n }\r\n System.out.println(message);\r\n }", "public String get_log(){\n }", "@FXML\n\tpublic void logDebugLevel() {\n\t\tcheckFieldEditOrNot = true;\n\t\tSX3Manager.getInstance().addLog(\"Debug Level : \" + debugValue.getValue() + \".<br>\");\n\t\tlogDetails1.getEngine().setUserStyleSheetLocation(\"data:,body{font: 12px Arial;}\");\n\n\t\tlogDetails1.getEngine().executeScript(\"window.scrollTo(0, document.body.scrollHeight);\");\n\t}", "public static void log(String string) {\r\n\t\tlog(string, LoggerLevel.DEBUG);\r\n\t}", "@Override\n\tpublic void debug(Marker marker, String message) {\n\n\t}", "public String getLog();", "@Override\n \tpublic void logVarChanged(String var, String value) {\n\t\tSystem.out.println(\"\\tNew Variable Value: \" + var + \" = \" + value);\n \t}", "private void logIt(String msg) {\n\tSystem.out.println(\"PLATINUM-SYNC-LOG: \" + msg);\n}", "@SuppressWarnings(\"static-method\")\n\tpublic void logDebugMessage(String message) {\n\t\tDebug.println(message);\n\t}", "@Test\r\n\tpublic void logTest() {\r\n\t\tlogger.info(\"Testando info\");\r\n\t\tlogger.debug(\"nao sera logado\" + \"Nice\");\r\n\t\tlogger.error(\"This is Error message\", new Exception(\"Testing\"));\r\n\t}", "void log() {\n\t\tm_drivetrain.log();\n\t\tm_forklift.log();\n\t}", "public static void debugInfo() { throw Extensions.todo(); }", "private void logUser() {\n }", "void k2h_set_debug_level_message();", "private void debug(String post) {\n if (GameLauncher.isDebugging()) {\n System.out.println(post);\n }\n }", "public void setDebug(boolean f) {\n debug = f;\n }", "protected void log(String s ) {\r\n\tmessageSB.append( s ).append(\"\\r\\n\");\r\n }", "@Override\n\tpublic void debug(Marker marker, Object message) {\n\n\t}", "void p(Object o) {\r\n\t\tutils.log(o);\r\n\t}", "public boolean isDebug();", "@Override\n\tpublic void debug(Marker marker, Message msg) {\n\n\t}", "public void imprimir(String log){\n System.out.println(log);\n\n }", "private static void LOG(String msg) {\n if ( DEBUG ) {\n Log.d(TAG, msg);\n }\n }", "public static void main(String []args) {\n\t\tlog.trace(\"111---\");\n\t\tlog.debug(\"2222\");\n\t\tlog.info(\"333\");\n\t\tlog.warn(\"444\");\n\t\tlog.error(\"555\");\n\t}", "public static void enableDebugging(){\n DEBUG = true;\n }", "public static void normalDebug(){\n enableVerbos = false;\n }", "boolean isDebug();", "boolean isDebug();", "static void debug() {\n ProcessRunnerImpl.setGlobalDebug(true);\n }", "public void debug(String comment);" ]
[ "0.6970644", "0.6889051", "0.6804336", "0.66549236", "0.64823675", "0.6446317", "0.64262956", "0.64262956", "0.64262956", "0.63587826", "0.63018566", "0.62464714", "0.6245395", "0.6240951", "0.6209695", "0.6193194", "0.6191581", "0.6171455", "0.6161468", "0.6140508", "0.6129379", "0.6106092", "0.6095676", "0.60662323", "0.60628307", "0.60620576", "0.6049318", "0.6048895", "0.6024693", "0.601854", "0.6006014", "0.5984385", "0.5981153", "0.59648514", "0.5963526", "0.5955517", "0.5943326", "0.59418094", "0.5935975", "0.5930861", "0.59216934", "0.59204626", "0.5919092", "0.59165454", "0.5906237", "0.5893807", "0.5878068", "0.5873342", "0.58727133", "0.58558416", "0.5844414", "0.58425367", "0.58375025", "0.5836597", "0.58196485", "0.580602", "0.58038956", "0.58038956", "0.57974464", "0.57963586", "0.57755387", "0.5773813", "0.5770796", "0.57663316", "0.57523304", "0.5748692", "0.574716", "0.5724384", "0.572296", "0.5712858", "0.57054794", "0.5704658", "0.5691562", "0.5687128", "0.56819975", "0.56790555", "0.56745094", "0.5671341", "0.56708515", "0.5669408", "0.5651694", "0.564658", "0.56451225", "0.56409997", "0.56390494", "0.5638302", "0.5636846", "0.56311476", "0.56241786", "0.56181484", "0.5616774", "0.56160414", "0.5607615", "0.5599514", "0.55945647", "0.5584763", "0.5583168", "0.55802", "0.55802", "0.5578667", "0.55723983" ]
0.0
-1
Este es el lugar en el que las subclases pueden crear los componentes hijos de esta ventana. Por defecto no hace nada y esto permite agregar componentes sin utilizar la herencia.
public abstract void createContents(Panel mainPanel);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "Component createComponent();", "Component createComponent();", "private void instanciarComponentes() {\n\t\t\n\t\tpainelTopo = new JPanel(new FlowLayout());\n\t\tpainelTopo.setBackground(Color.LIGHT_GRAY);\n\t\tlbInicial = new JLabel(\"De: \");\n\t\tlbFinal = new JLabel(\"Até: \");\n\t\tlabelTabuadoDo = new JLabel(\"Tabuada do: \");\n\t\ttxtInicial = new JTextField(10);\n\t\ttxtFinal = new JTextField(10);\n\t\ttxtNumero = new JTextField(10);\n\t\tbuttonCalcular = new JButton(\"Calcular\");\n\t\tpainelCentro = new JPanel(new FlowLayout());\n\t}", "private void crearComponentes(){\n\tjdpFondo.setSize(942,592);\n\t\n\tjtpcContenedor.setSize(230,592);\n\t\n\tjtpPanel.setTitle(\"Opciones\");\n\tjtpPanel2.setTitle(\"Volver\");\n \n jpnlPanelPrincilal.setBounds(240, 10 ,685, 540);\n \n }", "private void crearComponentes() {\n setTitle(\"Nueva Persona\");\r\n setDefaultLookAndFeelDecorated(true);\r\n try {\r\n //UIManager.setLookAndFeel(\"javax.swing.plat.metal.MetalLookAndFeel\");\r\n UIManager.setLookAndFeel(\"javax.swing.plaf.nimbus.NimbusLookAndFeel\");\r\n } catch (ClassNotFoundException | IllegalAccessException | InstantiationException | UnsupportedLookAndFeelException e) {\r\n System.out.println(e.getMessage());\r\n }\r\n\r\n int numBorder;\r\n numBorder = 20;\r\n\r\n jPrincipal = new JPanel(new BorderLayout());\r\n jPrincipal.setBorder(new EmptyBorder(numBorder, numBorder, numBorder, numBorder));\r\n add(jPrincipal);\r\n\r\n JPcontent = new JPanel();\r\n JPcontent.setLayout(new BoxLayout(JPcontent, BoxLayout.PAGE_AXIS));\r\n numBorder = 10;\r\n\r\n JPanel nom = new JPanel();\r\n JPcontent.add(nom);\r\n nom.add(new JLabel(\"Nom: \"));\r\n JTxtFldNom = new JTextField(28);\r\n JTxtFldNom.addComponentListener(null);\r\n nom.add(JTxtFldNom);\r\n\r\n JPanel primerCognom = new JPanel();\r\n JPcontent.add(primerCognom);\r\n primerCognom.add(new JLabel(\"Primer cognom: \"));\r\n JTxtFldPrimerCognom = new JTextField(22);\r\n JTxtFldPrimerCognom.addComponentListener(null);\r\n primerCognom.add(JTxtFldPrimerCognom);\r\n\r\n JPanel segonCognom = new JPanel();\r\n JPcontent.add(segonCognom);\r\n segonCognom.add(new JLabel(\"Segon cognom: \"));\r\n JTxtFldSegonCognom = new JTextField(22);\r\n JTxtFldSegonCognom.addComponentListener(null);\r\n segonCognom.add(JTxtFldSegonCognom);\r\n\r\n JPanel nif = new JPanel();\r\n JPcontent.add(nif);\r\n nif.add(new JLabel(\"NIF: \"));\r\n JTxtFldNIF = new JTextField(28);\r\n JTxtFldNIF.addComponentListener(null);\r\n nif.add(JTxtFldNIF);\r\n\r\n JPanel numeroSS = new JPanel();\r\n JPcontent.add(numeroSS);\r\n numeroSS.add(new JLabel(\"Número SS: \"));\r\n JTxtFldNumeroSS = new JTextField(24);\r\n JTxtFldNumeroSS.addComponentListener(null);\r\n numeroSS.add(JTxtFldNumeroSS);\r\n\r\n JPanel telf = new JPanel();\r\n JPcontent.add(telf);\r\n telf.add(new JLabel(\"Teléfon: \"));\r\n JTxtFldTelf = new JTextField(26);\r\n JTxtFldTelf.addComponentListener(null);\r\n telf.add(JTxtFldTelf);\r\n\r\n JPanel ciutat = new JPanel();\r\n JPcontent.add(ciutat);\r\n ciutat.add(new JLabel(\"Ciutat: \"));\r\n JTxtFldCiutat = new JTextField(27);\r\n JTxtFldCiutat.addComponentListener(null);\r\n ciutat.add(JTxtFldCiutat);\r\n\r\n JPanel codiPostal = new JPanel();\r\n JPcontent.add(codiPostal);\r\n codiPostal.add(new JLabel(\"Codi postal: \"));\r\n JTxtFldCodiPostal = new JTextField(24);\r\n JTxtFldCodiPostal.addComponentListener(null);\r\n codiPostal.add(JTxtFldCodiPostal);\r\n\r\n JPanel carrer = new JPanel();\r\n JPcontent.add(carrer);\r\n carrer.add(new JLabel(\"Direcció: \"));\r\n JTxtFldCarrer = new JTextField(27);\r\n JTxtFldCarrer.addComponentListener(null);\r\n carrer.add(JTxtFldCarrer);\r\n\r\n if (clase == 0) {\r\n metge();\r\n }\r\n\r\n JPanel boto = new JPanel();\r\n boto.setBorder(new EmptyBorder(0, 0, 8, 0));\r\n JPcontent.add(boto);\r\n\r\n// jBtnCancelar = new JButton(\"Cancelar\");\r\n// boto.add(jBtnCancelar);\r\n// jBtnCancelar.addActionListener(new BotonesCrearPersona(clase));\r\n JBtnCrea = new JButton(\"Crear\");\r\n boto.add(JBtnCrea);\r\n JBtnCrea.addActionListener(new BotonesCrearPersona(clase));\r\n\r\n jPrincipal.add(JPcontent, BorderLayout.CENTER);\r\n\r\n pack();\r\n Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();\r\n this.setLocation(dim.width / 2 - this.getSize().width / 2, dim.height / 2 - this.getSize().height / 2);\r\n }", "private void inicializarComponentes() {\n\n\n comenzar = new JButton(devolverImagenButton(\"comenzar\", \"png\", 300, 300));\n comenzar.setRolloverIcon(devolverImagenButton(\"comenzar1\", \"png\", 300, 300));\n comenzar.setBackground(Color.WHITE);\n comenzar.setBorder(null);\n comenzar.setActionCommand(\"COMENZAR\");\n comenzar.setBounds(335, 450, 240, 100);\n add(comenzar);\n\n l1 = new JLabel();\n devolverImagenLabel(\"Bienvenido\", \"gif\", 900, 700, l1);\n l1.setBounds(0, 0, 900, 700);\n add(l1);\n\n }", "ComponentType createComponentType();", "private void criarComponentes() {\n\n add(criarPainelNorte(), BorderLayout.NORTH);\n add(criarPainelCentro(), BorderLayout.CENTER);\n add(criarPainelSul(), BorderLayout.SOUTH);\n }", "public ComponentsFactory() {\n\t\tsuper();\n\t}", "private static void inicializarComponentes() {\n\t\tgaraje = new Garaje();\r\n\t\tgarajeController=new GarajeController();\r\n\t\tgarajeController.iniciarPlazas();\r\n\t\t\r\n\t\tmenuInicio = new StringBuilder();\r\n\t\tmenuInicio.append(\"¡Bienvenido al garaje!\\n\");\r\n\t\tmenuInicio.append(\"****************************************\\n\");\r\n\t\tmenuInicio.append(\"9: Guardar Plazas\\n\");\r\n\t\tmenuInicio.append(\"0: Listar Plazas\\n\");\r\n\t\tmenuInicio.append(\"1: Listar Plazas Coche\\n\");\r\n\t\tmenuInicio.append(\"2: Listar Plazas Moto\\n\");\r\n\t\tmenuInicio.append(\"3: Reservar Plaza\\n\");\r\n\t\tmenuInicio.append(\"4: Listar Plazas Libres\\n\");\r\n\t\tmenuInicio.append(\"5: Listar Clientes\\n\");\r\n\t\tmenuInicio.append(\"6: Listar Vehículos\\n\");\r\n//\t\tmenuInicio.append(\"7:\\n\");\r\n//\t\tmenuInicio.append(\"8:\\n\");\r\n\t}", "private void createUIComponents() {\n editor = createEditor(project, document);\n splitter = new JBSplitter(0.4f);\n ((JBSplitter) splitter).setFirstComponent(editor.getComponent());\n// ((JBSplitter) splitter).setSecondComponent();\n }", "private void iniciarComponentesInterface() {\n\t\tPanelchildren panelchildren = new Panelchildren();\r\n\t\tpanelchildren.setParent(this);\r\n\t\tlistBox = new Listbox();\r\n\t\tlistBox.setHeight(\"300px\");\r\n\t\tlistBox.setCheckmark(true);\r\n\t\tlistBox.setMultiple(false);\r\n\t\tlistBox.setParent(panelchildren);\r\n\t\tListhead listHead = new Listhead();\r\n\t\tlistHead.setParent(listBox);\r\n\t\tListheader listHeader = new Listheader(\"Projeto\");\r\n\t\tlistHeader.setParent(listHead);\r\n\r\n\t\t// Botões OK e Cancelar\r\n\t\tDiv div = new Div();\r\n\t\tdiv.setParent(panelchildren);\r\n\t\tdiv.setStyle(\"float: right;\");\r\n\t\tSeparator separator = new Separator();\r\n\t\tseparator.setParent(div);\r\n\t\tButton botaoOK = new Button(\"OK\");\r\n\t\tbotaoOK.addEventListener(\"onClick\", new EventListenerOK());\r\n\t\tbotaoOK.setWidth(\"100px\");\r\n\t\tbotaoOK.setStyle(\"margin-right: 5px\");\r\n\t\tbotaoOK.setParent(div);\r\n\t\tButton botaoCancelar = new Button(\"Cancelar\");\r\n\t\tbotaoCancelar.addEventListener(\"onClick\", new EventListenerCancelar());\r\n\t\tbotaoCancelar.setWidth(\"100px\");\r\n\t\tbotaoCancelar.setParent(div);\r\n\t}", "private void agregarComponentes() {\n JButton botonEstudiante = new JButton(\"Estudiante\");\r\n JButton botonDocente = new JButton(\"Docente\");\r\n JButton botonEquipo = new JButton(\"Equipo\");\r\n\r\n botonEstudiante.addActionListener(new OyenteListaEstudiante(this));\r\n botonDocente.addActionListener(new OyenteListaDocente(this));\r\n botonEquipo.addActionListener(new OyenteListaEquipo(this));\r\n\r\n // crea objeto Box para manejar la colocación de areaConsulta y\r\n // botonEnviar en la GUI\r\n Box boxNorte = Box.createHorizontalBox();\r\n boxNorte.add(botonDocente);\r\n boxNorte.add(botonEstudiante);\r\n boxNorte.add(botonEquipo);\r\n\r\n // crea delegado de JTable para modeloTabla\r\n tablaDatosIngresdos = new JTable();\r\n add(boxNorte, BorderLayout.NORTH);\r\n\r\n add(new JScrollPane(tablaDatosIngresdos), BorderLayout.CENTER);\r\n\r\n }", "public void iniciarComponentes(){\n\n crearPanel();\n colocarBotones();\n \n }", "private void createUIComponents() {\n bt1 = new JButton(\"Hola\");\n }", "private void createdComponent() {\r\n\r\n\t\tloadImage();\r\n\t\tresizeImage();\r\n\t\ttry {\r\n\t\t\tif (customFont == null) {\r\n\t\t\t\tcustomFont = FontLoader.getInstance().getXenipa();\r\n\t\t\t\tif (customFont == null) {\r\n\t\t\t\t\tcustomFont = new FontLoader().importFont();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (FontFormatException e1) {\r\n\t\t\te1.printStackTrace();\r\n\t\t} catch (IOException e1) {\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tUIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());\r\n\t\t} catch (ClassNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (InstantiationException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (IllegalAccessException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (UnsupportedLookAndFeelException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tthis.init();\r\n\t\tthis.createpanel1();\r\n\t\tthis.createpanel2();\r\n\t\tthis.createpanel3();\r\n\t\tthis.createpanel4();\r\n\t\tthis.revalidate();\r\n\t}", "public clientesagregarclass() {\n initComponents();\n }", "private void createUIComponents() {\n\n String[] criterios = {\"Nombre\",\"Identificación\"};\n DefaultListModel modelo = new DefaultListModel();\n criterioBusquedaComboBox = new JComboBox(criterios);\n tablaCitas = new JTable();\n tablaBusqueda = new JTable();\n tableModel = (DefaultTableModel) tablaCitas.getModel();\n tableModelBusqueda = (DefaultTableModel) tablaBusqueda.getModel();\n scrollerTable = new JScrollPane(tablaCitas, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);\n scrollerBusqueda = new JScrollPane(tablaBusqueda, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);\n guardarInformacionButton = new JButton(\"Guardar información\");\n guardarInformacionButton.setVisible(false);\n }", "private void createUIComponents() {\n table = new ShareTraderTable();\n }", "private void colocaComponentes() {\r\n\t\tJLabel lblId = new JLabel(\"Id\");\r\n\t\tlblId.setBounds(10, 11, 46, 14);\r\n\t\tadd(lblId);\r\n\t\t\r\n\t\tJLabel lblApellido = new JLabel(\"1er Apellido\");\r\n\t\tlblApellido.setBounds(168, 11, 131, 14);\r\n\t\tadd(lblApellido);\r\n\t\t\r\n\t\ttextId = new JTextField();\r\n\t\ttextId.setBounds(10, 36, 86, 20);\r\n\t\tadd(textId);\r\n\t\ttextId.setColumns(10);\r\n\t\t\r\n\t\ttextApellido = new JTextField();\r\n\t\ttextApellido.setBounds(168, 36, 118, 20);\r\n\t\tadd(textApellido);\r\n\t\ttextApellido.setColumns(10);\r\n\t\t\r\n\t\tbtnComprobar = new JButton(\"Comprobar\");\r\n\t\tbtnComprobar.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tconsultaDatos();\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnComprobar.setBounds(10, 83, 362, 23);\r\n\t\tadd(btnComprobar);\r\n\t\t\r\n\t\ttextMensaje = new JTextField();\r\n\t\ttextMensaje.setEditable(false);\r\n\t\ttextMensaje.setBounds(10, 117, 362, 20);\r\n\t\tadd(textMensaje);\r\n\t\ttextMensaje.setColumns(10);\r\n\t\t\r\n\t\tbtnAtras = new JButton(\"Atras\");\r\n\t\tbtnAtras.setBounds(10, 254, 89, 23);\r\n\t\tadd(btnAtras);\r\n\t\tbtnAtras.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcambiaPanelAnterior();\r\n\t\t\t}\r\n\t\t});\r\n\t}", "void inicializaComponentes(){\r\n\t\t\r\n\t\t//Botão com status\r\n\t\ttgbGeral = (ToggleButton) findViewById(R.id.tgbGeral);\r\n\t\ttgbGeral.setOnClickListener(this);\r\n\t\ttgbMovimento = (ToggleButton) findViewById(R.id.tgbMovimento);\r\n\t\ttgbMovimento.setOnClickListener(this);\r\n\t\ttgbfogo = (ToggleButton) findViewById(R.id.tgbFogo);\r\n\t\ttgbfogo.setOnClickListener(this);\r\n\r\n\t\t//botão\r\n\t\tbtnTemperatura = (Button) findViewById(R.id.btnTemperatura);\r\n\t\tbtnTemperatura.setOnClickListener(this);\r\n\t\t\r\n\t\t//label\r\n\t\ttxtLegenda = (TextView) findViewById(R.id.txtSensorLegenda);\r\n\t}", "private void initComponents() {\n\t\t\n\t}", "private void initComponents() {\n\t\t\n\t}", "public void manageComponent() {\n menu = new JMenuBar();\n mainbox = new JScrollPane();\n toolbox = new JPanel();\n paintBox = new JPanel();\n optionbox = new JPanel();\n statusbar = new JPanel();\n paintModule = new PaintModule();\n\n // component setting\n createToolBox(toolbox);\n createMenu(menu);\n createOptionBox(optionbox);\n createStatusBar(statusbar);\n this.setLayout(new BorderLayout());\n\n // add component to container\n paintBox.add(paintModule);\n mainbox.setViewportView(paintBox);\n\n\n this.add(menu, BorderLayout.NORTH);\n this.add(mainbox, BorderLayout.CENTER);\n this.add(toolbox, BorderLayout.WEST);\n this.add(optionbox, BorderLayout.EAST);\n this.add(statusbar, BorderLayout.SOUTH);\n\n }", "private void inicializarComponentes() {\n universidadesIncluidos = UniversidadFacade.getInstance().listarTodosUniversidadOrdenados();\n universidadesIncluidos.removeAll(universidadesExcluidos);\n Comunes.cargarJList(jListMatriculasCatastrales, universidadesIncluidos);\n }", "private void initcomponent() {\n\r\n\t}", "private void inicializarComponentes() \n\t{\n\t\tthis.table=new JTable(); \n\t\ttablas.setBackground(Color.white);\n\t\tscroll =new JScrollPane(table); // Scroll controla la tabla\n\t\tthis.add(scroll,BorderLayout.CENTER);\n\t\tthis.add(tablas,BorderLayout.NORTH);\n\t\t\n\t}", "@Subcomponent.Builder\n interface Factory {\n LoginComponent create();\n }", "public InjectingComponentType() {\n }", "public CadastroComplemento() {\n initComponents();\n \n }", "private void startComponents(){\n\n if(isAllowed(sentinel)){\n SentinelComponent sentinelComponent = new SentinelComponent(getInstance());\n sentinelComponent.getCanonicalName();\n }\n\n if(isAllowed(\"fileserver\")){\n FileServer fileServer = new FileServer(getInstance());\n fileServer.getCanonicalName();\n }\n\n if(isAllowed(\"manager\")){\n ManagerComponent Manager = new ManagerComponent(getInstance());\n Manager.getCanonicalName();\n }\n\n// if(isAllowed(\"sdk\")){\n// SDK sdk = new SDK(getInstance());\n// sdk.getCanonicalName();\n// }\n\n if(isAllowed(\"centrum\")){\n CentrumComponent centrum1 = new CentrumComponent(getInstance(), null);\n centrum1.getCanonicalName();\n }\n\n }", "public void iniciarComponentes() {\n btnSalir = new JButton(\"SALIR\");\n btnSaludo = new JButton(\"SALUDO\");\n \n btnSalir.setForeground(Color.RED);\n btnSaludo.setForeground(Color.BLUE);\n \n btnSalir.setPreferredSize(new Dimension(100, 60));\n btnSaludo.setPreferredSize(new Dimension(100, 60));\n \n //Creamos y aplicamos el layout para que salgan de laico\n FlowLayout fl = new FlowLayout(FlowLayout.CENTER);\n setLayout(fl);\n \n //Y metemos los botones y sus funciones\n add(btnSaludo);\n //Función en la clase Ventana\n \n add(btnSalir);\n btnSalir.addActionListener(e->salir());\n \n //Ahora vamos a separar los botones, de puede de dos maneras\n //De este modo crea una distancia fija entre los 2 cuando reescalemos\n add(Box.createRigidArea(new Dimension(15, 0)));\n //En este otro la distancia va variando\n add(Box.createGlue());\n \n }", "private void createComponents() {\n\n add(createSetDataPanel(), BorderLayout.NORTH);\n add(createResourcesListAndButtonsPanel(), BorderLayout.CENTER);\n }", "private void inicializarcomponentes() {\n Comunes.cargarJList(jListBecas, becasFacade.getTodasBecasVigentes());\n \n }", "public VComponente() {\n initComponents();\n }", "public interface DomainBuilderComponent extends PropertyChangeListener {\n\t/**\n\t * get name of the component\n\t * @return\n\t */\n\tpublic String getName();\n\t\n\t/**\n\t * get icon for the component\n\t * @return\n\t */\n\tpublic Icon getIcon();\n\t\n\t\n\t/**\n\t * get component\n\t * @return\n\t */\n\tpublic Component getComponent();\n\t\n\t\n\t/**\n\t * get menu bar\n\t * @return\n\t */\n\tpublic JMenuBar getMenuBar();\n\t\n\t\n\t/**\n\t * load whatever resources one needs to get this piece working \n\t */\n\tpublic void load();\n\t\n\t/**\n\t * dispose of this component\n\t */\n\tpublic void dispose();\n}", "public remake2oop() {\n initComponents();\n }", "private void createUIComponents() {\n this.selectorApplication = new AzureArtifactComboBox(project, true);\n this.selectorApplication.refreshItems();\n }", "void addComponents();", "public JuegoCarta() {\n initComponents();\n dibujarPuntuaciones();\n }", "public Component() {\n }", "private void addComponents() {\n\t\tadd(newGame);\n\t\tadd(nameLabel);\n\t\tadd(nameField);\n\t\tadd(addPlayer);\n\t\tadd(gameTextPane);\n\t\tadd(playGame);\t\n\t\tadd(takeTurn);\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//v0.1.1 change\n\t}", "protected void installComponents() {\n }", "private void createUIComponents() {\n this.removeAll();\n this.setLayout(new GridBagLayout());\n\n selectionListener = e -> update();\n\n categorySet_panel = new DataObject_DisplayList<>(database.getSchema(), CategorySet.class, new Full_Set<>(database, CategorySet.class), false, this);\n categorySet_panel.addControlButtons(new CategorySet_ElementController(database, this));\n categorySet_panel.getMainPanel().getListSelectionModel().addListSelectionListener(selectionListener);\n\n virtualCategory_set = new OneParent_Children_Set<>(VirtualCategory.class, null);\n virtualCategory_elementController = new VirtualCategory_ElementController(database, this);\n virtualCategory_panel = new DataObject_DisplayList<>(database.getSchema(), VirtualCategory.class, virtualCategory_set, false, this);\n virtualCategory_panel.addControlButtons(virtualCategory_elementController);\n virtualCategory_panel.getMainPanel().getListSelectionModel().addListSelectionListener(selectionListener);\n\n categoryToCategorySet_set = new OneParent_Children_Set<>(CategoryToCategorySet.class, null);\n categoryToCategorySet_elementController = new CategoryToCategorySet_ElementController(database, this);\n categoryToCategorySet_panel = new DataObject_DisplayList<>(database.getSchema(), CategoryToCategorySet.class, categoryToCategorySet_set, false, this);\n categoryToCategorySet_panel.addControlButtons(categoryToCategorySet_elementController);\n\n categoryToVirtualCategory_set = new OneParent_Children_Set<>(CategoryToVirtualCategory.class, null);\n categoryToVirtualCategory_elementController = new CategoryToVirtualCategory_ElementController(database, this);\n categoryToVirtualCategory_panel = new DataObject_DisplayList<>(database.getSchema(), CategoryToVirtualCategory.class, categoryToVirtualCategory_set, false, this);\n categoryToVirtualCategory_panel.addControlButtons(categoryToVirtualCategory_elementController);\n\n GridBagConstraints gridBagConstraints = new GridBagConstraints();\n gridBagConstraints.fill = GridBagConstraints.BOTH;\n gridBagConstraints.weightx = 1;\n gridBagConstraints.weighty = 1;\n gridBagConstraints.gridheight = 2;\n\n gridBagConstraints.gridx = 0;\n this.add(categorySet_panel, gridBagConstraints);\n\n gridBagConstraints.gridheight = 1;\n gridBagConstraints.gridx = 1;\n this.add(virtualCategory_panel, gridBagConstraints);\n\n gridBagConstraints.weighty = 2;\n this.add(categoryToCategorySet_panel, gridBagConstraints);\n\n gridBagConstraints.gridheight = 2;\n gridBagConstraints.weighty = 1;\n gridBagConstraints.gridx = 2;\n this.add(categoryToVirtualCategory_panel, gridBagConstraints);\n }", "protected void installComponents() {\n\t}", "private void setUIComponents() {\n\t\tframe.setTitle(\"Departamento de ventas\");\n\t\tframe.setMinimumSize(new Dimension(700, 500));\n\n\t\t/*\n\t\t * Paneles externos. Solo hay que añadir en el bottomPanel\n\t\t */\n\t\tJPanel topPanel = new JPanel();\n\t\tframe.getContentPane().add(topPanel, BorderLayout.NORTH);\n\t\ttopPanel.setBackground(new Color(233, 196, 106));\n\t\ttopPanel.setBounds(100, 100, 100, 100);\n\n\t\tJPanel leftPanel = new JPanel();\n\t\tframe.getContentPane().add(leftPanel, BorderLayout.WEST);\n\t\tleftPanel.setBackground(new Color(233, 196, 106));\n\n\t\tJPanel rightPanel = new JPanel();\n\t\tframe.getContentPane().add(rightPanel, BorderLayout.EAST);\n\t\trightPanel.setBackground(new Color(233, 196, 106));\n\n\t\tJPanel bottomPanel = new JPanel();\n\t\tframe.getContentPane().add(bottomPanel, BorderLayout.SOUTH);\n\t\tbottomPanel.setBackground(new Color(233, 196, 106));\n\t\tbottomPanel.setLayout(new FlowLayout(FlowLayout.RIGHT, 5, 0));\n\t\t// Se añaden los componentes al bottomPanel\n\t\tbtnLogOut = new JButton(\"Cerrar Sesión\");\n\t\tbtnLogOut.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));\n\t\tbtnLogOut.setBorder(null);\n\t\tbtnLogOut.setBackground(new Color(233, 196, 106));\n\t\tbtnLogOut.setFont(new Font(\"SansSerif\", Font.BOLD, 12));\n\t\tbottomPanel.add(btnLogOut);\n\n\t\tJLabel lblLogOut = new JLabel(\"X\");\n\t\tlblLogOut.setForeground(new Color(220, 20, 60));\n\t\tlblLogOut.setFont(new Font(\"SansSerif\", Font.BOLD, 13));\n\t\tbottomPanel.add(lblLogOut);\n\n\t\t/*\n\t\t * mainPanel. Dentro se crean otros paneles para añadir los distintos\n\t\t * componentes.\n\t\t */\n\t\tJPanel mainPanel = new JPanel();\n\t\tmainPanel.setBorder(new MatteBorder(2, 2, 1, 1, (Color) new Color(0, 0, 0)));\n\t\tframe.getContentPane().add(mainPanel);\n\t\tGridBagLayout gbl_mainPanel = new GridBagLayout();\n\t\tgbl_mainPanel.columnWidths = new int[] { 1061, 0 };\n\t\tgbl_mainPanel.rowHeights = new int[] { 137, 298, 328, 0 };\n\t\tgbl_mainPanel.columnWeights = new double[] { 0.0, Double.MIN_VALUE };\n\t\tgbl_mainPanel.rowWeights = new double[] { 0.0, 0.0, 0.0, Double.MIN_VALUE };\n\t\tmainPanel.setLayout(gbl_mainPanel);\n\n\t\t// Paneles que componen el mainPanel\n\n\t\tJPanel clientPanel = new JPanel();\n\t\tGridBagConstraints gbc_clientesPanel = new GridBagConstraints();\n\t\tgbc_clientesPanel.fill = GridBagConstraints.BOTH;\n\t\tgbc_clientesPanel.insets = new Insets(0, 0, 5, 0);\n\t\tgbc_clientesPanel.gridx = 0;\n\t\tgbc_clientesPanel.gridy = 0;\n\t\tmainPanel.add(clientPanel, gbc_clientesPanel);\n\t\tclientPanel.setLayout(new BorderLayout());\n\t\tclientPanel.setPreferredSize(new Dimension(10, 50));\n\n\t\t// Añadir Jlabel a clientesPanel\n\t\tJLabel lblClientData = new JLabel(\"Datos del cliente\");\n\t\tlblClientData.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tlblClientData.setFont(new Font(\"SansSerif\", Font.BOLD, 25));\n\t\tclientPanel.add(lblClientData, BorderLayout.CENTER);\n\n\t\t// Panel para rellenar datos de cliente.\n\t\tJPanel clientDataPanel = new JPanel();\n\t\tGridBagConstraints gbc_datosClientePanel = new GridBagConstraints();\n\t\tgbc_datosClientePanel.fill = GridBagConstraints.BOTH;\n\t\tgbc_datosClientePanel.insets = new Insets(0, 0, 5, 0);\n\t\tgbc_datosClientePanel.gridx = 0;\n\t\tgbc_datosClientePanel.gridy = 1;\n\t\tmainPanel.add(clientDataPanel, gbc_datosClientePanel);\n\t\tclientDataPanel.setLayout(new GridLayout(1, 2));\n\n\t\tJPanel clientDataPanelLeft = new JPanel();\n\t\tclientDataPanel.add(clientDataPanelLeft);\n\t\tSpringLayout sl_datosClientePanelLeft = new SpringLayout();\n\t\tclientDataPanelLeft.setLayout(sl_datosClientePanelLeft);\n\n\t\t// Componentes panel derecho\n\t\t// Añadir Jlabel y JText para los distintos datos del ciente\n\t\tJLabel lblCod = new JLabel(\"Código de cliente:\");\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.NORTH, lblCod, 26, SpringLayout.NORTH, clientDataPanelLeft);\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.WEST, lblCod, 70, SpringLayout.WEST, clientDataPanelLeft);\n\t\tlblCod.setFont(new Font(\"SansSerif\", Font.PLAIN, 15));\n\t\tclientDataPanelLeft.add(lblCod);\n\n\t\ttxtCod = new JTextField();\n\t\ttxtCod.setEnabled(false);\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.NORTH, txtCod, -3, SpringLayout.NORTH, lblCod);\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.WEST, txtCod, 74, SpringLayout.EAST, lblCod);\n\t\ttxtCod.setFont(new Font(\"SansSerif\", Font.PLAIN, 15));\n\t\ttxtCod.setColumns(10);\n\t\tclientDataPanelLeft.add(txtCod);\n\n\t\t// Añadir Jlabel y JText para los distintos datos del ciente\n\t\tJLabel lblNombreCliente = new JLabel(\"Nombre:\");\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.NORTH, lblNombreCliente, 26, SpringLayout.SOUTH, lblCod);\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.WEST, lblNombreCliente, 0, SpringLayout.WEST, lblCod);\n\t\tlblNombreCliente.setFont(new Font(\"SansSerif\", Font.PLAIN, 15));\n\t\tclientDataPanelLeft.add(lblNombreCliente);\n\n\t\ttxtName = new JTextField();\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.NORTH, txtName, -3, SpringLayout.NORTH, lblNombreCliente);\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.WEST, txtName, 0, SpringLayout.WEST, txtCod);\n\t\ttxtName.setFont(new Font(\"SansSerif\", Font.PLAIN, 15));\n\t\ttxtName.setColumns(10);\n\t\tclientDataPanelLeft.add(txtName);\n\n\t\t// Añadir Jlabel y JText para los distintos datos del ciente\n\t\tJLabel lblSurnames = new JLabel(\"Apellidos:\");\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.NORTH, lblSurnames, 26, SpringLayout.SOUTH,\n\t\t\t\tlblNombreCliente);\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.WEST, lblSurnames, 0, SpringLayout.WEST, lblCod);\n\t\tlblSurnames.setFont(new Font(\"SansSerif\", Font.PLAIN, 15));\n\t\tclientDataPanelLeft.add(lblSurnames);\n\n\t\ttxtSurnames = new JTextField();\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.NORTH, txtSurnames, -3, SpringLayout.NORTH, lblSurnames);\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.WEST, txtSurnames, 0, SpringLayout.WEST, txtCod);\n\t\ttxtSurnames.setFont(new Font(\"SansSerif\", Font.PLAIN, 15));\n\t\ttxtSurnames.setColumns(10);\n\t\tclientDataPanelLeft.add(txtSurnames);\n\n\t\tJLabel lblDni = new JLabel(\"DNI:\");\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.NORTH, lblDni, 26, SpringLayout.SOUTH, lblSurnames);\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.WEST, lblDni, 0, SpringLayout.WEST, lblCod);\n\t\tlblDni.setFont(new Font(\"SansSerif\", Font.PLAIN, 15));\n\t\tclientDataPanelLeft.add(lblDni);\n\n\t\ttxtDni = new JTextField();\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.NORTH, txtDni, -3, SpringLayout.NORTH, lblDni);\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.WEST, txtDni, 0, SpringLayout.WEST, txtCod);\n\t\ttxtDni.setFont(new Font(\"SansSerif\", Font.PLAIN, 15));\n\t\ttxtDni.setColumns(10);\n\t\tclientDataPanelLeft.add(txtDni);\n\n\t\t// Añadir Jlabel y JText para los distintos datos del ciente\n\t\tJLabel lblTelephone = new JLabel(\"Teléfono:\");\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.NORTH, lblTelephone, 26, SpringLayout.SOUTH, lblDni);\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.WEST, lblTelephone, 0, SpringLayout.WEST, lblCod);\n\t\tlblTelephone.setFont(new Font(\"SansSerif\", Font.PLAIN, 15));\n\t\tclientDataPanelLeft.add(lblTelephone);\n\n\t\ttxtTelephone = new JTextField();\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.NORTH, txtTelephone, -3, SpringLayout.NORTH, lblTelephone);\n\t\tsl_datosClientePanelLeft.putConstraint(SpringLayout.WEST, txtTelephone, 0, SpringLayout.WEST, txtCod);\n\t\ttxtTelephone.setFont(new Font(\"SansSerif\", Font.PLAIN, 15));\n\t\ttxtTelephone.setColumns(10);\n\t\tclientDataPanelLeft.add(txtTelephone);\n\n\t\tJPanel clientDataPanelRight = new JPanel();\n\t\tclientDataPanel.add(clientDataPanelRight);\n\n\t\tJPanel bottonPanel = new JPanel();\n\t\tGridBagConstraints gbc_botonPanel = new GridBagConstraints();\n\t\tgbc_botonPanel.fill = GridBagConstraints.BOTH;\n\t\tgbc_botonPanel.gridx = 0;\n\t\tgbc_botonPanel.gridy = 2;\n\t\tmainPanel.add(bottonPanel, gbc_botonPanel);\n\t\tbottonPanel.setLayout(new FlowLayout(1, 250, 100));\n\n\t\t// Botones\n\t\tbackButton = new JButton(\"Volver al menú\");\n\t\tbackButton.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));\n\t\tbackButton.setFont(new Font(\"SansSerif\", Font.BOLD, 15));\n\t\tbackButton.setBackground(new Color(244, 162, 97));\n\t\tbackButton.setForeground(Color.WHITE);\n\t\tbottonPanel.add(backButton);\n\n\t\tregisterButton = new JButton(\"Añadir cliente\");\n\t\tregisterButton.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));\n\t\tregisterButton.setFont(new Font(\"SansSerif\", Font.BOLD, 15));\n\t\tregisterButton.setBackground(new Color(231, 111, 81));\n\t\tregisterButton.setForeground(Color.WHITE);\n\t\tbottonPanel.add(registerButton);\n\n\t}", "public TelaConversao() {\n initComponents();\n }", "protected void CriarComponentes(){\n\n //VINCULANDO A LISTA DA TELA AO LISTVIEW QUE DECLARAMOS\n ListMenu = (ListView) this.findViewById(R.id.ListMenu);\n }", "public Vencimientos() {\n initComponents();\n \n \n }", "public void addComponents(){\n add(spelerIDLabel);\n add(typeLabel);\n add(codeLabel);\n add(heeftBetaaldLabel);\n\n add(spelerIDField);\n add(typeField);\n add(codeField);\n add(heeftBetaaldField);\n\n add(klaarButton);\n add(terugButton);\n\n }", "private void addComponents() {\n\t\t\n\t\t// prima riga di lettere\n\t\tfor (int i = 0; i < 10; i++)\n\t\t\tadd(letterLabel(i));\n\t\t\t\n\t\t/* la scacchiera ha l'oringine 0,0 in basso a sinistra\n\t\t * mentre la griglia si riempie di elementi dall'alto\n\t\t * percio' il for delle x (j) cresce mentre popoliamo le celle (bottoni)\n\t\t * mentre il for delle y (i) decresce man mano che passiamo di riga in riga */\n\t\tfor (int i = 7; i >= 0; i--)\n\t\t\tfor (int j = 0; j < 10; j++) {\n\t\t\t\tif (j == 0 || j == 9)\n\t\t\t\t\tadd(numberLabel(i + 1));\n\t\t\t\telse\n\t\t\t\t\tadd(buttons[j - 1][i]);\n\t\t\t}\n\t\t\n\t\t// ultima riga (uguale alla prima)\n\t\tfor (int i = 0; i < 10; i++)\n\t\t\tadd(letterLabel(i));\n\t}", "public abstract void setupComponent();", "@Subcomponent(modules = GameActivitySubcomponentBuildersModule.class)\npublic interface GameActivityComponent extends AndroidInjector<GameActivity> {\n\n\n @Subcomponent.Builder\n abstract class Builder extends AndroidInjector.Builder<GameActivity> {\n\n }\n\n}", "private void makeComponents() {\n Font font = new Font(\"Open Sans\", Font.PLAIN, 14);\n\n //Create The buttons and configure their visual design.\n searchArea.setFont(font);\n searchArea.setBorder(new CompoundBorder(BorderFactory.createMatteBorder(4, 7, 4, 7, DrawAttribute.lightblue), BorderFactory.createRaisedBevelBorder()));\n searchArea.setBounds(20, 20, 300, 37);\n searchArea.setActionCommand(\"searchAreaInput\");\n\n makeFrontGUIButtons();\n }", "public interface PetriNetViewComponent {\n /**\n * Delete the petri net view component\n */\n void delete();\n\n /**\n * Each subclass should know how to add itself to a PetriNetTab\n * @param container to add itself to\n */\n void addToContainer(Container container);\n\n\n}", "private void addComponents() {\n\t\tthis.add(btn_pause);\n\t\tthis.add(btn_continue);\n\t\tthis.add(btn_restart);\n\t\tthis.add(btn_rank);\n\t\tif(Config.user.getUsername().equals(\"root\")) {\n\t\t\tthis.add(btn_admin);\n\t\t}\n\t\n\t\t\n\t}", "@Override\npublic void childComponentsAdditionStarted() {\n\t\n}", "private void initComponent() {\n\t\taddGrid();\n\t\taddToolBars();\n\t}", "void addComponent(Component component);", "public void InicializarComponentes() {\n campoCadastroNome = findViewById(R.id.campoCadastroNome);\n campoCadastroEmail = findViewById(R.id.campoCadastroEmail);\n campoCadastroSenha = findViewById(R.id.campoCadastroSenha);\n switchEscolhaTipo = findViewById(R.id.switchCadastro);\n botaoFinalizarCadastro = findViewById(R.id.botaoFinalizarCriacao);\n\n\n }", "public ComponentMover() {\n\t}", "@Override\npublic void add(VirtualContainer parent, VirtualComponent comp, int pos) {\n\t\n}", "public void addComponent(Component c);", "public LgSistema() {\n initComponents();\n }", "void instantiateComponents();", "public void add(Component c){}", "public VentanaAdministradorVista() {\n initComponents();\n }", "public ClientesAgregar() {\n initComponents();\n }", "public ComandaPanel() {\n\n initComponents();\n // comanda = new Comanda();\n }", "public interface ComponentSystem {\n /**\n * AddListener's common function, according event type to add certain listener\n * \n * @param listener listener to be add\n */\n public void addListener(EventListener listener);\n\n /**\n * @return listener type\n */\n public ListenerType getListenerType();\n\n /**\n * Set the component name\n * \n * @param name name of component\n */\n public void setComponentName(ComponentName name);\n\n /**\n * @return component name\n */\n public ComponentName getComponentName();\n}", "public VPacientes() {\n initComponents();\n inicializar();\n }", "public ingresar_Sistema() {\n initComponents();\n }", "public void addComponent(String name, Component newComp);", "Component getComponent() {\n/* 224 */ return this.component;\n/* */ }", "Compleja createCompleja();", "private void createUIComponents() {\n Fond = new JLabel(new ImageIcon(\"maxresdefault.jpg\"));\r\n Fond.setIcon(new ImageIcon(\"maxresdefault.jpg\"));\r\n }", "private void createComponentFramework(\n\t\t\tint numberOfComponentNames,\n\t\t\tint depthOfComponentTree,\n\t\t\tint maxOutDegreeOfComponents) {\n\t\tObject root = \"root\";\n\t\tthis.myComponentFramework.getComponentTree().addVertex(root);\n\t\tthis.myComponentFramework.getComponentTree().setRoot(root);\n\t\tthis.myComponentFramework.extractInformationFor(root, \"N\"+ThreadLocalRandom.current().nextInt(0, numberOfComponentNames));\n\t\ttry{\n\t\t\trecurseAndCreateComponentTree(root,numberOfComponentNames,depthOfComponentTree-1,maxOutDegreeOfComponents);\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t\n\t}", "public vistaPanelPelicula() {\r\n initComponents();\r\n }", "private void addComponents() {\n LOOGER.info(\"Get add Components Entry\");\n // Adding loadButton to first row.\n this.add(loadButton);\n\n // Adding fillButton to first row.\n this.add(fillButton);\n\n // Adding deleteButton to first row.\n this.add(deleteButton);\n LOOGER.info(\"add Components exit\");\n }", "public CrearProductos() {\n initComponents();\n }", "public RegisterComponents()\n\t{\n\t\tsetLayout(new BorderLayout(0, 20));\n\n\t\t/*\n\t\tdocumentation on gridBagConstraint: \n\t\thttps://docs.oracle.com/javase/tutorial/uiswing/layout/gridbag.html\n\t\t*/\n\n\t\t// following methos add the labels and textfields to the panel\n\n\t\tdispCompFirstName();\n\t\tdispCompLastName();\n\t\tdispCompRoomNo();\n\t\tdispCompPhone();\n\t\tdispCompStudentID();\n\t\tdispCompCreatePass();\n\t\tdispCompConfirmPass();\n\n\t\t// the textfield added from above methods are resized via method componentResized()\n\n\t\t// this listens for resize events\n\t\taddComponentListener(this);\n add(compPanel, \"North\");\n\t}", "public LibroDiario() {\n initComponents();\n }" ]
[ "0.7100026", "0.7100026", "0.7100026", "0.7100026", "0.7100026", "0.7100026", "0.7100026", "0.7100026", "0.7100026", "0.7100026", "0.7100026", "0.7100026", "0.7100026", "0.7100026", "0.7100026", "0.7100026", "0.7100026", "0.7100026", "0.7092966", "0.6744823", "0.6744823", "0.6732908", "0.6727042", "0.66872036", "0.66822004", "0.6674655", "0.6657832", "0.6610414", "0.65948826", "0.65616137", "0.65551406", "0.6553929", "0.65538293", "0.64753014", "0.6443482", "0.6373685", "0.63499707", "0.6348584", "0.63135624", "0.63054293", "0.62989503", "0.62989503", "0.6287387", "0.6278986", "0.62772137", "0.6260016", "0.62319326", "0.6230475", "0.62025374", "0.61773443", "0.61705804", "0.6167204", "0.61462224", "0.6144862", "0.6131252", "0.6114644", "0.61134124", "0.611236", "0.6109931", "0.61009", "0.60985667", "0.60947686", "0.6090094", "0.6081969", "0.6077647", "0.6040998", "0.603953", "0.6036768", "0.6022552", "0.6011414", "0.5992063", "0.5991646", "0.59899825", "0.5985823", "0.59840703", "0.59786844", "0.59668326", "0.5966779", "0.59648055", "0.5953556", "0.59470016", "0.59426093", "0.59225893", "0.59200495", "0.5907282", "0.5906352", "0.5903023", "0.5895522", "0.58832926", "0.5863326", "0.5849961", "0.5847952", "0.58454704", "0.58343744", "0.58324176", "0.58306336", "0.58296055", "0.5825135", "0.5823034", "0.5816119", "0.5811952" ]
0.0
-1
Acciones de la ventana
public void open() { this.createContents(); WindowBuilder delegate = this.getDelegate(); delegate.setTitle(this.title); delegate.setContents(this); delegate.setIcon(this.iconImage); delegate.setMinHeight(this.minHeight); delegate.setMinWidth(this.minWidth); delegate.open(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void AumentarVictorias() {\r\n\t\tthis.victorias_actuales++;\r\n\t\tif (this.victorias_actuales >= 9) {\r\n\t\t\tthis.TituloNobiliario = 3;\r\n\t\t} else if (this.victorias_actuales >= 6) {\r\n\t\t\tthis.TituloNobiliario = 2;\r\n\t\t} else if (this.victorias_actuales >= 3) {\r\n\t\t\tthis.TituloNobiliario = 1;\r\n\t\t} else {\r\n\t\t\tthis.TituloNobiliario = 0;\r\n\t\t}\r\n\t}", "public void aumentarAciertos() {\r\n this.aciertos += 1;\r\n this.intentos += 1; \r\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 void accusation() {\n\t\tNotebook notebook = turnController.getData().getCurrentTurn()\n\t\t\t\t.getPlayer().getNotebook();\n\t\tCard room = notebook.getViableCards(Card.Type.ROOM).get(0);\n\t\tCard suspect = notebook.getViableCards(Card.Type.SUSPECT).get(0);\n\t\tCard weapon = notebook.getViableCards(Card.Type.WEAPON).get(0);\n\n\t\tturnController.makeAccusation(room, suspect, weapon);\n\t}", "public String accionemergencia(){\n\t\tString resp=\"\";\n\t\tif(puntosvida<=5 && acc!=1){\n\t\t\tpuntosvida=puntosvida+15;\n\t\t\tresp=\"\\nAccion de emergencia \"+ tipo +\"activada vida +15\";\n\t\t\tacc=1;\n\t\t}\n\t\treturn resp;\n\t}", "public int getAtracciones(){\n return atracciones.size(); \n }", "int getActivacion();", "private void almacenarEstadisticas(String resultado){\n int nivel = palabraActual.getDificultad();\n String str_nivel = \"\";\n switch (nivel){\n case BaseDatos.B1: str_nivel = MainActivity.KEY_PET; break;\n case BaseDatos.B2: str_nivel = MainActivity.KEY_FIRST; break;\n case BaseDatos.C1: str_nivel = MainActivity.KEY_ADVANCED; break;\n }\n\n int contador;\n try {\n contador = PreferenceManager.getInt(str_nivel+resultado, this);\n } catch (Exception e) {\n contador = 0;\n }\n PreferenceManager.putInt(str_nivel+resultado,contador+1,this);\n almacenarFallos();\n }", "protected void accionUsuario() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initAcciones() {\r\n\t\tacciones.put(\"Buscar\", new AccionBuscarEvento());\r\n\t\tacciones.put(\"Consultar\", new AccionConsultarEvento());\r\n\t\tacciones.put(\"Agregar\", new AccionAgregarEvento());\r\n\t}", "@Override\n\tpublic String describirActividades() {\n\t\treturn (\"Soy el secretario, recibo documentos, atiendo llamadas telefónicas y atiendo visitas\");\n\t}", "@Override\n\tpublic String describirActividades() {\n\t\treturn (\"Soy el secretario, recibo documentos, atiendo llamadas telefónicas y atiendo visitas\");\n\t}", "public void comprobarEficaciaAccion() throws IOException{\n if((fVerif.SetVerificacionEficaciaAccion(FechaComprobacionEficacia, ObservacionesEficacia, ComprobacionSeleccionadaEficacia, AccionSeleccionada.getId()))== -1){\n FacesContext.getCurrentInstance().addMessage(\"form_seguimiento_accion:btn_comprobar_eficacia\", new FacesMessage(SEVERITY_FATAL, \"No se pudo comprobar eficacia\", \"No se pudo comprobar eficacia\" ));\n FacesContext.getCurrentInstance().renderResponse();\n }else{\n // regresar a la pagina listar acciones\n String url = FacesContext.getCurrentInstance().getExternalContext().getRequestContextPath();\n FacesContext.getCurrentInstance().getExternalContext().redirect(url+\"/Views/Acciones/General/SeguimientoAccion.xhtml?id=\"+AccionSeleccionada.getId());\n }\n }", "private void filtrarAccion() {\n\n if (cbOpcion.getSelectedIndex()==0) {\n paramFecha =false;\n jPanel1.setVisible(false);\n jPanel3.setVisible(false);\n }\n if (cbOpcion.getSelectedIndex() == 1) {\n System.out.println(\"opcion: \" + cbOpcion.getSelectedIndex());\n jPanel1.setVisible(true);\n jPanel3.setVisible(false);\n campo = \"cobran_codigo\";\n paramFecha = false;\n\n } \n if (cbOpcion.getSelectedIndex() == 2) {\n System.out.println(\"opcion: \" + cbOpcion.getSelectedIndex());\n jPanel1.setVisible(true);\n jPanel3.setVisible(false);\n campo = \"cli_codigo\";\n paramFecha = false;\n\n } if(cbOpcion.getSelectedIndex()==3) {\n System.out.println(\"seleccion:\" + cbOpcion.getSelectedIndex());\n jPanel1.setVisible(false);\n jPanel3.setVisible(true);\n campo = \"cobran_fecha\";\n paramFecha = true;\n }\n\n }", "float getVacationAccrued();", "@Override\n public void cantidad_Ataque(){\n ataque=5+2*nivel+aumentoT;\n }", "Activite getActiviteCourante();", "public void verSeleccionarAccion(String entidad)\r\n\t{\r\n\t\tseleccionaraccion = new SeleccionarAccion(this, entidad);\r\n\t\tseleccionaraccion.setVisible(true);\r\n\t}", "public String recuperaCultivoByEstadoAsigCA(){\n\t\tlstCultivo = iDAO.recuperaCultivoByInicilizacionEsquema(idInicializacionEsquema,idEstado);\n\t\t\n\t\treturn SUCCESS;\t\t\n\t}", "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}", "private void EstablecerVistas(TipoGestion tGestion){\n\t\tCantEjecutada=Utilitarios.round(activ.getCantidadEjecutada(),4);\n\t\n\t\tcantContratada=Utilitarios.round(activ.getCantidadContratada(),4);\n\t\t\n\t\t//CantPendienteDeEjecutar = Utilitarios.round((activ.getCantidadContratada()-activ.getCantidadEjecutada()),4);\n\n\n\t\tif ( activ.getCantidadEjecutada() > activ.getCantidadContratada()){\n\t\t\tCantPendienteDeEjecutar = 0;\n\t\t\tCantExcendete = Utilitarios.round((activ.getCantidadEjecutada()-activ.getCantidadContratada()),4);\n\t\t\tPorcExcedente = Utilitarios.round((CantExcendete / cantContratada * 100),2);\n\t\t\t((TextView) getActivity().findViewById(R.id.tv_fragAgregarAvancesRenglon_PorcCantidadExcedente)).setTextColor(getResources().getColorStateList(R.color.graphRed));\n\t\t}\n\t\telse{\n\t\t\tCantPendienteDeEjecutar = Utilitarios.round((activ.getCantidadContratada()-activ.getCantidadEjecutada()),4);\n\t\t\t((TextView) getActivity().findViewById(R.id.tv_fragAgregarAvancesRenglon_PorcCantidadExcedente)).setTextColor(getResources().getColorStateList(R.color.graphGreen));\n\t\t}\n\n\t\t\n\t\tif ( activ.getCantidadContratada() > 0){\n\t\t\t\tPorcEjecutado=Utilitarios.round((activ.getCantidadEjecutada()/cantContratada) * 100,2);\n\t\t\t\tPorcPendienteDeEjecutar = Utilitarios.round((CantPendienteDeEjecutar / cantContratada * 100),2);\n\t\t\t}\n\t\telse{\n\t\t\tPorcPendienteDeEjecutar\t= 0.00;\n\t\t\tPorcPendienteDeEjecutar = 0.00;\n\t\t}\n\n\t\t((TextView) getActivity()\n\t\t\t\t.findViewById(R.id.tv_fragAgregarAvancesRenglon_Actividad))\n\t\t\t\t.setText(String.valueOf(cantContratada));\n\n\t\t((TextView) getActivity()\n \t\t\t.findViewById(R.id.tv_fragAgregarAvancesRenglon_CantidadContratada))\n \t\t\t.setText(String.valueOf(cantContratada));\n\n \t((TextView) getActivity()\n \t\t\t.findViewById(R.id.tv_fragAgregarAvancesRenglon_CantidadEjecutada))\n \t\t\t.setText(String.valueOf(CantEjecutada));\n\n \t((TextView) getActivity()\n \t\t\t.findViewById(R.id.tv_fragAgregarAvancesRenglon_PorcCantidadEjecutada))\n \t\t\t.setText( String.valueOf(PorcEjecutado) + \"%\");\n\n\n \ttvEtiquetaAgregarAvances.setText(getActivity().getString(R.string.fragment_agregar_avances_renglon_4));\n\n\t\tdesActividad.setText(\"[\" + activ.getCodigoInstitucional() + \"] - \" + activ.getDescripcion());\n \t\n\t\tif(tGestion == TipoGestion.Por_Cantidades){\n\t\t\t((TextView) getActivity()\n \t\t\t.findViewById(R.id.et_fragAgregarAvancesEtiquetaPorc))\n \t\t\t.setVisibility(0);\n \t}\n \telse{\n \t\t\n \t\t((TextView) getActivity()\n \t\t\t.findViewById(R.id.et_fragAgregarAvancesEtiquetaPorc))\n \t\t\t.setText(\"%\");\n\n \t}\n\n\t\t\n\t\t//Se deshabilitara el widget de ingreso del avance para cuando la cantidad\n\t\t//pendiente de ejecutar sea igual o menor a 0\n\t\t/*if (CantPendienteDeEjecutar>0){\n \t((TextView) getActivity()\n \t\t\t.findViewById(R.id.tv_fragAgregarAvancesRenglon_FechaActualizo))\n \t\t\t.setText(getActivity().getResources().getString(R.string.fragment_agregar_avances_renglon_2)\n \t\t\t\t\t+ \" \" + String.valueOf(activ.getFechaActualizacion()));\n \t}\n \telse\n \t{\n \t\tToast.makeText(getActivity(), getActivity().getString(R.string.fragment_agregar_avances_renglon_5), Toast.LENGTH_LONG).show();\n \t\tetNuevoAvance.setText(\"0.00\");\n \t\tetNuevoAvance.setEnabled(false);\n \t}*/\n \t\n \t((TextView) getActivity()\n \t\t\t.findViewById(R.id.tv_fragAgregarAvancesRenglon_CantidadPorEjecutar))\n \t\t\t.setText(String.valueOf(Utilitarios.round(CantPendienteDeEjecutar, 4)));\n \t((TextView) getActivity()\n \t\t\t.findViewById(R.id.tv_fragAgregarAvancesRenglon_PorcCantidadPorEjecutar))\n \t\t\t.setText(String.valueOf(Utilitarios.round(PorcPendienteDeEjecutar, 2)) + \"%\");\n\n\t\t((TextView) getActivity()\n\t\t\t\t.findViewById(R.id.tv_fragAgregarAvancesRenglon_CantidadExcedente))\n\t\t\t\t.setText(String.valueOf(Utilitarios.round(CantExcendete, 4)));\n\n\t\t((TextView) getActivity()\n\t\t\t\t.findViewById(R.id.tv_fragAgregarAvancesRenglon_PorcCantidadExcedente))\n\t\t\t\t.setText(String.valueOf(Utilitarios.round(PorcExcedente, 2)) + \"%\");\n\n\t\tvalidarAvance(String.valueOf(etNuevoAvance.getText()));\n \t\n \tetNuevoAvance.addTextChangedListener(new TextWatcher() {\n \t\t\n\t\t\t@Override\n\t\t\tpublic void beforeTextChanged(CharSequence s, int start,\n\t\t\t\t\tint count, int after) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onTextChanged(CharSequence s, int start,\n\t\t\t\t\tint before, int count) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void afterTextChanged(Editable s) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tvalidarAvance(s.toString());\n\t\t\t\t\t\t\t\t\t\n\t\t\t}\n \t});\n\t\t\n\t}", "public void acutualizarInfo(){\n String pibId = String.valueOf(comentario.getId());\n labelId.setText(\"#\" + pibId);\n\n String autor = comentario.getAutor().toString();\n labelAutor.setText(autor);\n\n String fecha = comentario.getFechaCreacion().toString();\n labelFecha.setText(fecha);\n \n String contenido = comentario.getContenido();\n textAreaContenido.setText(contenido);\n \n String likes = ((Integer)comentario.totalLikes()).toString();\n labelLikes.setText(likes);\n \n Collection<Comentario> comments = socialNetwork.searchSubComentarios(comentario);\n panelSubComentarios.loadItems(comments, 15);\n \n if(comentario.isSubcomentario()){\n jButton4.setEnabled(true);\n }\n else{\n jButton4.setEnabled(false);\n }\n }", "private void teclaPressionada(KeyEvent event) {\n Iterator<Janela> it = Mediador.getInstancia().getJanelas().values().iterator();\n while (it.hasNext()) {\n Janela janela = it.next();\n if (janela.isVisivel()) {\n janela.getCena().getControlador().teclaPressionada(event);\n }\n }\n }", "public String verDatos(){\n return \"Ataque: \"+ataque+\"\\nDefensa: \"+defensa+\"\\nPunteria: \"+punteria;\n }", "public Ventas() {\n setIdVenta(1);\n setIdCliente(1);\n setFecha(new Date());\n setEstado(0); \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}", "public void mostrarInstitucionAcceso(int institucion){\r\n periodoS=null;\r\n \r\n institucionAcceso=new institucionAccesoDAO().mostrarInstitucionAcceso(institucion);\r\n //LISTADO PERIODO INSTITUCION\r\n \r\n periodoL=new periodoDAO().mostrarPeriodoInstitucion(institucion);\r\n \r\n if (periodoL.size() >0){\r\n periodoS=periodoL.get(0).getPeriodo();\r\n }\r\n cargarMenu();\r\n }", "@Jpf.Action(forwards = { @Jpf.Forward(name = \"success\", path = \"vacantes.jsp\") })\n\tpublic Forward verVacantes() throws Exception{\n\t\tForward forward = new Forward(\"success\");\n\t\tforward.addActionOutput(\"usuario\", getCurrentUser());\n\t\tif(getRequest().isUserInRole(\"RH\")){\n\t\t\tforward.addActionOutput(\"userRH\", true);\n\t\t}\n\t\tCollection<Vacante> vacantes = UcmUtil.getVacantes(getRequest());\n\t\tgetRequest().setAttribute(\"vacantes\", vacantes);\n\t\t\n\t\treturn forward;\n\t}", "@Override\n\tpublic void verVehiculosDisponibles() {\n\t\tif(getCapacidad() > 0) {\n\t\t\tSystem.out.println(\"Plazas disponibles : \" + getCapacidad() + \" plazas, peso disponible : \" + getPeso() + \" kg, Carros disponibles: \" + \" 1 \" + \" Carro disponible, Capacidad de Personas : 4 personas, Peso maximo : 500 kg\");\n\t\t}else\n\t\t{\n\t\t\tSystem.out.println(\"Plazas disponibles : \" + getCapacidad() + \" plazas, peso disponible : \" + getPeso() + \" kg, Carros disponibles: \" + \" 0 \" + \" Carro disponibles, Capacidad de Personas : 4 personas, Peso maximo : 500 kg\");\n\t\t}\n\t\t\n\t}", "public void mostraDados() {\n System.out.println(\"O canal atual é: \" + tv.getCanal());\n System.out.println(\"O volume atual é: \" + tv.getVolume());\n System.out.println(\"--------------------------------------\");\n }", "public boolean abilitaNuovoAccertamento(){\n\t\t\n\t\tif(isAzioneAbilitata(CodiciOperazioni.OP_ENT_insAcc)){\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "public void verAdicionarDatos(String entidad)\r\n\t{\r\n\t\tif(entidad.equalsIgnoreCase(\"Rol\"))\r\n\t\t{\r\n\t\t\tadicionardatosrol = new AdicionarDatosRol(this);\r\n\t\t\tadicionardatosrol.setVisible(true);\r\n\t\t}\r\n\t\tif(entidad.equalsIgnoreCase(\"Prueba\"))\r\n\t\t{\r\n\t\t\tadicionardatosprueba = new AdicionarDatosPrueba(this);\r\n\t\t\tadicionardatosprueba.setVisible(true);\r\n\t\t}\r\n\t\tif(entidad.equalsIgnoreCase(\"Pregunta\"))\r\n\t\t{\r\n\t\t\tadicionardatospregunta = new AdicionarDatosPregunta(this);\r\n\t\t\tadicionardatospregunta.setVisible(true);\r\n\t\t}\r\n\t\tif(entidad.equalsIgnoreCase(\"Escala\"))\r\n\t\t{\r\n\t\t\tadicionardatosescal = new AdicionarDatosEscala(this);\r\n\t\t\tadicionardatosescal.setVisible(true);\r\n\t\t\tcaracteristicasescal.clear();\r\n\t\t}\r\n\t\tif(entidad.equalsIgnoreCase(\"Competencia\"))\r\n\t\t{\r\n\t\t\tadicionarcompetencia = new AdicionarDatosCompetencia(this);\r\n\t\t\tadicionarcompetencia.setVisible(true);\r\n\t\t}\r\n\t\tif(entidad.equalsIgnoreCase(\"Regla\"))\r\n\t\t{\r\n\t\t\tverSelecionarReglaConocimiento(\"Adicionar\");\r\n\t\t}\r\n\t}", "public String[] showAccusationDialog() {\n\t\tframe.enableAccuseBtn(false);\n\t\treturn new String[]{frame.unDave(showCharacterAccusations()),\n\t\t\t\tframe.unDave(showWeaponAccusations()),frame.unDave(showRoomAccusations())};\n\t}", "public VueAccueil() {\r\n initComponents();\r\n }", "public void anulaAvaluo() {\r\n try {\r\n if (\"\".equals(mBRadicacion.Radi.getObservacionAnulaAvaluo())) {\r\n mbTodero.setMens(\"Falta informacion por Llenar\");\r\n mbTodero.warn();\r\n } else {\r\n int CodRad = mBRadicacion.Radi.getCodAvaluo();\r\n mBRadicacion.Radi.AnulaRadicacion(mBsesion.codigoMiSesion());\r\n mbTodero.setMens(\"El Avaluo N*: \" + CodRad + \" ha sido anulada\");\r\n mbTodero.info();\r\n mbTodero.resetTable(\"FRMSeguimiento:SeguimientoTable\");\r\n mbTodero.resetTable(\"FormMisAsignados:RadicadosSegTable\");\r\n RequestContext.getCurrentInstance().execute(\"PF('DLGAnuAvaluo').hide()\");\r\n ListSeguimiento = Seg.ConsulSeguimAvaluos(mBsesion.codigoMiSesion());//VARIABLES DE SESION\r\n }\r\n } catch (Exception e) {\r\n mbTodero.setMens(\"Error en el metodo '\" + this.getClass() + \".anulaAvaluo()' causado por: \" + e.getMessage());\r\n mbTodero.error();\r\n }\r\n }", "public void menuTipoActividad() {\n\t\tSystem.out.println(\"MENU TIPOS ACTIVIDAD\");\n\t\tSystem.out.println(\"1. LOW\");\n\t\tSystem.out.println(\"2. MEDIUM\");\n\t\tSystem.out.println(\"3. HIGH\");\n\t}", "private void RealizarAccion() {\n if (ValidarCampos()) {\n\n persona.setPrimerNombre(txtPrimerNombre.getText());\n persona.setSegundoNombre(txtSegundoNombre.getText());\n persona.setPrimerApellido(txtPrimerApellido.getText());\n persona.setSegundoApellido(txtSegundoApellido.getText());\n persona.setTelefono(txtTelefono.getText());\n persona.setCedula(txtCedula.getText());\n persona.setCorreo(txtCorreo.getText());\n persona.setDireccion(txtDireccion.getText());\n\n empleado.setFechaInicio(dcFechaInicio.getDate());\n empleado.setSalario(Double.parseDouble(txtSalario.getText()));\n empleado.setCargo(txtCargo.getText());\n empleado.setUsuarioByUserModificacion(SessionHelper.usuario);\n empleado.setFechaModificacion(new Date());\n empleado.setRegAnulado(false);\n\n switch (btnAction.getText()) {\n case \"Guardar\":\n int maxid = personaBean.MaxId() + 1;\n persona.setIdPersona(maxid);\n\n Dbcontext.guardar(persona);\n\n empleado.setIdEmpleado(maxid);\n empleado.setPersona(persona);\n empleado.setUsuarioByUserCreacion(SessionHelper.usuario);\n empleado.setFechaCreacion(new Date());\n\n Dbcontext.guardar(empleado);\n break;\n\n case \"Actualizar\":\n\n Dbcontext.actualizar(persona);\n\n Dbcontext.actualizar(empleado);\n break;\n }\n if (ifrRegistroEmpleados.isActive) {\n ifrRegistroEmpleados.CargarTabla();\n }\n\n Mensajes.OperacionExitosa(this);\n dispose();\n } else {\n Mensajes.InformacionIncompleta(this);\n }\n }", "public void verDatosEntidad(String entidad)\r\n\t{\r\n\t\tif(entidad.equalsIgnoreCase(\"Rol\"))\r\n\t\t{\r\n\t\t\tverdatosroles = new VerDatosRoles(this);\r\n\t\t\tverdatosroles.setVisible(true);\r\n\t\t}\r\n\t\tif(entidad.equalsIgnoreCase(\"Prueba\"))\r\n\t\t{\r\n\t\t\tverdatospruebas = new VerDatosPruebas(this);\r\n\t\t\tverdatospruebas.setVisible(true);\r\n\t\t}\r\n\t\tif(entidad.equalsIgnoreCase(\"Pregunta\"))\r\n\t\t{\r\n\t\t\tverdatospreguntas = new VerDatosPreguntas(this);\r\n\t\t\tverdatospreguntas.setVisible(true);\r\n\t\t}\r\n\t\tif(entidad.equalsIgnoreCase(\"Escala\"))\r\n\t\t{\r\n\t\t\tverdatosescalas = new VerDatosEscalas(this);\r\n\t\t\tverdatosescalas.setVisible(true);\r\n\t\t}\r\n\t\tif(entidad.equalsIgnoreCase(\"Competencia\"))\r\n\t\t{\r\n\t\t\tverdatoscompeten = new VerDatosCompetencias(this);\r\n\t\t\tverdatoscompeten.setVisible(true);\r\n\t\t}\r\n\t\tif(entidad.equalsIgnoreCase(\"Regla\"))\r\n\t\t{\r\n\t\t\tverSelecionarReglaConocimiento(\"Ver\");\r\n\t\t}\r\n\t}", "public static void atacar(){\n int aleatorio; //variables locales a utilizar\n Random numeroAleatorio = new Random(); //declarando variables tipo random para aleatoriedad\n int ataqueJugador;\n //acciones de la funcion atacar sobre vida del enemigo\n aleatorio = (numeroAleatorio.nextInt(20-10+1)+10);\n ataqueJugador= ((nivel+1)*10)+aleatorio;\n puntosDeVidaEnemigo= puntosDeVidaEnemigo-ataqueJugador;\n \n }", "public String associaAuditors(){\n\t\tHttpServletRequest request = ServletActionContext.getRequest();\n\t\tDatiUtente user = (DatiUtente) request.getSession().getAttribute(\"DatiUtente\");\n\t\t\n\t\tlong idUtente=getModel().getIdAuditors();\n\t\tlong idAccesso=user.getIdSessione();\n\t\t\n\t\t//AuAssUtenteSessione ass = new AuAssUtenteSessione();\n\t\tAuAssUtenteSessione ass = auditService.getAssociazioneAuditors(idAccesso, idUtente);\n\t\tass.setIdSessione(idAccesso);\n\t\tass.setIdUtente(idUtente);\n\t\tass.setDataInizio(new Date());\n\t\tass.setDataFine(null);\n\t\tAuAssUtenteSessione managed=(AuAssUtenteSessione)auditService.salva(ass);\n\t\t\n\t\treturn SUCCESS;\n\t}", "private void atualizarTela() {\n\t\tSystem.out.println(\"\\n*** Refresh da Pagina / Consultando Todos os Registro da Tabela Paciente\\n\");\n\t\tpaciente = new Paciente();\n\t\tlistaPaciente = pacienteService.buscarTodos();\n\t\t\n\t}", "private ControleurAcceuil(){ }", "public void inativarMovimentacoes() {\n\n\t\ttry {\n\n\t\t\tif (((auxMovimentacao.getDataMovimentacao())\n\t\t\t\t\t.before(permitirCadastrarMovimentacao(movimentacao.getAlunoTurma()).getDataMovimentacao()))\n\t\t\t\t\t|| (auxMovimentacao.getDataMovimentacao()).equals(\n\t\t\t\t\t\t\tpermitirCadastrarMovimentacao(movimentacao.getAlunoTurma()).getDataMovimentacao())\n\t\t\t\t\t) {\n\t\t\t\tExibirMensagem.exibirMensagem(Mensagem.MOVIMENTACOES_ANTERIORES);\n\t\t\t} else {\n\n\t\t\t\tDate dataFinal = auxMovimentacao.getDataMovimentacao();\n\t\t\t\tCalendar calendarData = Calendar.getInstance();\n\t\t\t\tcalendarData.setTime(dataFinal);\n\t\t\t\tcalendarData.add(Calendar.DATE, -1);\n\t\t\t\tDate dataInicial = calendarData.getTime();\n\n\t\t\t\tMovimentacao mov = new Movimentacao();\n\t\t\t\tmov = (Movimentacao) movimentacaoAlunoDAO.listarTodos(Movimentacao.class,\n\t\t\t\t\t\t\" a.dataMovimentacao = (select max(b.dataMovimentacao) \"\n\t\t\t\t\t\t\t\t+ \" from Movimentacao b where b.alunoTurma = a.alunoTurma) \"\n\t\t\t\t\t\t\t\t+ \" and a.status is true and a.alunoTurma.status = true and dataMovimentacaoFim = null and a.alunoTurma = \"\n\t\t\t\t\t\t\t\t+ movimentacao.getAlunoTurma().getId())\n\t\t\t\t\t\t.get(0);\n\n\t\t\t\tmov.setControle(false);\n\t\t\t\tmov.setDataMovimentacaoFim(dataInicial);\n\t\t\t\tmovimentacaoService.inserirAlterar(mov);\n\n\t\t\t\tAlunoTurma aluno = new AlunoTurma();\n\t\t\t\taluno = daoAlunoTurma.buscarPorId(AlunoTurma.class, movimentacao.getAlunoTurma().getId());\n\t\t\t\taluno.setControle(0);\n\t\t\t\t\n\n\t\t\t\tauxMovimentacao.setAlunoTurma(movimentacao.getAlunoTurma());\n\t\t\t\tauxMovimentacao.setStatus(true);\n\t\t\t\tauxMovimentacao.setControle(false);\n\n\t\t\t\tmovimentacaoService.inserirAlterar(auxMovimentacao);\n\t\t\t\t\n\t\t\t\tif(auxMovimentacao.getSituacao()==5){\n//\t\t\t\t\t\n//\t\t\t\t\tCurso cursoAluno = new Curso();\n//\t\t\t\t\tcursoAluno = daoCurso.buscarPorId(Curso.class, auxMovimentacao.getAlunoTurma().getTurma().getCurso().getId());\n\t\t\t\t\t\n\t\t\t\t\taluno.setSituacao(5);\n\t\t\t\t\taluno.setLiberado(false);\n\t\t\t\t\talunoTurmaService.inserirAlterar(aluno);\n\t\t\t\t\t\n\t\t\t\t\t//liberar para responder o questionário\n\t\t\t\t\tAluno alunoResponde = new Aluno(); \n\t\t\t\t\talunoResponde = daoAluno.buscarPorId(Aluno.class, aluno.getAluno().getId());\n\t\t\t\t\t \n\t\t\t\t // email.setCursos(auxMovimentacao.getAlunoTurma().getTurma().getCurso());\n\t\t\t\t\t//email.setTurma(auxMovimentacao.getAlunoTurma().getTurma());\n\t\t\t\t\temail.setEnviado(false);\n\t\t\t\t\temail.setStatus(true);\n\t\t\t\t\temail.setAlunoTurma(auxMovimentacao.getAlunoTurma());\n\t\t\t\t\t\n\t\t\t\t\t//email.setAluno(alunoResponde);\n\t\t\t\t\temailService.inserirAlterar(email);\n\t\t\t\t\t//enviar o email para responder \n\t\t\t\t\t\n\t\t\t\t}else{\n\t\t\t\t\taluno.setSituacao(0);\n\t\t\t\t\talunoTurmaService.inserirAlterar(aluno);\n\t\t\t\t}\n\t\t\t\taluno = new AlunoTurma();\n\t\t\t\temail = new Email();\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tFecharDialog.fecharDialogAlunoCursoEditar();\n\t\t\t\tFecharDialog.fecharDialogAlunoEditarCurso();\n\t\t\t\tFecharDialog.fecharDialogAlunoTrancamento();\n\t\t\t\talterar(movimentacao);\n\n\t\t\t\tExibirMensagem.exibirMensagem(Mensagem.SUCESSO);\n\t\t\t\tauxMovimentacao = new Movimentacao();\n\n\t\t\t\talunoTurmaService.update(\" AlunoTurma set permiteCadastroCertificado = 2 where id = \"\n\t\t\t\t\t\t+ movimentacao.getAlunoTurma().getId());\n\n\t\t\t\n\t\t\t\tcriarNovoObjetoAluno();\n\t\t\t\tatualizarListas();\n\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tExibirMensagem.exibirMensagem(Mensagem.ERRO);\n\t\t}\n\n\t}", "private void confirmarVentaRespuesta(final TransaccionCelda resp) {\n final ConfirmarVentaMapaDatos datos = service.getDatosConfirmar();\n respImprimir = resp;\n service.setDatosConfirmar(null);\n mostrarMensaje(getString(R.string.msg_venta_paquete_exitoso, datos.getPlaca()));\n contenedorBotonVenta.setVisibility(View.GONE);\n contenedorBotonImpresion.setVisibility(View.VISIBLE);\n final double costoTotal = service.getCostoTotal(resp);\n final String auditoria = getString(\n R.string.msg_venta_paquete_auditoria,\n datos.getZona().getNombre(), datos.getTarifa().getNombre(),\n datos.getPlaca(), format.formatearDecimal(costoTotal));\n AppLog.debug(TAG, \"Auditoría: %s\", auditoria);\n final String pin = String.valueOf(resp.getId());\n subscribeSinProcesando(api.auditoria(getIdUsuario(), \"Compra pin\", \"Pin de transito\",\n pin, \"App movil\", auditoria, String.valueOf(datos.getZona().getId()),\n datos.getPlaca(), Constantes.AUDITORIA_VACIO, Constantes.AUDITORIA_VACIO),\n this::respuestaAuditoria);\n }", "public void mostrarAyuda() {\r\n\t\t\r\n\t\tEnum_Instrucciones[] arrayEnumerado;\r\n\t\t\r\n\t\tarrayEnumerado = Enum_Instrucciones.getArrayEnumerados();\r\n\t\t\r\n\t\t// El tamano del array de enumerados es 8.\r\n\t\tfor(int i = 0; i < Enum_Instrucciones.tamanoArrayEnumerados(); i++) {\r\n\t\t\tSystem.out.println(arrayEnumerado[i].getDescripcionOrden());\r\n\t\t}\r\n\t}", "public void informacionHorastrabajadas(View v){\n Intent ventana = new Intent(Administrador.this,Informacion_Horas_trabajadas.class);\n startActivity(ventana);\n\n }", "public void asignarVida();", "private void verificaUnicitaAccertamento() {\n\t\t\n\t\t//chiamo il servizio ricerca accertamento per chiave\n\t\tRicercaAccertamentoPerChiave request = model.creaRequestRicercaAccertamento();\n\t\tRicercaAccertamentoPerChiaveResponse response = movimentoGestioneService.ricercaAccertamentoPerChiave(request);\n\t\tlogServiceResponse(response);\n\t\t// Controllo gli errori\n\t\tif(response.hasErrori()) {\n\t\t\t//si sono verificati degli errori: esco.\n\t\t\taddErrori(response);\n\t\t} else {\n\t\t\t//non si sono verificatui errori, ma devo comunque controllare di aver trovato un accertamento su db\n\t\t\tcheckCondition(response.getAccertamento() != null, ErroreCore.ENTITA_NON_TROVATA.getErrore(\"Movimento Anno e numero\", \"L'impegno indicato\"));\n\t\t\tmodel.setAccertamento(response.getAccertamento());\n\t\t}\n\t}", "@Override\n\tpublic void apagar() {\n\t\tSystem.out.println(\"Apagando Computadora\");\n\t}", "public void cadenaEsAceptada() {\n\t\tfor (int i = 0; i < conjuntoF.size(); i++) {\n\t\t\tif (estadoActual.equals(conjuntoF.get(i))) {\n\t\t\t\tSystem.out.println(\"Cadena aceptada!\");\n\t\t\t\tbreak;\n\t\t\t} else\n\t\t\t\tSystem.out.println(\"Cadena no aceptada\");\n\t\t}\n\t}", "public Asignacion_usuario_Perfil1() {\n int CodigoAplicacion = 120;\n initComponents();\n llenadoDeCombos();\n llenadoDeTablas();\n \n\n \n }", "public int cuantosCursos(){\n return inscripciones.size();\n }", "public void inicia() { \r\n\t\tventana=new VentanaMuestraServicios(this);\r\n\t\tventana.abre();\r\n\t}", "public void cambioEstadAvaluo() {\r\n try {\r\n if (\"\".equals(mBRadicacion.Radi.getObservacionAvaluo()) || \"\".equals(mBRadicacion.Radi.getEstadoAvaluo())) {\r\n mbTodero.setMens(\"Falta informacion por Llenar\");\r\n mbTodero.warn();\r\n } else {\r\n mBRadicacion.Radi.CambioEstRad(mBsesion.codigoMiSesion());\r\n mbTodero.setMens(\"La informacion ha sido guardada correctamente\");\r\n mbTodero.info();\r\n mbTodero.resetTable(\"FRMSeguimiento:SeguimientoTable\");\r\n RequestContext.getCurrentInstance().execute(\"PF('DlgEstAvaluo').hide()\");\r\n ListSeguimiento = Seg.ConsulSeguimAvaluos(mBsesion.codigoMiSesion());//VARIABLES DE SESION\r\n }\r\n } catch (Exception e) {\r\n mbTodero.setMens(\"Error en el metodo '\" + this.getClass() + \".cambioEstadAvaluo()' causado por: \" + e.getMessage());\r\n mbTodero.error();\r\n }\r\n }", "public static int getTotalAtraccions() {\n return totalAtraccions;\n }", "public void presenta_Estudiante(){\r\n System.out.println(\"Universidad Técnica Particular de Loja\\nInforme Semestral\\nEstudiante: \"+nombre+\r\n \"\\nAsignatura: \"+nAsignatura+\"\\nNota 1 Bimestre: \"+nota1B+\"\\nNota 2 Bimestre: \"+nota2B+\r\n \"\\nPromedio: \"+promedio()+\"\\nEstado de la Materia: \"+estado());\r\n }", "void verEnPantalla() {\r\n\t\tSystem.out.println( numEnPantalla );\r\n\t}", "String ejecutarAccion();", "public void consultasSeguimiento() {\r\n try {\r\n switch (opcionMostrarAnalistaSeguim) {\r\n case \"Cita\":\r\n ListSeguimientoRadicacionesConCita = Rad.ConsultasRadicacionYSeguimiento(2, mBsesion.codigoMiSesion());\r\n break;\r\n case \"Entrega\":\r\n ListSeguimientoRadicacionesConCita = Rad.ConsultasRadicacionYSeguimiento(3, mBsesion.codigoMiSesion());\r\n break;\r\n }\r\n } catch (Exception e) {\r\n mbTodero.setMens(\"Error en el metodo '\" + this.getClass() + \".consultasSeguimiento()' causado por: \" + e.getMessage());\r\n mbTodero.error();\r\n }\r\n\r\n }", "public Ej_varclase1() {\n\t\t//contador++; \n\t\tcontador = contador + 1;\n\t\t\n\t}", "public void sumar() {\n Acumula.acumulador++;\n }", "private void carregarAlunosTurma() {\n AcessoFirebase.getFirebase().addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n getUidUsuariosTurma(dataSnapshot);\n montandoArrayListUsuarios(dataSnapshot);\n }\n @Override\n public void onCancelled(DatabaseError databaseError) {\n }\n });\n }", "public void anterior() {\n canalAtual--;\n televisao.mudarCanal(canalAtual);\n }", "public int obtenerHoraMasAccesos()\n {\n int numeroAccesosMaximoEncontradosHastaAhoraParaUnaHora = 0;\n int horaConElNumeroDeAccesosMaximo = -1;\n\n if(archivoLog.size() >0){\n for(int horaActual=0; horaActual < 24; horaActual++){\n int totalDeAccesosParaHoraActual = 0;\n //Miramos todos los accesos\n for(Acceso acceso :archivoLog){\n if(horaActual == acceso.getHora()){\n totalDeAccesosParaHoraActual++;\n }\n }\n if(numeroAccesosMaximoEncontradosHastaAhoraParaUnaHora<=totalDeAccesosParaHoraActual){\n numeroAccesosMaximoEncontradosHastaAhoraParaUnaHora =totalDeAccesosParaHoraActual;\n horaConElNumeroDeAccesosMaximo = horaActual;\n }\n }\n }\n else{\n System.out.println(\"No hay datos\");\n }\n return horaConElNumeroDeAccesosMaximo;\n }", "private void atualizarTela() {\n\t\tSystem.out.println(\"\\n*** Refresh da Pagina / Consultando Todos os Registro da Tabela PressaoArterial\\n\");\n\t\tpressaoArterial = new PressaoArterial();\n\t\tlistaPressaoArterial = pressaoArterialService.buscarTodos();\n\n\t}", "public void consultarListaDeContatos() {\n\t\tfor (int i = 0; i < listaDeContatos.size(); i++) {\n\t\t\tSystem.out.printf(\"%d %s \\n\", i, listaDeContatos.get(i));\n\t\t}\n\t}", "public int getDiasVacaciones() {\r\n\t\treturn super.getDiasVacaciones()/2;\r\n\t}", "public static void viewRemainingVaccinations() {\n\r\n System.out.println(\"Number of remaining vaccinations - \" + vaccines);\r\n }", "@Override\n public void cantidad_Defensa(){\n defensa=2+nivel+aumentoD;\n }", "public int getCantidadAvenidas();", "private void controladorAtras(Controlador controlador){\n this.contAtras = controlador.getAtras();\n registro.setControlAtras(contAtras);\n login.setControlAtras(contAtras);\n }", "private void jTabPane_AccueilMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTabPane_AccueilMouseClicked\n if(numOnglet() == 0 ){\n // On cache le bouton qui lance la procedure Prospect vers Client\n jBtn_ProspectToClient.setVisible(false);\n if(jTable_Clients.getRowCount() == 0){\n jBtn_Modifier.setVisible(false);\n jBtn_Supprimer.setVisible(false);\n }\n else{\n jBtn_Modifier.setVisible(true);\n jBtn_Supprimer.setVisible(true);\n }\n }else{\n if(jTable_Prospects.getRowCount() == 0){\n jBtn_Modifier.setVisible(false);\n jBtn_Supprimer.setVisible(false);\n jBtn_ProspectToClient.setVisible(false);\n }else{\n jBtn_Modifier.setVisible(true);\n jBtn_Supprimer.setVisible(true);\n // On fait apparaitre le bouton qui lance la procedure Prospect vers Client\n jBtn_ProspectToClient.setVisible(true);\n }\n }\n }", "private void listarEntidades() {\r\n\t\tsetListEntidades(new ArrayList<EntidadDTO>());\r\n\t\tgetListEntidades().addAll(entidadController.encontrarTodos());\r\n\t\tif (!getListEntidades().isEmpty()) {\r\n\t\t\tfor (EntidadDTO entidadDTO : getListEntidades()) {\r\n\t\t\t\t// Conversión de decimales.\r\n\t\t\t\tDouble porcentaje = entidadDTO.getPorcentajeValorAsegurable() * 100;\r\n\t\t\t\tdouble por = Math.round(porcentaje * Math.pow(10, 2)) / Math.pow(10, 2);\r\n\t\t\t\tentidadDTO.setPorcentajeValorAsegurable(por);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private void initVistas() {\n // La actividad responderá al pulsar el botón.\n Button btnSolicitar = (Button) this.findViewById(R.id.btnSolicitar);\n btnSolicitar.setOnClickListener(new OnClickListener() {\n @Override\n public void onClick(View v) {\n solicitarDatos();\n }\n });\n lblDatos = (TextView) this.findViewById(R.id.lblDatos);\n }", "private void cargarNotasAclaratorias() {\r\n\t\tMap<String, Object> parametros = new HashMap<String, Object>();\r\n\t\tparametros.put(\"nro_identificacion\",\r\n\t\t\t\tadmision_seleccionada.getNro_identificacion());\r\n\t\tparametros.put(\"nro_ingreso\", admision_seleccionada.getNro_ingreso());\r\n\t\tparametros.put(\"estado\", admision_seleccionada.getEstado());\r\n\t\tparametros.put(\"codigo_administradora\",\r\n\t\t\t\tadmision_seleccionada.getCodigo_administradora());\r\n\t\tparametros.put(\"id_plan\", admision_seleccionada.getId_plan());\r\n\t\tparametros.put(\"tipo_hc\", \"\");\r\n\t\tparametros.put(\"tipo\", INotas.NOTAS_ACLARATORIAS);\r\n\t\ttabboxContendor\r\n\t\t\t\t.abrirPaginaTabDemanda(false, \"/pages/nota_aclaratoria.zul\",\r\n\t\t\t\t\t\t\"NOTAS ACLARATORIAS\", parametros);\r\n\t}", "boolean estaAcabado();", "public float impuestoAplicado();", "public void llenarCafetera() {\n\t\tthis.setCantidadActual(this.get_capacidadMaxima());\n\t}", "public void ordenaPontos(){\r\n\t\tloja.ordenaPontos();\r\n\t}", "public String mostrarVentas() {\n String ventas = \"\";\n for (int i = 0; i < posicionActual; i++) { //Recorre el vector hasra la poscion actual, y almacena toda la informacion de estos en una variable String la cual se retornara \n ventas += mostrarCliente(i);\n }\n return ventas;\n }", "public void Ordenamiento() {\n\n\t}", "private void asignarCapacidades ()\n\t{\n\t\tif(tipoVehiculo.equalsIgnoreCase(TIPO_VEHICULO_ECONOMICO))\n\t\t{\n\t\t\tcapacidadKilometrosPorGalon = CAPACIDAD_60;\n\t\t}\n\t\t\n\t\telse if(tipoVehiculo.equalsIgnoreCase(TIPO_VEHICULO_MEDIO))\n\t\t{\n\t\t\tcapacidadKilometrosPorGalon = CAPACIDAD_45;\n\t\t}\n\t\t\n\t\telse capacidadKilometrosPorGalon = CAPACIDAD_30;\n\t}", "public int getAyudantes(){\n return ayudantes; \n }", "private static void gestionarOpciones(int opcion) {\r\n\t\tswitch (opcion) {\r\n\t\tcase 1:\r\n\t\t\tSystem.out.println(\"\\nMuestro la opci\\u00f3n \"+ opcion);\r\n\t\t\tbreak;\r\n\t\tcase 2:\r\n\t\t\tSystem.out.println(\"\\nMuestro la opci\\u00f3n \"+ opcion);\r\n\t\t\tbreak;\r\n\t\tcase 3:\r\n\t\t\tSystem.out.println(\"\\nMuestro la opci\\u00f3n \"+ opcion);\r\n\t\t\tbreak;\r\n\t\tcase 4:\r\n\t\t\tSystem.out.println(\"\\nMuestro la opci\\u00f3n \"+ opcion);\r\n\t\t\tbreak;\t\t\r\n\t\t}\t\t\r\n\t}", "private void cargarAutorizaciones() {\r\n\t\tif (parametros_empresa != null) {\r\n\t\t\tif (parametros_empresa.getTrabaja_autorizacion()) {\r\n\t\t\t\tMap<String, Object> parametros = new HashMap<String, Object>();\r\n\t\t\t\tparametros.put(\"nro_identificacion\",\r\n\t\t\t\t\t\tadmision_seleccionada.getNro_identificacion());\r\n\t\t\t\tparametros.put(\"nro_ingreso\",\r\n\t\t\t\t\t\tadmision_seleccionada.getNro_ingreso());\r\n\t\t\t\tparametros.put(\"estado\", admision_seleccionada.getEstado());\r\n\t\t\t\tparametros.put(\"tipo_hc\", \"\");\r\n\t\t\t\tparametros.put(IVias_ingreso.ADMISION_PACIENTE,\r\n\t\t\t\t\t\tadmision_seleccionada);\r\n\r\n\t\t\t\ttabboxContendor.abrirPaginaTabDemanda(false,\r\n\t\t\t\t\t\tIRutas_historia.PAGINA_AUTORIZACIONES,\r\n\t\t\t\t\t\t\"AUTORIZACIONES\", parametros);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public void SolicitarDatos() {\n\t\t\r\n\t\tSystem.out.println(\"nombre:\");\r\n\t\tSystem.out.println(\"apellido\");\r\n\t\tSystem.out.println(\"numCedula\");\r\n\t\t\r\n\t}", "public String recuperaVariedadByCultivoEdoAsigCA(){\n\t\tlstVariedad = iDAO.recuperaVariedadByInicilizacionEsquema(idInicializacionEsquema, idCultivo, idEstado);\n\t\treturn SUCCESS;\t\t\n\t}", "public Sesiones() {\n\t\tentradasVendidas = 0;\n\t}", "public void avvia() {\n /* variabili e costanti locali di lavoro */\n\n try { // prova ad eseguire il codice\n getModuloRisultati().avvia();\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n super.avvia();\n\n }", "public logicaEnemigos(){\n\t\t//le damos una velocidad inicial al enemigo\n\t\tsuVelocidad = 50;\n\t\tsuDireccionActual = 0.0;\n\t\tposX = 500 ;\n\t\tposY = 10;\n\t}", "public int getAtencionAlCliente(){\n return atencion_al_cliente; \n }", "public GestorAtracciones()\n {\n gestor_trabajadores = new GestorTrabajadores();\n atracciones = new ArrayList<>();\n lectura = new Scanner(System.in);\n crearAtracciones();\n calculoTipoAtraccion();\n calculoPersonal();\n }", "@Override\n\tpublic int sacameVida(ElementoAlien a) {\n\t\treturn 20;\n\t}", "public String verDados() {\n\t\treturn super.verDados() + \"\\nSobremesa: \" + this.adicionais;\n\n\t}", "@Override\n\tpublic int sacameVida(ElementoPiedra a) {\n\t\treturn 20;\n\t}", "public List<NotaDeCredito> procesar();", "@Override\r\n\tpublic void salarioAtual() {\n\t\tSystem.out.print(\"VALOR ATUAL\"+this.valor);\r\n\t\t\r\n\t}", "public void verificarDatosConsola(Cliente cliente, List<Cuenta> listaCuentas) {\n\n int codigoCliente = cliente.getCodigo();\n\n System.out.println(\"Codigo: \"+cliente.getCodigo());\n System.out.println(\"Nombre: \"+cliente.getNombre());\n System.out.println(\"DPI: \"+cliente.getDPI());\n System.out.println(\"Direccion: \"+cliente.getDireccion());\n System.out.println(\"Sexo: \"+cliente.getSexo());\n System.out.println(\"Password: \"+cliente.getPassword());\n System.out.println(\"Tipo de Usuario: \"+ 3);\n\n System.out.println(\"Nacimiento: \"+cliente.getNacimiento());\n System.out.println(\"ArchivoDPI: \"+cliente.getDPIEscaneado());\n System.out.println(\"Estado: \"+cliente.isEstado());\n \n \n for (Cuenta cuenta : listaCuentas) {\n System.out.println(\"CUENTAS DEL CLIENTE\");\n System.out.println(\"Numero de Cuenta: \"+cuenta.getNoCuenta());\n System.out.println(\"Fecha de Creacion: \"+cuenta.getFechaCreacion());\n System.out.println(\"Saldo: \"+cuenta.getSaldo());\n System.out.println(\"Codigo del Dueño: \"+codigoCliente);\n \n }\n \n\n\n }", "public void status() {\n System.out.println(\"Nome: \" + this.getNome());\n System.out.println(\"Data de Nascimento: \" + this.getDataNasc());\n System.out.println(\"Peso: \" + this.getPeso());\n System.out.println(\"Altura: \" + this.getAltura());\n }", "private void registrarDetallesVenta() {\r\n\t\tdetalleEJB.registrarDetalleVenta(productosCompra, factura);\r\n\r\n\t\ttry {\r\n\r\n\t\t\taccion = \"Crear DetalleVenta\";\r\n\t\t\tString browserDetail = Faces.getRequest().getHeader(\"User-Agent\");\r\n\t\t\tauditoriaEJB.crearAuditoria(\"AuditoriaDetalleVenta\", accion, \"DT creada: \" + factura.getId(),\r\n\t\t\t\t\tsesion.getUser().getCedula(), browserDetail);\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t}", "List<Oficios> buscarActivas();" ]
[ "0.67261803", "0.6277365", "0.6214856", "0.6187422", "0.6119067", "0.60428494", "0.6031316", "0.6015463", "0.5943088", "0.59056824", "0.5869456", "0.5869456", "0.5834801", "0.58310664", "0.58075136", "0.57862824", "0.5745315", "0.5732939", "0.57235533", "0.5716404", "0.57070166", "0.5689839", "0.56632763", "0.5655979", "0.5646647", "0.5646099", "0.5623593", "0.5620036", "0.56192636", "0.5615505", "0.56142807", "0.5552976", "0.55451536", "0.553565", "0.55352116", "0.553359", "0.55304927", "0.5522478", "0.55130213", "0.55096424", "0.54943913", "0.5476449", "0.5475963", "0.5466559", "0.546095", "0.5450518", "0.54482853", "0.54442406", "0.5432232", "0.54317915", "0.54285336", "0.5424665", "0.54207796", "0.5412048", "0.5398851", "0.5396026", "0.539349", "0.5387553", "0.5386604", "0.5379912", "0.5376476", "0.53694564", "0.5369338", "0.5369151", "0.5366203", "0.5357668", "0.5353713", "0.5349283", "0.53486466", "0.5348424", "0.53459644", "0.53427", "0.5340124", "0.533784", "0.53337455", "0.53286153", "0.5321115", "0.53159845", "0.5315473", "0.5305151", "0.53036565", "0.5302616", "0.5299108", "0.52976793", "0.5297341", "0.5290364", "0.5275951", "0.52686083", "0.5264347", "0.5262434", "0.5261939", "0.52576476", "0.52524906", "0.52497435", "0.5247691", "0.5247655", "0.52464306", "0.5245658", "0.5245186", "0.52443653", "0.5243799" ]
0.0
-1
New method added for validation before showing
public void validate() { Class<?> clazz = this.getModelObject().getClass(); if (!ArenaUtils.isObservable(clazz)) { throw new RuntimeException("La clase " + clazz.getName() + " no tiene alguna de estas annotations " + ArenaUtils.getRequiredAnnotationForModels() + " que son necesarias para ser modelo de una vista en Arena"); } // TODO: Validate children bindings? }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onValidateState() {\n // Case first time\n if (mNewslettersForm == null) {\n triggerGetNewslettersForm();\n }\n // Case rotate restore the form\n else if(mNewsletterScroll.getChildCount() == 0){\n showDynamicForm(mNewslettersForm);\n }\n // Default, show current form\n else {\n showFragmentContentContainer();\n }\n }", "private void validation() {\n this.validate();\n this.repaint();\n }", "private void displayValidationError() {\n\n\t\tif (null != validationErrorTitle) {\n\t\t\tvalidationErrorParent.toFront();\n\t\t\tAppController.showMessage(validationErrorParent, validationErrorMessage, validationErrorTitle,\n\t\t\t\tvalidationErrorType);\n\t\t}\n\n\t\tclearValidationError();\n\t}", "public static void validation() {\n\t\tif ((!textFieldName.getText().isEmpty()) && (!textField_FirstName.getText().isEmpty())\n\t\t\t\t&& (!textField_Town.getText().isEmpty()) && (!textField_Town.getText().isEmpty())) {\n\n\t\t\tif ((isValidEmailAddress(textField_Email.getText()) == true)) {\n\t\t\t\ttextField_Email.setBackground(Color.white);\n\t\t\t\tif ((force(textField_Mtp.getText()) > 82)) {\n\t\t\t\t\ttextField_Mtp.setBackground(Color.white);\n\t\t\t\t\tactionGiveServeur();\n\n\t\t\t\t} else {\n\t\t\t\t\tshowMessageDialog(null, \"Votre mot de passe est trop faible\");\n\t\t\t\t\ttextField_Mtp.setText(\"Mot de passe trop simple : changer le \");\n\t\t\t\t\ttextField_Mtp.setBackground(Color.RED);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\ttextField_Email.setText(\"Email invalide\");\n\t\t\t\ttextField_Email.setBackground(Color.RED);\n\t\t\t\tshowMessageDialog(null, \"Email est invalide\");\n\t\t\t}\n\t\t} else {\n\n\t\t\tshowMessageDialog(null, \"Certain champs sont vide !\");\n\t\t}\n\t}", "@Override\n public void customValidation() {\n }", "@Override\n public void customValidation() {\n }", "@Override\n public void customValidation() {\n }", "@Override\r\n public boolean validate() {\n return true;\r\n }", "@Override\r\n\tprotected void validate() {\n\t}", "private void displayValidity() {\n if (allValid) spnValid.setText(\"All fields are valid!\");\n else spnValid.setText(\"There are invalid fields. Please go back and check these.\");\n }", "@Override\r\n\tpublic void validate() {\n\t\t\r\n\t}", "private void showErrorMessage() {\n // hide the view for the list of movies\n mMoviesRecyclerView.setVisibility(View.INVISIBLE);\n // show the error message\n mErrorMessageDisplay.setVisibility(View.VISIBLE);\n }", "public void showErrorMessage() {\n mErrorMessageDisplay.setVisibility(View.VISIBLE);\n mMoviesList.setVisibility(View.INVISIBLE);\n }", "private void showErrorMessage() {\n mCryptoRecyclerView.setVisibility(View.INVISIBLE); // set the visibility of the recycler to invisible\n mTvErrorMessage.setVisibility(View.VISIBLE); // set the visibility of the error message to visible\n }", "public void verValidarCandidato()\r\n\t{\r\n\t\tcandidato = new ValidarCandidato(this);\r\n\t\tcandidato.setVisible(true);\r\n\t}", "@Override\n public View checkContentValidation() {\n return null;\n }", "@Override\n public View checkContentValidation() {\n return null;\n }", "@Override\n public void showEmptyFieldsValidationError() {\n showError(R.string.product_config_empty_fields_validation_error);\n }", "public boolean validate(){\n return true;\n }", "@Override\r\n\tpublic boolean validate() {\n\t\treturn true;\r\n\t}", "@Override\r\n\tpublic boolean validate() {\n\t\treturn true;\r\n\t}", "@Override\n\tpublic void validate()\n\t{\n\n\t}", "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 }", "@Override\r\n public void validate() {\r\n }", "@Override\n\tpublic void validate() {\n\t\tsuper.validate();\n\t}", "@Override\r\n\tpublic void Validate() {\n\r\n\t}", "private void showErrorMessage() {\n /* First, hide the currently visible data */\n mRecyclerView.setVisibility(View.INVISIBLE);\n /* Then, show the error */\n mErrorMessageDisplay.setVisibility(View.VISIBLE);\n mLayout.setVisibility(View.INVISIBLE);\n }", "@Override\n\tprotected void validate(Controller c) {\n\n\t}", "private boolean validatorForm() {\n\t\tboolean validazione = true;\n\t\tif (!Validator.validaDataInizio(viewInserimento.getTxtFieldDataI().getText())) {\n\t\t\tviewInserimento.getTxtFieldDataI().setBackground(Color.red);\n\t\t\tvalidazione = false;\n\t\t} else {\n\t\t\tif (viewInserimento.getTxtFieldDataI().getBackground() == Color.red)\n\t\t\t\tviewInserimento.getTxtFieldDataI().setBackground(Color.white);\n\t\t}\n\t\tif (!Validator.validaImporto(viewInserimento.getTxtFieldValore().getText())) {\n\t\t\tviewInserimento.getTxtFieldValore().setBackground(Color.red);\n\t\t\tvalidazione = false;\n\t\t} else {\n\t\t\tif (viewInserimento.getTxtFieldValore().getBackground() == Color.red)\n\t\t\t\tviewInserimento.getTxtFieldValore().setBackground(Color.white);\n\t\t}\n\n\t\tif (!viewInserimento.getTxtFieldDataI().getText().equals(\"\")\n\t\t\t\t&& !viewInserimento.getTxtFieldDataIPre().getText().equals(\"\")) {\n\t\t\tif (!Date.valueOf(viewInserimento.getTxtFieldDataIPre().getText()).before(Date.valueOf(viewInserimento.getTxtFieldDataI().getText() + \"-01\"))\n\t\t\t\t\t) {\n\t\t\t\tviewInserimento.getTxtFieldDataI().setBackground(Color.red);\n\t\t\t\tvalidazione = false;\n\t\t\t} else {\n\t\t\t\tif (viewInserimento.getTxtFieldDataI().getBackground() == Color.red)\n\t\t\t\t\tviewInserimento.getTxtFieldDataI().setBackground(Color.white);\n\t\t\t}\n\t\t}\n\t\treturn validazione;\n\t}", "protected void validateAction() {\r\n\t\tthis.lblLoading.setVisible(true);\r\n\t\tThread longThread = new Thread(new Runnable() {\r\n\t\t\t@Override\r\n\t\t\tpublic void run() {\r\n\t\t\t\tMajFicheClientCarteFidelite.this.newsletter = MajFicheClientCarteFidelite.this.valeurCaseNewsletter;\r\n\t\t\t\tif (checkfields()) {\r\n\t\t\t\t\tconfirmation();\r\n\t\t\t\t} else {\r\n\t\t\t\t\talerte();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tlongThread.start();\r\n\t}", "private void showErrorMessage() {\n /* First, hide the currently visible data */\n mRecyclerView.setVisibility(View.INVISIBLE);\n /* Then, show the error */\n mErrorMessageDisplay.setVisibility(View.VISIBLE);\n }", "@Override\n\tpublic void validate() {\n\t}", "public abstract void validatePanel();", "public void validation() {\n ValidationData();\n if (Validation == null) {\n Toast.makeText(this, \"No Data Found\", Toast.LENGTH_SHORT).show();\n } else {\n getHistory();\n }\n }", "protected void validate() {\n // no op\n }", "private boolean checkValidity() {\n if(txtSupplierCode.getText().equals(\"\")) {\n JOptionPane.showMessageDialog(null, \"Please Enter the Supplier Code!!\", \"EMPTY SUPPLIER CODE\", JOptionPane.ERROR_MESSAGE);\n txtSupplierCode.setBackground(Color.RED);\n return false;\n }\n if(txtSupplierName.getText().equals(\"\")) {\n JOptionPane.showMessageDialog(null, \"Please Enter the Supplier Name!!\", \"EMPTY SUPPLIER NAME\", JOptionPane.ERROR_MESSAGE);\n txtSupplierName.setBackground(Color.RED);\n return false;\n }\n return true;\n }", "private boolean formValidated() {\n boolean flag = true;\n name_error.setVisibility(View.GONE);\n family_error.setVisibility(View.GONE);\n address_region_error.setVisibility(View.GONE);\n address_city_error.setVisibility(View.GONE);\n address_error.setVisibility(View.GONE);\n gender_error.setVisibility(View.GONE);\n cellphone_error.setVisibility(View.GONE);\n address_postal_code_error.setVisibility(View.GONE);\n if (address_spinner.getSelectedItem() == null || address_spinner.getSelectedItem().equals(getString(R.string.address_province_placeholder))) {\n address_region_error.setVisibility(View.VISIBLE);\n address_region_error.setText(R.string.error_isrequired);\n flag = false;\n }\n if (city_spinner.getVisibility() == View.VISIBLE && (city_spinner.getSelectedItem() == null || city_spinner.getSelectedItem().equals(getString(R.string.address_city_placeholder)))) {\n address_city_error.setVisibility(View.VISIBLE);\n address_city_error.setText(R.string.error_isrequired);\n flag = false;\n }\n if (postal_spinner.getVisibility() == View.VISIBLE && (postal_spinner.getSelectedItem() == null || postal_spinner.getSelectedItem().equals(getString(R.string.delivery_neighbourhood)))) {\n address_postal_region_error.setVisibility(View.VISIBLE);\n address_postal_region_error.setText(R.string.error_isrequired);\n flag = true;\n }\n if (BamiloApplication.CUSTOMER.getGender().isEmpty()) {\n if (gender_spinner.getSelectedItem() == null || gender_spinner.getSelectedItem().equals(getString(R.string.gender))) {\n gender_error.setVisibility(View.VISIBLE);\n gender_error.setText(R.string.error_isrequired);\n flag = false;\n }\n }\n if (name.getText().length() >= 0) {\n /* */\n if (name.getText().length() < 2) {\n name_error.setVisibility(View.VISIBLE);\n name_error.setText(R.string.error_isrequired);\n flag = false;\n }\n\n }\n if (family.getText().length() >= 0) {\n /* */\n if (family.getText().length() < 2) {\n family_error.setVisibility(View.VISIBLE);\n family_error.setText(R.string.error_isrequired);\n flag = false;\n }\n\n }\n if (address.getText().length() >= 0) {\n /* */\n if (address.getText().length() < 2) {\n address_error.setVisibility(View.VISIBLE);\n address_error.setText(R.string.error_isrequired);\n flag = false;\n }\n\n }\n Pattern pattern = Pattern.compile(getString(R.string.cellphone_regex), Pattern.CASE_INSENSITIVE);\n\n Matcher matcher = pattern.matcher(cellphone.getText());\n boolean result = matcher.matches();\n if (!result) {\n cellphone.setVisibility(View.VISIBLE);\n cellphone_error.setVisibility(View.VISIBLE);\n cellphone_error.setText(R.string.address_phone_number_invalidity_error);\n flag = false;\n }\n if (cellphone.getText().length() == 0) {\n cellphone.setVisibility(View.VISIBLE);\n cellphone_error.setVisibility(View.VISIBLE);\n cellphone_error.setText(R.string.error_isrequired);\n flag = false;\n }\n\n\n if (postal_code.getText().length() != 0 && postal_code.getText().length() != 10) {\n address_postal_code_error.setVisibility(View.VISIBLE);\n flag = false;\n }\n\n if (gender_lable.length() == 0) {\n gender_error.setVisibility(View.VISIBLE);\n flag = false;\n }\n return flag;\n }", "private void showErrorMessage() {\n // First, hide the currently visible data\n mRecyclerView.setVisibility(View.INVISIBLE);\n\n // Then, show the error\n mErrorMessageDisplay.setVisibility(View.VISIBLE);\n }", "@Override\r\n public void validate() {\n\r\n }", "@Override\r\n public void onValidStateEvent(ValidStateEvent event) {\r\n if(event.getViewType() == ValidStateEvent.ViewType.Protein) {\r\n hiding = false;\r\n getView().asWidget().setVisible(true);\r\n }\r\n else {\r\n hiding = true;\r\n getView().asWidget().setVisible(false);\r\n }\r\n }", "@Override\n\t@FXML\n\tpublic boolean validate() {\n\t\t\n\t\tboolean isDataEntered = true;\n\t\tLocalDate startDate = Database.getInstance().getStartingDate();\n\t\tSystem.out.println();\n\t\tif(amountField.getText() == null || amountField.getText().trim().isEmpty())\n\t\t\tisDataEntered = setErrorTxt(\"You left the amount field empty.\");\n\t\telse if(!(Validation.validateAmount(amountField.getText())))\n\t\t\tisDataEntered = setErrorTxt(\"Please enter a valid amount\");\n\t\telse if(creditTextField.getText() == null || creditTextField.getText().trim().isEmpty())\n\t\t\tisDataEntered = setErrorTxt(\"You left the credit text field empty.\");\n\t\telse if(!(Validation.validateChars(creditTextField.getText())))\n\t\t\tisDataEntered = setErrorTxt(\"Please only enter valid characters\");\n\t\telse if(dateField.getValue() == null) {\n\t\t\tisDataEntered = setErrorTxt(\"You left the date field empty.\");\t\t\t\n\t\t}\n\t\telse if(dateField.getValue().isBefore(startDate))\n\t\t\tisDataEntered = setErrorTxt(\"Sorry, the date you entered is before the starting date.\");\n\t\treturn isDataEntered;\n\t}", "public void validate(){\n if (validated){\n validated = false;\n } else {\n validated = true;\n }\n }", "public boolean isValidationEnabled();", "public boolean validate() {\n return true;\n }", "public boolean validate() {\n return true;\n }", "public void HideValidation() {\n try {\n rl_validation.setVisibility(View.GONE);\n } catch (Exception e) {\n e.printStackTrace();\n appsingleton.ToastMessage(\"\" + e.getMessage());\n }\n }", "public void validate() {}", "@Override\n\tpublic boolean validate() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean validate() {\n\t\treturn false;\n\t}", "private void showErrorMessage(){\n mErrorMessageDisplay.setVisibility(View.VISIBLE);\n mGridView.setVisibility(View.INVISIBLE);\n }", "protected boolean validateView() {\n\t\tValidationReport report = new ValidationReport();\n\t\tview.validate(report);\n\t\t// Displays the validation report result\n\t\tview.display(report);\n\t\t// Result\n\t\treturn report.isOk();\n\t}", "@Override\n public void validateModel() {\n }", "public void validate() {\n\t\tthis.invalidated = false;\n\t}", "public void ShowValidation(String msg) {\n try {\n tv_validationtext.setText(msg);\n rl_validation.setVisibility(View.VISIBLE);\n tv_validationtext.startAnimation(appsingleton.shake_animation);\n } catch (Exception e) {\n e.printStackTrace();\n appsingleton.ToastMessage(\"\" + e.getMessage());\n }\n }", "@Override\n\tpublic void selfValidate() {\n\t\t\n\t}", "@OnClick(R.id.fragment_register_sign_up_button)\n public void validateSignupInformation() {\n mValidator.validate();\n }", "public void validorolin() {\n if (roli.equals(\"Menaxher\")) {\n madministrimi.setVisible(false);\n }\n\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 }", "private void showResult() {\n mTvErrorMessage.setVisibility(View.INVISIBLE); // set the visibility of the error message to invisible\n mCryptoRecyclerView.setVisibility(View.VISIBLE); // set the visibility of the recycler to visible\n }", "private void showError() {\n errorTextView.setVisibility(View.VISIBLE);\n errorButton.setVisibility(View.VISIBLE);\n errorButton.setEnabled(true);\n recyclerView.setVisibility(View.INVISIBLE);\n progressBar.setVisibility(View.INVISIBLE);\n noFavoriteMoviesTextView.setVisibility(View.INVISIBLE);\n }", "@Override\n public void showError() {\n }", "private boolean verifyObligedFields() {\n if(label.getText().toString().isEmpty() || label.getText().toString().equals(\"\"))\n {\n Toast.makeText(ExpenseCardViewDetails.this, R.string.label_must_be_filled, Toast.LENGTH_SHORT).show();\n return false;\n }\n if(category.getSelectedItem().toString().isEmpty())\n {\n Toast.makeText(ExpenseCardViewDetails.this, R.string.category_must_be_filled, Toast.LENGTH_SHORT).show();\n return false;\n }\n if(cost.getText().toString().isEmpty()){\n Toast.makeText(ExpenseCardViewDetails.this, R.string.cost_must_be_filled, Toast.LENGTH_SHORT).show();\n return false;\n }\n if(dateDue.getText().toString().isEmpty()){\n Toast.makeText(ExpenseCardViewDetails.this, R.string.date_due_must_be_filled, Toast.LENGTH_SHORT).show();\n return false;\n }\n return true;\n }", "@FXML\n protected void onValidate() {\n if (!this.isIsValidate()) {\n this.setIsValidate(true);\n //Makes a list of boats\n List<Boat> boats = new ArrayList<Boat>();\n for (Map.Entry<Rectangle, BoatDrawing> entry : boatMap.entrySet()) {\n BoatDrawing myBoatDrawing = entry.getValue();\n boats.add(new Boat(myBoatDrawing.getBoatType(), myBoatDrawing.isRotation(), new Position(myBoatDrawing.getGridCol(), myBoatDrawing.getGridRow(), false)));\n }\n //Stops the timer\n if(timeline != null) {\n timeline.stop();\n }\n //Waits for the other player to validate his boats\n timerLabel.setVisible(false);\n logMsg(\"en attente de la validation de l'autre joueur\", \"\");\n GuiTableController.getInstance().validateBoats(boats);\n }\n }", "public void displayInvalid() {\n invalidLabel.setVisible(true);\n }", "void onValidationFailed();", "protected void validate() {\n // no implementation.\n }", "@Override\r\n\tpublic void validate() {\n\t\tsuper.validate();\r\n\t\tif(nofck == null)\r\n\t\t\tnofck = false;\r\n\t}", "private boolean checkValidations() {\n if (TextUtils.isEmpty(etFirstName.getText().toString().trim())) {\n appUtils.showSnackBar(getActivity().findViewById(android.R.id.content), getString(R.string.empty_name_war));\n return false;\n } else if (etPhoneNo.getText().length() > 0 && etPhoneNo.getText().toString().trim().length() < 7) {\n appUtils.showSnackBar(getActivity().findViewById(android.R.id.content), getString(R.string.valid_mo_no_war));\n return false;\n }\n /*else if (TextUtils.isEmpty(etAdress.getText().toString().trim())) {\n appUtils.showSnackBar(getActivity().findViewById(android.R.id.content), getString(R.string.empty_address_war));\n return false;\n } else if (countryId==null || countryId.equals(\"\")) {\n appUtils.showSnackBar(getActivity().findViewById(android.R.id.content), getString(R.string.country_war));\n return false;\n } else if (stateId==null || stateId.equals(\"\")) {\n appUtils.showSnackBar(getActivity().findViewById(android.R.id.content), getString(R.string.state_war));\n return false;\n }*/ /*else if (cityId==null || cityId.equals(\"\")) {\n appUtils.showSnackBar(getActivity().findViewById(android.R.id.content), getString(R.string.city_war));\n return false;\n }*/\n else\n return true;\n }", "protected abstract boolean isValidate();", "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 }", "private void showErrorMessage() {\n gridview.setVisibility(View.INVISIBLE);\n // Then, show the error\n errorTextView.setVisibility(View.VISIBLE);\n }", "private void validate() {\n\n etCardNumber.validate();\n\n etCardExpiryDate.validate();\n\n etCardCvv.validate();\n\n etCardHolderName.validate();\n\n etPhoneNumber.validate();\n\n etCustomerName.validate();\n }", "public interface IValidatingView {\r\n\r\n\t/**\r\n\t * Sets the validator to the view\r\n\t * \r\n\t * @param validator\r\n\t * - validator to be set\r\n\t * @param fieldDisplayName\r\n\t * - a name of the field to be displayed in the error message\r\n\t */\r\n\tpublic void setValidator(IViewValidator validator, String fieldDisplayName);\r\n\r\n\t/**\r\n\t * Checks whether the value of the view is valid or not\r\n\t * \r\n\t * @return <b>true</b> - valid, <b>false</b> - not valid\r\n\t */\r\n\tpublic boolean isValid();\r\n\r\n\t/**\r\n\t * Shows a validation error sign if the view is not valid\r\n\t */\r\n\tpublic void flagOrUnflagValidationError(boolean validationMode);\r\n\r\n}", "@Override\n protected Result validate() {\n return successful(this);\n }", "@Override\n\tpublic void validate() {\n\t\tFormFieldValidator.validateStudent(this, student);\n\t\tFormFieldValidator.validateCourseList(this, courseID);\n\t}", "@Override\n\tpublic void shown() {\n\n\t}", "void displayLoadingErrorMessage();", "@Override\n\tprotected String showErrorMessage() {\n\t\treturn \"There has been an error. Payment cannot process at this time. Please check with your credit card compay.\";\n\t}", "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 }", "public boolean validateInput(boolean showMessage) {\n\n boolean valid = true;\n\n valid = GuiUtilities.validateIntegerInput(this, peptideLengthLabel, minPepLengthTxt, \"minimum peptide length\", \"Peptide Length Error\", true, showMessage, valid);\n valid = GuiUtilities.validateIntegerInput(this, peptideLengthLabel, maxPepLengthTxt, \"minimum peptide length\", \"Peptide Length Error\", true, showMessage, valid);\n valid = GuiUtilities.validateDoubleInput(this, precursorMassLabel, minPrecursorMassTxt, \"minimum precursor mass\", \"Precursor Mass Error\", true, showMessage, valid);\n valid = GuiUtilities.validateDoubleInput(this, precursorMassLabel, maxPrecursorMassTxt, \"maximum precursor mass\", \"Precursor Mass Error\", true, showMessage, valid);\n\n if (!minPtmsPerPeptideTxt.getText().trim().isEmpty()) {\n valid = GuiUtilities.validateIntegerInput(this, variablePtmsPerPeptideLabel, minPtmsPerPeptideTxt, \"minimum number of variable PTMs\", \"Variable PTMs Error\", true, showMessage, valid);\n }\n \n if (!maxPtmsPerPeptideTxt.getText().trim().isEmpty()) {\n valid = GuiUtilities.validateIntegerInput(this, variablePtmsPerPeptideLabel, maxPtmsPerPeptideTxt, \"maximum number of variable PTMs\", \"Variable PTMs Error\", true, showMessage, valid);\n }\n\n valid = GuiUtilities.validateIntegerInput(this, maxVariablePtmsPerTypeLabel, maxVariablePtmsPerTypeTxt, \"maximum number of variable PTMs per type\", \"Variable PTMs Error\", true, showMessage, valid);\n valid = GuiUtilities.validateIntegerInput(this, decoySeedLabel, decoySeedTxt, \"decoy seed\", \"Decoy Seed Error\", true, showMessage, valid);\n valid = GuiUtilities.validateDoubleInput(this, spectrumMzLabel, minSpectrumMzTxt, \"minimum spectrum mz\", \"Spectrum Mz Error\", true, showMessage, valid);\n if (!maxSpectrumMzTxt.getText().trim().isEmpty()) {\n valid = GuiUtilities.validateDoubleInput(this, spectrumMzLabel, maxSpectrumMzTxt, \"maximum spectrum mz\", \"Spectrum Mz Error\", true, showMessage, valid);\n }\n valid = GuiUtilities.validateIntegerInput(this, minPeaksLbl, minPeaksTxt, \"minimum number of peaks\", \"Spectrum Peaks Error\", true, showMessage, valid);\n valid = GuiUtilities.validateDoubleInput(this, removePrecursorPeakLabel, removePrecursorPeakToleranceTxt, \"remove precursor peak tolerance\", \"Precursor Peak Error\", true, showMessage, valid);\n valid = GuiUtilities.validateDoubleInput(this, mzBinWidthLabel, mzBinWidthTxt, \"mz bin width\", \"Mz Bin Width Error\", true, showMessage, valid);\n valid = GuiUtilities.validateDoubleInput(this, mzBinOffsetLabel, mzBinOffsetTxt, \"mz bin offset\", \"Mz Bin Offset Error\", true, showMessage, valid);\n valid = GuiUtilities.validateIntegerInput(this, numberMatchesLabel, numberMatchesTxt, \"number of spectrum matches\", \"Number of Spectrum Matches Error\", true, showMessage, valid);\n\n // peptide length: the low value should be lower than the high value\n try {\n double lowValue = Double.parseDouble(minPepLengthTxt.getText().trim());\n double highValue = Double.parseDouble(maxPepLengthTxt.getText().trim());\n\n if (lowValue > highValue) {\n if (showMessage && valid) {\n JOptionPane.showMessageDialog(this, \"The lower range value has to be smaller than the upper range value.\",\n \"Peptide Length Error\", JOptionPane.WARNING_MESSAGE);\n }\n valid = false;\n peptideLengthLabel.setForeground(Color.RED);\n peptideLengthLabel.setToolTipText(\"Please select a valid range (upper <= higher)\");\n }\n } catch (NumberFormatException e) {\n // ignore, handled above\n }\n\n // precursor mass range: the low value should be lower than the high value\n try {\n double lowValue = Double.parseDouble(minPrecursorMassTxt.getText().trim());\n double highValue = Double.parseDouble(maxPrecursorMassTxt.getText().trim());\n\n if (lowValue > highValue) {\n if (showMessage && valid) {\n JOptionPane.showMessageDialog(this, \"The lower range value has to be smaller than the upper range value.\",\n \"Precursor Mass Range Error\", JOptionPane.WARNING_MESSAGE);\n }\n valid = false;\n precursorMassLabel.setForeground(Color.RED);\n precursorMassLabel.setToolTipText(\"Please select a valid range (upper <= higher)\");\n }\n } catch (NumberFormatException e) {\n // ignore, handled above\n }\n\n // spectrum mz range: the low value should be lower than the high value\n try {\n double lowValue = Double.parseDouble(minSpectrumMzTxt.getText().trim());\n double highValue = Double.parseDouble(maxSpectrumMzTxt.getText().trim());\n\n if (lowValue > highValue) {\n if (showMessage && valid) {\n JOptionPane.showMessageDialog(this, \"The lower range value has to be smaller than the upper range value.\",\n \"Spectrum Mz Range Error\", JOptionPane.WARNING_MESSAGE);\n }\n valid = false;\n spectrumMzLabel.setForeground(Color.RED);\n spectrumMzLabel.setToolTipText(\"Please select a valid range (upper <= higher)\");\n }\n } catch (NumberFormatException e) {\n // ignore, handled above\n }\n\n okButton.setEnabled(valid);\n return valid;\n }", "protected boolean isValid()\r\n {\r\n \treturn true;\r\n }", "@Override public void showLoading() {\n LoginViewState vs = (LoginViewState) viewState;\n vs.setShowLoading();\n\n errorView.setVisibility(View.GONE);\n setFormEnabled(false);\n }", "@Override\n public boolean isVisible(Field field) {\n return true;\n }", "public void showErrorMessage() {\n\t\tthis.vm = null;\n\t\tplayButton.setText(\"►\");\n\n\t\tthis.remove(visualizerPanel);\n\t\tvisualizerPanel = new ErrorCard();\n\t\tvisualizerPanel.setPreferredSize(new Dimension(FRAME_WIDTH, FRAME_HEIGHT));\n\t\tthis.add(visualizerPanel);\n\t}", "public boolean validateModel(){\r\n System.out.println(\"Validated!\");\r\n return true;\r\n }", "void showError() {\n Toast.makeText(this, \"Please select answers to all questions.\", Toast.LENGTH_SHORT).show();\n }", "public void setValid() {\r\n\r\n\t\tthis.studentNameLabel.setStyle(\"-fx-text-fill: black\");\r\n\t\tthis.studentYearLabel.setStyle(\"-fx-text-fill: black\");\r\n\t}", "void displayUserTakenError(){\n error.setVisible(true);\n }", "private boolean isInputValid(){\n boolean isUserInfoValid = userInfoCheck();\n boolean isProductInfoValid = productInfoCheck();\n ImageView iv_error_user_info = findViewById(R.id.iv_error_user_info);\n ImageView iv_error_product_info = findViewById(R.id.iv_error_product_info);\n if(!isUserInfoValid){\n iv_error_user_info.setVisibility(View.VISIBLE);\n }else{\n iv_error_user_info.setVisibility(View.INVISIBLE);\n }\n if (!isProductInfoValid){\n iv_error_product_info.setVisibility(View.VISIBLE);\n }else{\n iv_error_product_info.setVisibility(View.INVISIBLE);\n }\n\n return isUserInfoValid && isProductInfoValid;\n }", "@Override\n\tpublic void validation() throws EditorException\n\t{\n\t}", "private void InputTextValidator () {\n isNotNull = !txtCategoryNo.getText().equals(\"\") && !txtCategoryName.getText().equals(\"\");\n }", "@Override\n protected boolean isAppropriate() {\n return true; // always show\n }", "private void showNothing(){\n errorTextView.setVisibility(View.INVISIBLE);\n errorButton.setVisibility(View.INVISIBLE);\n errorButton.setEnabled(false);\n recyclerView.setVisibility(View.INVISIBLE);\n progressBar.setVisibility(View.INVISIBLE);\n noFavoriteMoviesTextView.setVisibility(View.INVISIBLE);\n }", "@Override\n public void payeeInputVisible(boolean yes) {\n\t\n }", "@Override\r\n\tpublic void onShow() {\n\t\t\r\n\t}", "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\n\t\tprotected void revalidate() {\n\t\t\tvalid = true;\n\t\t}", "@Then(\"^validation error message should be displayed$\")\n public void verifyThatValidationErrorMessageIsDiplayed() {\n assertion.assertTrue(StoryBoard.validationError());\n }", "@Override\n public boolean isShown() {\n return super.isShown();\n }", "@SkipValidation\n public String importantNewsSearchForm() {\n return SUCCESS;\n }", "protected void updateValidity(){}" ]
[ "0.70409596", "0.6886265", "0.67702025", "0.6476921", "0.646238", "0.646238", "0.646238", "0.64204746", "0.6411148", "0.6402674", "0.63625324", "0.6361715", "0.6358083", "0.6331086", "0.6319043", "0.6306493", "0.6306493", "0.6296413", "0.6279096", "0.62602717", "0.62602717", "0.6239634", "0.6221579", "0.62199086", "0.62173474", "0.62095034", "0.6182587", "0.6165144", "0.6163162", "0.6162472", "0.61504924", "0.6143734", "0.61327666", "0.61306894", "0.6127836", "0.6120758", "0.61035234", "0.61022234", "0.60919917", "0.6079296", "0.60754454", "0.6071961", "0.6070704", "0.60388446", "0.60388446", "0.6027629", "0.601815", "0.60140276", "0.60140276", "0.6011479", "0.6007266", "0.59783214", "0.59485096", "0.59393686", "0.59388745", "0.59366846", "0.5929409", "0.5928915", "0.59260094", "0.5897476", "0.5895416", "0.58874553", "0.58837354", "0.58755016", "0.58676744", "0.5865878", "0.5862639", "0.5859798", "0.58448327", "0.5839574", "0.5837915", "0.5835886", "0.58283174", "0.58151424", "0.57888657", "0.57859355", "0.5785403", "0.5784996", "0.5783172", "0.57731456", "0.57676077", "0.57558775", "0.57476205", "0.57465136", "0.5726458", "0.5725167", "0.5720831", "0.5716862", "0.5716195", "0.57053375", "0.5675439", "0.56750906", "0.5670775", "0.566888", "0.566666", "0.56587994", "0.56563735", "0.5650662", "0.56284404", "0.5624266", "0.56228304" ]
0.0
-1
Notified when the game state changes.
public interface StateMachineListener { //================| Public Methods |==================================== /** * Notification that the state of the game has changed. * @param oldState * @param newState */ void stateChanged( final GameState oldState, final GameState newState ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void stateChanged( final GameState oldState, final GameState newState );", "protected void stateChanged() {\r\n\t\tsetChanged();\r\n\t\tnotifyObservers();\r\n\t}", "@Override\n public void gameStateChanged()\n {\n update();\n \n // check for \"game over\" or \"game won\"\n if ( game.getState() == GameState.LOST )\n {\n JOptionPane.showMessageDialog(\n this, \n game.getLoseMessage(), \"Game over!\",\n JOptionPane.INFORMATION_MESSAGE);\n game.createNewGame();\n }\n else if ( game.getState() == GameState.WON )\n {\n JOptionPane.showMessageDialog(\n this, \n game.getWinMessage(), \"Well Done!\",\n JOptionPane.INFORMATION_MESSAGE);\n game.createNewGame();\n }\n else if (game.messageForPlayer())\n {\n JOptionPane.showMessageDialog(\n this, \n game.getPlayerMessage(), \"Important Information\",\n JOptionPane.INFORMATION_MESSAGE); \n }\n }", "private void updateState() {\n switch (game.getGameState()) {\n case GAME:\n gamePlay();\n break;\n case ONE:\n lostTurnByOne();\n break;\n case READY:\n readyToPlay();\n break;\n case START:\n startGame();\n break;\n case TURN:\n startTurn();\n break;\n case FINISH:\n finishGame();\n break;\n }\n }", "public abstract void stateChanged(STATE state);", "public boolean isGameChanged() {\n return gameChanged;\n }", "public void stateChanged(ChangeEvent e) {\n\t\tupdatePits();\n\t\tSystem.out.println(\"Player 0 score: \" + model.getMancalas()[0]);\n\t\tSystem.out.println(\"Player 1 score: \" + model.getMancalas()[1]);\n\t\tleftScore.setText( Integer.toString(model.getMancalas()[1]));\n\t\trightScore.setText( Integer.toString(model.getMancalas()[0]));\n\t\tSystem.out.println(\"It is now player: \" + model.getPlayer() + \"'s turn\");\n\t\t\n\t}", "public void updateState();", "protected void updateGameState() {\n }", "interface GameStateObserver\n{\n enum Status {\n STARTED, FINISHED\n }\n\n /**\n * Method will be call when scores are changed\n * @param scores new scores value\n */\n void onScoresChanged(int scores);\n\n /**\n * Method will be call when player do some move\n */\n void onMove();\n\n /**\n * Method will be call when status of game changes\n */\n void onStatusChanged(Status newStatus);\n\n}", "@Override\n\tpublic void stateChanged() {\n\t\t\n\t}", "public void setGameChanged(boolean gameChanged) {\n this.gameChanged = gameChanged;\n }", "void notifyNewGame();", "void currentStateChanged();", "void updateGameState(GameState gameState);", "void stateUpdate(String msg);", "public void onStateLeft();", "public void announceWinner(){\n gameState = GameState.HASWINNER;\n notifyObservers();\n }", "void notifyGameRestored();", "abstract public void updateState();", "public void draftEvent(){\n gameState = GameState.DRAFT;\n currentMessage = \"\" + currentPlayer.getNumTroops();\n currentTerritoriesOfInterest = currentPlayer.getTerritoriesList();\n notifyObservers();\n }", "public void simulatorStateChangeHook()\r\n {\n if (view.isCASelected())\r\n {\r\n view.synchronizeCAView();\r\n }\r\n view.synchronizeView();\r\n }", "public void notifyObservers()\n\t{\n\t\tsetChanged();\n\t\tnotifyObservers(new GameWorldProxy(this));\n\t}", "public void notifyGameOver() {\n\t\tgameOver = true;\n\t}", "public interface StateListener\nextends EventListener {\n\n void stateChanged(StateEvent event);\n}", "public void notifyState() {\n\t\tList<T> alldata = new ArrayList<T>(this.dataMap.values());\t\r\n\t\t// call them with the current data\r\n\t\t// for each observer call them\r\n\t\tfor( ModelEvents<T> observer : this.ObserverList){\r\n\t\t\tobserver.dataState(alldata);\r\n\t\t}\r\n\r\n\t}", "public void gameUpdated(GameInterface game) {\n\t\tif (!gameOver) {\n\t\t\tif (game.hasFoxLost()) {\n\t\t\t\tgameOver = true;\n\t\t\t\tSystem.out.println(\"GEESE WON\");\n\t\t\t} else if (game.haveGeeseLost()) {\n\t\t\t\tgameOver = true;\n\t\t\t\tSystem.out.println(\"FOX WON\");\n\t\t\t}\n\t\t}\n\t\t\n\t\tthis.game = game;\n\t\tif (ENABLED) {\n\t\t\twhoseTurnLabel.setText(game.isFoxTurn()\n\t\t\t\t\t? \"Fox's Turn\"\n\t\t\t\t\t: \"Geese's Turn\");\n\t\t\tboardPanel.repaint();\n\t\t}\n\t}", "@Override\n\tpublic void update(Game game) {\n\t\t\n\t\tObject packet = game.connectionManager.mostRecentPacket;\n\t\tif (packet instanceof StatePacket)\n\t\t{\n\t\t\tgame.manager.receiveUpdate(game, (StatePacket) packet);\n\t\t}\n\t}", "public void displayCurrentState(State game);", "@Override\n\tpublic void update() {\n\t\tSystem.out.println(\"Observer Pattern on Room Reservation Notification: \");\n\t\tSystem.out.println(\"Your room is \" + reserve.getState()+\"\\n\");\n\t}", "public void changeStatus()\n {\n if(this.isActivate == false)\n {\n this.isActivate = true;\n switchSound.play();\n //this.dungeon.updateSwitches(true); \n }\n else{\n this.isActivate = false;\n switchSound.play(1.75, 0, 1.5, 0, 1);\n //this.dungeon.updateSwitches(false); \n }\n notifyObservers();\n\n }", "@Override\r\n\tpublic void update() {\n\t\tif (globalState != null) globalState.update(owner);\r\n\t\t\r\n\t\t// Execute the current state (if any)\r\n\t\tif (currentState != null && newStateEntered) currentState.update(owner);\r\n\t}", "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tupdateGameState();\n\t}", "@Override\r\n public void gameAvailabilityUpdate(Game game) throws RemoteException, SQLException {\r\n property.firePropertyChange(\"gameAvailabilityChange\", null, game);\r\n }", "public void notifyGameOn() {\n this.myStatusString.setText(\"Game is On\");\n final LineBorder line = new LineBorder(Color.GREEN, 2, true);\n this.myStatusString.setBorder(line);\n this.myStatusString.setForeground(Color.GREEN);\n this.myStatusString.setFont(new Font(FONT_TIMES, Font.BOLD, NUM_FONT_SIZE)); \n }", "public void stateChanged( ChangeEvent event )\n {\n \n }", "public void update(){\n\t\tSystem.out.println(\"Return From Observer Pattern: \\n\" + theModel.getObserverState() \n\t\t+ \"\\n\");\n\t}", "public interface OnStateListener{\n public void getState(String name);\n }", "@Override\r\n\tpublic void updateGameFinished() {\n\t\t\r\n\t}", "long getStateChange();", "@Override\n\tpublic void update(Game game) {\n\t\t\n\t}", "public void beginGame() {\r\n data.gameState = 3;\r\n data.gameStartFlag = true;\r\n setChanged();\r\n notifyObservers(data);\r\n data.gameStartFlag = false; //Set the gameStart flag to false so the relevant update lines aren't ever run a second time\r\n }", "void onNewGame();", "public interface StateChangeListener {\n public void onStateChange(int oldState, int newState);\n}", "@Override\n public void changed(ChangeEvent event, Actor actor) {\n game.setScreen(gameScreen);\n }", "public interface OnStateChangeListener {\n void onStateChange(boolean active);\n }", "void update( State state );", "public void stateChanged(ChangeEvent e) {\n }", "public void getState();", "public abstract void onLostGame();", "public void stateChanged(ChangeEvent e) {\n isChanged = true;\n refreshComponents();\n }", "private void gameState(){\r\n\t\tadd(gamePanel,BorderLayout.CENTER);\r\n\t\t\r\n\t\tif((cost + current) <= loss){\r\n\t\t\tSystem.out.println(\"The Game is Up.\");\r\n\t\t\tgamePanel.add(gameOver);\r\n\t\t\tsearchPanel.setVisible(false);\r\n\t\t\tgamePanel.setVisible(true);\r\n\t\t}else if((cost + current) >= profit){\r\n\t\t\tSystem.out.println(\"The Game is On!\");\r\n\t\t\tgamePanel.add(gameOn);\r\n\t\t\tsearchPanel.setVisible(false);\r\n\t\t\tgamePanel.setVisible(true);\r\n\t\t}\r\n\r\n\t}", "public interface GameControllerState {\n}", "public void stateChanged (ChangeEvent e)\n {\n }", "public static void changeGameState(GameState state) {\n gameState = state;\n\n switch (state) {\n case START_STATE:\n mainPanel.removeAll();\n mainPanel.add(_welcome);\n mainPanel.revalidate();\n mainPanel.repaint();\n break;\n case GAME_STATE:\n mainPanel.removeAll();\n mainPanel.add(_gameWindow);\n mainPanel.revalidate();\n mainPanel.repaint();\n break;\n case GAME_END:\n _gameWindow.TextLog(String.format(\"\\n\\nThe winner is %s !!!!\\nThe End\", PlayersLoop.getPlayers().get(0)));\n _gameWindow.EndGame();\n break;\n default:\n System.out.println(\"UNKNOWN STATE!\");\n //todo logger.\n break;\n }\n }", "@Override\n \tpublic void notifyDeath() {\n \t\tGame.GAME_STATE = Game.GAME_STATE_DEAD;\n \t\t\n \t}", "public void attackOrQuit(){\n gameState = GameState.ATTACKORQUIT;\n notifyObservers();\n }", "private interface SimulationObserver\n {\n void onChange(SimulationState state);\n }", "void updateState() {\n String[] players = client.getPlayers();\n System.out.println(Arrays.toString(players));\n\n if(oldPlayerNum != players.length){\n oldPlayerNum = players.length;\n updateComboBox();\n }\n\n playersListModel.clear();\n\n for (int i = 0; i < players.length; i++) {\n playersListModel.add(i, players[i]);\n }\n\n // SECOND check if player holding the ball / update GUI accordingly\n String[] playerBall = client.whoIsBall();\n boolean serverSideBall = Integer.parseInt(playerBall[1]) == client.getId();\n\n if (client.hasBall != serverSideBall) { // If the server says something different\n client.hasBall = serverSideBall;\n ballState(serverSideBall, playerBall[0]);\n }\n // THIRD if you are holding the ball update gui so that ball is throwable\n\n }", "private void fireGameBoardChanged() {\n\t\tfor (int i = 0; i < gameBoardListeners.size(); i++) {\n\t\t\tGameBoardListener listener = (GameBoardListener) gameBoardListeners.get(i);\n\t\t\tlistener.gameBoardChanged(this);\n\t\t}\n\t}", "public void notifyObservers(){\n for (GameObserver g: observers){\n g.handleUpdate(new GameEvent(this,\n currentPlayer,\n genericWorldMap,\n gameState,\n currentTerritoriesOfInterest,\n currentMessage));\n }\n }", "public void update() {\r\n gameObjects.update(playState);\r\n }", "@Override\n\tpublic void stateChanged(ChangeEvent arg0) {\n\t\t\n\t}", "void onStatusChanged(Status newStatus);", "void notifyConnectionStateChanged(State state);", "@Override\n public void handleMessage(Message msg) {\n switch (msg.what) {\n case Constants.MESSAGE_STATE_CHANGE:\n\n break;\n\n }\n }", "public void handleGameStateChange(GameState s) {\n if (s.isGameOver()) {\n state.setText(s.toString().toUpperCase());\n moveHistory.add(s.toString());\n //Alerts user that game has ended.\n Alert gameInfo = new Alert(AlertType.INFORMATION);\n gameInfo.setTitle(\"Interactive Chess\");\n gameInfo.setHeaderText(\"Game Over\");\n gameInfo.setContentText(s.toString() + \"!\");\n gameInfo.showAndWait();\n //Second Alert informing user game has resetted to new player game\n Alert gameNew = new Alert(AlertType.INFORMATION);\n gameNew.setTitle(\"Interactive Chess\");\n gameNew.setHeaderText(null);\n gameNew.setContentText(\"New default game mode (Player Game) will \"\n + \"now start. Check the \\\"Game\\\" Menu for more game options\");\n gameNew.showAndWait();\n\n //Update UI and code\n tType.setText(\"Player Match\");\n playerGameMenuItem.setSelected(true);\n reset(new ChessController());\n }\n }", "public void statusChanged(GameStatusEvent e) {\n gameRunning = false;\n if(e.isGameOver()) {\n gameWon = false;\n hauptfenster.getSounds().playGameOver(); // abspielen der Sounds\n } else if(e.isGameWon()) {\n gameWon = true;\n hauptfenster.getSounds().playGameWon(); // abspielen der Sounds\n }\n hauptfenster.getSpielfeld().drawNew(); // Spielfeld neu zeichnen\n hauptfenster.getToolbar().updateToolbar(hauptfenster.getDionaRapModel().getShootAmount(), hauptfenster.getDionaRapModel().getScore(), hauptfenster.getProgress());\n hauptfenster.getSpielfeld().gameStatusEnd(hauptfenster.getPlayer(), gameWon); // das Icon bei gewonnen oder verloren setzen\n hauptfenster.getToolbar().setEnabled(); // den \"Neues Spiel\"-Button auf aktiv setzen\n hauptfenster.getMenubar().setGameSettingsEnabled(); // den \"Spieleinstellungen\"-Button auf aktiv setzen\n\n int end_position = HighScoreFile.SCORE_TO_LOW_FOR_HIGHSCORE;\n try{\n end_position = HighScoreFile.getInstance().getScorePosition(hauptfenster.getDionaRapModel().getScore()); // auslesen der Position\n } catch (IOException ex) {\n System.err.println(\"File kann nicht gelesen werden: \" + ex);\n }\n if(end_position != HighScoreFile.SCORE_TO_LOW_FOR_HIGHSCORE && gameWon) {\n addBestlist(); // Bestenliste Dialog zeichnen\n }\n addDialog(gameWon); // den Dialog zeichnen\n }", "@Override\n public void gameChanged(GameChangedEvent<M> evt) {\n if (controller.isDone() && !winnerDialogShown_) {\n winnerDialogShown_ = true;\n showWinnerDialog();\n }\n else if (!winnerDialogShown_) {\n super.gameChanged(evt);\n }\n }", "@Override\n public void changed(ChangeEvent event, Actor actor) {\n game.changeScreen(RPGMain.DEBUG);\n }", "@Override\n public void changed(ChangeEvent event, Actor actor) {\n game.changeScreen(RPGMain.DEBUG);\n }", "@Override\n public void handleMessage(Message m) {\n int gameState = Integer.valueOf(m.getText());\n System.out.println(\"Got authoritative game state \" + gameState + \" from server. Updating local state now...\");\n this.gameState = gameState;\n }", "public void stateChanged(ChangeEvent event)\r\n {\r\n fireChangeEvent(event);\r\n }", "private void change() {\n\t\tsetChanged();\n\t\t//NotifyObservers calls on the update-method in the GUI\n\t\tnotifyObservers();\n\t}", "protected void fireChangeEvent() {\n\t\tfireEvent(new DebugEvent(this, DebugEvent.CHANGE));\n\t}", "private void setGameState(GAMESTATE gameState) {\r\n\t\tlog.info(\"GID \" + this.GID + \" GAME STATE has changed to \" + gameState );\r\n\t\tthis.gameState = gameState;\r\n\t\t\r\n\t}", "public void gameupdate(){\n game.update();\r\n panel.formUpdate(game.lives);\r\n }", "@Override\n\tpublic void onUpdate() {\n\t\tlistener.onUpdate();\n\t}", "@Override\n\tpublic void update(GameContainer gc, StateBasedGame sb, int delta) {\n\t\t\n\t}", "@Override\n public void stateChanged()\n {\n if (this.systemUpdated)\n {\n inputModelReady = true;\n }\n }", "private void makeGUIVisible(){\n gameState = GameState.LOAD;\n notifyObservers();\n }", "public void update() {\n if (_isRunning) {\n //System.out.println(\"update()#\" + _aiOwner.getName() + \"#\" + AIServiceProvider.getInstance().getDeltaTime());\n _states.get(_currentStateHandler).update(AIServiceProvider.getInstance().getDeltaTime());\n }\n }", "private void setGameStatus() {\n this.gameStatus = false;\n }", "public void updateState(boolean state);", "public IServerState changeState(ServerEvents serverEvent);", "@Override\r\n\tpublic void notifyTurnEnded() {\r\n\t\tupdateAllTerritories();\r\n\t\t\r\n\t}", "protected synchronized void setChanged() {\n changed = true;\n }", "void gameResumed();", "protected void fireStateChanged() {\n\t\tChangeEvent changeEvent = new ChangeEvent(this);\n\n\t\tfor (ChangeListener changeListener : changeListeners) {\n\t\t\tchangeListener.stateChanged(changeEvent);\n\t\t}\n\t}", "public void notifyGameEnded() {\n this.myStatusString.setText(\"Game Ended\");\n final LineBorder line = new LineBorder(Color.RED, 2, true);\n this.myStatusString.setBorder(line);\n this.myStatusString.setForeground(Color.RED);\n this.myStatusString.setFont(new Font(FONT_TIMES, Font.BOLD, NUM_FONT_SIZE_BIG));\n \n }", "protected void updated() {\n if (state.isSynced()) {\n this.state.setState(ENodeState.Updated);\n }\n }", "public void stateChanged(SensorPort arg0, int arg1, int arg2) {\n\t\t\n\t}", "private void changed() {\n // Ok to have a race here, see the field javadoc.\n if (!changed)\n changed = true;\n }", "protected void fireStateChanged() \r\n {\r\n Object[] listeners = listenerList.getListenerList();\r\n for (int i = listeners.length - 2; i >= 0; i -=2 ) {\r\n if (listeners[i] == ChangeListener.class) {\r\n if (changeEvent == null) {\r\n changeEvent = new ChangeEvent(this);\r\n }\r\n ((ChangeListener)listeners[i+1]).stateChanged(changeEvent);\r\n } \r\n }\r\n }", "public abstract void onSolvedGame();", "protected void fireStateChanged() {\r\n Object[] listeners = listenerList.getListenerList();\r\n for (int i = listeners.length - 2; i >= 0; i -= 2) {\r\n if (listeners[i] == ChangeListener.class) {\r\n if (changeEvent == null) {\r\n changeEvent = new ChangeEvent(this);\r\n }\r\n ((ChangeListener) listeners[i + 1]).stateChanged(changeEvent);\r\n }\r\n }\r\n }", "@Override\n public boolean handlePlayerStatusUpdate(PlayerState playerState) {\n return true;\n }", "public void isChanged()\n\t{\n\t\tchange = true;\n\t}", "public synchronized void fireStateChanged() {\n Object[] listeners = listenerList.getListenerList();\n for (int i = listeners.length - 2; i >= 0; i -= 2)\n if (listeners[i] == ChangeListener.class) {\n if (changeEvent == null)\n return;\n ((ChangeListener) listeners[i + 1]).stateChanged(changeEvent);\n }\n }", "private void updateSharedState()\r\n {\r\n // TODO update the shared state\r\n // e.g.: sharedState.setTurnHolder(gameModel.getTurnHolder());\r\n }" ]
[ "0.7819462", "0.7428454", "0.73119855", "0.7183515", "0.7181132", "0.7156822", "0.6999093", "0.69351184", "0.6930998", "0.69239664", "0.6915719", "0.6909841", "0.68942434", "0.68692905", "0.6865668", "0.6847684", "0.6824304", "0.6815486", "0.6786147", "0.6690677", "0.6684804", "0.66174465", "0.6598235", "0.6596149", "0.6564657", "0.65621513", "0.6556859", "0.6538399", "0.6527065", "0.65170515", "0.6504775", "0.64859456", "0.64833117", "0.64771307", "0.6454799", "0.6444671", "0.6422184", "0.6412335", "0.64019805", "0.6396418", "0.63938785", "0.6384831", "0.638352", "0.6376342", "0.63749516", "0.63742644", "0.6361148", "0.63484246", "0.6336143", "0.632888", "0.6325886", "0.6318722", "0.63167006", "0.6312057", "0.6288056", "0.62868696", "0.62819666", "0.6272192", "0.626618", "0.62633777", "0.6261218", "0.6258368", "0.62547094", "0.6254563", "0.62509257", "0.6245044", "0.62410086", "0.6235176", "0.6229905", "0.6223723", "0.6223723", "0.621121", "0.6209614", "0.62094957", "0.61951154", "0.6188893", "0.61872447", "0.6184109", "0.61728907", "0.6171823", "0.6162157", "0.61619955", "0.61598766", "0.615675", "0.61512876", "0.61501575", "0.6145195", "0.6144555", "0.61362356", "0.6130557", "0.6121505", "0.6119896", "0.61119837", "0.6106245", "0.609997", "0.60998654", "0.60988444", "0.6096866", "0.6095997", "0.6094669" ]
0.7452455
1
================| Public Methods |==================================== Notification that the state of the game has changed.
void stateChanged( final GameState oldState, final GameState newState );
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isGameChanged() {\n return gameChanged;\n }", "public void setGameChanged(boolean gameChanged) {\n this.gameChanged = gameChanged;\n }", "private void updateState() {\n switch (game.getGameState()) {\n case GAME:\n gamePlay();\n break;\n case ONE:\n lostTurnByOne();\n break;\n case READY:\n readyToPlay();\n break;\n case START:\n startGame();\n break;\n case TURN:\n startTurn();\n break;\n case FINISH:\n finishGame();\n break;\n }\n }", "@Override\n public void gameStateChanged()\n {\n update();\n \n // check for \"game over\" or \"game won\"\n if ( game.getState() == GameState.LOST )\n {\n JOptionPane.showMessageDialog(\n this, \n game.getLoseMessage(), \"Game over!\",\n JOptionPane.INFORMATION_MESSAGE);\n game.createNewGame();\n }\n else if ( game.getState() == GameState.WON )\n {\n JOptionPane.showMessageDialog(\n this, \n game.getWinMessage(), \"Well Done!\",\n JOptionPane.INFORMATION_MESSAGE);\n game.createNewGame();\n }\n else if (game.messageForPlayer())\n {\n JOptionPane.showMessageDialog(\n this, \n game.getPlayerMessage(), \"Important Information\",\n JOptionPane.INFORMATION_MESSAGE); \n }\n }", "protected void stateChanged() {\r\n\t\tsetChanged();\r\n\t\tnotifyObservers();\r\n\t}", "protected void updateGameState() {\n }", "public void gameUpdated(GameInterface game) {\n\t\tif (!gameOver) {\n\t\t\tif (game.hasFoxLost()) {\n\t\t\t\tgameOver = true;\n\t\t\t\tSystem.out.println(\"GEESE WON\");\n\t\t\t} else if (game.haveGeeseLost()) {\n\t\t\t\tgameOver = true;\n\t\t\t\tSystem.out.println(\"FOX WON\");\n\t\t\t}\n\t\t}\n\t\t\n\t\tthis.game = game;\n\t\tif (ENABLED) {\n\t\t\twhoseTurnLabel.setText(game.isFoxTurn()\n\t\t\t\t\t? \"Fox's Turn\"\n\t\t\t\t\t: \"Geese's Turn\");\n\t\t\tboardPanel.repaint();\n\t\t}\n\t}", "public void stateChanged(ChangeEvent e) {\n\t\tupdatePits();\n\t\tSystem.out.println(\"Player 0 score: \" + model.getMancalas()[0]);\n\t\tSystem.out.println(\"Player 1 score: \" + model.getMancalas()[1]);\n\t\tleftScore.setText( Integer.toString(model.getMancalas()[1]));\n\t\trightScore.setText( Integer.toString(model.getMancalas()[0]));\n\t\tSystem.out.println(\"It is now player: \" + model.getPlayer() + \"'s turn\");\n\t\t\n\t}", "public void updateState();", "void updateGameState(GameState gameState);", "public interface StateMachineListener\n{\n //================| Public Methods |====================================\n \n /**\n * Notification that the state of the game has changed.\n\n * @param oldState \n * @param newState\n */\n void stateChanged( final GameState oldState, final GameState newState );\n}", "void notifyGameRestored();", "private void setGameStatus() {\n this.gameStatus = false;\n }", "public abstract void stateChanged(STATE state);", "@Override\r\n public void gameAvailabilityUpdate(Game game) throws RemoteException, SQLException {\r\n property.firePropertyChange(\"gameAvailabilityChange\", null, game);\r\n }", "@Override\n\tpublic void stateChanged() {\n\t\t\n\t}", "@Override\r\n\tpublic void updateGameFinished() {\n\t\t\r\n\t}", "public boolean isGameUpdated() {\n if (gameUpdated) {\n gameUpdated = false;\n return true;\n }\n return false;\n }", "abstract public void updateState();", "public void displayCurrentState(State game);", "public void update() {\r\n gameObjects.update(playState);\r\n }", "@Override\n\tpublic void update(Game game) {\n\t\t\n\t}", "public void beginGame() {\r\n data.gameState = 3;\r\n data.gameStartFlag = true;\r\n setChanged();\r\n notifyObservers(data);\r\n data.gameStartFlag = false; //Set the gameStart flag to false so the relevant update lines aren't ever run a second time\r\n }", "public boolean updateGame(IGame game){\r\n\t\tboolean updated = false;\r\n\t\treturn updated;\r\n\t}", "private void setGameState(GAMESTATE gameState) {\r\n\t\tlog.info(\"GID \" + this.GID + \" GAME STATE has changed to \" + gameState );\r\n\t\tthis.gameState = gameState;\r\n\t\t\r\n\t}", "@Override\n\tpublic void update(Game game) {\n\t\t\n\t\tObject packet = game.connectionManager.mostRecentPacket;\n\t\tif (packet instanceof StatePacket)\n\t\t{\n\t\t\tgame.manager.receiveUpdate(game, (StatePacket) packet);\n\t\t}\n\t}", "private void gameOver() {\n System.out.println(\"GAME OVER!!\");\n\n reset();\n mGameOver = true;\n mChangeObserver.gameOver();\n }", "public void gameupdate(){\n game.update();\r\n panel.formUpdate(game.lives);\r\n }", "public void changeState() {\n if (!isDead) {\n Bitmap temp = getBitmap();\n setBitmap(stateBitmap);\n stateBitmap = temp;\n }\n }", "private void changed() {\n // Ok to have a race here, see the field javadoc.\n if (!changed)\n changed = true;\n }", "public void updateGameProgression() {\n \tif (players.size() == 0) {\n \t\tSystem.out.println(\"Game over\");\n \t\tgameOver.set(true);\n \t}\n \tif (goal.checkGoalCompleted().get()) {\n \t\tdungeonCompleted.set(true);\n \t} else {\n \t\tdungeonCompleted.set(false);\n \t}\n }", "public static void changeGameState(GameState state) {\n gameState = state;\n\n switch (state) {\n case START_STATE:\n mainPanel.removeAll();\n mainPanel.add(_welcome);\n mainPanel.revalidate();\n mainPanel.repaint();\n break;\n case GAME_STATE:\n mainPanel.removeAll();\n mainPanel.add(_gameWindow);\n mainPanel.revalidate();\n mainPanel.repaint();\n break;\n case GAME_END:\n _gameWindow.TextLog(String.format(\"\\n\\nThe winner is %s !!!!\\nThe End\", PlayersLoop.getPlayers().get(0)));\n _gameWindow.EndGame();\n break;\n default:\n System.out.println(\"UNKNOWN STATE!\");\n //todo logger.\n break;\n }\n }", "public void updateGame(GameStatusMessage gameStatus) {\n logger.info(\"Game update: \" + gameStatus.toString());\n this.gameStatus = gameStatus;\n gameUpdated = true;\n selectedTile = null;\n moved = false;\n }", "public void isGameOver() { \r\n myGameOver = true;\r\n myGamePaused = true; \r\n }", "private void gameState(){\r\n\t\tadd(gamePanel,BorderLayout.CENTER);\r\n\t\t\r\n\t\tif((cost + current) <= loss){\r\n\t\t\tSystem.out.println(\"The Game is Up.\");\r\n\t\t\tgamePanel.add(gameOver);\r\n\t\t\tsearchPanel.setVisible(false);\r\n\t\t\tgamePanel.setVisible(true);\r\n\t\t}else if((cost + current) >= profit){\r\n\t\t\tSystem.out.println(\"The Game is On!\");\r\n\t\t\tgamePanel.add(gameOn);\r\n\t\t\tsearchPanel.setVisible(false);\r\n\t\t\tgamePanel.setVisible(true);\r\n\t\t}\r\n\r\n\t}", "void notifyNewGame();", "private void updateSharedState()\r\n {\r\n // TODO update the shared state\r\n // e.g.: sharedState.setTurnHolder(gameModel.getTurnHolder());\r\n }", "void updateState() {\n String[] players = client.getPlayers();\n System.out.println(Arrays.toString(players));\n\n if(oldPlayerNum != players.length){\n oldPlayerNum = players.length;\n updateComboBox();\n }\n\n playersListModel.clear();\n\n for (int i = 0; i < players.length; i++) {\n playersListModel.add(i, players[i]);\n }\n\n // SECOND check if player holding the ball / update GUI accordingly\n String[] playerBall = client.whoIsBall();\n boolean serverSideBall = Integer.parseInt(playerBall[1]) == client.getId();\n\n if (client.hasBall != serverSideBall) { // If the server says something different\n client.hasBall = serverSideBall;\n ballState(serverSideBall, playerBall[0]);\n }\n // THIRD if you are holding the ball update gui so that ball is throwable\n\n }", "public void notifyGameOver() {\n\t\tgameOver = true;\n\t}", "@Override\r\n\tpublic void update() {\n\t\tif (globalState != null) globalState.update(owner);\r\n\t\t\r\n\t\t// Execute the current state (if any)\r\n\t\tif (currentState != null && newStateEntered) currentState.update(owner);\r\n\t}", "public void changeStatus()\n {\n if(this.isActivate == false)\n {\n this.isActivate = true;\n switchSound.play();\n //this.dungeon.updateSwitches(true); \n }\n else{\n this.isActivate = false;\n switchSound.play(1.75, 0, 1.5, 0, 1);\n //this.dungeon.updateSwitches(false); \n }\n notifyObservers();\n\n }", "public void isChanged()\n\t{\n\t\tchange = true;\n\t}", "void currentStateChanged();", "public void announceWinner(){\n gameState = GameState.HASWINNER;\n notifyObservers();\n }", "public void doUpdateStatus() throws GameException\r\n {\n \r\n }", "void stateUpdate(String msg);", "protected synchronized void setChanged() {\n changed = true;\n }", "public void handleGameStateChange(GameState s) {\n if (s.isGameOver()) {\n state.setText(s.toString().toUpperCase());\n moveHistory.add(s.toString());\n //Alerts user that game has ended.\n Alert gameInfo = new Alert(AlertType.INFORMATION);\n gameInfo.setTitle(\"Interactive Chess\");\n gameInfo.setHeaderText(\"Game Over\");\n gameInfo.setContentText(s.toString() + \"!\");\n gameInfo.showAndWait();\n //Second Alert informing user game has resetted to new player game\n Alert gameNew = new Alert(AlertType.INFORMATION);\n gameNew.setTitle(\"Interactive Chess\");\n gameNew.setHeaderText(null);\n gameNew.setContentText(\"New default game mode (Player Game) will \"\n + \"now start. Check the \\\"Game\\\" Menu for more game options\");\n gameNew.showAndWait();\n\n //Update UI and code\n tType.setText(\"Player Match\");\n playerGameMenuItem.setSelected(true);\n reset(new ChessController());\n }\n }", "protected boolean processPrimaryGameChanged(int gameNumber){\n return true;\n }", "public final boolean updateState(GameStateEvent e) {\n if (e == null) {\n getUtils().log(Logger.Level.WARNING, this.getClass(), \"State update function was passed null\");\n return false;\n }\n switch (e) {\n case RESET:\n reset();\n gameState = GameState.LOBBY;\n return true;\n case INIT:\n if (gameState == GameState.LOBBY) {\n if (init()) {\n gameState = GameState.INITIATING;\n return true;\n }\n }\n return false;\n case START:\n if (gameState == GameState.INITIATING) {\n if (start()) {\n gameState = GameState.ACTIVE;\n return true;\n }\n }\n return false;\n case PAUSE:\n if (gameState == GameState.ACTIVE) {\n if (pause()) {\n gameState = GameState.PAUSED;\n return true;\n }\n }\n return false;\n case RESUME:\n if (gameState == GameState.PAUSED) {\n if (resume()) {\n gameState = GameState.ACTIVE;\n return true;\n }\n }\n return false;\n case END:\n if (gameState == GameState.ACTIVE) {\n if (end()) {\n gameState = GameState.ENDED;\n return true;\n }\n }\n return false;\n default:\n getUtils().log(Logger.Level.WARNING, this.getClass(), \"Invalid GameStateEvent passed to GameInstance #\" + gameID\n + \"\\nThis is probably a bug! Please report it to https://github.com/uhcmanager/uhcautomation\");\n return false;\n }\n }", "protected void updated() {\n if (state.isSynced()) {\n this.state.setState(ENodeState.Updated);\n }\n }", "@Override\n public void setGameState(GameState gameState) {\n this.gameState = gameState;\n }", "@Override\n\tpublic void update(GameContainer gc, StateBasedGame sb, int delta) {\n\t\t\n\t}", "public void setInGame() {\n this.inGame = true;\n }", "public void statusChanged() {\n\t\tif(!net.getArray().isEmpty()) {\n\t\t\tigraj.setEnabled(true);\n\t\t}else\n\t\t\tigraj.setEnabled(false);\n\t\t\n\t\tupdateKvota();\n\t\tupdateDobitak();\n\t}", "public void updatePlayerLocation() {requires new property on gamestate object\n //\n }", "long getStateChange();", "public void statusChanged(GameStatusEvent e) {\n gameRunning = false;\n if(e.isGameOver()) {\n gameWon = false;\n hauptfenster.getSounds().playGameOver(); // abspielen der Sounds\n } else if(e.isGameWon()) {\n gameWon = true;\n hauptfenster.getSounds().playGameWon(); // abspielen der Sounds\n }\n hauptfenster.getSpielfeld().drawNew(); // Spielfeld neu zeichnen\n hauptfenster.getToolbar().updateToolbar(hauptfenster.getDionaRapModel().getShootAmount(), hauptfenster.getDionaRapModel().getScore(), hauptfenster.getProgress());\n hauptfenster.getSpielfeld().gameStatusEnd(hauptfenster.getPlayer(), gameWon); // das Icon bei gewonnen oder verloren setzen\n hauptfenster.getToolbar().setEnabled(); // den \"Neues Spiel\"-Button auf aktiv setzen\n hauptfenster.getMenubar().setGameSettingsEnabled(); // den \"Spieleinstellungen\"-Button auf aktiv setzen\n\n int end_position = HighScoreFile.SCORE_TO_LOW_FOR_HIGHSCORE;\n try{\n end_position = HighScoreFile.getInstance().getScorePosition(hauptfenster.getDionaRapModel().getScore()); // auslesen der Position\n } catch (IOException ex) {\n System.err.println(\"File kann nicht gelesen werden: \" + ex);\n }\n if(end_position != HighScoreFile.SCORE_TO_LOW_FOR_HIGHSCORE && gameWon) {\n addBestlist(); // Bestenliste Dialog zeichnen\n }\n addDialog(gameWon); // den Dialog zeichnen\n }", "interface GameStateObserver\n{\n enum Status {\n STARTED, FINISHED\n }\n\n /**\n * Method will be call when scores are changed\n * @param scores new scores value\n */\n void onScoresChanged(int scores);\n\n /**\n * Method will be call when player do some move\n */\n void onMove();\n\n /**\n * Method will be call when status of game changes\n */\n void onStatusChanged(Status newStatus);\n\n}", "public void simulatorStateChangeHook()\r\n {\n if (view.isCASelected())\r\n {\r\n view.synchronizeCAView();\r\n }\r\n view.synchronizeView();\r\n }", "public boolean changeTurns(){\n return doesTurnChange;\n }", "@Test\n\tpublic final void testGameUpdateAndDraw() {\n\t\tgsm = GameStateManager.getInstance();\n\t\t// System.out.println(gsm.getCurrentState());\n\t\t// System.out.println(GameStateManager.MENUSTATE);\n\t\t// assertEquals(gsm.getCurrentState(), GameStateManager.MENUSTATE);\n\t\t// gsm.setState(GameStateManager.LEVELSTATE);\n\t\tassertEquals(gsm.getCurrentState(), GameStateManager.LEVELSTATE);\n\t\tfor (int i = 0; i < 6000; i++) {\n\t\t\tgsm.update();\n\t\t\tgsm.draw(g2d);\n\t\t}\n\t}", "public void draftEvent(){\n gameState = GameState.DRAFT;\n currentMessage = \"\" + currentPlayer.getNumTroops();\n currentTerritoriesOfInterest = currentPlayer.getTerritoriesList();\n notifyObservers();\n }", "private void update() {\n\t\t// Every frame will update these variables, independent of game state\n\t\tmCamera.update();\n\t\tfloat deltaTime = Gdx.graphics.getDeltaTime();\n mHealthText = \"Castle Strength: \" + mCastleHealth;\n mRoundScoreText = \"This Round Score: \" + mRoundScore;\n\t\tmTotalScoreText = \"Total Game Score: \" + mTotalScore;\n\n\t\t// Switch statement to handle game state\n\t\tswitch (mGameState) {\n\t\t\tcase STATE_PRE_GAME:\n\t\t\t\t// Before the game starts, the first two buttons (new game and resume) are visible\n\t\t\t\tmButtons[0].setVisible(true);\n\t\t\t\tmButtons[1].setVisible(true);\n\t\t\t\tcheckStartNewGameButton();\n\t\t\t\tcheckLoadGameButton();\n\t\t\t\tbreak;\n\t\t\tcase STATE_ROUND_START:\n\t\t\t\tmButtons[2].setVisible(true);\n\t\t\t\thandleRoundStart();\n\t\t\t\tcheckPauseGameButton();\n\t\t\t\tbreak;\n\t\t\tcase STATE_ROUND_PLAY:\n\t\t\t\tmButtons[2].setVisible(true);\n\t\t\t\tif(!mPaused) {\n\t\t\t\t\thandleStandardGameplay(deltaTime);\n\t\t\t\t\tcheckPauseGameButton();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tmButtons[3].setVisible(true);\n\t\t\t\t\tcheckResumeGameButton();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase STATE_ROUND_OVER:\n\t\t\t\tmButtons[4].setVisible(true);\n\t\t\t\tmButtons[5].setVisible(true);\n\t\t\t\tmButtons[6].setVisible(true);\n\t\t\t\tcheckRepairCastleButton();\n\t\t\t\tcheckSaveGameButton();\n\t\t\t\tcheckNextRoundButton();\n\t\t\t\tbreak;\n\t\t\tcase STATE_GAME_OVER:\n\t\t\t\tmButtons[0].setVisible(true);\n\t\t\t\tcheckStartNewGameButton();\n\t\t\t\tbreak;\n\t\t}\n\n\n\t}", "protected abstract int newState();", "@Override\n public void changed(ChangeEvent event, Actor actor) {\n game.setScreen(gameScreen);\n }", "void gameResumed();", "private void change() {\n\t\tsetChanged();\n\t\t//NotifyObservers calls on the update-method in the GUI\n\t\tnotifyObservers();\n\t}", "private void updateState() {\n\t while(!isGoodState()) {\n\t\t updateStateOnce();\n\t }\n }", "public void startGame() {\n status = Status.COMPLETE;\n }", "private static void updateGame()\n {\n GameView.gameStatus.setText(\"Score: \" + computerScore + \"-\" + playerScore);\n if (computerScore + playerScore == NUM_CARDS_PER_HAND) {\n if (computerScore > playerScore) {\n GameView.gameText.setText(\"Computer Wins!\");\n Timer.stop = true;\n }\n else if (playerScore > computerScore) {\n GameView.gameText.setText(\"You win!\");\n Timer.stop = true;\n }\n else {\n GameView.gameText.setText(\"Tie game!\"); \n Timer.stop = true;\n }\n }\n }", "@Override\n public void gameOver(GameController game) {\n updateScreen(game);\n ((MultiplayerHostController) Main.game).updateClient();\n\n switch (game.getCurrentState()) {\n case END_DRAW:\n JOptionPane.showMessageDialog(this, \"Draw!\");\n break;\n case END_CIRCLE:\n JOptionPane.showMessageDialog(this, \"You won!\");\n break;\n case END_CROSS:\n JOptionPane.showMessageDialog(this, \"You lost!\");\n break;\n }\n stopGame();\n }", "public void winGame() {\r\n if (data.gameState == 3) \r\n data.winner = 1;\r\n else if (data.gameState == 4) \r\n data.winner = 2;\r\n data.victoryFlag = true;\r\n data.gameState = 5;\r\n }", "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tupdateGameState();\n\t}", "public void update() {\n if (_isRunning) {\n //System.out.println(\"update()#\" + _aiOwner.getName() + \"#\" + AIServiceProvider.getInstance().getDeltaTime());\n _states.get(_currentStateHandler).update(AIServiceProvider.getInstance().getDeltaTime());\n }\n }", "void update() {\n if (gameState.states > 1)\n move();\n }", "@Override\n protected void sendUpdatedStateTo(GamePlayer p) {\n PigGameState copy = new PigGameState(pgs);\n p.sendInfo(copy);\n }", "public void setGameState(GameState gs){\n this.gameState = gs;\n }", "public GameState(){\n this.gameResults = \"\";\n initVars();\n this.theme = DEFAULT_THEME;\n this.board = new Board(DEFAULT_BOARD);\n createSetOfPlayers(DEFAULT_PLAYERS, DEFAULT_AUTOPLAYER, DEFAULT_AUTOMODE);\n }", "private void makeGUIVisible(){\n gameState = GameState.LOAD;\n notifyObservers();\n }", "public void updateState(boolean state);", "@Override\r\n public void update(MiniGame game){\r\n PathXDataModel data = (PathXDataModel) game.getDataModel();\r\n \r\n //Check if 10 seconds has past since activating steal\r\n if (getSpecialState().equals(PathXSpriteState.STEALING.toString())){\r\n GregorianCalendar newTime = new GregorianCalendar();\r\n long timePast = newTime.getTimeInMillis() - getSpecialTimer().getTimeInMillis();\r\n if ((timePast / 1000) >= 10){\r\n game.getGUIButtons().get(PathXConstants.STEAL_BUTTON_TYPE).setState(PathXSpriteState.VISIBLE.toString());\r\n setSpecialState(\"\");\r\n setSpecialTimer(null);\r\n }\r\n \r\n }\r\n \r\n //Check if 10 seconds has past since activating Intangibility\r\n if (getSpecialState().equals(PathXSpriteState.INTANGIBLE.toString())){\r\n GregorianCalendar newTime = new GregorianCalendar();\r\n long timePast = newTime.getTimeInMillis() - getSpecialTimer().getTimeInMillis();\r\n if ((timePast / 1000) >= 10){\r\n game.getGUIButtons().get(PathXConstants.INTANGIBILITY_BUTTON_TYPE).setState(PathXSpriteState.VISIBLE.toString());\r\n setSpecialState(\"\");\r\n setSpecialTimer(null);\r\n }\r\n \r\n }\r\n \r\n //Check if 10 seconds has past since activating God Mode\r\n if (getSpecialState().equals(PathXSpriteState.GOD_MODE.toString())){\r\n GregorianCalendar newTime = new GregorianCalendar();\r\n long timePast = newTime.getTimeInMillis() - getSpecialTimer().getTimeInMillis();\r\n if ((timePast / 1000) >= 10){\r\n game.getGUIButtons().get(PathXConstants.GOD_MODE_BUTTON_TYPE).setState(PathXSpriteState.VISIBLE.toString());\r\n setSpecialState(\"\");\r\n setSpecialTimer(null);\r\n }\r\n \r\n }\r\n\r\n if (getSpecialState().equals(PathXSpriteState.STEALING.toString())) {\r\n ArrayList<Car> otherCars = new ArrayList();\r\n otherCars.addAll(data.getCops());\r\n otherCars.addAll(data.getBandits());\r\n otherCars.addAll(data.getZombies());\r\n\r\n for (Car car : otherCars) {\r\n if (aabbsOverlap(car)) {\r\n if (!car.isStolen()) {\r\n data.getRecord().balance += 20;\r\n car.setStolen(true);\r\n }\r\n }\r\n }\r\n }\r\n \r\n super.update(game);\r\n \r\n PathXDataModel dataModel = (PathXDataModel) game.getDataModel();\r\n PathXNode safeHouse = dataModel.getNodes().get(1);\r\n if (getIntersection() == safeHouse)\r\n dataModel.endGameAsWin();\r\n }", "public void checkGameStatus() {\n everyTenthGoalCongrats();\n randomPopUpBecauseICan();\n }", "public synchronized void setMyGameStatus(boolean status)\n {\n \tgameStatus=status;\n }", "public void attackOrQuit(){\n gameState = GameState.ATTACKORQUIT;\n notifyObservers();\n }", "private void switchGameState(GameState newMode) \n {\n switch(newMode)\n {\n case NOT_AVAIL:\n /* probably won't ever switch TO this mode, but still: */\n GAME_RUNNING = false;\n timTimer.stop(); //stop timer\n break;\n case EDITING:\n GAME_RUNNING = false;\n timTimer.stop(); //stop timer\n timWorld.reset(); //reset world\n canvas.repaint(); //repaint canvas\n break;\n case RUNNING:\n GAME_RUNNING = true;\n timWorld.prepare(); //prepare world\n timTimer.start(); //start timer\n break;\n case COMPLETE:\n GAME_RUNNING = false;\n timTimer.stop(); //stop timer\n fireTimEvent(new TimEvent(this,TimEvent.WIN), TimEvent.TIMGUI); //fire win event\n break;\n\n }\n }", "public void updateState(boolean gameDone){\r\n if (animation == 0) {\r\n if (this.state==this.color){\r\n if (this.travel!=0)\r\n this.state=this.color+256;\r\n else\r\n if (idle_counter == 3)\r\n this.state=this.color+264;\r\n }\r\n else if (this.state>=16) {\r\n if (this.state<=31) {\r\n if (this.state+8>31 && !gameDone)\r\n this.state=this.color;\r\n else {\r\n this.state += 8;\r\n }\r\n }\r\n else if (this.state<=63){\r\n if (this.state+8<=63)\r\n this.state+=8;\r\n }\r\n else if (this.state <= 103){\r\n if (this.state + 8 > 103)\r\n this.state=this.color;\r\n else\r\n this.state += 8;\r\n }\r\n else if (this.state<=159){\r\n if (this.state+8>159)\r\n this.state=this.color;\r\n else\r\n this.state += 8;\r\n }\r\n else if (this.state<=255){\r\n if (this.state + 8 > 255) \r\n this.state = this.color;\r\n else\r\n this.state += 8;\r\n if (this.state>=184 && this.state<=199)\r\n this.positionY-=7;\r\n else if (this.state>=208 && this.state<=223)\r\n this.positionY+=7;\r\n }\r\n else if (this.state<264)\r\n this.state=this.color;\r\n else if (idle_counter==3)\r\n this.state=this.color; \r\n }\r\n }\r\n if (idle_counter==3)\r\n idle_counter=0;\r\n if (animation >= 4 && !gameDone) {\r\n animation = 0;\r\n idle_counter++;\r\n }\r\n //creates a slowmo effect once the game is done\r\n else if (animation==18 && gameDone){\r\n animation = 0;\r\n idle_counter++;\r\n }\r\n else \r\n animation++;\r\n \r\n }", "public void toggleGameFinished() {\r\n\t\tsetGameFinished(!gameFinished);\r\n\t}", "public void finishGame() {\r\n gameFinished = true;\r\n }", "public void setGameStarted(boolean gameStarted) {\n this.gameStarted = gameStarted; \n }", "public void notifyObservers()\n\t{\n\t\tsetChanged();\n\t\tnotifyObservers(new GameWorldProxy(this));\n\t}", "public boolean isTurnGraphicsChanged() {\n return turnGraphicsChanged;\n }", "@Override\n public void updateScreen(GameController game) {\n super.updateScreen(game);\n\n if (game.getCurrentState() == GameController.State.CROSS)\n currentTurn.setText(\"Other player\");\n else if (game.getCurrentState() == GameController.State.CIRCLE)\n currentTurn.setText(\"Your turn\");\n }", "public static void setState(GameState state) {\r\n\t\tgameState = state;\r\n\t}", "@Override\n\tpublic void update() {\n\t\tticks++;\n\t\tswitch (state) {\n\t\tcase MENU:\n\t\tcase INTRO:\n\t\t\tupdateBackground();\n\t\t\tbreak;\n\n\t\tcase PLAYING:\n\t\t\tbreak;\n\t\tcase GAMEOVER:\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\n\t\t}\n\n\t\tWorld.update();\n\t\tScreen.update();\n\n\t}", "protected boolean processSimulCurrentBoardChanged(int gameNumber, String oppName){\n return false;\n }", "public boolean changed() {\r\n\t\treturn changed;\r\n\t}", "public void newGameStarted(String p1Name, String p2Name) {\r\n p1Name = p1Name.trim();\r\n p2Name = p2Name.trim();\r\n if (p1Name.equals(\"\"))\r\n p1Name = \"One\";\r\n if (p2Name.equals(\"\"))\r\n p2Name = \"Two\";\r\n game.getPlayerOne().setPlayerName(p1Name);\r\n game.getPlayerTwo().setPlayerName(p2Name);\r\n data.p1Name = p1Name;\r\n data.p2Name = p2Name;\r\n data.gameState = 1;\r\n data.newGameFlag = true;\r\n setChanged();\r\n notifyObservers(data);\r\n data.newGameFlag = false; //Set the newGame flag to false so the relevant update lines aren't ever run a second time\r\n }", "public interface GameControllerState {\n}", "@Override\n\tpublic void setChanged() {\n\t\tthis.changed = true;\n\t}" ]
[ "0.7632953", "0.73944813", "0.73886424", "0.73204696", "0.7035573", "0.70190454", "0.70040673", "0.6965906", "0.69623935", "0.69374025", "0.68283796", "0.682307", "0.6802343", "0.67947274", "0.6780252", "0.67698604", "0.6749111", "0.6686438", "0.667623", "0.6648358", "0.66387004", "0.6638622", "0.6627066", "0.66179866", "0.6592215", "0.65895104", "0.65475637", "0.6540927", "0.64968175", "0.6495382", "0.6482656", "0.6466375", "0.6450192", "0.6449397", "0.6434823", "0.64345896", "0.642808", "0.6417587", "0.6414067", "0.640473", "0.64001906", "0.6397848", "0.6369867", "0.63679034", "0.6347844", "0.6342182", "0.6336661", "0.63348174", "0.6333581", "0.6328527", "0.6327519", "0.63219917", "0.6321102", "0.631829", "0.63174325", "0.6306834", "0.6300797", "0.6291671", "0.6289488", "0.628692", "0.6280809", "0.6276462", "0.6273786", "0.6267199", "0.6259801", "0.6258553", "0.6248338", "0.62425435", "0.62403506", "0.62293124", "0.62270933", "0.6213567", "0.62115777", "0.6206326", "0.6202763", "0.61963004", "0.61956906", "0.6192583", "0.6192201", "0.61904347", "0.6190028", "0.61844736", "0.61583793", "0.6156905", "0.61443835", "0.61411256", "0.6137128", "0.613128", "0.6130542", "0.6127414", "0.6111126", "0.61094815", "0.61093134", "0.6108652", "0.61084145", "0.6098647", "0.6090247", "0.60900223", "0.60872185", "0.60856354" ]
0.7906438
0
log.debug("Option Page opened successfully"); Reporter.log("Option Page opened successfully"); Reporter.log("Screenshot");
@Test(dataProvider="getData",enabled=true) public void addStocks(String StockName,String ExpireDate) throws InterruptedException, IOException { driver.findElement(By.id(OR.getProperty("searchText"))).clear(); driver.findElement(By.id(OR.getProperty("searchText"))).sendKeys(StockName); //JavascriptExecutor js = (JavascriptExecutor) driver; String lastThursday=TestUtil.getLastThrusdayofMonth(0); final String DATE_FORMAT_NOW = "dd-MMM-yyyy"; Calendar cal = Calendar.getInstance(); SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT_NOW); String date = sdf.format(new Date()); if (date.compareTo(lastThursday) > 0) { System.out.println("Date1 is after Date2"); lastThursday= TestUtil.getLastThrusdayofMonth(1); } // } else if (date.compareTo(lastThursday) < 0) { // System.out.println("Date1 is before Date2"); // } else if (date.compareTo(lastThursday) == 0) { // System.out.println("Date1 is equal to Date2"); // } System.out.println(date); String datelastthursday=lastThursday.replaceAll("-", ""); System.out.println("LastThursday :"+datelastthursday); driver.findElement(By.xpath(("//input[contains(@src,'"+OR.getProperty("gobutton")+"')]"))).click(); Select expirydate= new Select(driver.findElement(By.id(OR.getProperty("expire")))); List<WebElement>allOptions= expirydate.getOptions(); //allOptions.size(); for(int i=1;i<=1;i++) { System.out.println("option expiry date Size is :"+allOptions.size()+"date"+allOptions.get(i).getText()); String Expiredate=allOptions.get(i).getText(); expirydate.selectByVisibleText(Expiredate); driver.findElement(By.linkText("Hide")).click(); Thread.sleep(500); File scrFile=((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE); // String Month=new SimpleDateFormat("MMM").format(cal.getTime()); Thread.sleep(500); File file = new File("D:\\Pratice\\"+datelastthursday+"\\Nifty50Stocks\\"+StockName); System.out.println("D:\\Pratice\\"+datelastthursday+"\\Nifty50Stocks\\"+StockName); if(!file.exists()) { file.mkdirs(); } String screenshotName = StockName+"_"+(cal.get(Calendar.MONTH)+1)+"_"+cal.get(Calendar.DAY_OF_MONTH)+"_"+cal.get(Calendar.HOUR_OF_DAY)+"_"+cal.get(Calendar.MINUTE) + ".png"; System.out.println(screenshotName); // Files.copy(scrFile, // new File("D:\\Pratice\\"+Expiredate+"\\"+StockName+"\\"+screenshotName)); //js.executeScript("window.scrollBy(0,1000)"); //Shutterbug.shootPage(driver,ScrollStrategy.VERTICALLY,3000,true).withName(screenshotName).save("D:\\Pratice\\"+datelastthursday+"\\Nifty50Stocks\\"+StockName+"\\"); FileUtils.copyFile(scrFile, new File("D:\\Pratice\\"+datelastthursday+"\\Nifty50Stocks\\"+StockName+"\\"+screenshotName)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void verifySubmitMeterReadingLandingPageLink()\t\n{\t\n\tReport.createTestLogHeader(\"Anonymous Submit meter read\", \"Verify the link navigations of Submit meter read landing page\");\n\t\tnew SubmitMeterReadAction()\n\t\t.openSMRpage1()\n\t\t.verifySubmitMeterreadLandingPageNavigationLinks();\n}", "public synchronized void logScreenshot(String name) {\n try {\n if (get().getAppiumDriver() != null && System.getProperty(\"captureScreenshotForCurrentTest\").\n equalsIgnoreCase(\"Yes\")) {\n String captureScreenshot = captureScreenshot(get().getAppiumDriver(), name);\n if (!captureScreenshot.equalsIgnoreCase(\"No\"))\n info(\"<img src=\\\"file:///\" + captureScreenshot + \"\\\"alt='Screenshot'\\\" width=\\\"200\\\" height=\\\"200\\\"/>\");\n }\n } catch (Exception e) {\n error(\"Exception occurred while taking the Screen to click element with definition \" + name);\n error(Throwables.getStackTraceAsString(e));\n }\n }", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void verifyGasYourdetailsPageNavigationLink()\t\n{\t\n\tReport.createTestLogHeader(\"Anonymous Submit meter read\", \"Verifies the Your details Gas Page Navigation Links\");\n\t\tnew SubmitMeterReadAction()\n\t\t.openSMRpage(\"Gas\")\t\t\n\t\t.verifyGasNavigationLinks();\n}", "public void openURL() throws Exception{\r\n\r\n\t try{\r\n\t driverUtil.trigger();\r\n\t reporter.reportTestStep(\"App Launch\", \"ok\", \"ok\", \"PASS\", false);\r\n\t }\r\n\t\t\r\n\tcatch(Exception e){\r\n\t\te.printStackTrace();\r\n\t}\r\n}", "public static void captureScreenshot() throws IOException {\n\t\tDate d = new Date();\n\t\tscreenshotName = (d.toString().replace(\":\", \"_\").replace(\" \", \"_\"))+\".jpg\";\n\t\tscreenshotLocation1 = (System.getProperty(\"user.dir\"))+(\"\\\\target\\\\surefire-reports\\\\html\\\\\")+screenshotName;\n\t\tscreenshotLocation2 = (System.getProperty(\"user.dir\")+\"\\\\test-output\\\\html\\\\\"+screenshotName);\n\t\t\n\t\t//TakesScreenshot on failure\n\t\tFile screenshot = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);\n\t\t//add screenshot to the report - Surefire & reportng\n\t\tFileUtils.copyFile(screenshot, new File(screenshotLocation1));\n\t\tFileUtils.copyFile(screenshot, new File(screenshotLocation2));\n\t\ttest.log(LogStatus.INFO, \"Screenshot captured on failure of testcase\");\n\t\t\n\t}", "@Test (priority=2)\n\tpublic void ReportingTest()\n\t{\n\t\tReportingPOM ReportPOM = new ReportingPOM(driver);\t\n\t\tReportPOM.clickReporting();\n\t\tWait = properties.getProperty(\"implicitWait\");\n\t\tReportPOM.clickFollowedStudents();\n\t\tscreenShot.captureScreenShot(\"17\");\t\n\t\t//Enter student name in keyword\t\n\t\tReportPOM.keyword(\"Kritika\");\n\t\t//Click on search button\t\n\t\tReportPOM.clicksearchbutton();\t\n\t\tscreenShot.captureScreenShot(\"18\");\n\t\t//Click on >> icon of the student name\n\t\tReportPOM.ClickArrow(); \t\n\t\tscreenShot.captureScreenShot(\"19\");\n\t\t//Click on course >> icon\n\t\tReportPOM.Clickcoursearrow();\n\t\tscreenShot.captureScreenShot(\"20\");\t\n\t\t// Click on quiz icon\n\t\tReportPOM.Clickquizicon(); \n\t\tscreenShot.captureScreenShot(\"21\");\n\t\t//Click on send email\n\t\tReportPOM.Clicknotification(); \n\t\t// Click on correct test\n\t\tReportPOM.Clickcorrecttest(); \n\t\tscreenShot.captureScreenShot(\"22\");\n\t\t//Click on course link \n\t\tReportPOM.ClickCourseName(); \n\t\tscreenShot.captureScreenShot(\"23\");\n\n\t}", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void verifyElectricityYourdetailsPageNavigationLink()\t\n{\t\n\tReport.createTestLogHeader(\"Anonymous Submit meter read\", \"Verifies the Your details Electricity Page Navigation Links\");\n\n\t\tnew SubmitMeterReadAction()\n\t\t.openSMRpage(\"Electricity\")\t\t\n\t\t.verifyElectricNavigationLinks();\n\t\t\n}", "@Test(priority = 3, dependsOnMethods = {\"PrintTopCities\"},groups= {\"regression\"})\r\n\tpublic void CaptureMessage() {\r\n\t\tlogger= report.createTest(\"Capturing Warning message\");\r\n\t\tFillDetailsAndCaptureMessage msg=DisplayTopCities.nextPage();\r\n\t\tmsg.Back();\r\n\t\tmsg.selectCorporateWellness();\r\n\t\tmsg.windows();\r\n\t\tmsg.fillform();\r\n\t\t//msg.handleAlert();\r\n\t\t\r\n\t\tmsg.imageCapture();\r\n\t}", "public static void Report() {\n\t\tfor (int i = 0; i < array.size(); i++) {\r\n\t\t\tSystem.out.println(array.get(i).getDetails());\t\t\t//Steps through the array and prints the details\r\n\t\t}\r\n\t\tAdmin.menuChoice();\r\n\t}", "@Test\n public void testWizardReport() {\n testReporterConfig(Reporter.ALL_2017_4_24, \"WizardReport.txt\");\n }", "@Override\r\npublic void onTestSuccess(ITestResult arg0) {\n\tExtentReports er = new ExtentReports(\"./Report/Report.html\");\r\n\tExtentTest t1 = er.startTest(\"TC001\");\r\n\tt1.log(LogStatus.PASS, \"Passed\");\r\n\tSystem.out.println(\"balle\");\r\n\ter.endTest(t1);\r\n\ter.flush();\r\n\ter.close();\r\n\r\n\t}", "private void report() {\n\t\t\n\t}", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void verifyYourdetailsElectricityOverLayLink()\t\n{\t\n\tReport.createTestLogHeader(\"Anonymous Submit meter read\", \"Verifies the Your details Electricity Page Overlay Links\");\n\t\tnew SubmitMeterReadAction()\n\t\t.openSMRpage(\"Electricity\")\t\t\n\t\t.verifyElectricWhyWeNeedThisLink()\n\t\t.verifyElectricAcctnoWhereCanIfindthisLink()\n\t\t.verifyElectricMeterPointWhereCanIfindthisLink()\n\t\t.verifyElectricMeterIDWhereCanIfindthisLink();\n}", "public void takeScreenShot(){\n\t\tDate d=new Date();\r\n\t\tString screenshotFile=d.toString().replace(\":\", \"_\").replace(\" \", \"_\")+\".png\";\r\n\t\t// store screenshot in that file\r\n\t\tFile scrFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);\r\n\t\ttry {\r\n\t\t\tFileUtils.copyFile(scrFile, new File(System.getProperty(\"user.dir\")+\"//screenshots//\"+screenshotFile));\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catcsh block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t//put screenshot file in reports\r\n\t\ttest.log(LogStatus.INFO,\"Screenshot-> \"+ test.addScreenCapture(System.getProperty(\"user.dir\")+\"//screenshots//\"+screenshotFile));\r\n\t\t\r\n\t}", "public static void addScreenshotToReport(String message) {\n logger.debug(message);\n WebDriver webDriver = getDriver();\n\n if (retryCount == MAX_RETRY_COUNT) {\n logger.debug(\"Taking screenshot\");\n File scrFile = ((TakesScreenshot) webDriver).getScreenshotAs(OutputType.FILE);\n String projectPath = System.getProperty(\"user.dir\");\n logger.debug(\"Project path: {}\", projectPath);\n String extentReportPath = projectPath + \"/build/extent/HtmlReport/\";\n String fileName = filenameGenerator.nextString() + \".jpeg\";\n String fullFilenamePath = extentReportPath + fileName;\n logger.debug(\"Full path screenshot file name: {}\", fullFilenamePath);\n\n try {\n FileUtils.copyFile(scrFile, new File(fullFilenamePath));\n } catch (IOException e) {\n logger.error(\"Exception creating the screenshot file\", e);\n return;\n }\n\n int currentStep = threadStepNumber.get();\n String messageWithStepNumber = Integer.toString(currentStep) + \" - \" + message;\n currentStep++;\n threadStepNumber.set(currentStep);\n ExtentTestManager.getTest().log(Status.INFO, messageWithStepNumber\n + \" ------ Screenshot: \",\n MediaEntityBuilder.createScreenCaptureFromPath(fileName, fileName).build());\n } else {\n logger.info(\"Adding info to report without screenshot\");\n addInfoToReport(message);\n }\n }", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void verifyYourdetailsGasOverLayLink()\t\n{\t\n\tReport.createTestLogHeader(\"Anonymous Submit meter read\", \"verify the Gas OverLay Link's In Your details\");\n\n\t\tnew SubmitMeterReadAction()\n\t\t.openSMRpage(\"Gas\")\t\t\n\t\t.verifyGasWhyWeNeedThisLink()\n\t\t.verifyGasAcctnoWhereCanIfindthisLink()\n\t\t.verifyGasMeterPointWhereCanIfindthisLink()\n\t\t.verifyGasMeterIDWhereCanIfindthisLink();\n}", "public void m36045a() {\n this.f29981a.showReportDialog();\n }", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void smrLoggedInMeterRead(){\n\tReport.createTestLogHeader(\"SubmitMeterRead\", \"Validates whether the overlay appears for implausible meter read submission for one meter\");\n\t SMRAccountDetails smrProfile = new TestDataHelper().getAllSMRUserProfile(\"SmrLoggedInJourneyMprn1\");\n\t new SubmitMeterReadAction()\n\t \t .BgbnavigateToLogin() \n\t .BgbloginDetails(smrProfile)\n\t .clickManageAccountLinkWithAccNo(smrProfile)\n\t .submitMeterReadLink(smrProfile)\n\t .smrMoreThaMaximumErrorMessage()\n\t .smrmeteroverlay()\n\t .enterMeterDials(smrProfile);\n}", "public static void TakeScreenShot(String i) throws IOException {//a metod we will use onTestFail listener, I added i so i can call the method for a particular case and put the screenShots in separate files\n Date d =new Date();\n String fileName = d.toString().replace(\":\",\"_\").replace(\" \",\"_\");\n path = System.getProperty(\"user.dir\")+\"\\\\src\\\\test\\\\resources\\\\Prints\"+i+\"\\\\\"+fileName+\".jpg\";\n File screenshot = ((TakesScreenshot) driver).getScreenshotAs(OutputType.FILE);\n FileUtils.copyFile(screenshot,new File(System.getProperty(\"user.dir\")+\"\\\\src\\\\test\\\\resources\\\\Prints\"+i+\"\\\\\"+fileName+\".jpg\"));\n }", "void takesScreenshot();", "public void screenShot() {\n\n\t}", "void printReport();", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void verifyMeterReadingGasOverLayLink()\t\n{\t\n\tReport.createTestLogHeader(\"Anonymous Submit meter read\", \"Verifies the Your details Gas Page Overlay Links\");\nSMRAccountDetails smrProfile = new TestDataHelper().getAllSMRUserProfile(\"AnonymousSMRGas\");\n\t\tnew SubmitMeterReadAction()\n\t\t.openSMRpage(\"Gas\")\n\t\t.verifyGassitenoWhereCanIfindthisLink(smrProfile);\n\t\t\n}", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void VerifyLinkNavigationsOfUploadMeter()\n{\t\t\n\t Report.createTestLogHeader(\"Submit Meter Read\",\"Verify the link navigations of Upload meter reads page\");\n\tSMRAccountDetails smrProfile = new TestDataHelper().getAllSMRUserProfile(\"GlobalSMRMultiDialMetersite\");\n\tnew SubmitMeterReadAction()\n\t.BgbnavigateToLogin()\n .BgbloginDetails(smrProfile)\n .BgbverifyAfterLogin()\n .clickSubmitMeterReadLink()\n .clickUploadMeterReadLinks()\n\t.verifyUploadMeterPageNavigationLinks();\n}", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void verifyMeterReadingElectricityOverLayLink()\t\n{\t\n\tReport.createTestLogHeader(\"Anonymous Submit meter read\", \"verify the Electricity reading meter Overlay in Reading Page\");\nSMRAccountDetails smrProfile = new TestDataHelper().getAllSMRUserProfile(\"SAPSMRElectricityUserforsingleMeter\");\n\t\tnew SubmitMeterReadAction()\n\t\t.openSMRpage(\"Electricity\")\n\t\t.verifyElectricitysitenoWhereCanIfindthisLink(smrProfile);\t\t\n\t\t\n}", "public void screenshot(String methodName) throws Exception \r\n\t{\r\n\t\tCalendar calendar = Calendar.getInstance();\r\n\t\tSimpleDateFormat formater = new SimpleDateFormat(\"dd_MM_yyyy_hh_mm_ss\"); \r\n\t\tFile scrFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);\r\n\r\n\t\tString screenshotLocationWeb = FilesAndFolders.getPropValue(\"screenshotLocationWeb\");\r\n\t\ttry {\r\n\t\t\tFileUtils.copyFile(scrFile, new\r\n\t\t\t\t\tFile((screenshotLocationWeb + methodName + \"_\" + formater.format(calendar.getTime())+\".png\")));\r\n\t\t\tReporter.log(\"<a href='\" +\r\n\t\t\t\t\tscreenshotLocationWeb + methodName + \"_\" + formater.format(calendar.getTime()) + \".png'> <imgsrc='\" + screenshotLocationWeb + methodName + \"_\" + formater.format(calendar.getTime()) + \".png' /> </a>\");\r\n\t\t\tReporter.setCurrentTestResult(null);\r\n\t\t}\r\n\t\tcatch (IOException e1) {\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\t}", "public void recordLog(){\r\n\t\tthis.finishLog(resourceFiles.getString(\"PathHepparIITestDirectory\") + \"/\" + TEST_FILE_NAME); \r\n\t}", "@Test(priority = 1)\n\tpublic void navigateToBulkUploadLandingPage() {\n\t\tlog.info(line);\n\t\tAssert.assertTrue(clickAllActionButton.navigateToBulkUploadLandingPage(),\n\t\t\t\t\"Bulk upload Landing page is displayed\");\n\t}", "@Test\n\tpublic void LocationInventoryDetailReport(){\n\t\t\t\tWebDriver driver = new FirefoxDriver();\n\t\t\t\t// Alternatively the same thing can be done like this\n\t\t // driver.get(\"http://www.google.com\");\n\t\t\t\tdriver.navigate().to(determineUrl());\n\t\t\t\t// Find the text input element by its name\n\t\t\t\tWebElement user_name = driver.findElement(By.id(\"user_email\"));\n\t\t\t\tuser_name.sendKeys(user);\n\t\t\t\t\n\t\t\t\tWebElement password = driver.findElement(By.id(\"user_password\"));\n\t\t\t\tpassword.sendKeys(password_login);\n\t\t\t\tpassword.submit();\n\t\t\t\t\n\t\t\t\tWebElement select_venue = driver.findElement(By.id(\"change_venue\"));\n\t\t\t\tselect_venue.sendKeys(venue);\n\t\t\t\tselect_venue.submit();\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tWebElement report = driver.findElement(By.linkText(\"Reporting\"));\n\t\t\t\treport.click();\n\t\t\t\t\n\t\t\t\tWebElement select_report = driver.findElement(By.id(\"report_type_chooser\"));\n\t\t\t\tselect_report.sendKeys(\"Location Inventory Detail Report\");\n\t\t\t\tWebElement select_event = driver.findElement(By.id(\"report_event\"));\n\t\t\t\tselect_event.sendKeys(event);\n\t\t\t\tselect_event.submit();\n\t\t\t\tdriver.close();\n\t\t\n\t}", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void smrImplausibleMeterReadSubmitOverlayforMultipleMeter(){\n\tReport.createTestLogHeader(\"SubmitMeterRead\", \"Validates whether the overlay appears for implausible meter read submission for multiple meter\");\n\t SMRAccountDetails smrProfile = new TestDataHelper().getAllSMRUserProfile(\"SmrLoggedInJourneyy\");\n\t new SubmitMeterReadAction()\n\t \t .BgbnavigateToLogin()\n\t .BgbloginDetails(smrProfile)\n\t .clickManageAccountLinkWithAccNo(smrProfile)\n\t .submitMeterReadLink(smrProfile)\n\t .verifyMultiDialImplausibleReads(smrProfile)\n\t .submitButton()\n\t .overlay();\n\t \n}", "public HtShowDetailedLog() {\n\t}", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void smrImplausibleMeterReadSubmitOverlayforSingleMeterAndSAPVerification(){\n\tReport.createTestLogHeader(\"SubmitMeterRead\", \"Validates whether the overlay appears for implausible meter read submission for one meter\");\n\t SMRAccountDetails smrProfile = new TestDataHelper().getAllSMRUserProfile(\"MeterReadCollectiveAndElec\");\n\t new SubmitMeterReadAction()\n\t \t .BgbnavigateToLogin()\n\t .BgbloginDetails(smrProfile)\n\t .clickManageAccountLinkWithAccNo(smrProfile)\n\t .submitMeterReadLink(smrProfile)\n\t .verifyMultiDialImplausibleReads(smrProfile)\n\t .submitButton()\n\t .overlay();\n}", "static void takeSelfie() {\n\t\t\tSystem.out.println(\"I am defined static method of TakesScreenshot interface\");\n\t\t}", "@Test\r\n\tpublic static void report(String desc,String status, String methoddesc) throws Throwable\r\n\t{\n\r\n\t\ttry {\r\n\t\t\tFileUtils.copyFile(((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE) , new File(userpath+\"/reports/Run_\"+i+\"/images/step \"+number+\"_\"+methoddesc+\".jpg\"));\r\n\t\t} catch (WebDriverException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t\t// Write if it is successful or failure or information\r\n\t\tif(status.toUpperCase().equals(\"PASS\")){\r\n\t\t\ttest.log(LogStatus.PASS, desc+test.addScreenCapture(userpath+\"\\\\reports\\\\Run_\"+i+\"\\\\images\\\\step \"+number+\"_\"+methoddesc+\".jpg\"));\r\n\t\t}else if(status.toUpperCase().equals(\"FAIL\")){\r\n\t\t\ttest.log(LogStatus.FAIL, desc+test.addScreenCapture(userpath+\"\\\\reports\\\\Run_\"+i+\"\\\\images\\\\step#\"+number+\"_\"+methoddesc+\".jpg\"));\r\n\t\t\t//throw new RuntimeException(\"FAILED\");\r\n\t\t}else if(status.toUpperCase().equals(\"INFO\")){\r\n\t\t\ttest.log(LogStatus.INFO, desc);\r\n\t\t}\r\n\t\tnumber++;\r\n\t}", "@Override\r\npublic void onTestFailure(ITestResult arg0) {\n\tExtentReports er = new ExtentReports(\"./Report/Report.html\");\r\n\tExtentTest t1 = er.startTest(\"TC001\");\r\n\tt1.log(LogStatus.PASS, \"Passed\");\r\n\tSystem.out.println(\"vballe\");\r\n\ter.endTest(t1);\r\n\ter.flush();\r\n\ter.close();\r\n}", "public static void main(String[] args) throws InterruptedException {\n\t\tExtentReports report = new ExtentReports(\"Report08.html\");\r\n\t\tExtentTest test = report.startTest(\"TestCase08\");\r\n\t\t\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"chromedriver.exe\");\r\n\t\tWebDriver driver=new ChromeDriver();\r\n\r\n\t\tdriver.get(\"file:///D:/TestCases_11Feb/testcase8.html\");\r\n\t\tWebElement drop=driver.findElement(By.xpath(\"/html/body/div/button\"));\r\n\r\n\t\tActions actions=new Actions(driver);\r\n\t\tactions.moveToElement(drop).build().perform();\r\n\t\t\r\n\t\tThread.sleep(2000);\r\n\t\tdriver.findElement(By.linkText(\"Google\")).click();\r\n\r\n\t\tThread.sleep(4000);\r\n\t\t\r\n\t\tif(driver.getTitle().equals(\"Google\"))\r\n\t\t{\r\n\t\tSystem.out.println(\"Google\");\r\n\t\ttest.log(LogStatus.PASS, \"Verified\");\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\tSystem.out.println(\"Failure\");\r\n\t\ttest.log(LogStatus.FAIL, \"Failed to move to Google page\");\r\n\t\t}\r\n\t\tThread.sleep(2000);\r\n\t\treport.endTest(test);\r\n\t\treport.flush();\r\n\t\tdriver.quit();\t\t\r\n\t\r\n\t\r\n\t}", "static void takeSelfie() {\n\t\tSystem.out.println(\"I am defined static method of TakesScreenshot interface\");\n\t}", "public void reports_TM() throws InterruptedException\n {\n\t System.out.println(\"---*** Reports.reports_TM() ***---\");\n\t if(driver.findElements(By.linkText(\"Reports\")).size()>0)\n\t {\n\t\t clickreports.click();\n\t\t Thread.sleep(1000);\n\t\t if(driver.findElements(By.linkText(\"My reports\")).size()>0)\n\t\t {\n\t\t\t myreportlink.click();\n\t\t\t Thread.sleep(2000);\n\t\t\t String logname = driver.findElement(By.xpath(\"//span[@class='userInfo']\")).getText();\n\t\t\t\tSystem.out.println(\"Loged in user is \" +logname);\n\t\t\t\tswitch(logname)\n\t\t\t\t {\n\t\t\t\t case \"Teammanager Demo2\":\n\t Req_detail();\n\t Large_Req_detail();\n\t Req_Multiple_vol();\n\t feedbacklink.click();\n\t Thread.sleep(1000);\n\t Feedback_req();\n\t Request_type();\n\t timelink.click();\n\t Thread.sleep(1000);\n\t timesheet_report();\n\t userlink.click();\n\t Thread.sleep(1000);\n\t user_details();\n\t user_mappings();\n\t SLAlink.click();\n\t Thread.sleep(1000);\n\t SLA_Report();\n\t auditlink.click();\n\t Thread.sleep(1000);\n\t tracking_Report();\n\t knowlink.click();\n\t Thread.sleep(1000);\n\t know_doc_Report();\n\t if(countreports.size()!=11)\n\t\t {\n\t\t\t System.out.println(\"INCORRECT reports displaying for Team manager\");\n\t\t }\n\t\t else\n\t\t {\n\t\t\t System.out.println(\"Correct reports displaying for Team manager\");\n\t\t }\n\t break;\n\t\tcase \"Analyst Demo2\":\n\t\t Req_detail();\n\t\t\t feedbacklink.click();\n\t\t\t Thread.sleep(1000);\n\t\t\t my_timesheet_report();\n\t\t\t if(countreports.size()!=2)\n\t\t\t {\n\t\t\t\t System.out.println(\"INCORRECT reports displaying for Analyst\");\n\t\t\t }\n\t\t\t else\n\t\t\t {\n\t\t\t\t System.out.println(\"Correct reports displaying for Analyst\");\n\t\t\t }\n\t\t\t break;\n\t\t\t }\n\t\t }\n\t\t else\n\t\t {\n\t\t\t System.out.println(\"\\n\" + \"My Reports is not present\");\n\t\t }\n\t }\n\t else\n\t {\n\t\t System.out.println(\"\\n\" + \"Reports module not present\");\n\t }\n\t }", "@Test(priority = 1, groups= {\"regression\",\"smoke\"})\r\n\tpublic void PrintHospitals()\r\n\t{\r\n\t\tlogger= report.createTest(\"Printing Hospitals as per requirement\");\r\n\t\tDisplayHospitalNames hp=Base.nextPage1();\r\n\t\thp.selectLocation();\r\n\t\thp.selectHospital();\r\n\t\thp.applyFilters();\r\n\t\thp.hospitals();\r\n\t\thp.Back();\r\n\t}", "@Test\r\n\tpublic void extendReports() throws IOException {\n\t\tString File = \"./Reports/report.html\";\r\n\t\tExtentHtmlReporter html = new ExtentHtmlReporter(File);\r\n\t\thtml.setAppendExisting(true);\r\n\t\t//to write on the created html file\r\n\t\tExtentReports extents = new ExtentReports();\r\n\t\textents.attachReporter(html);\r\n\t\t\r\n\t\tExtentTest createAccountTest = extents.createTest(\"TC001\", \"CreateAccount\");\r\n\t\tcreateAccountTest.pass(\"username entered\", MediaEntityBuilder.createScreenCaptureFromPath(\"./../snaps/img1.png\").build());\r\n\t\textents.flush();\r\n\t\t\r\n\r\n\t}", "@BeforeTest\n\tpublic void initialise() throws IOException\n\t{\n\t\tdriver = initialzeDriver();\n\t\tdriver.get(prop.getProperty(\"url\"));\n\t\tdriver.manage().window().maximize();\n\t\tlog.info(\"llog\"); \n\t\tlog.debug(\"Debug\");\n\t\tlog.error(\"Errpr\");\n\t}", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void verifyCancelButtonOnGasYourDetails()\t\n{\t\n\tReport.createTestLogHeader(\"Anonymous Submit meter read\", \"Verifies the Gas meter read Your details Back button\");\n\t\tnew SubmitMeterReadAction()\n\t\t.openSMRpage(\"Gas\")\n\t\t.yourdetailsCancelButtons();\n}", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void smrConfirmationPageWithinMRGas(){\n\tReport.createTestLogHeader(\"SubmitMeterRead\", \"Validates meter read submission and Email to customer\");\n\t SMRAccountDetails smrProfile = new TestDataHelper().getAllSMRUserProfile(\"SMRLoggedin\");\n\t new SubmitMeterReadAction()\n\t \t .BgbnavigateToLogin()\n\t .BgbloginDetails(smrProfile)\n\t .clickManageAccountLinkWithAccNo(smrProfile)\n\t .submitMeterReadLink(smrProfile)\n\t .enterMultiDialReads(smrProfile)\n\t .overlay()\n\t .emailConfirmation()\n\t .verifyAuditLeadTable(smrProfile);\n}", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void smrConfirmationPageWithinMRCollective(){\n\tReport.createTestLogHeader(\"SubmitMeterRead\", \"Validates whether Submit meter read is successful for customers submitting within MR window for logged in customer\");\n\t SMRAccountDetails smrProfile = new TestDataHelper().getAllSMRUserProfile(\"SMRLoggedin\");\n\t new SubmitMeterReadAction()\n\t \t .BgbnavigateToLogin()\n\t .BgbloginDetails(smrProfile)\n\t .clickManageAccountLinkWithAccNo(smrProfile)\n\t .submitMeterReadLink(smrProfile)\n\t .enterMultiDialReads(smrProfile)\n\t .emailConfirmation()\n\t .verifyAuditLeadTable(smrProfile);\n}", "public void screenshot() {\n\t\tRemoteWebDriver rwd = ((RemoteWebDriver) web.driver);\r\n\t\ttry {\r\n\t\t\trwd.getCommandExecutor().execute(new Command(rwd.getSessionId(), DriverCommand.ELEMENT_SCREENSHOT));\r\n\t\t} catch (IOException e) {\r\n\t\t\tlogger.reportStackTrace(e);\r\n\t\t}\r\n\r\n\t}", "public void generateReport()\r\n {\r\n ProfilerGUI reportGUI = new ProfilerGUI(map,mapCountTracker);\r\n //reportGUI.\r\n }", "@AfterMethod\n\tpublic void reportUpdate(ITestResult result) throws IOException{\n\t if(ITestResult.FAILURE==result.getStatus()){\n\t \n\t String temp=result.getMethod().getMethodName()+\".png\";\n\t captureScreenshot(driver,temp); \n\t\t //logger.fail(\"Screenshot is below:\" + logger.addScreenCaptureFromPath(System.getProperty(\"user.dir\")+\"/screenshots/\"+temp));\n\t\t\n\t \n\t }\n\t}", "public void Click_defineSetupPage_Alert() {\r\n\t\tclickOn(SensorConfiguration_Btn);\r\n\t}", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void smrMangaeAccountlinkSubmitMeterNavigationLink(){\n Report.createTestLogHeader(\"SubmitMeterRead\", \"Verify whether the Submit meter read landing page is getting displayed with meter details for less than 3 meters\");\n SMRAccountDetails smrProfile = new TestDataHelper().getAllSMRUserProfile(\"SMRLoggedin\");\n new SubmitMeterReadAction()\n .BgbnavigateToLogin()\n .BgbloginDetails(smrProfile)\n .clickManageAccountLinkWithAccNo(smrProfile)\n .submitMeterReadLink(smrProfile)\n .smrUpto3meters() \n .enterMultiDialReads(smrProfile) \n .smrAuditDetailsEntry(smrProfile);\n}", "public void onReportClick(){\r\n\t\tmyView.advanceToReport();\r\n\t}", "@Test(groups={\"it\"})\r\n\tpublic void testReportDetailsOnlyTestConfigurationSteps() throws Exception {\r\n\t\texecuteSubTest(1, new String[] {\"com.seleniumtests.it.stubclasses.StubTestClass\"}, ParallelMode.METHODS, new String[] {\"testAndSubActions\", \"testInError\", \"testWithException\"});\r\n\t\t\r\n\t\tString detailedReportContent = readTestMethodResultFile(\"testAndSubActions\");\r\n\t\tAssert.assertEquals(StringUtils.countMatches(detailedReportContent, \"</i></button><span class=\\\"step-title\\\"> Pre test step: set -\"), 1);\r\n\t\t\r\n\t\tString detailedReportContent2 = readTestMethodResultFile(\"testInError\");\r\n\t\tAssert.assertEquals(StringUtils.countMatches(detailedReportContent2, \"</i></button><span class=\\\"step-title\\\"> Pre test step: set -\"), 1);\r\n\t\t\r\n\t\t// check that when test is KO, error cause is displayed\r\n\t\tAssert.assertTrue(detailedReportContent2.contains(\"[main] ScenarioLogger: Test is KO with error: class java.lang.AssertionError: error\"));\r\n\t\t\r\n\t\tString detailedReportContent3 = readTestMethodResultFile(\"testWithException\");\r\n\t\tAssert.assertEquals(StringUtils.countMatches(detailedReportContent3, \"</i></button><span class=\\\"step-title\\\"> Pre test step: set -\"), 1);\r\n\t\tAssert.assertEquals(StringUtils.countMatches(detailedReportContent3, \"</i></button><span class=\\\"step-title\\\"> Post test step: reset -\"), 1);\r\n\t\t\r\n\t\t// in case of test method error, it is retried so each Before/After method is also replayed. Check it's the last one we have\r\n\t\tAssert.assertTrue(detailedReportContent3.contains(\"<div class=\\\"message-info\\\">before count: 2</div>\"));\r\n\t\tAssert.assertTrue(detailedReportContent3.contains(\"<div class=\\\"message-info\\\">after count: 3</div>\"));\r\n\t}", "@Override\n\tpublic void onTestSuccess(ITestResult result) {\n\t\tSystem.out.println(\"THE TEST CASE HAS PASSED SUCCESSFULLY\");\n\t\ttest.log(Status.PASS, \"test passed\");\nWebDriver driver=null;\n\t\t\n\t\ttry {\n\t\t\t\n\t\t\tdriver=(WebDriver)result.getTestClass().getRealClass().getDeclaredField(\"driver\").get(result.getInstance());\n\t\t\t\n\t\t} catch (IllegalArgumentException | IllegalAccessException | NoSuchFieldException | SecurityException e1) {\n\t\t\t\n\t\t\te1.printStackTrace();\n\t\t}\n\t\t\n\t\tString testMethodName=result.getMethod().getMethodName();\n\t\t\n\t\tcaptureScreenshot(driver,testMethodName);\n\t\ttry {\n\t\t\ttest.addScreenCaptureFromPath(System.getProperty(\"user.dir\")+\"\\\\Output\\\\Screenshots\\\\\"+testMethodName+\".png\");\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "@Test\n\tpublic void generateSpecialInstructionsReport(){\n\t\t\t\tWebDriver driver = new FirefoxDriver();\n\t\t\t\t// Alternatively the same thing can be done like this\n\t\t // driver.get(\"http://www.google.com\");\n\t\t\t\tdriver.navigate().to(determineUrl());\n\t\t\t\t// Find the text input element by its name\n\t\t\t\tWebElement user_name = driver.findElement(By.id(\"user_email\"));\n\t\t\t\tuser_name.sendKeys(user);\n\t\t\t\t\n\t\t\t\tWebElement password = driver.findElement(By.id(\"user_password\"));\n\t\t\t\tpassword.sendKeys(password_login);\n\t\t\t\tpassword.submit();\n\t\t\t\t\n\t\t\t\tWebElement select_venue = driver.findElement(By.id(\"change_venue\"));\n\t\t\t\tselect_venue.sendKeys(venue);\n\t\t\t\tselect_venue.submit();\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tWebElement report = driver.findElement(By.linkText(\"Reporting\"));\n\t\t\t\treport.click();\n\t\t\t\t\n\t\t\t\tWebElement select_report = driver.findElement(By.id(\"report_type_chooser\"));\n\t\t\t\tselect_report.sendKeys(\"Special Instructions Report\");\n\t\t\t\tWebElement select_event = driver.findElement(By.id(\"report_event\"));\n\t\t\t\tselect_event.sendKeys(event);\n\t\t\t\tselect_event.submit();\n\t\t\t\tdriver.close();\n\t\t\n\t}", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void verifyCancelButtonOnElecYourDetails()\t\n{\t\n\tReport.createTestLogHeader(\"Anonymous Submit meter read\", \"Verifies the Elec meter read Your details Back button\");\n\t\tnew SubmitMeterReadAction()\n\t\t.openSMRpage(\"Electricity\")\n\t\t.yourdetailsCancelButton();\n\t\t\n}", "public void sendLog() {\n\t\tcommon.waitFor(5000);\n\t\tcommon.isElementDiplayed(sendButton);\n\t\tsendButton.click();\n\t\tcommon.isElementDiplayed(sucessMessage);\n\t\tsendButton.click();\n\n\t}", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void smrAbove3MetersSearchOptions(){\n\tReport.createTestLogHeader(\"SubmitMeterRead\", \"Verifies smr landing page for more than 3 meters\");\n\t SMRAccountDetails smrProfile = new TestDataHelper().getAllSMRUserProfile(\"SmrLoggedInJourneyymorethan15accts\");\n\t new SubmitMeterReadAction()\n\t \t .BgbnavigateToLogin()\n\t .BgbloginDetails(smrProfile)\n\t .clickManageAccountLinkWithAccNo(smrProfile)\n\t .submitMeterReadLink(smrProfile)\n\t .smrMoreThan3MetersSearchOptions()\n\t .smrWhatsThisElectricity()\n\t .smrWhatsThisGas();\n\t // .smrDownloadTemplateLink(); \n}", "@Override\r\n\tpublic void report() {\r\n\t}", "@Test\n public void dashboardPageTest(){\n test = report.createTest(\"Dashboard Page Title Test\");\n test.info(\"logging in to application\");\n loginPage.login(\"driver_username\", \"driver_password\");\n wait.until(ExpectedConditions.textToBePresentInElement(dashboardPage.pageHeader,\"Quick Launchpad\"));\n String actual = dashboardPage.pageHeader.getText();\n test.info(\"verifying page title\");\n assertEquals(actual, \"Quick Launchpad\");\n test.pass(\"PASS: Dashboard Page Title Test\");\n }", "private void printReport() {\n\t\tSystem.out.println(getReport());\n\t}", "public void getscreenshot(WebDriver driver, String testCaseNumber) {\n\n\t\tShutterbug.shootPage(driver, ScrollStrategy.WHOLE_PAGE).withName(testCaseNumber).save();\n\t\tlogger.info(\"Successfully screenshot is taken and stored in screenshot folder for the test case \" + testCaseNumber);\n\t}", "public static void main(String[] args) throws Exception{\n Home_Page.lnk_SignIn().click();\n LogIn_Page.txtbx_UserName().sendKeys(Constant.Username);\n LogIn_Page.txtbx_Password().sendKeys(Constant.Password);\n LogIn_Page.btn_LogIn().click();\n System.out.println(\" Login Successfully, now it is the time to Log Off buddy.\");\n Home_Page.lnk_LogOut().click(); \n File scrFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);\n System.out.println(System.getProperty(\"user.dir\") + \"//data//CaptureScreenshot//google.jpg\");\n FileUtils.copyFile(scrFile, new File(System.getProperty(\"user.dir\") + \"//data//CaptureScreenshot//google.jpg\"));\n driver.quit();\n }", "@Given(\"^I go to \\\"([^\\\"]*)\\\" on \\\"([^\\\"]*)\\\"$\")\n\t\tpublic void i_go_to_on(String URL, String browser) {\n\t\t\t\t System.out.println(\"I am going to \"+URL+ \" on \" +browser);\n\t\t\t\t selenium.openBrowser(browser);\n\t\t\t\t selenium.navigate(URL);\n\t\t\t\t /*try {\n\t\t\t\t\tselenium.takeScreenShot();\n\t\t\t\t\tSystem.out.println(\"take screen shot\");\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}*/\n\t\t}", "public void viewOptions()\r\n {\r\n SetupScreen setupScreen = new SetupScreen();\r\n pushScreen(setupScreen);\r\n }", "public void verifyreport()\t\n{\n\tif(ReadPropertyFile.get(\"Application\").equalsIgnoreCase(\"Phonakpro\"))\n\t{\n\t\t// handling the windows tab using below code\n\t\t \n\t\tArrayList<String> newTab = new ArrayList<String>(DriverManager.getDriver().getWindowHandles());\n\t \n\t //if you traverse forward the next tab from the existing tab\n\t DriverManager.getDriver().switchTo().window(newTab.get(2));\n\t}\n\telse if(ReadPropertyFile.get(\"Application\").equalsIgnoreCase(\"Unitron\"))\n\t{\n\t\t// handling the windows tab using below code\n\t\t \n\t\tArrayList<String> newTab = new ArrayList<String>(DriverManager.getDriver().getWindowHandles());\n\t \n\t //if you traverse forward the next tab from the existing tab\n\t DriverManager.getDriver().switchTo().window(newTab.get(0));\n\t}\n\t\n\t//SELECT REPORT MENU ITEM\n\tjScriptClick(settingsMenuItem.get(1));\n\t//SELECT THE REPORT DROP DOWN\n\tjScriptClick(reportDropDownbutton.get(0));\n\t\n\t// ENTER THE SCREENER NAME\n\tsendkeys(reportDropDownInputText.get(1),\"automatescreener\");\n\t//SELECT THE FIRST SCREENER IF THE SCREENER HAS THE SAME NAME\n\tjScriptClick(reportDropDownScreenersListOptions.get(0));\n\tjScriptClick(dateReportDropDownbutton.get(1));\n\tjScriptClick(reportDropDownbutton.get(1));\n\tjScriptClick(dateReportDropDownoptionToday);\n\tjScriptClick(dateOptionOkButton);\n}", "@Override\r\n\t\t\tpublic void reporte() {\n\r\n\t\t\t}", "@Override\n protected boolean executeAction(SUT system, State state, Action action){\n // adding the action that is going to be executed into HTML report:\n htmlReport.addSelectedAction(state.get(Tags.ScreenshotPath), action);\n return super.executeAction(system, state, action);\n }", "protected void startReport(){\n Intent cameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\n startActivityForResult(cameraIntent,REQUEST_CODE);\n }", "public void infoLog(String testStep,ExtentReports report,ExtentTest logger)\n\t{\n\t\tcurrentTestStep = testStep;\n\t\tlogger.log(Status.INFO, \"Step: \"+(++i)+\" \"+testStep );\n\t\treport.flush();\n\t}", "@Override\r\n\tpublic void onTestSuccess(ITestResult tr) {\n\t\tLog.info(tr.getName() + \"---Test method passed---\\n\");\r\n \ttry {\r\n\t\t\ttakeScreenShot(tr);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "public void getScreenshot() {\n String screenshotPath = System.getProperty(\"TEST_RESULTS_PATH\");\n getScreenshot(screenshotPath);\n }", "@Test(groups = {\"Sprint54\"}, description = \"Advanced search bar should be opened in No Java applet, no task area, but show Go To shortcuts layout.\")\r\n\tpublic void SprintTest54_1_20_5() throws Exception {\r\n\r\n\t\tdriver = null; \r\n\r\n\t\ttry {\r\n\r\n\r\n\r\n\t\t\tdriver = WebDriverUtils.getDriver();\r\n\r\n\r\n\t\t\tConfigurationPage configurationPage = LoginPage.launchDriverAndLoginToConfig(driver, true); //Launched driver and logged in\r\n\r\n\t\t\t//Step-1 : Navigate to Vault in tree view\r\n\t\t\t//-----------------------------------------\r\n\t\t\tconfigurationPage.treeView.clickTreeViewItem(Caption.ConfigSettings.VaultSpecificSettings.Value + \">>\" + testVault); //Clicks tree view item\r\n\r\n\r\n\t\t\tif (!configurationPage.configurationPanel.getPageName().toUpperCase().equalsIgnoreCase(testVault.toUpperCase())) //Checks if navigated to vault settings page\r\n\t\t\t\tthrow new Exception(\"Vault settings page in configuration is not opened.\");\r\n\r\n\t\t\tLog.message(\"1. Navigated to Vault settings page.\");\r\n\r\n\t\t\t//Step-2 : Select No Java applet, no task area layout and save the settings\r\n\t\t\t//-------------------------------------------------------------------------\r\n\t\t\tconfigurationPage.configurationPanel.setJavaApplet(Caption.ConfigSettings.Config_Disable.Value);\r\n\r\n\t\t\tif(configurationPage.configurationPanel.isJavaAppletEnabled())\r\n\t\t\t\tthrow new Exception(\"Java applet is enabled\");\r\n\r\n\t\t\tconfigurationPage.configurationPanel.setLayout(Caption.ConfigSettings.Config_TaskAreaWithShowGoTo.Value);\r\n\r\n\t\t\tif (!configurationPage.configurationPanel.saveSettings()) //Save the settings\r\n\t\t\t\tthrow new Exception(\"Configuration settings are not saved after changing its layout.\");\r\n\r\n\t\t\tLog.message(\"1. No java applet with task area with go to layout is selected and saved.\");\r\n\r\n\t\t\tif (!configurationPage.logOut()) //Logs out from configuration page\r\n\t\t\t\tthrow new Exception(\"Log out is not successful after saving the settings in configuration page.\");\r\n\r\n\t\t\tLog.message(\"2. No java applet with task area with go to layout is selected and settings are saved.\");\r\n\r\n\t\t\t//Step-3 : Login to the default page and click Advanced Search in search pane\r\n\t\t\t//--------------------------------------------------------------------------\r\n\t\t\tHomePage homePage = LoginPage.launchDriverAndLogin(driver, false); //Launches and logs into the default page\r\n\t\t\thomePage.searchPanel.clickAdvancedSearch(true); //Clicks Advanced search button\r\n\r\n\t\t\tLog.message(\"3. Logged into the default page and advanced search button is clicked.\");\r\n\r\n\t\t\t//Verification : Verify if advanced search is displayed\r\n\t\t\t//-----------------------------------------------------\r\n\t\t\tif (homePage.searchPanel.isAdvancedSearchDisplayed()) //Verifies if Advanced search is displayed in No Java applet, no task area, but show Go To shortcuts layout\r\n\t\t\t\tLog.pass(\"Test case Passed. Advanced search is displayed in No java applet with Task area only layout.\");\r\n\t\t\telse\r\n\t\t\t\tLog.fail(\"Test case Failed. Advanced search is not displayed in No java applet with Task area only layout.\", driver);\r\n\r\n\t\t}\r\n\t\tcatch (Exception e) {\r\n\t\t\tLog.exception(e, driver);\r\n\t\t} //End catch\r\n\r\n\t\tfinally {\r\n\r\n\t\t\tif(driver != null){\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tdriver.get(configURL);\r\n\r\n\t\t\t\t\tConfigurationPage configurationPage = new ConfigurationPage(driver);\r\n\t\t\t\t\tconfigurationPage.treeView.clickTreeViewItem(Caption.ConfigSettings.VaultSpecificSettings.Value + \">>\" + testVault); //Clicks tree view item\r\n\r\n\t\t\t\t\tconfigurationPage.configurationPanel.setLayout(Caption.ConfigSettings.Config_Default.Value);\r\n\r\n\t\t\t\t\tif (!configurationPage.configurationPanel.saveSettings())\r\n\t\t\t\t\t\tthrow new Exception(\"Configuration settings are not saved.\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e0)\r\n\t\t\t\t{\r\n\t\t\t\t\tLog.exception(e0, driver);\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t\tUtility.quitDriver(driver);\r\n\t\t} //End finally\r\n\r\n\t}", "@Override\n public void reportSmartDashboard() {\n }", "public static void generateReport()\n\t{\n\t\tlong time=System.currentTimeMillis();\n\t\tString reportPath=System.getProperty(\"user.dir\")+\"//automationReport//Report\"+time+\".html\";\n\t\t\n\t\thtmlreporter=new ExtentHtmlReporter(reportPath);\n\t\textent=new ExtentReports();\n\t\textent.attachReporter(htmlreporter);\n\t\t\n\t\tString username=System.getProperty(\"user.name\");\n\t\tString osname=System.getProperty(\"os.name\");\n\t\tString browsername=CommonFunction.readPropertyFile(\"Browser\");\n\t\tString env=CommonFunction.readPropertyFile(\"Enviornment\");\n\t\t\n\t\t\n\t\textent.setSystemInfo(\"User Name\", username);\n\t\textent.setSystemInfo(\"OS Name\", osname);\n\t\textent.setSystemInfo(\"Browser Name\", browsername);\n\t\textent.setSystemInfo(\"Enviornment\", env);\n\t\t\n\t\t\n\t\thtmlreporter.config().setDocumentTitle(\"Automation Report\");\n\t\thtmlreporter.config().setTheme(Theme.STANDARD);\n\t\thtmlreporter.config().setChartVisibilityOnOpen(true);\n \n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "@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}", "private void logToFile() {\n }", "public void onTestSuccess(ITestResult arg0) {\n\t\tSystem.out.println(\"Test passed \" + getMethodeName(arg0));\r\n\t\tReporter.log(\"Test passed \" + getMethodeName(arg0));\r\n\r\n\t\t/*\r\n\t\t * if (arg0.getStatus() == ITestResult.SUCCESS) {\r\n\t\t * \r\n\t\t * // Screenshots betätigen String temp =\r\n\t\t * Utility.getScreenshot(ExtentReportDemo.driver, arg0.getName()); //\r\n\t\t * ExtentReportDemo.logger.pas);\r\n\t\t * \r\n\t\t * ExtentReportDemo.logger.log(Status.PASS, \"Assert Pass as condition is True\");\r\n\t\t * }\r\n\t\t */\r\n\t}", "protected void logToScreen() {\r\n\t\tif (smscListener != null) {\r\n\t\t\tsynchronized (processors) {\r\n\t\t\t\tdisplayInfo = !displayInfo;\r\n\t\t\t\tint procCount = processors.count();\r\n\t\t\t\tSimulatorPDUProcessor proc;\r\n\t\t\t\tfor (int i = 0; i < procCount; i++) {\r\n\t\t\t\t\tproc = (SimulatorPDUProcessor) processors.get(i);\r\n\t\t\t\t\tproc.setDisplayInfo(displayInfo);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tfactory.setDisplayInfo(displayInfo);\r\n\t\t}\r\n\t}", "public void detailReport() {\r\n\t\tint testStepId = 1;\r\n\t\tstrBufferReportAppend.append(\r\n\t\t\t\t\"<tr><td><table class=\\\"width100\\\"><tr><td><div class=\\\"headertext1 bold\\\">Test Execution Detail Report</div></td></tr>\");\r\n\t\tstrBufferReportAppend.append(\r\n\t\t\t\t\"<tr><td><div class=\\\"headertext1 bold\\\">Execution Browser Name: \"+ GlobalVariables.getBrowserName() + \"</div></td></tr>\");\r\n\t\tstrBufferReportAppend.append(\r\n\t\t\t\t\"<tr><td><div class=\\\"headertext1 bold\\\">Test Case Name: \"+ GlobalVariables.getTestCaseName() + \"</div></td></tr>\");\r\n\t\t\r\n\t\t\r\n\t\tstrBufferReportAppend.append(\"<tr><td>\");\r\n\t\tstrBufferReportAppend\r\n\t\t\t\t.append(\"<table colspan=3 border=0 cellpadding=3 cellspacing=1 class=\\\"reporttable width100\\\">\");\r\n\t\tstrBufferReportAppend.append(\"<tr><th class=\\\"auto-style1\\\">Test Step No</th>\" + \"<th class=\\\"auto-style2\\\">Action</th>\"\r\n\t\t\t\t+ \"<th class=\\\"auto-style3\\\">Actual Result</th>\" + \"<th class=\\\"auto-style4\\\">Status</th></tr>\");\r\n\t\tfor (ReportBean reportValue : GlobalVariables.getReportList()) {\r\n\r\n\t\t\tif (reportValue.getStatus().equalsIgnoreCase(\"Passed\")) {\r\n\r\n\t\t\t\tstrBufferReportAppend.append(\"<tr>\" + \"<td class=\\\"auto-style1 blue\\\">\" + testStepId++ + \"</td>\"// teststepid\r\n\t\t\t\t\t\t+ \"<td class=\\\"auto-style2 blue\\\">\" + reportValue.getStrAction() + \"</td>\"\r\n\t\t\t\t\t\t+ \"<td class=\\\"auto-style3 blue\\\">\" + reportValue.getResult() + \"</td>\"\r\n\t\t\t\t\t\t+ \"<td class=\\\"auto-style4 green\\\">\" + reportValue.getStatus() + \"</td></tr>\");\r\n\t\t\t} else if (reportValue.getStatus().equalsIgnoreCase(\"Failed\")) {\r\n\t\t\t\tstrBufferReportAppend.append(\"<tr>\" + \"<td class=\\\"auto-style1 blue\\\">\" + testStepId++ + \"</td>\"// teststepid\r\n\t\t\t\t\t\t+ \"<td class=\\\"auto-style2 blue\\\">\" + reportValue.getStrAction() + \"</td>\"\r\n\t\t\t\t\t\t+ \"<td class=\\\"auto-style3 blue\\\">\" + reportValue.getResult() + \"</td>\"\r\n\t\t\t\t\t\t+ \"<td class=\\\"auto-style4 red\\\">\" + reportValue.getStatus() + \"</td></tr>\");\r\n\t\t\t}\r\n\t\t}\r\n\t\tstrBufferReportAppend.append(\"</table>\");\r\n\t\tstrBufferReportAppend.append(\"</td></tr>\");\r\n\t\tstrBufferReportAppend.append(\"</table></td></tr></table></body></html>\");\r\n\t}", "public static void setReport()\n {\n ExtentHtmlReporter htmlReporter = new ExtentHtmlReporter(\"\\\\C:\\\\Users\\\\shir halevi\\\\Desktop\\\\qaexpert\\\\buyMe\\\\reports\\\\extent.html\");\n htmlReporter.setAppendExisting(true);\n extent = new ExtentReports();\n extent.attachReporter(htmlReporter);\n test = extent.createTest(\"BuyMeSanityTestWeb\", \"This is a BuyMe Sanity Test Web\");\n extent.setSystemInfo(\"Tester\", \"Shir\");\n test.log(Status.INFO, \"@Before class\");\n }", "public void viewLogs() {\n\t}", "@Then(\"^Login should be successfull and Dashboard page should be displayed$\")\n public void login_should_be_successfull_and_Dashboard_page_should_be_displayed() throws Throwable {\n dashboard.checkDashboardPageProfilePic();\n}", "public void sendToDashboard() {\n\n\t\tif (Constants.DEBUG) {\n\t\t}\n\t}", "private void log(String message) {\r\n\t\tif (ChartFrameSelectParametersMenuActionListener.printLog && Main.isLoggingEnabled()) {\r\n\t\t\tSystem.out.println(this.getClass().getName() + \".\" + message);\r\n\t\t}\r\n\t}", "public void printInfo() {\n\t\tString url = webDriver.getCurrentUrl();\n\t\tString title = webDriver.getTitle();\n\t\tSystem.out.println(\"Current URL is \"+url);\n\t\tSystem.out.println(title);\n\t}", "public void logScreen(String imageName) {\n this.logScreen(imageName, imageName, thumbHeight, thumbWidth);\n }", "public ReportScreen() {\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t ExtentHtmlReporter htmlReporter = new Exte\r\n\t\t\t\t ntHtmlReporter(\"extent.html\");\r\n\t // create ExtentReports and attach reporter(s)\r\n\t ExtentReports extent = new ExtentReports();\r\n\t extent.attachReporter(htmlReporter);\r\n\t // creates a toggle for the given test, adds all log events under it \r\n ExtentTest MYTEST = extent.createTest(\"Google Search\", \"To validate the ggogle search functionality\"); \r\n System.setProperty(\"webdriver.gecko.driver\",\"C:\\\\Users\\\\ADMIN\\\\Downloads\\\\geckodriver.exe\");\r\n\t\t WebDriver driver=new FirefoxDriver();\r\n\t\t driver.get(\"https://google.com\");\r\n\t\t \r\n\t\t MYTEST.log(Status.INFO,\"starting my test case\");\r\n\t\t // driver.get(url);\r\n\t\t driver.findElement(By.name(\"q\")).sendKeys(\"selenium automation\");\r\n\t\t MYTEST.pass(\"entered text in search box\");\r\n\t\t //driver.findElement(By.name(\"btnK\")).sendKeys(Keys.RETURN);\r\n\t\t // MYTEST.pass(\"pressed the click button\");\r\n\t\t driver.close();\r\n\t\t driver.quit(); \r\n\t\t //MYTEST.pass(\"closed the browser\");\r\n\t\t MYTEST.pass(\"compoleted the test\");\r\n\t\t // calling flush writes everything to the log file\r\n\t\t extent.flush();\r\n\t\r\n\t}", "@Test\n\tpublic void Reports_18961_execute() throws Exception {\n\t\tVoodooUtils.voodoo.log.info(\"Running \" + testName + \"...\");\n\n\t\t// Navigate to Advance Reports in navbar \n\t\tsugar().navbar.navToModule(ds.get(0).get(\"advance_report_name\"));\n \t\tnavigationCtrl.click();\n \t\t\n \t\t// Click on View Advance Report link\n \t\tviewAdvanceReportCtrl = new VoodooControl(\"a\", \"css\", \"[data-navbar-menu-item='LNK_LIST_REPORTMAKER']\");\n \t\tviewAdvanceReportCtrl.click();\n \t\tVoodooUtils.focusFrame(\"bwc-frame\");\n \t\t\n \t\t// click on list item\n \t\tnew VoodooControl(\"a\", \"css\", \"tr.oddListRowS1 > td:nth-child(3) a\").click();\n \t\tVoodooUtils.focusDefault();\n \t\tVoodooUtils.focusFrame(\"bwc-frame\");\n \t\t\n \t\t// Click to Select to add data format in report\n \t\tnew VoodooControl(\"input\", \"css\", \"#form [title='Select']\").click();\n \t\tVoodooUtils.focusWindow(1);\n \t\t\n \t\t// select data format in list\n \t\tnew VoodooControl(\"a\", \"css\", \"tr.oddListRowS1 td:nth-child(1) a\").click();\n \t\tVoodooUtils.focusWindow(0);\n \t\tVoodooUtils.focusFrame(\"bwc-frame\");\n \t\t\n \t\t// Click \"Edit\" of a \"Data Format\"\n \t\tnew VoodooControl(\"a\", \"css\", \"#contentTable tr.oddListRowS1 > td:nth-child(6) > slot > a:nth-child(3)\").click();\n \t\tVoodooUtils.focusDefault();\n \t\tVoodooUtils.focusFrame(\"bwc-frame\");\n \t\tnew VoodooControl(\"input\", \"id\", \"name\").assertEquals(ds.get(0).get(\"data_format_name\"), true);\n \t\tnew VoodooControl(\"input\", \"id\", \"query_name\").assertEquals(ds.get(0).get(\"query_name\"), true);\n \t\tnew VoodooControl(\"a\", \"css\", \"#Default_DataSets_Subpanel tr:nth-child(1) td:nth-child(4) a\").assertEquals(ds.get(0).get(\"report_name\"), true);\n \t\tVoodooUtils.focusDefault();\n\n\t\tVoodooUtils.voodoo.log.info(testName + \" complete.\");\n\t}", "@Override\nprotected void doPage(Frame frame,Circuit circuit, IPlug plug, PageContext ctx) {\n\t\n}", "@Override\r\npublic void afterAlertAccept(WebDriver arg0) {\n\t\r\n\tSystem.out.println(\"as\");\r\n}", "public void printFailure() {\n //\n }", "@Override\r\n public void onAssertFailure(IAssert<?> assertCommand, AssertionError error) {\r\n String fileName = Screenshots.takeScreenshot(BaseTest.driver);\r\n Reporter.log(\"Step \" + (assertMessages.size()+1) + \": FAILED - <a href='\" + fileName + \"' target='_blank'>\" + error.getMessage()+\"</a>\");\r\n System.out.println(\"Step \" + (assertMessages.size()+1) +\": FAILED - \" + error.getMessage());\r\n }", "public void onTestFailure(ITestResult arg0) {\n\t\tSystem.setProperty(\"org.uncommons.reportng.escape-output\", \"false\");\r\n\t\ttry {\r\n\t\t\tTestUtils.captureScreenshot();\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\ttest.log(LogStatus.FAIL,arg0.getName().toUpperCase()+\"Failed with exception \"+arg0.getThrowable());\r\n\t\ttest.log(LogStatus.FAIL,test.addScreenCapture(TestUtils.screenshotName));\r\n\t\t\t\r\n\t\tReporter.log(\"click to continue screen shot\");\r\n\t\tReporter.log(\"<a target=\\\"_blank\\\" href=\"+TestUtils.screenshotName+\">Screenshot</a>\");\r\n\t\tReporter.log(\"</br>\");\r\n\t\tReporter.log(\"<a target=\\\"_blank\\\" href=\"+TestUtils.screenshotName+\"><img src=\"+TestUtils.screenshotName+\" width=200 height=200 </a>\");\t\r\n\t\trep.endTest(test);\r\n\t\trep.flush();\r\n\r\n\t}", "@Test(groups={\"it\"})\r\n\tpublic void testReportDetailsAllConfigurationSteps() throws Exception {\r\n\t\t\r\n\t\texecuteSubTest(new String[] {\"com.seleniumtests.it.stubclasses.StubTestClassForListener1\"}); \r\n\t\t\r\n\t\tString detailedReportContent = readTestMethodResultFile(\"test1Listener1\");\r\n\t\t\r\n\t\tAssert.assertTrue(detailedReportContent.contains(\"</i></button><span class=\\\"step-title\\\"> Pre test step: beforeMethod -\"));\r\n\t\tAssert.assertTrue(detailedReportContent.contains(\"</i></button><span class=\\\"step-title\\\"> Pre test step: beforeTest -\"));\r\n\t\tAssert.assertTrue(detailedReportContent.contains(\"</i></button><span class=\\\"step-title\\\"> Pre test step: beforeClass -\"));\r\n\t\tAssert.assertTrue(detailedReportContent.contains(\"</i></button><span class=\\\"step-title\\\"> Post test step: afterMethod -\"));\r\n\t\tAssert.assertTrue(detailedReportContent.contains(\"</i></button><span class=\\\"step-title\\\"> Post test step: afterClass -\"));\r\n\t\tAssert.assertTrue(detailedReportContent.contains(\"</i></button><span class=\\\"step-title\\\"> Post test step: afterTest -\"));\r\n\t\t\r\n\t\t// check reference to configuration methods for class / test / method are in both results (some are common)\r\n\t\tString detailedReportContent2 = readTestMethodResultFile(\"test2Listener1\");\r\n\t\t\r\n\t\tAssert.assertTrue(detailedReportContent2.contains(\"</i></button><span class=\\\"step-title\\\"> Pre test step: beforeMethod -\"));\r\n\t\tAssert.assertTrue(detailedReportContent2.contains(\"</i></button><span class=\\\"step-title\\\"> Pre test step: beforeTest -\"));\r\n\t\tAssert.assertTrue(detailedReportContent2.contains(\"</i></button><span class=\\\"step-title\\\"> Pre test step: beforeClass -\"));\r\n\t\tAssert.assertTrue(detailedReportContent2.contains(\"</i></button><span class=\\\"step-title\\\"> Post test step: afterMethod -\"));\r\n\t\tAssert.assertTrue(detailedReportContent2.contains(\"</i></button><span class=\\\"step-title\\\"> Post test step: afterClass -\"));\r\n\t\tAssert.assertTrue(detailedReportContent2.contains(\"</i></button><span class=\\\"step-title\\\"> Post test step: afterTest -\"));\r\n\t}", "private void report(int status, String message, BufferedImage image) {\r\n\t\t// update test status\r\n\t\tConf.setTestStatus(status);\r\n\t\t\r\n\t\t// get method name\r\n\t\tStackTraceElement[] thread = Thread.currentThread().getStackTrace();\r\n\t\tString methodName = thread[3].getMethodName();\r\n\t\t\r\n\t\t// report message\r\n\t\tif (Conf.isDbLog()) \r\n\t\t\tlogDatabaseMessage(methodName, status, message, image);\r\n\t\t\r\n\t\tif (Conf.isRobotLog()) \r\n\t\t\tlogLocalMessage(methodName, status, message, image);\r\n\t}", "@Then(\"troubleshooting chart steps are displaying\")\n public void troubleshooting_chart_steps_are_displaying() {\n }", "private static void printDetail() {\n System.out.println(\"Welcome to LockedMe.com\");\n System.out.println(\"Version: 1.0\");\n System.out.println(\"Developer: Sherman Xu\");\n System.out.println(\"[email protected]\");\n }", "private static void viewOptions() {\n\t\tlog.info(\"Enter 0 to Exit.\");\n\t\tlog.info(\"Enter 1 to Login.\");\n\t}", "@Test(priority = 12, dataProvider = \"AddReport\", dataProviderClass = PIMData.class)\n public void addReportPage(String name, String criteria, String criteriaInclude, String fieldGroup,\n String field) {\n softAssert = new SoftAssert();\n LoginPage.login(Constants.OrgUserName, Constants.OrgPassword);\n\n PIMPage.clickPIM();\n softAssert.assertTrue(PIMPage.isPIMPageDisplay(), \"PIM page is not displayed\");\n ReportPage.clickReportPage();\n softAssert.assertTrue(ReportPage.isReportPageDisplayed(), \"Report page is not displayed\");\n ReportPage.clickAddBtn();\n\n ReportPage.addReportForm(name, criteria, criteriaInclude, fieldGroup, field);\n\n softAssert.assertAll();\n\n\n }", "@Test(groups = {\"Sprint54\"}, description = \"Advanced search bar should be opened in No Java applet, no task area layout.\")\r\n\tpublic void SprintTest54_1_20_4() throws Exception {\r\n\r\n\t\tdriver = null; \r\n\r\n\t\ttry {\r\n\r\n\r\n\r\n\r\n\t\t\tdriver = WebDriverUtils.getDriver();\r\n\r\n\t\t\tConfigurationPage configurationPage = LoginPage.launchDriverAndLoginToConfig(driver, true); //Launched driver and logged in\r\n\r\n\t\t\t//Step-1 : Navigate to Vault in tree view\r\n\t\t\t//-----------------------------------------\r\n\t\t\tconfigurationPage.treeView.clickTreeViewItem(Caption.ConfigSettings.VaultSpecificSettings.Value + \">>\" + testVault); //Clicks tree view item\r\n\r\n\r\n\t\t\tif (!configurationPage.configurationPanel.getPageName().toUpperCase().equalsIgnoreCase(testVault.toUpperCase())) //Checks if navigated to vault settings page\r\n\t\t\t\tthrow new Exception(\"Vault settings page in configuration is not opened.\");\r\n\r\n\t\t\tLog.message(\"1. Navigated to Vault settings page.\");\r\n\r\n\t\t\t//Step-2 : Select No Java applet, no task area layout and save the settings\r\n\t\t\t//-------------------------------------------------------------------------\r\n\t\t\tconfigurationPage.configurationPanel.setJavaApplet(Caption.ConfigSettings.Config_Disable.Value);\r\n\r\n\t\t\tif(configurationPage.configurationPanel.isJavaAppletEnabled())\r\n\t\t\t\tthrow new Exception(\"Java applet is enabled\");\r\n\r\n\t\t\tconfigurationPage.configurationPanel.setLayout(Caption.ConfigSettings.Config_NoTaskArea.Value);\r\n\r\n\t\t\tif (!configurationPage.configurationPanel.saveSettings()) //Save the settings\r\n\t\t\t\tthrow new Exception(\"Configuration settings are not saved after changing its layout.\");\r\n\r\n\t\t\tLog.message(\"1. No java applet and no task area layout is selected and saved.\");\r\n\r\n\r\n\t\t\tif (!configurationPage.logOut()) //Logs out from configuration page\r\n\t\t\t\tthrow new Exception(\"Log out is not successful after saving the settings in configuration page.\");\r\n\r\n\t\t\tLog.message(\"2. Log out from the configuration page.\");\r\n\r\n\t\t\t//Step-3 : Login to the default page and click Advanced Search in search pane\r\n\t\t\t//--------------------------------------------------------------------------\r\n\t\t\tHomePage homePage = LoginPage.launchDriverAndLogin(driver, false); //Launches and logs into the default page\r\n\t\t\thomePage.searchPanel.clickAdvancedSearch(true); //Clicks Advanced search button\r\n\r\n\t\t\tLog.message(\"3. Logged into the default page and advanced search button is clicked.\");\r\n\r\n\t\t\t//Verification : Verify if advanced search is displayed\r\n\t\t\t//-----------------------------------------------------\r\n\t\t\tif (homePage.searchPanel.isAdvancedSearchDisplayed()) //Verifies if Advanced search is displayed in default layout\r\n\t\t\t\tLog.pass(\"Test case Passed. Advanced search is displayed in No java applet and No task area layout.\");\r\n\t\t\telse\r\n\t\t\t\tLog.fail(\"Test case Failed. Advanced search is not displayed in No java applet and No task area layout.\", driver);\r\n\r\n\t\t}\r\n\t\tcatch (Exception e) {\r\n\t\t\tLog.exception(e, driver);\r\n\t\t} //End catch\r\n\r\n\t\tfinally {\r\n\r\n\t\t\tif(driver != null){\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tdriver.get(configURL);\r\n\r\n\t\t\t\t\tConfigurationPage configurationPage = new ConfigurationPage(driver);\r\n\t\t\t\t\tconfigurationPage.treeView.clickTreeViewItem(Caption.ConfigSettings.VaultSpecificSettings.Value + \">>\" + testVault); //Clicks tree view item\r\n\r\n\t\t\t\t\tconfigurationPage.configurationPanel.setLayout(Caption.ConfigSettings.Config_Default.Value);\r\n\r\n\t\t\t\t\tif (!configurationPage.configurationPanel.saveSettings())\r\n\t\t\t\t\t\tthrow new Exception(\"Configuration settings are not saved.\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e0)\r\n\t\t\t\t{\r\n\t\t\t\t\tLog.exception(e0, driver);\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t\tUtility.quitDriver(driver);\r\n\t\t} //End finally\r\n\r\n\t}", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void siteNormalUptoAndAbove3Meters(){\n\tReport.createTestLogHeader(\"SubmitMeterRead\", \"Validates whether address displayed for particular meter is Site address for normal account for less than 3 meters\");\n\t SMRAccountDetails smrProfile = new TestDataHelper().getAllSMRUserProfile(\"MeterReadCollectiveAndElec\");\n\t new SubmitMeterReadAction()\n\t \t.BgbnavigateToLogin()\n\t .BgbloginDetails(smrProfile)\n\t .clickManageAccountLinkWithAccNo(smrProfile)\n\t .submitMeterReadLink(smrProfile)\n\t .smrNormalSite(smrProfile);\n}" ]
[ "0.6261917", "0.6206559", "0.6156924", "0.61195236", "0.6099701", "0.6080516", "0.6079332", "0.60510385", "0.59980905", "0.59882843", "0.59708923", "0.5962411", "0.5932018", "0.59150803", "0.5901747", "0.5866957", "0.584138", "0.5805777", "0.5799823", "0.577807", "0.5771884", "0.5765143", "0.57128954", "0.57112145", "0.57074076", "0.57070667", "0.5698797", "0.5688994", "0.5687563", "0.5680888", "0.5678578", "0.56464726", "0.56462747", "0.5637901", "0.5637481", "0.5634775", "0.56336004", "0.56257457", "0.5617826", "0.56123036", "0.5603938", "0.55890524", "0.55889636", "0.5567805", "0.5554833", "0.55518854", "0.5551685", "0.5548617", "0.554366", "0.55432034", "0.5539714", "0.5531792", "0.55283356", "0.5523919", "0.55220294", "0.5520821", "0.55185753", "0.551002", "0.54969275", "0.54927605", "0.5490901", "0.5483097", "0.54816943", "0.54745746", "0.54660714", "0.54644555", "0.54640967", "0.5448835", "0.54443395", "0.5443044", "0.5434816", "0.54310054", "0.54292077", "0.54181415", "0.5410054", "0.54049134", "0.54017526", "0.53985345", "0.5398075", "0.5389073", "0.53887945", "0.5385322", "0.5376572", "0.53717035", "0.5369587", "0.5358341", "0.5356735", "0.5354053", "0.53435475", "0.5343065", "0.53372943", "0.5336875", "0.5335602", "0.5332913", "0.53221613", "0.5316035", "0.5310031", "0.5306369", "0.5305165", "0.53042847", "0.52989566" ]
0.0
-1
If any String is empty, return the remaining characters of other String
public int minDis(String s1, String s2, int n, int m, int[][]dp){ if(n == 0) return m; if(m == 0) return n; // To check if given n & m has already been executed if(dp[n][m] != -1) return dp[n][m]; // If characters are equal, execute recursive function for n-1, m-1 if(s1.charAt(n-1) == s2.charAt(m-1)) { if(dp[n-1][m-1] == -1) { return dp[n][m] = minDis(s1, s2, n-1, m-1, dp); } else return dp[n][m] = dp[n-1][m-1]; } //If characters are not equal, we need to //Find the minimum cost out of all 3 operations. else { int m1, m2, m3; // temp variables if(dp[n-1][m] != -1) { m1 = dp[n - 1][m]; } else { m1 = minDis(s1, s2, n - 1, m, dp); } if(dp[n][m - 1] != -1) { m2 = dp[n][m - 1]; } else { m2 = minDis(s1, s2, n, m - 1, dp); } if(dp[n - 1][m - 1] != -1) { m3 = dp[n - 1][m - 1]; } else { m3 = minDis(s1, s2, n - 1, m - 1, dp); } return dp[n][m] = 1 + Math.min(m1, Math.min(m2, m3)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String lastChars(String a, String b) {\r\n String result = \"\";\r\n\r\n if (a.isEmpty()) {\r\n result += \"@\";\r\n } else {\r\n result += a.charAt(0);\r\n }\r\n\r\n if (b.isEmpty()) {\r\n result += \"@\";\r\n } else {\r\n result += b.charAt(b.length() - 1);\r\n }\r\n\r\n return result;\r\n }", "public static String checkEmpty(String string1, String string2) {\n if (string1 != null && string1.length() > 0)\n return string1;\n else if (string2 != null && string2.length() > 0)\n return string2;\n else\n return \"\";\n }", "static String super_reduced_string(String s) {\n if (s.equals(\"\")) return \"Empty String\";\n\n StringBuffer buffer = new StringBuffer(s);\n for (int i = 1; i < buffer.length(); i++) {\n if (buffer.charAt(i) == buffer.charAt(i - 1)) {\n // Delete both if they are the same\n buffer.delete(i - 1, i + 1);\n i = 0;\n }\n\n if (buffer.length() == 0) {\n return \"Empty String\";\n }\n }\n\n return buffer.toString();\n }", "public static String findCommonChars(String s1, String s2) {\n s1 = s1.trim().toLowerCase();\n s2 = s2.trim().toLowerCase();\n String fin = \"\";\n if (s1.equals(s2)) {\n return \"\";\n } else {\n for (int i = 0; i < s2.length(); i++) {\n if (s1.contains(s2.charAt(i) + \"\")) {\n s1 = s1.replace(s2.charAt(i) + \"\", \"\");\n s2 = s2.replace(s2.charAt(i) + \"\", \"\");\n }\n }\n\n //fin = s1 + s2;\n return s1+s2;\n\n\n }\n }", "static String superReducedString(String s) {\n StringBuffer buff = new StringBuffer(s);\n for(int i = buff.length() - 1; i >= 0; i--){\n int j = i + 1;\n if(j >= buff.length()) continue;\n\n if(buff.charAt(i) == buff.charAt(j)) {\n buff.delete(i, j + 1);\n }\n }\n\n if(buff.length() == 0) return \"Empty String\";\n return String.valueOf(buff);\n }", "static String morganAndString(String a, String b) {\n\n\t\tString result = \"\";\n\n\t\tint pointerA = 0, pointerB = 0;\n\n\t\touter:\n\t\t\twhile ( pointerA < a.length() || pointerB < b.length()){\n\t\t\t\tif ( pointerA == a.length()) {\n\t\t\t\t\tresult = result + b.charAt(pointerB++);\n\t\t\t\t}\n\t\t\t\telse if ( pointerB == b.length()) {\n\t\t\t\t\tresult = result + a.charAt(pointerA++);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tchar ca = a.charAt ( pointerA );\n\t\t\t\t\tchar cb = b.charAt ( pointerB );\n\n\t\t\t\t\tif ( ca < cb ) {\n\t\t\t\t\t\tresult = result + ca;\n\t\t\t\t\t\tpointerA++;\n\t\t\t\t\t}\n\t\t\t\t\telse if ( cb < ca ){\n\t\t\t\t\t\tresult = result + cb;\n\t\t\t\t\t\tpointerB++;\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\t// Find the smallest successor.\n\t\t\t\t\t\tint extraPointer = 1;\n\t\t\t\t\t\twhile ( pointerA + extraPointer < a.length() && pointerB + extraPointer < b.length()){\n\t\t\t\t\t\t\tchar cEa = a.charAt ( pointerA + extraPointer);\n\t\t\t\t\t\t\tchar cEb = b.charAt ( pointerB + extraPointer);\n\n\t\t\t\t\t\t\tif ( cEa < cEb ){\n\t\t\t\t\t\t\t\tresult = result + cEa;\n\t\t\t\t\t\t\t\tpointerA++;\n\t\t\t\t\t\t\t\tcontinue outer;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse if ( cEb < cEa ){\n\t\t\t\t\t\t\t\tresult = result + cEb;\n\n\n\t\t\t\t\t\t\t\tpointerB++;\n\t\t\t\t\t\t\t\tcontinue outer;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\textraPointer++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// We got to the point in which both are the same.\n\t\t\t\t\t\tif ( pointerA + extraPointer == a.length() && pointerB + extraPointer == b.length()){\n\t\t\t\t\t\t\t// Both are equal. It doesn't matter which one I take it from.\n\t\t\t\t\t\t\tresult = result + ca;\n\t\t\t\t\t\t\tpointerA++;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tif ( pointerA + extraPointer == a.length() ){\n\t\t\t\t\t\t\t\t// Compare the current one of B with the next letter.\n\t\t\t\t\t\t\t\t// If next letter is smaller than current one, cut from here.\n\t\t\t\t\t\t\t\t// else, cut from A.\n\t\t\t\t\t\t\t\tif ( b.charAt ( pointerB + extraPointer ) > b.charAt ( pointerB + extraPointer + 1)){\n\t\t\t\t\t\t\t\t\tresult = result + cb;\n\t\t\t\t\t\t\t\t\tpointerB++;\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\tresult = result + ca;\n\t\t\t\t\t\t\t\t\tpointerA++;\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// The opposite.\n\t\t\t\t\t\t\t\t// Compare the current one of B with the next letter.\n\t\t\t\t\t\t\t\t// If next letter is smaller than current one, cut from here.\n\t\t\t\t\t\t\t\t// else, cut from A.\n\t\t\t\t\t\t\t\tif ( a.charAt ( pointerA + extraPointer ) > a.charAt ( pointerA + extraPointer + 1)){\n\t\t\t\t\t\t\t\t\tresult = result + ca;\n\t\t\t\t\t\t\t\t\tpointerA++;\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\tresult = result + cb;\n\t\t\t\t\t\t\t\t\tpointerB++;\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}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\treturn result;\n\n\n\t}", "static int compare(String a, String b) {\n if (a == null) a = \"\";\n if (b == null) b = \"\";\n\n int i = 0;\n while (i < a.length() && i < b.length()) {\n char x = a.charAt(i), y = b.charAt(i);\n if (x != y) return x - y;\n i++;\n }\n return a.length() - b.length();\n }", "String checkString(String str) {\n\t\tString output = \"\";\n\t\tfor (int index = str.length() - 1; index >= 0; index--) {\n\t\t\toutput = output + str.charAt(index);\n\t\t}\n\t\treturn output;\n\t}", "public static String getNonEmptyString() {\n String result;\n\n do {\n result = getString();\n } while (result.isEmpty());\n return result;\n }", "public static String cutOut(String str1, String str2)\n {\n if(str1.indexOf(str2) == -1)\n return str1;\n int n = str1.indexOf(str2);\n return str1.substring(0, n) + str1.substring(n + str2.length());\n }", "public String extractSubString(String original,String toTake) {\n String str=\"\";\n boolean condition = true;\n int i =0;\n while(condition)\n {\n if(i>original.length()-1)\n {\n condition=false;\n \n }\n else{\n char c= original.charAt(i);\n if(str.equalsIgnoreCase(toTake)){\n return original.substring(i+1);\n \n }\n \n else if (c!=' ')\n {\n str = str+c;\n }\n i++;\n }\n }\n return null;\n }", "public String deFront(String str) {\r\n if (!str.isEmpty()) {\r\n if (str.length() > 1) {\r\n if (str.charAt(0) == 'a' && str.charAt(1) != 'b') {\r\n\r\n return \"a\" + str.substring(2);\r\n } else if (str.charAt(0) != 'a' && str.charAt(1) == 'b') {\r\n\r\n return str.substring(1);\r\n } else if (str.charAt(1) != 'b') {\r\n\r\n return str.substring(2);\r\n }\r\n }\r\n if (str.length() == 1) {\r\n if (str.charAt(0) != 'a') {\r\n\r\n return \"\";\r\n }\r\n }\r\n }\r\n\r\n return str;\r\n }", "public static String findUncommonCharacters(String s1, String s2) {\n\t\tHashSet<Character> uncommonChars = new HashSet<>();\n\n\t\t// Variable to check if the character is present in both the strings\n\t\tboolean isPresent = false;\n\n\t\t// Finding the uncommon characters that are present in string s1, but not in s2\n\t\tfor (int i = 0; i < s1.length(); i++) {\n\t\t\tfor (int j = 0; j < s2.length(); j++) {\n\t\t\t\t// Character is present in both s1 and s2\n\t\t\t\tif (s1.charAt(i) == s2.charAt(j)) {\n\t\t\t\t\tisPresent = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Character is not present in s2\n\t\t\tif (isPresent == false) {\n\t\t\t\tuncommonChars.add(s1.charAt(i));\n\t\t\t} else {\n\t\t\t\tisPresent = false;\n\t\t\t}\n\t\t}\n\n\t\tisPresent = false;\n\n\t\t// Finding the uncommon characters that are present in string s2, but not in s1\n\t\tfor (int i = 0; i < s2.length(); i++) {\n\t\t\tfor (int j = 0; j < s1.length(); j++) {\n\t\t\t\t// Character is present in both s1 and s2\n\t\t\t\tif (s2.charAt(i) == s1.charAt(j)) {\n\t\t\t\t\tisPresent = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Character is not present in s1\n\t\t\tif (isPresent == false) {\n\t\t\t\tuncommonChars.add(s2.charAt(i));\n\t\t\t} else {\n\t\t\t\tisPresent = false;\n\t\t\t}\n\t\t}\n\n\t\tString ans = \"\";\n\t\t // Sorting HashSet using TreeSet \n\t\tTreeSet<Character> treeSet = new TreeSet<Character>(uncommonChars);\n\t\tfor (char ch : treeSet) {\n\t\t\tans += ch;\n\t\t}\n\t\treturn ans;\n\t}", "int main()\n{\n string str1,str2;\n cin>>str1;\n while(str2!=\"####\"){\n \t\n cin>>str2;\n int len=str1.length();\n if(str1[len-1]==str2[0]){\n \tcout<<str1<<endl;\n }\n else{\n \tbreak;\n \t}\n str1=str2;\n }\n cout<<str1;\n}", "public static String checkEmpty(String string1, String string2, String string3) {\n if (string1 != null && string1.length() > 0)\n return string1;\n else if (string2 != null && string2.length() > 0)\n return string2;\n else if (string3 != null && string3.length() > 0)\n return string3;\n else\n return \"\";\n }", "public static void main(String[] args) {\n\n String s = \"a2b5c7a9f0dafa2s6a8d5a\";\n String a =\"\";\n String rest = \"\";\n\n for (int i = 0; i<s.length(); i++) {\n\n if (s.charAt(i)=='a') {\n a+=s.charAt(i);\n } else {\n rest+=s.charAt(i);\n }\n\n\n }\n System.out.println(a+rest);\n\n\n\n\n\n\n\n\n\n\n\n\n\n }", "public String conCat(String a, String b) {\r\n String res = \"\";\r\n\r\n if (a.length() > 0 && b.length() > 0) {\r\n if (a.charAt(a.length() - 1) == b.charAt(0)) {\r\n res = a + b.substring(1);\r\n } else {\r\n res = a + b;\r\n }\r\n } else {\r\n res = a + b;\r\n }\r\n\r\n return res;\r\n }", "public static String rest(String s) {\n\treturn s.substring(1);\n\t}", "static String doit(final String string1, final String string2) {\n String shorterString; // a\n String longerString; // b\n if (string1.length() > string2.length()) {\n shorterString = string2;\n longerString = string1;\n } else {\n longerString = string2;\n shorterString = string1;\n }\n String r = \"\";\n\n for (int i = 0; i < shorterString.length(); i++) {\n for (int j = shorterString.length() - i; j > 0; j--) {\n for (int k = 0; k < longerString.length() - j; k++) {\n if (shorterString.regionMatches(i, longerString, k, j) && j > r.length()) {\n r = shorterString.substring(i, i + j);\n }\n }\n } // Ah yeah\n }\n return r;\n\n }", "public static String getFullString(String divider, String... strings) {\n String finalString = \"\";\n for (String str : strings) {\n if (!isNullOrEmpty(str)) {\n if (finalString.isEmpty()) {\n finalString += str;\n } else {\n finalString += divider + str;\n }\n }\n }\n\n return finalString;\n }", "private static void subStringNonrepchars(String input) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString s =\"\";\n\n\t\tint j=0,max=0,len=0, i=0;\n\t\tboolean[] flag = new boolean[256];\n\t\tfor(i=0;i<input.length();i++){\n\t\t\tif(!flag[input.charAt(i)]){\n\t\t\t\tSystem.out.println(\"char: \"+input.charAt(i)+\" bool: \"+!flag[input.charAt(i)]);\n\t\t\t\tlen++;\n\t\t\t}else{\n\t\t\t\t//System.out.println(\"coming to else\");\n\t\t\t\tif(len>max){\n\t\t\t\t\tmax= len;len=1;\n\t\t\t\t\tSystem.out.println(j+\" j \"+max +\" :max substring: \"+input.substring(j,i));\n\t\t\t\t}\n\t\t\t\tj = i;\n\t\t\t\tSystem.out.println(\"max len is: \"+max+\" j: \"+j);\n\t\t\t\tflag = new boolean[256];\n\t\t\t}\n\t\t\tflag[input.charAt(i)] = true;\n\n\t\t}\n\t\tif(len>max){\n\t\t\tmax=len;\n\t\t\tj=i;\n\t\t}\n\t\tif(max>j)\n\t\t\tSystem.out.println(input.substring(max-j,max+1));\n\t\telse{\n\t\t\tSystem.out.println(input.substring(j-max,max+1));\n\t\t}\n\n\n\n\t}", "public String comboString(String a, String b) {\r\n return a.length() > b.length() ? b + a + b : a + b + a;\r\n }", "public static String longestCommonPrefix(String a, String b){\r\n int l = Math.min(a.length(), b.length());\r\n for (int i = 0; i < l; i++){\r\n if (a.charAt(i) != b.charAt(i))\r\n return a.substring(0,i);\r\n }\r\n return a.substring(0,l);\r\n }", "public static String cutOut(String mainStr, String subStr){\n if (mainStr.contains(subStr))\n {\n String front = mainStr.substring(0, (mainStr.indexOf(subStr))); //from beginning of mainStr to before subStr\n String back = mainStr.substring((mainStr.indexOf(subStr)+subStr.length())); //the string in mainStr after the subStr\n return front + back;\n }\n else // if subStr isn't in the mainStr it just returns mainStr\n {\n return mainStr;\n }\n }", "public static String removeSpace(String a){\n String b = \" \"; //STRING TO MAKE PALINDROME TEST\n for(int i =0; i<a.length();i++){ //WORK FOR MORE CASES\n if((int)a.charAt(i)==(int)b.charAt(0))\n a=a.substring(0,i)+a.substring(i+1);\n }\n return a;\n }", "public static String findPalliondrom(String str){\n if(str==null || \"\".equals(str)){\n return \"\";\n }\n String longestP = str.substring(0);\n\n\n\n return longestP;\n }", "@Override\n\t\tpublic int compare(String string1, String string2) {\n\t\t\treturn string2.length() - string1.length();\n\t\t}", "@Test\n public void testSubstring1() {\n Object s = \"abcdef\";\n String expResult = \"abcdef\";\n String result = StringUtils.substring(s, 0);\n Assertions.assertEquals(expResult, result);\n }", "public String tweakFront(String str) {\n\n if(str.substring(0, 1).equalsIgnoreCase(\"a\")){\n\n if(!str.substring(1, 2).equalsIgnoreCase(\"b\")){\n str = str.substring(0, 1) + str.substring(2,str.length());\n }\n \n }else{\n str = str.substring(1);\n \n if(str.substring(0, 1).equalsIgnoreCase(\"b\")){\n \n }else{\n str = str.substring(1);\n }\n }\n \n \n \n return str;\n \n}", "private final static String remZeroS( String s ) {\n\n char[] ca = s.toCharArray();\n char[] ca2 = new char [ca.length - 1];\n\n\n for ( int i=0; i<ca2.length; i++ ) {\n ca2[i] = ca[i+1];\n } // end for\n\n return new String (ca2);\n\n }", "private boolean oneCharOff( String word1, String word2 )\n {\n if( word1.length( ) != word2.length( ) )\n return false;\n int diffs = 0;\n for( int i = 0; i < word1.length( ); i++ )\n if( word1.charAt( i ) != word2.charAt( i ) )\n if( ++diffs > 1 )\n return false;\n return diffs == 1;\n }", "@Override\n public int compare(String left, String right) {\n int result = 0;\n int length = left.length() > right.length()\n ? right.length() : left.length();\n for (int i = 0; i < length; i++) {\n result = Character.compare(left.charAt(i), right.charAt(i));\n if (result != 0) {\n break;\n }\n }\n if (result == 0) {\n result = left.length() - right.length();\n }\n return result;\n\n }", "public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n System.out.println(\"Enter your first word: \");\n String word1 = scan.next();\n System.out.println(\"Enter your second word: \");\n String word2 = scan.next();\n\n char lastLetter = word1.charAt(word1.length()-1);\n char firstLetter = word2.charAt(0);\n if (lastLetter == firstLetter) {\n System.out.println(word1+word2.substring(1));\n }else {\n System.out.println(word1 + word2);\n\n }\n\n\n }", "public static String gcdOfStrings(String str1, String str2) {\n if (str2.length() < str1.length())\n return gcdOfStrings(str2, str1);\n\n if (str1.isEmpty())\n return str2;\n\n if (!str2.startsWith(str1))\n return \"\";\n\n return gcdOfStrings(str1, str2.substring(str1.length()));\n }", "public String extraFront(String str) {\n\t\tString result=\"\";\r\n\t\t\r\n\t\t//only store result if string has at least 2 characters\r\n\t\t//else if string has less than 2 characters concatenate what there is\r\n\t\tif(str.length()>1) result = str.substring(0, 2) + str.substring(0, 2)\r\n\t\t\t+str.substring(0, 2);\r\n\t\telse result = str+str+str;\r\n\t\treturn result;\r\n\t}", "public String withoutEnd(String str) {\r\n return str.length() > 1 ? str.substring(1, str.length() - 1) : \"\";\r\n }", "public String without2(String str) {\r\n if (str.length() > 2 && str.substring(0, 2).equals(str.substring(str.length() - 2))) {\r\n return str.substring(2);\r\n }\r\n\r\n if (str.length() == 2) {\r\n return \"\";\r\n }\r\n\r\n return str;\r\n }", "public static String rest(String s) {\n return s.substring(1);\n }", "public String nonStart(String a, String b) {\r\n String shortA = a.length() > 0 ? a.substring(1) : a;\r\n String shortB = b.length() > 0 ? b.substring(1) : b;\r\n\r\n return shortA + shortB;\r\n }", "private String composeCharacterString(String string) {\n return null;\r\n }", "@Override\n public int compare(String o1, String o2) {\n return o1.length() - o2.length();\n }", "public int getStringLength() {\r\n if (noSurrogates) {\r\n return value.length();\r\n } else {\r\n int len = getStringLength(value);\r\n if (len == value.length()) {\r\n noSurrogates = true;\r\n }\r\n return len;\r\n }\r\n }", "public String notString(String str) {\n // if (str.startsWith(\"not\")) {\n // return str;\n // }\n\n // Note that end in substring(start, end) is index of one char after \n // something you want. Not length! \n if (str.length() >= 3 && str.substring(0, 3).equals(\"not\")) {\n return str;\n } else {\n return \"not \" + str;\n }\n \n}", "@Override\n\t\tpublic int compare(String string1, String string2) {\n\t\t\treturn string1.length() - string2.length();\n\t\t}", "private String trimPassword(String password) {\n\t\treturn password != null && password.length() > 8 ? password.substring(0, 8) : password;\n\t}", "public static void main(String[] args) {\n String str1 = \"ABABAB\";\n String str2 = \"ABAB\";//\n// String str1 = \"LEFT\";\n// String str2 = \"RIG\";\n String result = gcdOfStrings(str1, str2);\n System.out.println(\"result = \" + result);\n }", "private String trimRight(String string) {\n String newString = \"\";\n for (int i = 0; i < string.length(); i++) {\n if (string.charAt(i) != ' ') {\n newString = string.substring(0, i) + string.trim();\n break;\n }\n }\n return newString;\n }", "public int minDeletionsToObtainStringInRightFormat2(String s) {\n if (s == null || s.length() == 0) {\n return 0;\n }\n int n = s.length();\n\n int leftB = 0;\n int rightA = 0;\n\n for (int i = 0; i < n; i++) {\n if (s.charAt(i) == 'A') {\n rightA++;\n }\n }\n\n int ans = rightA;\n\n for (int i = 0; i < n; i++) {\n if (s.charAt(i) == 'A') {\n rightA--;\n } else {\n leftB++;\n }\n ans = Math.min(ans, rightA + leftB);\n }\n\n return ans;\n }", "public abstract String getLongestRepeatedSubstring();", "@Override\n\t\t\t\tpublic int compare(String o1, String o2) {\n\t\t\t\t\tif(o1.length()-o2.length() != 0) {\n\t\t\t\t\t\treturn o1.length()-o2.length();\n\t\t\t\t\t}else {\n\t\t\t\t\t\treturn o1.compareTo(o2);\n\t\t\t\t\t}\n\t\t\t\t}", "@Override\n\t\tpublic int compare(String string1, String string2) {\n\t\t\treturn string1.charAt(string1.length() - 1) - string2.charAt(string2.length() - 1);\n\t\t}", "public String everyOther(String str) {\n String ret = \"\";\n int index = 1;\n for (char c : str.toCharArray()) {\n if(index == 1){\n ret += c;\n }\n index = -index;\n }\n return ret;\n }", "private static String getMaxString(String str) {\n\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\tif (stripColors(str.substring(0, i)).length() == maxLength) {\n\t\t\t\tif (stripColors(str.substring(i, i+1)) == \"\")\n\t\t\t\t\treturn str.substring(0, i-1);\n\t\t\t\telse\n\t\t\t\t\treturn str.substring(0, i);\n\t\t\t}\n\t\t}\n\t\treturn str;\n\t}", "private static String RemoveSpecialCharacter (String s1) {\n String tempResult=\"\";\n for (int i=0;i<s1.length();i++) {\n if (s1.charAt(i)>64 && s1.charAt(i)<=122){\n tempResult=tempResult+s1.charAt(i);\n }\n }\n return tempResult;\n }", "public static ComparableCharSequence trimmedSubsequence(CharSequence orig) {\n int start = 0;\n int len = orig.length();\n if (len == 0) {\n return ComparableCharSequence.EMPTY;\n }\n int end = len;\n boolean nonWhitespaceSeenAtStart = false;\n boolean nonWhitespaceSeenAtEnd = false;\n for (int i = 0; i < len; i++) {\n if (!nonWhitespaceSeenAtStart) {\n char startChar = orig.charAt(i);\n if (Character.isWhitespace(startChar)) {\n start = i + 1;\n } else {\n nonWhitespaceSeenAtStart = true;\n }\n }\n if (!nonWhitespaceSeenAtEnd) {\n int pos = len - (i + 1);\n char endChar = orig.charAt(pos);\n if (Character.isWhitespace(endChar)) {\n end = pos;\n } else {\n nonWhitespaceSeenAtEnd = true;\n }\n }\n if (start >= end) {\n return ComparableCharSequence.EMPTY;\n }\n if (nonWhitespaceSeenAtEnd && nonWhitespaceSeenAtStart) {\n break;\n }\n }\n if (start == 0 && end == len) {\n return wrap(orig);\n } else if (end == start + 1) {\n return singleChar(orig.charAt(start));\n }\n return wrap(orig.subSequence(start, end));\n }", "public static String oneTwo(String str) {\n String a = \"\";\n String b = \"\";\n String c = \"\";\n StringBuilder result = new StringBuilder();\n\n for (int i = 0; i < str.length(); i++) {\n if (!a.equals(\"\") && !b.equals(\"\") && !c.equals(\"\")) {\n result.append(b).append(c).append(a);\n a = \"\";\n b = \"\";\n c = \"\";\n } else if (i == 0 || a.equals(\"\")) {\n a = String.valueOf(str.charAt(i));\n } else if (b.equals(\"\")) {\n b = String.valueOf(str.charAt(i));\n } else if (c.equals(\"\")) {\n c = String.valueOf(str.charAt(i));\n }\n }\n if (!a.equals(\"\") && !b.equals(\"\") && !c.equals(\"\")) {\n result.append(b).append(c).append(a);\n }\n return String.valueOf(result);\n }", "public String fullString();", "public static ArthurString minus(ArthurString one, ArthurString two) {\n return new ArthurString(one.str.replace(two.str, \"\"));\n }", "public String extractString()\n\t{\n\t\t// holds the string builder object to return\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\t// for every byte\n\t\tfor (int i = 0; i < bytes.length; i++)\n\t\t{\n\t\t\t// extract the current character\n\t\t\tchar current = (char) (bytes[i] & 0xFF);\n\t\t\t\n\t\t\t// append the character\n\t\t\tif (current > 0)\n\t\t\t{\n\t\t\t\tsb.append(current);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// return the string\n\t\treturn sb.toString();\n\t}", "private String commonPrefix(String leftPrefix, String rightPrefix) {\n if (leftPrefix == null || rightPrefix == null) {\n return \"\";\n }\n\n int end = Math.min(leftPrefix.length(), rightPrefix.length());\n\n for (int i = 0; i < end; i++) {\n if (leftPrefix.charAt(i) != rightPrefix.charAt(i)) {\n return leftPrefix.substring(0, i);\n }\n }\n\n // a concise way to avoid ternary expression\n return leftPrefix.substring(0, end);\n }", "public String frontBack(String str) {\n if (str.length() <= 1) return str;\n \n String middle = str.substring(1, str.length()-1);\n \n return (str.charAt(str.length()-1) + middle + str.charAt(0));\n}", "private static String findSubString(int index, int len, String s2) {\n\t\tif ((s2.length() - index) >= len) {\n\t\t\treturn s2.substring(index - len + 1, index) + s2.substring(index, index+len);\n\t\t} else {\n\t\t\treturn s2.substring(index - len + 1, index) + s2.substring(index);\n\t\t}\n\t}", "public int longestCommonSubstring(String A, String B) {\n int max = 0;\n for (int i = 0; i < A.length(); i++) {\n for (int j = 0; j < B.length(); j++) {\n int count = 0;\n while (i + count < A.length() && j + count < B.length() && A.charAt(i + count) == B.charAt(j + count)){\n count ++;\n }\n max = Math.max(max, count);\n }\n\n }\n return max;\n }", "public String withouEnd2(String str) {\r\n return str.length() > 2 ? str.substring(1, str.length() - 1) : \"\";\r\n }", "public static boolean endOther(String a, String b) {\n String larger, smaller;\n if (a.length() > b.length()){\n larger = a;\n smaller = b;\n }\n else{\n larger = b;\n smaller = a;\n }\n larger = larger.toLowerCase();\n smaller = smaller.toLowerCase();\n int i = larger.length() - smaller.length();\n return ((larger.substring(i, larger.length())).equals(smaller));\n }", "static String twoStrings(String s1, String s2){\n // Complete this function\n String letters = \"abcdefghijklmnopqrstuvwxyz\";\n for(int i=0;i<letters.length();i++){\n char lettersChar = letters.charAt(i); \n if(s1.indexOf(lettersChar) > -1 && s2.indexOf(lettersChar) > -1){\n return \"YES\";\n }\n }\n \n return \"NO\";\n }", "private static String findSubString2(int index, int len, String s2) {\n\t\tint wLen = len - 1;\n\t\tint remLen = s2.length() - index;\n\t\tif (remLen <= wLen) {\n\t\t\treturn s2.substring(0, index) + s2.substring(index, index+remLen);\n\t\t} else {\n\t\t\tif (index == 0) {\n\t\t\t\treturn s2.substring(0, index) + s2.substring(index, len);\n\t\t\t}\n\t\t\treturn s2.substring(0, index) + s2.substring(index, len+1);\n\t\t}\n\t}", "@Override\n public int compare(String s, String t1) {\n return t1.charAt(t1.length()-1)-s.charAt(s.length()-1);\n// return s.charAt(4);\n\n }", "public static String longestCommonSubstring(String A, String B) {\n int[][] best = new int[A.length() + 1][B.length() + 1];\n\n for (int i = 1; i <= A.length(); ++i) {\n for (int j = 1; j <= B.length(); ++j) {\n if (A.charAt(i - 1) == B.charAt(j - 1)) {\n best[i][j] = best[i - 1][j - 1] + 1;\n } else {\n best[i][j] = Math.max(best[i - 1][j], best[i][j - 1]);\n }\n }\n }\n\n int size = best[A.length()][B.length()];\n char[] result = new char[size];\n\n // Build the result by walking the best array backwards\n int i = A.length(), j = B.length();\n while (i != 0 && j != 0) {\n if (A.charAt(i - 1) == B.charAt(j - 1)) {\n result[--size] = A.charAt(i - 1);\n --i;\n --j;\n } else if (best[i - 1][j] > best[i][j - 1]) {\n --i;\n } else {\n --j;\n }\n }\n\n return new String(result);\n }", "public static void main(String[] args) {\n String s = \"zazb\";\n// String s = \"zbza\";\n String subStr = lastSubstring(s);\n System.out.println(subStr);\n }", "public static Collection<Character> union(String string1, String string2){\n\t\tCollection<Character> mergedVector = new TreeSet<Character>();\n\t\tmergedVector.addAll(stringToCharacterSet(string1));\n\t\tmergedVector.addAll(stringToCharacterSet(string2));\n\t\treturn uniqueCharacters(mergedVector);\n\t}", "public boolean checkPalindromeFormation(String a, String b) {\n int n = a.length();\n return findCommonSubstring(a.toCharArray(), b.toCharArray(), 0, n - 1) ||\n findCommonSubstring(b.toCharArray(), a.toCharArray(), 0, n - 1);\n }", "public static void main(String[] args) {\n\n\t\t\n\t\tString str1=null,str2=\"\";\n\t\t\n\t\t//System.out.println(str1==null);\n\t\tSystem.out.println(str2.length());\n\t\t\n\t}", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\r\n\t\t\r\n\t\tSystem.out.println(\"Enter the string 1\");\r\n\t\tString str1 = sc.nextLine();\r\n\t\tSystem.out.println(\"Enter the string 2\");\r\n\t\tString str2 = sc.nextLine();\r\n\t\t\r\n\t\tint len1=str1.length();\r\n\t\tint len2=str2.length();\r\n\t\t\r\n\t\tif(len1>len2)\r\n\t\t\tstr1=str1.substring(len1-len2);\r\n\t\telse\r\n\t\t\tstr2=str2.substring(len2-len1);\r\n\t\t\r\n\t\tSystem.out.println(str1.concat(str2));\r\n\t\t\t\r\n\t\t\r\n\t\tsc.close();\r\n\t}", "public static boolean oneAway(String str1, String str2) {\n\t\t\n\t\t// If lengths make impossible to be one away\n\t\tif (Math.abs(str1.length()-str2.length()) > 1) return false;\n\t\t\n\t\t// if length of one of the strings is 0 (meaning other is 1 and\n\t\t// there by statisfies the one away add/delete edits\n\t\tif(str1.length() == 0 || str2.length() == 0) return true;\n\t\t\n\t\t// If strings are identical, return true\n\t\tif (str1.equals(str2)) return true;\n\t\t\n\t\t// Else determine if these strings are one away\n\t\t\n\t\t// check for one away by change: O(n)\n\t\tif(str1.length() == str2.length()) {\n\t\t\tint numDiff = 0;\n\t\t\t// for each character in string 1\n\t\t\tfor (int i = 0; i < str1.length(); i++) {\n\t\t\t\t// check for equality by index\n\t\t\t\tif (str1.charAt(i) != str2.charAt(i)) ++numDiff;\n\t\t\t\t// If exceeded 1 difference, return false\n\t\t\t\tif (numDiff > 1) return false;\n\t\t\t}\n\t\t\t// There was 1 difference, strings are off by one\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\t// check for off by one by delete: O(n)\n\t\telse if(str1.length() > str2.length()) {\n\t\t\tint p2 = 0; // pointer for string 2\n\t\t\tint numDiff = 0;\n\t\t\t\n\t\t\tfor (int i = 0; i < str1.length(); i++) {\n\t\t\t\tif (str2.charAt(p2) != str1.charAt(i)) {\n\t\t\t\t\t++numDiff;\n\t\t\t\t} else {\n\t\t\t\t\t++p2;\n\t\t\t\t}\n\t\t\t\t// If exceeded 1 difference, return false\n\t\t\t\tif (numDiff > 1) return false;\n\t\t\t}\n\t\t\t// There was 1 difference, strings are off by one\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\t// check for off by one by addition O(n)\n\t\telse {\n\t\t\tint p1 = 0; // pointer for string 1\n\t\t\tint numDiff = 0;\n\t\t\tfor (int i = 0; i < str2.length(); i++) {\n\t\t\t\tif (str1.charAt(p1) != str2.charAt(i)) {\n\t\t\t\t\t++numDiff;\n\t\t\t\t} else {\n\t\t\t\t\t++p1;\n\t\t\t\t}\n\t\t\t\t// If exceeded 1 difference, return false\n\t\t\t\tif (numDiff > 1) return false;\n\t\t\t}\n\t\t\t// There was 1 difference, strings are off by one\n\t\t\treturn true;\n\t\t}\n\t\t\n\t}", "public static String omitString(String oriStr, int length)\r\n {\r\n if (oriStr == null || oriStr.length() <= length)\r\n return oriStr;\r\n String rtn = oriStr.substring(0,length - 3);\r\n return rtn + \"...\";\r\n }", "public static String trimEnds(String input) {\n if (input.length() < 2) {\n return \"\";\n }\n return input.substring(1, input.length() - 1);\n }", "public String prefix(String a, String b) {\n\t\tint minLength = Math.min(a.length(), b.length());\n\t\tfor (int i = 0; i < minLength; i++) {\n\t\t\tif (a.charAt(i) != b.charAt(i)) {\n\t\t\t\treturn a.substring(0, i);\n\t\t\t}\n\t\t}\n\t\treturn a.substring(0, minLength);\n\t}", "static int size_of_sub(String passed){\n\t\treturn 1;\n\t}", "public static void main(String[] args) {\nString word = \"aabbaaaccbbaacc\";\n String result = \"\";\n\n for (int i = 0; i <=word.length()-1 ; i++) {\n\n if(!result.contains(\"\"+word.charAt(i))){ //if the character is not contained in the result yet\n result+=word.charAt(i); //then add the character to the result\n }\n\n }\n System.out.println(result);\n\n\n\n }", "private static String LongCommSubsForTwoStrings(String playerNumb, String winningNumb) {\n int playerNameLen = playerNumb.length();\n int winningNumbLen = winningNumb.length();\n if(playerNameLen == 0 || winningNumbLen == 0){\n return \"\";\n }else if(playerNumb.charAt(playerNameLen-1) == winningNumb.charAt(winningNumbLen-1)){\n return LongCommSubsForTwoStrings(playerNumb.substring(0,playerNameLen-1),winningNumb.substring(0,winningNumbLen-1))\n + playerNumb.charAt(playerNameLen-1);\n }else{\n String x = LongCommSubsForTwoStrings(playerNumb, winningNumb.substring(0,winningNumbLen-1));\n String y = LongCommSubsForTwoStrings(playerNumb.substring(0,playerNameLen-1), winningNumb);\n return (x.length() > y.length()) ? x : y;\n }\n }", "public static void main(String[] args) {\n\n String s = \"Java Programming Java oops\";\n\n int fullLenght = s.length();\n\n int lengthWithoutas = s.replace(\"a\", \"\").length();\n\n int numOfas = fullLenght - lengthWithoutas;\n\n System.out.println(\"Number of a's in the string = \" + numOfas);\n\n\n }", "private String reduce(String str, int i) {\n\t\tString ret = str;\n\t\tif (i == 8) {\n\t\t\tif (str.length() > 2) {\n\t\t\t\tret = str.substring(str.length()-2);\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn ret;\n\t}", "private String longestCommonPrefixHS(String[] strs){\n\t\tif (strs.length == 0) return \"\";\n\t\tString prefix = strs[0];\n\t\tfor (int i = 1; i < strs.length; i++){\n\t\t\twhile (strs[i].indexOf(prefix) != 0) {\n\t\t\t\tprefix = prefix.substring(0, prefix.length() - 1);\n\t\t\t\tif (prefix.isEmpty()) return \"\";\n\t\t\t}\n\t\t}\n\t\treturn prefix;\n\t}", "public static String cutTailStr(String origin, String tail) {\n return origin.substring(0, origin.length() - tail.length());\n }", "public static String concatString(String str1, String str2) {\n StringBuilder sb = new StringBuilder();\n if (str1 != null && !str1.isEmpty()) {\n sb.append(str1);\n }\n if (str2 != null && !str2.isEmpty()) {\n sb.append(str2);\n }\n return sb.toString();\n }", "@Override\r\n\t\t\tpublic int compare(String s1, String s2) {\n\t\t\t\treturn (s1.length() - s2.length());\r\n\t\t\t}", "@Override\n public String reduce(String arg0, String arg1) throws Exception {\n return arg0.concat(arg1);\n }", "public String missingChar(String str, int n) {\n String front = str.substring(0, n);\n String back = str.substring(n+1, str.length());\n \n return front + back;\n}", "private static int strStr(String a, String b)\n\t{\n\t\tint aL=a.length();\n\t\tint bL=b.length();\n\t\tif(a.equals(b)){\n\t\t\treturn 0;\n\t\t}\n\t\tfor(int i=0;i<aL;i++){\n\t\t\tint j=i+bL;\n\t\t\tif(j<=aL){\n\t\t\t\tString subStr=a.substring(i, j);\n\t\t\t\tif(subStr.equals(b)){\n\t\t\t\t\treturn i;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}", "public static String getLongestSubSeq(String s1, String s2) {\n if (s1 == null || s2 == null) {\n return null;\n }\n Set<String> set1 = getAllSubSeq(s1);\n Set<String> set2 = getAllSubSeq(s2);\n if (set1 == null || set2 == null || set1.size() == 0 || set2.size() == 0) {\n return null;\n }\n\n String longest = \"\";\n for (String s : set1) {\n if (s.length() > longest.length() && set2.contains(s)) {\n longest = s;\n }\n }\n\n return longest.length() > 0 ? longest : null;\n }", "public String minCat(String a, String b) {\r\n if (a.length() > b.length()) {\r\n\r\n return a.substring(a.length() - b.length()) + b;\r\n } else {\r\n\r\n return a + b.substring(b.length() - a.length());\r\n }\r\n }", "private String deleteLastChar(String s) {\n\t\treturn s.substring(0, s.length() - 1); \n\t}", "private static boolean wordHasAllExceptFirstInCommon(String word1, String word2) {\n int charsInCommon = 0;\n\n char[] w1 = word1.toCharArray();\n char[] w2 = word2.toCharArray();\n\n for (int i = 1; i < w1.length; i++) {\n for (int j = 0; j < w2.length; j++) {\n if (w1[i] == w2[j]) {\n charsInCommon++;\n w2[j] = '\\0'; // w2[j] som nullchar (använd)\n break;\n }\n }\n }\n return (charsInCommon == w1.length - 1);\n }", "public static String checkNull(String string1, String string2) {\n if (string1 != null)\n return string1;\n else if (string2 != null)\n return string2;\n else\n return \"\";\n }", "String trimLeft( String txt ){\r\n // trim\r\n int start = 0;\r\n WHITESPACE: for( int i=0; i < txt.length(); i++ ){\r\n char ch = txt.charAt(i);\r\n if( Character.isWhitespace(ch)){\r\n continue;\r\n }\r\n else {\r\n start = i;\r\n break WHITESPACE;\r\n }\r\n }\r\n return txt.substring(start); \r\n }", "private String mergeStrings(String s1, String s2) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tif (!s1.isEmpty()) {\n\t\t\tsb.append(s1);\n\t\t}\n\t\tif (!s2.isEmpty() && !s2.equalsIgnoreCase(s1)) {\n\t\t\tif (sb.toString().isEmpty()) sb.append(\" \");\n\t\t\tsb.append(s2);\n\t\t}\n\t\treturn sb.toString();\n\t}", "static String division (String s1, String s2) {\r\n if (s2==null || s2.length()==0) return s1;\r\n return product (s1, invert(s2));\r\n }", "public static String merge(String str1, String str2)\r\n {\r\n return (str1==null?\"\":str1)+(str2==null?\"\":str2);\r\n }", "String divideAtWhite()[]{ return null; }", "public String theEnd(String str, boolean front) {\r\n return front && str.length() > 0 ? str.substring(0, 1) : str.substring(str.length() - 1,\r\n str.length());\r\n }" ]
[ "0.62489307", "0.59167206", "0.5738798", "0.56325966", "0.55470306", "0.5422873", "0.5420981", "0.5398637", "0.5388317", "0.5380414", "0.537982", "0.5377568", "0.53720206", "0.53710246", "0.5322002", "0.5284947", "0.52489924", "0.52272326", "0.52270776", "0.52251303", "0.5183779", "0.51828647", "0.5156454", "0.51562625", "0.5152726", "0.51464295", "0.5142327", "0.51353353", "0.51347876", "0.51290685", "0.5122385", "0.51223385", "0.5119516", "0.5108751", "0.51057506", "0.5098116", "0.5092118", "0.5091284", "0.50811625", "0.5078573", "0.5073463", "0.50584644", "0.50557876", "0.5041324", "0.50375223", "0.5037384", "0.50346684", "0.50255924", "0.5021787", "0.49997228", "0.49968386", "0.49721462", "0.49689332", "0.4951772", "0.49455175", "0.49402252", "0.49400365", "0.49382043", "0.49361673", "0.49331024", "0.4930191", "0.49224022", "0.49223998", "0.49206397", "0.49093342", "0.49081957", "0.4902209", "0.4900145", "0.4882652", "0.48792765", "0.48786598", "0.48694706", "0.48679888", "0.48649716", "0.48576736", "0.4857069", "0.4849593", "0.48485208", "0.48467815", "0.48461446", "0.48457047", "0.4840035", "0.48305637", "0.4830547", "0.48276255", "0.48239014", "0.4817437", "0.48154312", "0.4810024", "0.48093462", "0.4808726", "0.48040044", "0.4798276", "0.47959664", "0.4792945", "0.47853658", "0.47835064", "0.47825822", "0.47811598", "0.47808143", "0.47802064" ]
0.0
-1
Transform map of Samples to sorted list of Samples
public static List<Sample> sortResults(final Map<Long, Sample> map, final Integer currentOffsetMillis) { final Sample[] samples = map.values().toArray(new Sample[0]); Arrays.sort(samples, new Comparator<Sample>() { @Override public int compare(Sample o1, Sample o2) { return Long.compare(o1.dateTime, o2.dateTime); } }); int lastOffsetMillis = -1; for(final Sample sample : samples) { if(sample.offsetMillis == null) { if(lastOffsetMillis == -1) { sample.offsetMillis = currentOffsetMillis; } else { sample.offsetMillis = lastOffsetMillis; } } lastOffsetMillis = sample.offsetMillis; } return Lists.newArrayList(samples); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Map<String, Double> sortByValues(Map<String, Double> map_to_sort){\n\tList<Map.Entry<String,Double>> ranklist = new LinkedList<Map.Entry<String,Double>>(map_to_sort.entrySet());\n\tCollections.sort(ranklist, new Comparator<Map.Entry<String, Double>>(){\n\t\tpublic int compare(Map.Entry<String,Double> o1, Map.Entry<String,Double> o2){\n\t\t\treturn o2.getValue().compareTo((double)o1.getValue() );\n\t\t}\n\t});\n\t\n\tMap<String, Double> sortedRank = new LinkedHashMap<String,Double>();\n\tfor(Map.Entry<String, Double> rank : ranklist){\n\t\tsortedRank.put(rank.getKey(), rank.getValue());\t\t\t\n\t}\n\t\n\treturn sortedRank;\n\t}", "private HashMap<String, Double> sortByValues(HashMap<String, Double> map) {\n List<Map.Entry<String, Double>> list =\n new LinkedList<>(map.entrySet());\n\n Collections.sort(list, new Comparator<Map.Entry<String, Double>>() {\n @Override\n public int compare(Map.Entry<String, Double> o1, Map.Entry<String, Double> o2) {\n return (o1.getValue()).compareTo(o2.getValue());\n }\n });\n\n HashMap<String, Double> sortedHashMap = new LinkedHashMap<>();\n for (Map.Entry<String, Double> item : list) {\n sortedHashMap.put(item.getKey(), item.getValue());\n }\n return sortedHashMap;\n }", "public List<Entry<String, Double>> sort()\n\t{\n\t\tList<Entry<String, Double>> list = new ArrayList<Entry<String, Double>>();\n\t\tfor(Entry<String, Double> entry : map.entrySet())\n\t\t{\n\t\t\tlist.add(entry);\n\t\t}\n\n\t\tComparator<Entry<String, Double>> compare = new Comparator<Entry<String, Double>>() {\n\t @Override\n\t public int compare(Entry<String, Double> first, Entry<String, Double> second)\n\t {\n\t \tif (first.getValue() > second.getValue())\n\t \t{\n\t return -1;\n\t }\n\t if (first.getValue() < second.getValue())\n\t {\n\t return 1;\n\t }\n\t return 0;\n\t }\n\t };\n\n\t Collections.sort(list, compare);\n return list;\n\t}", "private static Map<Long, Long> sortByComparatorGift(Map<Long, Long> unsortMap) {\n\t\tList<Map.Entry<Long, Long>> list = \n\t\t\tnew LinkedList<Map.Entry<Long, Long>>(unsortMap.entrySet());\n \n\t\t// Sort list with comparator, to compare the Map values\n\t\tComparator<Map.Entry<Long, Long>> comparator;\n\t\tcomparator = Collections.reverseOrder(new Comparator<Map.Entry<Long, Long>>() {\n\t\t\tpublic int compare(Map.Entry<Long, Long> o1,\n Map.Entry<Long, Long> o2) {\n\t\t\t\treturn (o1.getValue()).compareTo(o2.getValue());\n\t\t\t}\n\t\t});\n\t\tCollections.sort(list, comparator);\n \n\t\t// Convert sorted map back to a Map\n\t\tMap<Long, Long> sortedMap = new LinkedHashMap<Long, Long>();\n\t\tfor (Iterator<Map.Entry<Long, Long>> it = list.iterator(); it.hasNext();) {\n\t\t\tMap.Entry<Long, Long> entry = it.next();\n\t\t\tsortedMap.put(entry.getKey(), entry.getValue());\n\t\t}\n\t\treturn sortedMap;\n\t}", "private static Map<Double, List<Integer>> bucketizeListForTF(List<Integer> input, double bucketRange, int queryId)\r\n\t\t\tthrows ClassNotFoundException, SQLException, IOException {\r\n\t\tMap<Integer, Double> tfMap = new LinkedHashMap<Integer, Double>();\r\n\t\tList<Integer> resultsToIgnore = PersistenceController2.fetchAllResultsToIgnore(queryId, true);\r\n\t\tRankUtils.fillResultTFMap(queryId, tfMap, input, resultsToIgnore);\r\n\t\tboolean isRatioAccepted = RankUtils.foundNotFoundRatioAccepted(queryId, ACCEPTANCE_THRESHOLD);\r\n\t\tMap<Double, List<Integer>> sortedMap = RankUtils.bucketizeAndSortForTF2(isRatioAccepted, input, tfMap,\r\n\t\t\t\tbucketRange, resultsToIgnore);\r\n\t\treturn sortedMap;\r\n\t}", "private List<StringCountDto> getSortedStatistics() {\n return STRING_STATISTICS.entrySet()\n .stream()\n .sorted(Map.Entry.<String, CounterInfo>comparingByValue().reversed())\n .map(entry -> new StringCountDto(entry.getKey(), entry.getValue().getCount()))\n .collect(Collectors.toList());\n }", "protected abstract SortedMap<String, SampleDescriptor> computeSamples(File sampleDir) throws IOException;", "private List<Content> sortContentMapByVolumeAndBarcode(Map<Integer, List<Content>> unOrderderdContentMap) {\n\n\t\tList<Content> contentsLongList = new LinkedList<>();\n\n\t\tfor (Map.Entry<Integer, List<Content>> entry : unOrderderdContentMap.entrySet())\n\t\t\tfor (Content content : entry.getValue())\n\t\t\t\tcontentsLongList.add(content);\n\n\t\tCollections.sort(contentsLongList, (c1, c2) -> {\n\t\t\tInteger c1Volume = c1.getVolume();\n\t\t\tInteger c2Volume = c2.getVolume();\n\t\t\tString c1Barcode = c1.getBarcode();\n\t\t\tString c2Barcode = c2.getBarcode();\n\n\t\t\treturn c2Volume - c1Volume != 0 ? c2Volume - c1Volume : c1Barcode.compareTo(c2Barcode);\n\t\t});\n\n\t\treturn contentsLongList;\n\t}", "public static <K, V extends Comparable<? super V>> List<Entry<K, V>> getMapSortedByValue(Map<K, V> map) {\r\n\t\tfinal int size = map.size();\r\n\t\tfinal List<Map.Entry<K, V>> list = new ArrayList<Map.Entry<K, V>>(size);\r\n\t\tlist.addAll(map.entrySet());\r\n\t\tfinal ValueComparator<V> cmp = new ValueComparator<V>();\r\n\t\tCollections.sort(list, cmp);\r\n\t\treturn list;\r\n\t\t/*\r\n\t\tfinal List<K> keys = new ArrayList<K>(size);\r\n\t\tfor (int i = 0; i < size; i++) {\r\n\t\t\tkeys.set(i, list.get(i).getKey());\r\n\t\t}\r\n\t\treturn keys;\r\n\t\t*/\r\n\t}", "public static LinkedHashMap<Integer, Integer> sortByValuesFromMap(\n\t\t\t\t\tMap<Integer, Integer> labelCountMap) {\n\t\t\t\t// long startTime = System.nanoTime();\n\t\t\t\tList<Integer> mapKeys = new ArrayList<Integer>(labelCountMap.keySet());\n\t\t\t\tList<Integer> mapValues = new ArrayList<Integer>(labelCountMap.values());\n\t\t\t\tCollections.sort(mapValues, new MyComparator());\n\n\t\t\t\tCollections.sort(mapKeys);\n\n\t\t\t\tLinkedHashMap<Integer, Integer> sortedMap = new LinkedHashMap<Integer, Integer>();\n\n\t\t\t\tIterator<Integer> valueIt = mapValues.iterator();\n\t\t\t\twhile (valueIt.hasNext()) {\n\t\t\t\t\tInteger val = (Integer) valueIt.next();\n\t\t\t\t\tIterator<Integer> keyIt = mapKeys.iterator();\n\n\t\t\t\t\twhile (keyIt.hasNext()) {\n\t\t\t\t\t\tInteger key = (Integer) keyIt.next();\n\t\t\t\t\t\tInteger val1 = labelCountMap.get(key);\n\t\t\t\t\t\tInteger val2 = val;\n\n\t\t\t\t\t\tif (val2.equals(val1)) {\n\t\t\t\t\t\t\tmapKeys.remove(key);\n\t\t\t\t\t\t\tsortedMap.put((Integer) key, (Integer) val);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t\t// long endTime = System.nanoTime();\n\t\t\t\t// System.out.println(\"The time taken to sort TF -IDF values is:\"+(endTime-startTime)/Math.pow(10,\n\t\t\t\t// 9));\n\t\t\t\treturn sortedMap;\n\t\t\t}", "public static void sort(Map<String, Long> map){\n\t\t\n\t\t Set<Entry<String, Long>> entrySet = map.entrySet();\n\t\t ArrayList<Entry<String, Long>> arrayList = new ArrayList<>(entrySet);\n\t\t// Collections.sort(arrayList, Comparator.comparing(null).reversed().t\n\t\t \n\t\t \n\t\t\n\t\tSystem.out.println(arrayList);\n\t}", "List<Integer> getSortedList() {\n Set<Map.Entry<Integer, Integer>> setOfMovieIDPopularityPairs = mostPopularMoviesByID.entrySet();\n // Then, it is converted into a list (for sorting)\n List<Map.Entry<Integer, Integer>> listOfMovieIDPopularityPairs = new ArrayList<>(setOfMovieIDPopularityPairs);\n // A comparator is created that can be used to \"instruct\" sorting by values (popularity)\n Comparator<Map.Entry<Integer, Integer>> popularityComparator = Map.Entry.comparingByValue();\n // Last step - sort in descending order by popularity\n listOfMovieIDPopularityPairs.sort(popularityComparator.reversed());\n\n // Eventually, movieIDs are extracted from the sorted list movieID-Popularity pairs\n List<Integer> listOfMostPopularMoviesByID = new ArrayList<>(listOfMovieIDPopularityPairs.size());\n for (Map.Entry<Integer, Integer> movieIDPopularityPair : listOfMovieIDPopularityPairs) {\n listOfMostPopularMoviesByID.add(movieIDPopularityPair.getKey());\n }\n return listOfMostPopularMoviesByID;\n }", "@SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n\tprivate List<Entry<String, Float>> sortByValue(Map map) {\n\t List<Entry<String, Float>> list = new LinkedList(map.entrySet());\n\t Collections.sort(list, new Comparator() {\n\t public int compare(Object o1, Object o2) {\n\t return -((Comparable) ((Map.Entry) (o1)).getValue())\n\t \t\t .compareTo(((Map.Entry) (o2)).getValue());\n\t }\n\t });\n\t return list;\n\t}", "private static HashMap sortValues(Map<Integer, String> map) {\n\t\tList list = new LinkedList(map.entrySet());\n\t\t// Custom Comparator\n\t\tCollections.sort(list, new Comparator() {\n\t\t\tpublic int compare(Object o1, Object o2) {\n\t\t\t\treturn ((Comparable) ((Map.Entry) (o1)).getValue()).compareTo(((Map.Entry) (o2)).getValue());\n\t\t\t}\n\t\t});\n\t\t// copying the sorted list in HashMap to preserve the iteration order\n\t\tHashMap sortedHashMap = new LinkedHashMap();\n\t\tfor (Iterator it = list.iterator(); it.hasNext();) {\n\t\t\tMap.Entry entry = (Map.Entry) it.next();\n\t\t\tsortedHashMap.put(entry.getKey(), entry.getValue());\n\t\t}\n\t\treturn sortedHashMap;\n\t}", "@SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n\tprivate List<Entry> sortByValue(Map<Integer, Long> map) {\n\t List<Entry> list = new LinkedList<Entry>(map.entrySet());\n\t Collections.sort(list, new Comparator() {\n\t public int compare(Object o1, Object o2) {\n\t return ((Comparable) ((Map.Entry) (o1)).getValue())\n\t \t\t .compareTo(((Map.Entry) (o2)).getValue());\n\t }\n\t });\n\t return list;\n\t}", "private static void fillListFromMap(List<Integer> bucketContents, Map<Double, List<Integer>> m) {\r\n\t\tIterator<Double> iter = m.keySet().iterator();\r\n\t\twhile (iter.hasNext()) {\r\n\t\t\tDouble key = iter.next();\r\n\t\t\tbucketContents.addAll(m.get(key));\r\n\t\t}\r\n\t}", "public static List<LaunchServiceProvider> getSortedLspByRevenue(Map<LaunchServiceProvider,BigDecimal> mapUnsorted){\n Map<LaunchServiceProvider, BigDecimal> sortedLSP = mapUnsorted\n .entrySet()\n .stream()\n .sorted(Collections.reverseOrder(Map.Entry.comparingByValue()))\n .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue, (e1, e2) -> e2,\n LinkedHashMap::new));\n return new ArrayList<>(sortedLSP.keySet());\n }", "private static Map<String, Integer> sortByComparator(Map<String, Integer> unsortMap) {\n\t\tList<Map.Entry<String, Integer>> list = \n\t\t\tnew LinkedList<Map.Entry<String, Integer>>(unsortMap.entrySet());\n \n\t\t// Sort list with comparator, to compare the Map values\n\t\tComparator<Map.Entry<String, Integer>> comparator;\n\t\tcomparator=Collections.reverseOrder(new Comparator<Map.Entry<String, Integer>>() {\n\t\t\tpublic int compare(Map.Entry<String, Integer> o1,\n Map.Entry<String, Integer> o2) {\n\t\t\t\treturn (o1.getValue()).compareTo(o2.getValue());\n\t\t\t}\n\t\t});\n\t\tCollections.sort(list, comparator);\n \n\t\t// Convert sorted map back to a Map\n\t\tMap<String, Integer> sortedMap = new LinkedHashMap<String, Integer>();\n\t\tfor (Iterator<Map.Entry<String, Integer>> it = list.iterator(); it.hasNext();) {\n\t\t\tMap.Entry<String, Integer> entry = it.next();\n\t\t\tsortedMap.put(entry.getKey(), entry.getValue());\n\t\t}\n\t\treturn sortedMap;\n\t}", "private static void sortMap(HashMap<Integer, Integer> map) {\n\t\t\n\t}", "List<Integer> downSampleLevels();", "public static <K, V extends Comparable<V>>\n List<Map.Entry<K, V>> entriesSortedByValues(Map<K, V> map) {\n\n List<Map.Entry<K, V>> entryList = new ArrayList<>(map.entrySet());\n entryList.sort((e1, e2) -> e2.getValue().compareTo(e1.getValue()));\n\n return entryList;\n }", "protected List<OutputWriter.OutputRecord> prepareOutput(String queryNo, Map<String, Float> map){\n\t\tList<Entry<String, Float>> sortedMapList = sortByValue(map);\n\t\tList<OutputWriter.OutputRecord> result = new LinkedList<OutputWriter.OutputRecord>();\n\t\t\n\t\tLong i = 1L;\n\t\tfor(Entry<String, Float> e : sortedMapList){\n\t\t\tresult.add(new OutputWriter.OutputRecord(queryNo, e.getKey(), i++, e.getValue()));\n\t\t\t// Limit results to max results\n\t\t\tif(i>elasticClient.getMaxResults()) break;\n\t\t}\n\t\treturn result;\n\t}", "public static void main(String args[]){\r\n\t\t\r\n\t\t\r\n\t\tint arr[] = {2,5,2,8,5,6,8,8};\r\n\t\t\r\n\t\tMap<Integer, Integer> freqMap = new LinkedHashMap<Integer,Integer>();\r\n\t\t\r\n\t\tfor(int i = 0; i< arr.length;i++){\r\n\t\t\tif(freqMap.containsKey(arr[i])){\r\n\t\t\t\tint count = freqMap.get(arr[i]);\r\n\t\t\t\tfreqMap.put(arr[i],count + 1);\r\n\t\t\t}else{\r\n\t\t\t\tfreqMap.put(arr[i], 1);\r\n\t\t\t}\r\n\t\t}\r\n\t\t//2-2,5-2,6-1,8-3\r\n\t\t\r\n\t\tMap<Integer,ArrayList<Integer>> sortedList = new TreeMap<Integer, ArrayList<Integer>>(new Comparator<Integer>(){\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic int compare(Integer arg0, Integer arg1) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\treturn arg1.compareTo(arg0);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t});\r\n\t\t\r\n\t\tfor(Entry<Integer, Integer> entry : freqMap.entrySet()){\r\n\t\t\tint key = entry.getKey();\r\n\t\t\tint val = entry.getValue();\r\n\t\t\tif(sortedList.containsKey(val)){\r\n\t\t\t\tArrayList<Integer> list = sortedList.get(val);\r\n\t\t\t\tfor(int j = 0; j<val ; j++)\r\n\t\t\t\t\tlist.add(key);\r\n\t\t\t}else{\r\n\t\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\r\n\t\t\t\tfor(int j = 0; j<val ; j++)\r\n\t\t\t\t\tlist.add(key);\r\n\t\t\t\tsortedList.put(val, list);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println(sortedList.values());\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "public static <K, T> List<T> convertMapToList(Map<K, T> map) {\r\n\t\t\r\n\t\t// Si la collection est nulle\r\n\t\tif(map == null) return null;\r\n\t\t\r\n\t\t// On retourne l'ensemble\r\n\t\treturn new ArrayList<T>(map.values());\r\n\t}", "Map<String, Integer> sortByinlinks(Map<String, Integer> inlinks_sort){\n\tList<Map.Entry<String,Integer>> ranklist = new LinkedList<Map.Entry<String,Integer>>(inlinks_sort.entrySet());\n\tCollections.sort(ranklist, new Comparator<Map.Entry<String, Integer>>(){\n\t\tpublic int compare(Map.Entry<String,Integer> o1, Map.Entry<String,Integer> o2){\n\t\t\treturn o2.getValue().compareTo(o1.getValue() );\n\t\t}\n\t});\n\t\n\tMap<String, Integer> sortedRank = new LinkedHashMap<String,Integer>();\n\tfor(Map.Entry<String, Integer> rank : ranklist){\n\t\tsortedRank.put(rank.getKey(), rank.getValue());\t\t\t\n\t}\n\t\n\treturn sortedRank;\n\t}", "SortComparator(Map<Integer, Integer> tFreqMap) { \n this.freqMap = tFreqMap; \n }", "private static Map<String, Double> sortByComparator(Map<String, Double> unsortMap, final boolean order)\n {\n\n List<Entry<String, Double>> list = new LinkedList<Entry<String, Double>>(unsortMap.entrySet());\n\n // Sorting the list based on values\n Collections.sort(list, new Comparator<Entry<String, Double>>()\n {\n public int compare(Entry<String, Double> o1,\n Entry<String, Double> o2)\n {\n if (order)\n {\n return o1.getValue().compareTo(o2.getValue());\n }\n else\n {\n return o2.getValue().compareTo(o1.getValue());\n\n }\n }\n });\n\n int rank = 1;\n // Maintaining insertion order with the help of LinkedList\n Map<String, Double> sortedMap = new LinkedHashMap<String, Double>();\n for (Entry<String, Double> entry : list)\n {\n \tif(rank<=1000){\n \t\n \t\tsortedMap.put(entry.getKey() +\" \"+ String.valueOf(rank), entry.getValue());\n \t\trank++;\n \t}\n \telse break;\n }\n \n //Map<string, Double> updatedRank = new LinkedHashMap<String, Double>();\n\n return sortedMap;\n }", "public static <K, V extends Comparable<? super V>> SortedSet<Map.Entry<K, V>> sortByValuesAscending(\n\t\t\tMap<K, V> map) {\n\t\tSortedSet<Map.Entry<K, V>> sortedEntries = new TreeSet<Map.Entry<K, V>>(\n\t\t\t\tnew Comparator<Map.Entry<K, V>>() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic int compare(Map.Entry<K, V> e1, Map.Entry<K, V> e2) {\n\t\t\t\t\t\tint result = e1.getValue().compareTo(e2.getValue());\n\t\t\t\t\t\treturn result != 0 ? result : 1; // saves equal entries\n\t\t\t\t\t}\n\t\t\t\t});\n\t\tsortedEntries.addAll(map.entrySet());\n\t\treturn sortedEntries;\n\t}", "public static String Sorts(Map<Integer,Double> docsInfo) {\n Map<Integer, Double> sorted = docsInfo.entrySet().stream().sorted(Map.Entry.comparingByValue()).collect(Collectors.toMap(e -> e.getKey(), e -> e.getValue(), (e1, e2) -> e2,\n LinkedHashMap::new));\n String ans = \"\";\n sorted = docsInfo\n .entrySet()\n .stream()\n .sorted(Collections.reverseOrder(Map.Entry.comparingByValue()))\n .collect(\n Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue, (e1, e2) -> e2,\n LinkedHashMap::new));\n for(Map.Entry<Integer, Double> en : sorted.entrySet()) {\n ans = ans + (\"doc.Id ---> \" + en.getKey() +\"\\n\");\n }\n GUI.count = String.valueOf(sorted.size());\n return ans;\n }", "private Map<String, Integer> sortByValue(ConcurrentHashMap<String, Integer> popularJavaScriptLibrariesMap) {\n List<Map.Entry<String, Integer>> list =\n new LinkedList<>(popularJavaScriptLibrariesMap.entrySet());\n\n // Sort the list\n Collections.sort(list, (o1, o2) -> (o2.getValue()).compareTo(o1.getValue()));\n\n // put data from sorted list to hashmap\n HashMap<String, Integer> temp = new LinkedHashMap<>();\n for (Map.Entry<String, Integer> aa : list) {\n temp.put(aa.getKey(), aa.getValue());\n }\n return temp;\n }", "public HashMap sortByValues(HashMap map) {\n List list = new LinkedList(map.entrySet());\n // Defined Custom Comparator here\n Collections.sort(list, new Comparator() {\n public int compare(Object o1, Object o2) {\n return ((Comparable) ((Map.Entry) (o1)).getValue())\n .compareTo(((Map.Entry) (o2)).getValue());\n }\n });\n\n List array = new LinkedList();\n if (list.size() >= 3) // Make sure you really have 3 elements\n {\n array.add(list.get(list.size() - 1)); // The last\n array.add(list.get(list.size() - 2)); // The one before the last\n array.add(list.get(list.size() - 3)); // The one before the one before the last\n } else {\n array = list;\n }\n\n // Here I am copying the sorted list in HashMap\n // using LinkedHashMap to preserve the insertion order\n HashMap sortedHashMap = new LinkedHashMap();\n for (Iterator it = array.iterator(); it.hasNext();) {\n Map.Entry entry = (Map.Entry) it.next();\n sortedHashMap.put(entry.getKey(), entry.getValue());\n }\n return sortedHashMap;\n }", "static <K,V extends Comparable<? super V>> SortedSet<Map.Entry<K,V>> entriesSortedByValues(Map<K,V> map) {\n\t\t SortedSet<Map.Entry<K,V>> sortedEntries = new TreeSet<Map.Entry<K,V>>(\n\t\t new Comparator<Map.Entry<K,V>>() {\n\t\t @Override public int compare(Map.Entry<K,V> e1, Map.Entry<K,V> e2) {\n\t\t int res = e1.getValue().compareTo(e2.getValue());\n\t\t return res != 0 ? res : 1;\n\t\t }\n\t\t }\n\t\t );\n\t\t sortedEntries.addAll(map.entrySet());\n\t\t return sortedEntries;\n\t\t}", "private List<String> getTop(Map<String, AtomicLong> map, int count){\n\t\tMap<String, Long> convertedMap = map.entrySet().stream().collect(\r\n\t\t\t\tCollectors.toMap(\tMap.Entry::getKey, \r\n\t\t\t\t\t\t\t\t\te -> Long.valueOf(e.getValue().get())));\r\n\t\t\r\n\t\treturn Util.getTopByValue(convertedMap, count);\r\n\t}", "public static void hashMapSort(HashMap input){\n Set keys = input.keySet();\n int i = keys.size();\n ArrayList<String> sortedkeys = new ArrayList<>(i);\n sortedkeys.addAll(keys);\n Collections.sort(sortedkeys);\n System.out.println(\"sortedkeys = \" + sortedkeys);\n for (String item : sortedkeys){\n System.out.printf(input +\"%nItem: %s | Quantity: \" + input.get(item)+\"%n\", item);\n }\n\n}", "public static void sortbyValue()\n {\n //1. Create a list from elements of HashMap\n List<Map.Entry<Integer,String>> list = new LinkedList<>(map.entrySet());\n\n //2. Sort the list -- >Sory via Value\n //Collections.sort(list, (Map.Entry<Integer,String> o1,Map.Entry<Integer,String> o2) -> (o1.getKey().compareTo(o2.getKey())));\n\n //2. Sort the list -- >Sory via Key\n Collections.sort(list, (Map.Entry<Integer,String> o1,Map.Entry<Integer,String> o2) -> (o1.getValue().compareTo(o2.getValue())));\n\n \n //3. Put data from sorted list to map\n Map<Integer,String> temp = new LinkedHashMap<Integer,String>();\n\n for(Map.Entry<Integer,String> entry : list)\n {\n temp.put(entry.getKey(), entry.getValue());\n }\n\n //4. Printing the data from map\n for(Map.Entry<Integer,String> entry : temp.entrySet())\n {\n System.out.println(entry.getKey()+\" \"+entry.getValue());\n }\n }", "public static void customSort(List<Integer> array) {\n Map<Integer, Integer> map = new HashMap<>();\n List<Integer> outputArray = new ArrayList<>();\n int ii = 0;\n for (int current : array) {\n if (ii==0){\n ii++;\n continue;\n }\n int count = map.getOrDefault(current, 0);\n map.put(current, count + 1);\n outputArray.add(current);\n ii++;\n }\n\n Set<Map.Entry<Integer, Integer>> entries = map.entrySet();\n for (Map.Entry<Integer, Integer> entry : entries) {\n entry.getKey();\n }\n\n // Compare the map by value\n SortComparator comp = new SortComparator(map);\n\n // Sort the map using Collections CLass\n Collections.sort(outputArray,comp);\n\n // Final Output\n for (Integer i : outputArray) {\n System.out.print(i + \" \");\n }\n System.out.println();\n\n }", "public static Map<String, Integer> sortByCount(Map<String, Integer> countMap) {\n LOG.info(\"counterUtil::sortByCount:start\");\n\n //Below logic will sort the map based on \"max count\" value and will store sorted map in a LinkedHashMap\n Map<String, Integer> sortedMap = countMap.entrySet().stream().\n sorted(Collections.reverseOrder(comparingByValue())).\n collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue, (e1, e2) -> e2, LinkedHashMap::new));\n\n LOG.info(\"counterUtil::sortByCount:end\");\n return sortedMap;\n }", "Listof<Pairof<K, V>> sortedKeyVals();", "public static void main(String[] args) {\n\r\n\t\tint arr[]={2, 3, 2, 4, 5, 12, 2, 3, 3, 3, 12};\r\n\t\tMap<Integer,Data> map = new HashMap<>();\r\n\t\tfor(int a :arr)\r\n\t\t{\r\n\t\t\tif(map.containsKey(a))\r\n\t\t\t{\r\n\t\t\t\tmap.get(a).incrementFrequency();\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tmap.put(a, new Data(a));\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tSet<Data> sortedData = new TreeSet<>(map.values());\r\n\t\tList<Integer> result = new ArrayList<>();\r\n\t\tfor(Data d : sortedData)\r\n\t\t{\r\n\t\t\tfor(int i=0;i<d.frequency;i++)\r\n\t\t\t\tresult.add(d.number);\r\n\t\t}\r\n\t\tSystem.out.println(result);\r\n\t}", "int[] orderBands(int orig[], int step) {\n int map[] = new int[orig.length];\n int ret[] = new int[orig.length];\n\n for (int i = 0; i < map.length; i++)\n map[i] = i;\n\n for (int i = 0; i < ret.length; i++) {\n int index = i;\n for (int j = i + 1; j < ret.length; j++) {\n if (orig[map[index]] > orig[map[j]]) {\n index = j;\n }\n }\n ret[map[index]] = i * step;\n map[index] = map[i];\n }\n return ret;\n }", "private ArrayList<String> sort(HashMap<String, Double> input){\n\n //initiate new array list from existing keys\n ArrayList<String> sortedCats = new ArrayList<>(input.keySet());\n\n //size of array list\n int n = sortedCats.size();\n\n //placeholder to replace category\n String temp;\n\n //bubble sort algorithm\n for(int i = 0; i < n; i++){\n for(int j = 1; j < (n-i); j++){\n if(input.get(sortedCats.get(j-1)) < input.get(sortedCats.get(j))){\n //swap elements\n temp = sortedCats.get(j-1);\n sortedCats.remove(j-1);\n sortedCats.add(j, temp);\n }\n }\n }\n return sortedCats;\n }", "@SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n\t\tprivate static HashMap<String, Integer> sortByValues(HashMap<String, Integer> map, boolean reverse) {\n\t\t\tList list = new LinkedList(map.entrySet());\n\t\t\t// Defined Custom Comparator here\n\t\t\tCollections.sort(list, new Comparator() {\n\t\t\t\tpublic int compare(Object o1, Object o2) {\n\t\t\t\t\treturn ((Comparable) ((Map.Entry) (o1)).getValue())\n\t\t\t\t\t\t\t.compareTo(((Map.Entry) (o2)).getValue());\n\t\t\t\t}\n\t\t\t});\n\t\t\tif (reverse)\n\t\t\t\tCollections.reverse(list);\n\t\t\t// Here I am copying the sorted list in HashMap\n\t\t\t// using LinkedHashMap to preserve the insertion order\n\t\t\tHashMap sortedHashMap = new LinkedHashMap();\n\t\t\tfor (Iterator it = list.iterator(); it.hasNext();) {\n\t\t\t\tMap.Entry entry = (Map.Entry) it.next();\n\t\t\t\tsortedHashMap.put(entry.getKey(), entry.getValue());\n\t\t\t}\n\t\t\treturn sortedHashMap;\n\t\t}", "private List<Content> sortContentMapByContentTypeAndPrice(Map<Integer, List<Content>> unOrderderdContentMap) {\n\n\t\tList<Content> contentsLongList = new LinkedList<>();\n\n\t\tfor (Map.Entry<Integer, List<Content>> entry : unOrderderdContentMap.entrySet())\n\t\t\tfor (Content content : entry.getValue())\n\t\t\t\tcontentsLongList.add(content);\n\n\t\tCollections.sort(contentsLongList, (c1, c2) -> {\n\t\t\tDouble c1Price = c1.getPrice();\n\t\t\tDouble c2Price = c2.getPrice();\n\t\t\tContentType c1Type = c1.getType();\n\t\t\tContentType c2Type = c2.getType();\n\n\t\t\treturn c1Type.compareTo(c2Type) != 0 ? c1Type.compareTo(c2Type) : (int) (c1Price - c2Price);\n\t\t});\n\n\t\treturn contentsLongList;\n\t}", "private static <K extends Comparable<K>, V>\n ImmutableSortedMap<K, SortedSet<V>>\n copyMap(Map<K, ? extends SortedSet<V>> map) {\n final ImmutableSortedMap.Builder<K, SortedSet<V>> b =\n ImmutableSortedMap.naturalOrder();\n for (Map.Entry<K, ? extends SortedSet<V>> e : map.entrySet()) {\n b.put(e.getKey(), ImmutableSortedSet.copyOf(e.getValue()));\n }\n return b.build();\n }", "private void sortByKeys(LazyMap<ProcessorDistributionKey, Collection<Geometry>> keyToGeoms,\n Collection<? extends Geometry> sortGeoms, Collection<Geometry> unprocessed)\n {\n final ProcessorDistributionKey hull = new ProcessorDistributionKey();\n for (final Geometry geom : sortGeoms)\n {\n sortByKeys(keyToGeoms, geom, unprocessed, hull);\n }\n }", "public static void main(String[] args) {\n\r\n\t\tSortByValue sbv = new SortByValue();\r\n\t\tsbv.setValueOnMap(12, \"Aarti\");\r\n\t\tsbv.setValueOnMap(15, \"Sonam\");\r\n\t\tsbv.setValueOnMap(17, \"Anita\");\r\n\t\tsbv.setValueOnMap(13, \"Premlata\");\r\n\t\tsbv.setValueOnMap(14, \"Komal\");\r\n\t\tsbv.setValueOnMap(20, \"Namita\");\r\n\t\tsbv.setValueOnMap(25, \"Babita\");\r\n\t\t\r\n\t\tMap<Integer, String> _map = sbv.getValueFromMap();\r\n\t\t/*Iterator<Map.Entry<Integer, String>> _it = _map.entrySet().iterator();\r\n\t\twhile(_it.hasNext()){\r\n\t\t\tMap.Entry<Integer, String> _map_value = _it.next();\r\n\t\t\tSystem.out.println(_map_value.getKey()+\"|\"+_map_value.getValue());\r\n\t\t}*/\r\n\t\t\r\n\t\tSet<Entry<Integer, String>> set = _map.entrySet();\r\n\t\tList<Entry<Integer, String>> list = new ArrayList<Entry<Integer, String>>(set);\r\n\t\tSystem.out.println(\"HashMap values Before sort:\");\r\n\t\tfor(Map.Entry<Integer, String> listBeforeSort : list){\r\n\t\t\tSystem.out.println(listBeforeSort.getKey()+\" | \"+listBeforeSort.getValue());\r\n\t\t}\r\n\t\t\r\n\t\tCollections.sort(list, new Comparator<Map.Entry<Integer, String>>(){\r\n\t\t\tpublic int compare(Map.Entry<Integer, String> value1, Map.Entry<Integer, String> value2){\r\n\t\t\t\treturn value1.getValue().compareTo(value2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tSystem.out.println(\"HashMap values After sort:\");\r\n\t\tfor(Map.Entry<Integer, String> listBeforeSort : list){\r\n\t\t\tSystem.out.println(listBeforeSort.getKey()+\" | \"+listBeforeSort.getValue());\r\n\t\t}\r\n\t}", "public static List<String> sortedKeys(Map map)\n {\n if (map == null)\n return Collections.emptyList();\n \n List<String> keys = CollectionFactory.newList();\n \n for (Object o : map.keySet())\n keys.add(String.valueOf(o));\n \n Collections.sort(keys);\n \n return keys;\n }", "public static <K, V extends Comparable<V>> Map<K, V> sortByValues(final Map<K, V> map) {\r\n \tComparator<K> valueComparator = new Comparator<K>() {\r\n \t public int compare(K k1, K k2) {\r\n \t int compare = map.get(k2).compareTo(map.get(k1));\r\n \t if (compare == 0) return 1;\r\n \t else return compare;\r\n \t }\r\n \t};\r\n \tMap<K, V> sortedByValues = new TreeMap<K, V>(valueComparator);\r\n \tsortedByValues.putAll(map);\r\n \t\r\n \treturn sortedByValues;\r\n }", "Listof<V> sortedVals();", "public static void main(String[] args) {\n\t\t\r\n\t\tMap<Integer, Integer> map =new HashMap<>();\r\n\t\tmap.put(1, 8);\r\n\t\tmap.put(2, 2);\r\n\t\tmap.put(3, 9);\r\n\t\tmap.put(4, 2);\r\n\t\t\r\n\t\t\r\n\t\tSet<Entry<Integer, Integer>> ss = new HashSet<>(map.entrySet());\r\n\t\tList<Entry<Integer, Integer>> ll = new ArrayList<>(map.entrySet());\r\n\t\t\r\n\t\tfor(Map.Entry<Integer, Integer> map1: ll)\r\n\t\t{\r\n\t\t\tSystem.out.println(map1.getKey()+\" :: \"+map1.getValue());\r\n\t\t}\r\n\t\t\r\n\t\tCollections.sort(ll,new SortByValue());\r\n\t\tSystem.out.println(\"-------------------------------\");\r\n\t\t\r\n\t\tfor(Map.Entry<Integer, Integer> map1: ll)\r\n\t\t{\r\n\t\t\tSystem.out.println(map1.getKey()+\" :: \"+map1.getValue());\r\n\t\t}\r\n\r\n\t}", "static void sortByFreq(int arr[], int n){\n Map<Integer, Integer> map = new HashMap<>(); \n List<Integer> outputArray = new ArrayList<>(); \n \n // Assign elements and their count in the list and map \n for (int current : arr) { \n int count = map.getOrDefault(current, 0); \n map.put(current, count + 1); \n outputArray.add(current); \n } \n \n // Compare the map by value \n SortComparator comp = new SortComparator(map); \n \n // Sort the map using Collections CLass \n Collections.sort(outputArray, comp); \n \n // Final Output \n for (Integer i : outputArray) { \n System.out.print(i + \" \"); \n }\n }", "private Map<String,List<Invertedindex>> collecting() //\r\n {\r\n Map<String,List<Invertedindex>> maps = new TreeMap<>();\r\n for (Core pon:pondred){\r\n for(Map.Entry<String,Double> term:pon.allTerms.entrySet()){\r\n if (maps.containsKey(term.getKey())){\r\n List<Invertedindex> index = maps.get(term.getKey());\r\n index.add(new Invertedindex(pon.m_cle,term.getValue(),pon.getBalise(term.getKey())));\r\n maps.put(term.getKey(), index);\r\n }else {\r\n List<Invertedindex> index = new ArrayList<>();\r\n index.add(new Invertedindex(pon.m_cle,term.getValue(),pon.getBalise(term.getKey())));\r\n maps.put(term.getKey(), index);\r\n }\r\n if(cleFreq.containsKey(pon.m_cle))\r\n cleFreq.put(pon.m_cle,cleFreq.get(pon.m_cle)+term.getValue());\r\n else cleFreq.put(pon.m_cle,term.getValue());\r\n\r\n }\r\n }\r\n return maps;\r\n }", "private static HashMap<String, Integer> sortByValue(HashMap<String, Integer> unsortMap) {\n\t\tList<HashMap.Entry<String, Integer>> list = new LinkedList<HashMap.Entry<String, Integer>>(\n\t\t\t\tunsortMap.entrySet());\n\n\t\t// 2. Sort list with Collections.sort(), provide a custom Comparator\n\t\t// Try switch the o1 o2 position for a different order\n\t\tCollections.sort(list, new Comparator<HashMap.Entry<String, Integer>>() {\n\t\t\tpublic int compare(HashMap.Entry<String, Integer> o1, HashMap.Entry<String, Integer> o2) {\n\t\t\t\treturn (o2.getValue()).compareTo(o1.getValue());\n\t\t\t}\n\t\t});\n\n\t\t// 3. Loop the sorted list and put it into a new insertion order Map\n\t\t// LinkedHashMap\n\t\tHashMap<String, Integer> sortedMap = new LinkedHashMap<String, Integer>();\n\t\tfor (HashMap.Entry<String, Integer> entry : list) {\n\t\t\tsortedMap.put(entry.getKey(), entry.getValue());\n\t\t}\n\n\t\t/*\n\t\t * //classic iterator example for (Iterator<Map.Entry<String, Integer>>\n\t\t * it = list.iterator(); it.hasNext(); ) { Map.Entry<String, Integer>\n\t\t * entry = it.next(); sortedMap.put(entry.getKey(), entry.getValue()); }\n\t\t */\n\n\t\treturn sortedMap;\n\t}", "private void ordenaLista(List<AgrupamentoTipoBean> valoresMap) {\n\t\tCollections.sort(valoresMap, new Comparator<AgrupamentoTipoBean>() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic int compare(AgrupamentoTipoBean o1, AgrupamentoTipoBean o2) {\n\t\t\t\treturn o1.getQuantidade() > o2.getQuantidade() ? -1 : +1;\n\t\t\t}\n\t\t\t\n\t\t});\n\t}", "public static <K, V extends Comparable<V>> Map<K, V> sortByValues(Map<K, V> map) {\n \tComparator<K> valueComparator = new Comparator<K>() {\n\t\t\tpublic int compare(K key, K key2) {\n\t\t\t\tint compareKeys = map.get(key2).compareTo(map.get(key));\n\t\t\t\tif (compareKeys == 0) {\n\t\t\t\t\treturn 1;\n\t\t\t\t} else {\n\t\t\t\t\treturn compareKeys;\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tMap<K, V> sortedByValues = new TreeMap<K, V>(valueComparator);\n\t\tsortedByValues.putAll(map);\n\t\treturn sortedByValues;\n }", "private Map<String, Object> sortMap(Map<String, Object> map)\n {\n return new TreeMap<>(map);\n }", "private void sortEScores() {\n LinkedHashMap<String, Double> sorted = eScores\n .entrySet()\n .stream()\n .sorted(Collections.reverseOrder(Map.Entry.comparingByValue()))\n .collect(\n toMap(Map.Entry::getKey, Map.Entry::getValue, (e1, e2) -> e2,\n LinkedHashMap::new));\n eScores = sorted;\n }", "public ArrayList<Integer> sortKeysByValue(HashMap<Integer, Double> hm) {\n List<Map.Entry<Integer, Double>> list = new LinkedList<Map.Entry<Integer, Double>>(hm.entrySet());\n\n Collections.sort(list, new Comparator<Map.Entry<Integer, Double>>() {\n @Override\n public int compare(Map.Entry<Integer, Double> o1, Map.Entry<Integer, Double> o2) {\n return (o2.getValue()).compareTo(o1.getValue());\n }\n });\n ArrayList<Integer> keys = new ArrayList<Integer>();\n for (Map.Entry<Integer, Double> i : list) {\n keys.add(i.getKey());\n }\n return keys;\n }", "public List<ProjectTermsOfUseMapItem> getProjectTermsOfUseMapExternal() {\n List sortedList = new ArrayList(getProjectTermsOfUseMap());\n Collections.sort(sortedList);\n return Collections.unmodifiableList(sortedList);\n }", "private static final List<Fooable> sortFooables(\n \t\t\tMap<Fooable, Integer> fooPairs) {\n \t\t// Create a list of Map.Entries based on the input Map\n \t\tList<Map.Entry<Fooable, Integer>> pairList = new ArrayList<>();\n \t\tpairList.addAll(fooPairs.entrySet());\n \n \t\t// Sort the list of Map.Entries containing Fooables and Levenshtein\n \t\t// Distances\n \t\tCollections.sort(pairList,\n \t\t\t\tnew Comparator<Map.Entry<Fooable, Integer>>() {\n \t\t\t\t\t@Override\n \t\t\t\t\tpublic int compare(Entry<Fooable, Integer> o1,\n \t\t\t\t\t\t\tEntry<Fooable, Integer> o2) {\n \t\t\t\t\t\t// Initially sort by Levenshtein Distance\n \t\t\t\t\t\tif (o1.getValue() < o2.getValue())\n \t\t\t\t\t\t\treturn -1;\n \n \t\t\t\t\t\tif (o1.getValue() > o2.getValue())\n \t\t\t\t\t\t\treturn 1;\n \n \t\t\t\t\t\t// Fallback sorting on String comparison\n \t\t\t\t\t\treturn o1.getKey().getName()\n \t\t\t\t\t\t\t\t.compareToIgnoreCase(o2.getKey().getName());\n \t\t\t\t\t}\n \t\t\t\t});\n \n \t\t// Construct a sorted list of Fooables\n \t\tList<Fooable> sortedList = new ArrayList<>();\n \t\tfor (Map.Entry<Fooable, Integer> pair : pairList) {\n \t\t\tsortedList.add(pair.getKey());\n \t\t}\n \n \t\treturn sortedList;\n \t}", "private static void paixu(ArrayList<Integer> p1, Map<Integer, String> map) {\n\t\tCollections.sort(p1);\n\t\tfor (Integer integer : p1) {\n\t\t\tint key = integer;\n\t\t\tString card = map.get(key);\n\t\t\tSystem.out.print(card + \" \");\n\t\t\t\n\t\t}\n\t\tSystem.out.println();\n\t\t//map.\n\t}", "public static HashMap sortByValues(HashMap map){\r\n List list = new LinkedList(map.entrySet());\r\n Collections.sort(list, new Comparator() {\r\n @Override\r\n public int compare(Object o1, Object o2) {\r\n return ((Comparable) ((Map.Entry) (o1)).getValue())\r\n .compareTo(((Map.Entry) (o2)).getValue());\r\n }\r\n });\r\n HashMap sortedHashMap= new LinkedHashMap();\r\n for(Iterator it=list.iterator();it.hasNext();){\r\n Map.Entry entry= (Map.Entry) it.next();\r\n sortedHashMap.put(entry.getKey(), entry.getValue());\r\n }\r\n return sortedHashMap;\r\n }", "public static <K, V extends Comparable<V>> Map<K, V> sortByValues(final Map<K, V> map) {\r\n\r\n\t\tComparator<K> valueComparator = new Comparator<K>() {\r\n\t\t\tpublic int compare(K k1, K k2) {\r\n\t\t\t\tint compare = map.get(k1).compareTo(map.get(k2));\r\n\t\t\t\tif (compare == 0) {\r\n\t\t\t\t\treturn 1;\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn compare;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tMap<K, V> sortedByValues = new TreeMap<K, V>(valueComparator);\r\n\t\tsortedByValues.putAll(map);\r\n\t\treturn sortedByValues;\r\n\t}", "public static LinkedHashMap<Integer, Double> sortHashMapByValues(\r\n \t\t\tSortedMap<Integer, Double> passedMap) {\r\n \t\tList<Integer> mapKeys = new ArrayList<Integer>(passedMap.keySet());\r\n \t\tList<Double> mapValues = new ArrayList<Double>(passedMap.values());\r\n \t\tCollections.sort(mapValues, Collections.reverseOrder());\r\n \t\tCollections.sort(mapKeys, Collections.reverseOrder());\r\n \r\n \t\tLinkedHashMap<Integer, Double> sortedMap = new LinkedHashMap<Integer, Double>();\r\n \r\n \t\tIterator<Double> valueIt = mapValues.iterator();\r\n \t\twhile (valueIt.hasNext()) {\r\n \t\t\tObject val = valueIt.next();\r\n \t\t\tIterator<Integer> keyIt = mapKeys.iterator();\r\n \r\n \t\t\twhile (keyIt.hasNext()) {\r\n \t\t\t\tObject key = keyIt.next();\r\n \t\t\t\tString comp1 = passedMap.get(key).toString();\r\n \t\t\t\tString comp2 = val.toString();\r\n \r\n \t\t\t\tif (comp1.equals(comp2)) {\r\n \t\t\t\t\tpassedMap.remove(key);\r\n \t\t\t\t\tmapKeys.remove(key);\r\n \t\t\t\t\tsortedMap.put((Integer) key, (Double) val);\r\n \t\t\t\t\tbreak;\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n \t\treturn (LinkedHashMap<Integer, Double>) sortedMap;\r\n \t}", "Listof<K> sortedKeys();", "private static <K, V extends Comparable<V>> Map<K, V> sortDescending(final Map<K, V> map) {\n\t\tComparator<K> valueComparator = new Comparator<K>() {\n\t\t\tpublic int compare(K k1, K k2) {\n\t\t\t\tint compare = map.get(k2).compareTo(map.get(k1));\n\t\t\t\tif (compare == 0) return 1;\n\t\t\t\telse return compare;\n\t\t\t}\n\t\t};\n\t\tMap<K, V> sortedByValues = new TreeMap<K, V>(valueComparator);\n\n\t\tsortedByValues.putAll(map);\n\n\t\treturn sortedByValues;\n\t}", "private static TreeMap<Double, ArrayList<String>> factorInRatings(Map<Integer,\n ArrayList<String>> map, User user) {\n TreeMap<Double, ArrayList<String>> mapWithRatings = new TreeMap<>(Collections.reverseOrder());\n //iterates through every count in the map\n for (int count = map.keySet().size(); count > 0; count--) {\n ArrayList<String> rep = map.get(count);\n //iterate through every recipe\n for (String recipe : rep) {\n Recipe recipeObj = getRecipeObject(recipe, user);\n int numIngredients = recipeObj.getIngredients().size();\n if (recipeObj == null) {\n continue;\n }\n //calculate a weighted sum to decide the match\n Double metric = count / numIngredients * SCORE_WEIGHT + SIMILARITY_WEIGHT\n * recipeObj.getValue();\n ArrayList<String> newRating;\n //add this rating to a hashmap, that sorts based on metric\n if (mapWithRatings.get(metric) == null) {\n newRating = new ArrayList<>();\n newRating.add(recipe);\n mapWithRatings.put(metric, newRating);\n } else {\n newRating = mapWithRatings.get(metric);\n newRating.add(recipe);\n mapWithRatings.put(metric, newRating);\n }\n }\n }\n return mapWithRatings;\n }", "private static ArrayList<String> topSortedRecipes(TreeMap<Double, ArrayList<String>> ratedMap,\n int numRecipesToReturn) {\n ArrayList<String> topSortedRecipes = new ArrayList<>();\n int numToAdd = numRecipesToReturn;\n for (double key : ratedMap.keySet()) {\n ArrayList<String> rep = ratedMap.get(key);\n\n topSortedRecipes.addAll(rep.subList(0, min(numToAdd, rep.size())));\n numToAdd = numToAdd - rep.size();\n if (numToAdd < 0) {\n return topSortedRecipes;\n }\n }\n return topSortedRecipes;\n }", "public static <K, V extends Comparable<? super V>> SortedSet<Map.Entry<K, V>> sortByValuesDescending(\n\t\t\tMap<K, V> map) {\n\t\tSortedSet<Map.Entry<K, V>> sortedEntries = new TreeSet<Map.Entry<K, V>>(\n\t\t\t\tnew Comparator<Map.Entry<K, V>>() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic int compare(Map.Entry<K, V> e1, Map.Entry<K, V> e2) {\n\t\t\t\t\t\tint result = e2.getValue().compareTo(e1.getValue());\n\t\t\t\t\t\treturn result != 0 ? result : 1; // saves equal entries\n\t\t\t\t\t}\n\t\t\t\t});\n\t\tsortedEntries.addAll(map.entrySet());\n\t\treturn sortedEntries;\n\t}", "public static < K, V extends Comparable<V>>\n Map< K, V>\n sortByValues(final Map< K, V> map) {\n Comparator< K> valueComparator\n = new Comparator< K>() {\n public int compare(K k1, K k2) {\n int compare\n = map.get(k1).compareTo(map.get(k2));\n if (compare == 0) {\n return 1;\n } else {\n return compare;\n }\n }\n };\n Map< K, V> sortedByValues\n = new TreeMap<K, V>(valueComparator);\n\n sortedByValues.putAll(map);\n return sortedByValues;\n }", "public static void main(String[] args) {\n LinkedHashMap<String, Integer> capitals = new LinkedHashMap<>();\n capitals.put(\"Nepal\", 2);\n capitals.put(\"India\", 100);\n capitals.put(\"United States\", 5);\n capitals.put(\"England\", 10);\n capitals.put(\"Australia\", 50);\n capitals.put(\"India\", 100);\n\n // call the sortMap() method to sort the map\n Map<String, Integer> result = sortMap(capitals);\n\n for (Map.Entry<String, Integer> entry : result.entrySet()) {\n System.out.print(\"Key: \" + entry.getKey());\n System.out.println(\" Value: \" + entry.getValue());\n }\n }", "@SuppressWarnings(\"unchecked\")\r\n public static HashMap<Integer,TreeMap<Integer,Double>> word_distribute(Corpus c, SparseBackoffTree [] sbtToOutput) throws Exception{\n @SuppressWarnings(\"rawtypes\")\r\n HashMap<Integer,HashMap<Integer,Double>> word_givenTopic = new HashMap();\r\n for(int i = 0; i < c._pWord.length; i++) {\r\n if(c._pWord[i] > 0.0) {\r\n TIntDoubleHashMap hm = sbtToOutput[i].getLeafCounts();\r\n TIntDoubleIterator it = hm.iterator();\r\n while(it.hasNext()) {\r\n it.advance();\r\n int sId = it.key();\r\n double val = it.value()/c._pWord[i];\r\n if(word_givenTopic.containsKey(sId)){\r\n HashMap<Integer,Double> sublist = word_givenTopic.get(sId);\r\n sublist.put(i,val);\r\n }else{\r\n @SuppressWarnings(\"rawtypes\")\r\n HashMap<Integer,Double> sublist = new HashMap();\r\n sublist.put(i,val);\r\n word_givenTopic.put(sId,sublist);\r\n }\r\n }\r\n }\r\n }\r\n\r\n //sort the hash map by value.\r\n @SuppressWarnings(\"rawtypes\")\r\n HashMap<Integer,TreeMap<Integer,Double>> final_result = new HashMap();\r\n for(Entry<Integer, HashMap<Integer, Double>> entry : word_givenTopic.entrySet()) {\r\n int key = entry.getKey();\r\n HashMap<Integer,Double> word_distribution = entry.getValue();\r\n ByValueComparator bvc = new ByValueComparator(word_distribution);\r\n TreeMap<Integer, Double> sorted_word_distribution = new TreeMap<Integer, Double>(bvc);\r\n sorted_word_distribution.putAll(word_distribution);\r\n final_result.put(key,sorted_word_distribution);\r\n } \r\n return final_result;\r\n}", "public Listof<Pairof<K, V>> sortedKeyVals() {\n return this.bst.toSortedList().map(i -> new Pairof<>(i.left, i.right));\n }", "@Override\n public Map<Long, Map<Long, Number>> getFilteredRatings(Map<Long, Map<Long, Number>> originalSet) {\n Map<Long, Map<Long, Number>> ret = new TreeMap<Long, Map<Long, Number>>();\n\n for (Map.Entry<Long, Map<Long, Number>> userRatings : originalSet.entrySet()) {\n Long idUser = userRatings.getKey();\n Map<Long, Number> userRatingsMap = userRatings.getValue();\n\n ret.put(idUser, new TreeMap<Long, Number>());\n for (Map.Entry<Long, Number> entry : userRatingsMap.entrySet()) {\n Long idItem = entry.getKey();\n Number rating = entry.getValue();\n ret.get(idUser).put(idItem, rating.doubleValue());\n }\n }\n return ret;\n }", "public Map<Integer, Integer> getAllSortedCommittedValues() {\n\n LinkedHashMap<Integer, Integer> sortedMap = new LinkedHashMap<>();\n variables.entrySet()\n .stream()\n .sorted(Map.Entry.comparingByKey())\n .forEachOrdered(x -> sortedMap.put(x.getKey(), x.getValue().getKey()));\n\n return sortedMap;\n }", "public static Map sortByComparator(Map diffScalars) {\n\t\tList list = new LinkedList(diffScalars.entrySet());\n\t\tCollections.sort(list, new Comparator() {\n\t\t\tpublic int compare(Object o1, Object o2) {\n\t\t\t\treturn ((Comparable) ((Map.Entry) (o1)).getValue())\n\t\t\t\t\t\t.compareTo(((Map.Entry) (o2)).getValue());\n\t\t\t}\n\t\t});\n\n\t\t// put sorted list into map again\n\t\tMap sortedMap = new LinkedHashMap();\n\t\tfor (Iterator it = list.iterator(); it.hasNext();) {\n\t\t\tMap.Entry entry = (Map.Entry) it.next();\n\t\t\tsortedMap.put(entry.getKey(), entry.getValue());\n\t\t}\n\t\treturn sortedMap;\n\t}", "public static <K, V extends Comparable<? super V>> Map<K, V> crunchifySortByValue(Map<K, V> crunchifyMap) {\n \n\t\tMap<K, V> crunchifyResult = new LinkedHashMap<>();\n\t\tStream<Map.Entry<K, V>> sequentialStream = crunchifyMap.entrySet().stream();\n \n\t\t// comparingByValue() returns a comparator that compares Map.Entry in natural order on value.\n\t\tsequentialStream.sorted(Map.Entry.comparingByValue()).forEachOrdered(c -> crunchifyResult.put(c.getKey(), c.getValue()));\n\t\treturn crunchifyResult;\n\t}", "public static ArrayList<ArrayList<Integer>> getMelodicBinomialFromChord(TreeMap<Integer,ArrayList<String>> inputMap)\r\n {\r\n ArrayList<String> previousValueList = new ArrayList<>();\r\n ArrayList<String> nextValueList = new ArrayList<>();\r\n \r\n ArrayList<String> permutationList = new ArrayList<>();\r\n ArrayList<Integer> singleBinomialPrev = new ArrayList<>();\r\n ArrayList<Integer> singleBinomialNext = new ArrayList<>();\r\n \r\n TreeMap<String,ArrayList<Integer>> binomialMap = new TreeMap<>();\r\n \r\n for(int k=inputMap.size()-1; k>0; k--)\r\n { \r\n previousValueList = inputMap.get(k);\r\n nextValueList = inputMap.get(k-1);\r\n \r\n if(previousValueList.size() > 0 && nextValueList.size() > 0)\r\n {\r\n int w=0;\r\n int j=0;\r\n \r\n for(w=0; w<previousValueList.size(); w++)\r\n {\r\n for(j=0; j<nextValueList.size(); j++)\r\n {\r\n int PC_prev = 0;\r\n int NC_prev = 0;\r\n int PC_next = 0;\r\n int NC_next = 0;\r\n \r\n singleBinomialPrev = new ArrayList<>();\r\n singleBinomialNext = new ArrayList<>();\r\n \r\n String singlePermutation = previousValueList.get(w) + \":\" + nextValueList.get(j);\r\n String notePrev = previousValueList.get(w);\r\n String noteNext = nextValueList.get(j);\r\n //System.out.println(\"Permutazioni \" + previousValueList.get(w) + \"*\" + nextValueList.get(j));\r\n \r\n PC_prev = getPitchClass(previousValueList.get(w).substring(0, previousValueList.get(w).length()-1));\r\n NC_prev = getNameClass(previousValueList.get(w).substring(0, 1));\r\n singleBinomialPrev.add(PC_prev);\r\n singleBinomialPrev.add(NC_prev);\r\n \r\n PC_next = getPitchClass(nextValueList.get(j).substring(0, nextValueList.get(j).length()-1));\r\n NC_next = getNameClass(nextValueList.get(j).substring(0, 1));\r\n singleBinomialNext.add(PC_next);\r\n singleBinomialNext.add(NC_next);\r\n \r\n if((notePrev != null && !\"\".equals(notePrev)) && singleBinomialPrev.size() > 0)\r\n binomialMap.put(notePrev, singleBinomialPrev);\r\n \r\n if((noteNext != null && !\"\".equals(noteNext)) && singleBinomialPrev.size() > 0)\r\n binomialMap.put(noteNext, singleBinomialNext);\r\n \r\n if(singlePermutation != null && !\"\".equals(singlePermutation))\r\n permutationList.add(singlePermutation);\r\n }\r\n }\r\n }\r\n }\r\n //System.out.println(\"permutationList \" + permutationList);\r\n //System.out.println(\"permutationList Size \" + permutationList.size());\r\n //System.out.println(\"binomialMap \" + binomialMap);\r\n //System.out.println(\"binomialMap Size \" + binomialMap.size());\r\n return calculateInterval(permutationList, binomialMap); \r\n }", "public static int[] sortInNk(int[] input, int k) {\r\n int length = input.length;\r\n int[] map = new int[k];\r\n int[] output = new int[length];\r\n\r\n // get min O(n)\r\n // this block can be replaced with\r\n // min = input[0];\r\n // it will reduce time complexity but\r\n // than the size of the map would have to be increased\r\n int min = Integer.MAX_VALUE;\r\n for (int currentValue : input) {\r\n if (currentValue < min) {\r\n min = currentValue;\r\n }\r\n }\r\n\r\n // create map O(n)\r\n for (int currentValue : input) {\r\n map[currentValue - min]++;\r\n }\r\n\r\n // map to output O(n)\r\n int mapIter = 0;\r\n for (int i = 0; i < length; i++) {\r\n while (map[mapIter] == 0) {\r\n mapIter++;\r\n if (mapIter == length) {\r\n break;\r\n }\r\n }\r\n // FIXME can this block be done better?\r\n while (map[mapIter] > 0) {\r\n output[i] = min + mapIter;\r\n map[mapIter]--;\r\n if (map[mapIter] > 0) {\r\n i++;\r\n }\r\n }\r\n }\r\n\r\n return output;\r\n }", "public static LinkedHashMap<UUID, Double> sortMap(RacePlugin plugin) {\n LinkedHashMap<UUID, Double> reverseSortedMap = new LinkedHashMap<>();\r\n\r\n//Use Comparator.reverseOrder() for reverse ordering\r\n getLocations(plugin).entrySet()\r\n .stream()\r\n .sorted(Map.Entry.comparingByValue(Comparator.reverseOrder()))\r\n .forEachOrdered(x -> reverseSortedMap.put(x.getKey(), x.getValue()));\r\n return reverseSortedMap;\r\n }", "public static Map sortByComparator(Map unsortMap) \n\t{\n\n\t\tList list = new LinkedList(unsortMap.entrySet());\n\n\t\t//sort list based on comparator\n\t\tCollections.sort(list, new Comparator() \n\t\t{\n public int compare(Object o1, Object o2) \n\t\t\t{\n\t\t\t\t// return ((Comparable) ((Map.Entry) (o1)).getValue()).compareTo(((Map.Entry) (o2)).getValue());\n\t\t\t\treturn ((Comparable) ((Map.Entry) (o1)).getKey()).compareTo(((Map.Entry) (o2)).getKey());\n\t\t\t}\n\t\t});\n\n //put sorted list into map again\n\t\tMap sortedMap = new LinkedHashMap();\n\t\tfor (Iterator it = list.iterator(); it.hasNext();) \n\t\t{\n\t\t\tMap.Entry entry = (Map.Entry)it.next();\n\t\t\tsortedMap.put(entry.getKey(), entry.getValue());\n\t\t}\n\t\t\n\t\treturn sortedMap;\n\t}", "public static <A,B> List<Map<A,B>> generateAllPossibilities(Map<A,Set<B>> input){\n\t\tList<Pair<A,Set<B>>> in = new ArrayList<Pair<A,Set<B>>>();\n\t\t\n\t\tfor(Entry<A,Set<B>> entry : input.entrySet()){\n\t\t\tin.add(new Pair<A,Set<B>>(entry.getKey(),entry.getValue()));\n\t\t}\n\t\t\n\t\treturn generateAllPossibilities(in);\n\t}", "public static TreeMap<Integer, ArrayList<String>> countOccur(Map<String,Integer> map){\n\t\tTreeMap<Integer,ArrayList<String>> num_map = new TreeMap<Integer,ArrayList<String>>();\n\t\tfor(String key : map.keySet()) {\n\t\t\tInteger i = map.get(key);\n\t\t\tif(!num_map.containsKey(i)) {\n\t\t\t\tnum_map.put(i, new ArrayList<String>());\n\t\t\t\tnum_map.get(i).add(key);\n\t\t\t} else {\n\t\t\t\tnum_map.get(i).add(key);\n\t\t\t}\n\t\t}\n\t\treturn num_map;\n\t}", "private List<OrderDistance> sortOrdersByPriorities(List<OrderDistance> orderDistances) {\n\n /*Keeps orders and their priorities.\n * TreeMap keeps data in order using keys\n */\n\n Map<Integer, List<OrderDistance>> listMap = orderDistances.stream()\n .collect(groupingBy(order -> getPriority(order.getOrder()), TreeMap::new, mapping(Function.identity(), toList())));\n\n /*\n * There are three list which consists of vip,food and other\n * Here we are flatting them into single list\n */\n return listMap.values().stream().flatMap(Collection::stream).collect(toList());\n }", "public static void main(String[] args) {\n\t\tHashMap<String, String> hm = new HashMap<String, String>();\n\t\thm.put(\"1\", \"2\");\n\t\thm.put(\"0\", \"5\");\n\t\thm.put(\"890\", \"6\");\n\t\thm.put(\"90\", \"3\");\n\t\tArrayList<HashMap> a = new ArrayList<HashMap>();\n\t\t\ta.add(hm);;\t\n\t\tCollections.sort((java.util.List) a);\n\t\tSystem.out.println(hm.values());\n\t}", "private TreeMap<Integer, List<NodeInfo>> convertToTreeMap(HashMap<ASTNode, NodeInfo> hashMap) {\n TreeMap<Integer, List<NodeInfo>> map = new TreeMap<>(Collections.reverseOrder());\n for (Map.Entry<ASTNode, NodeInfo> e : hashMap.entrySet()) {\n NodeInfo nodeInfo = e.getValue();\n if (map.containsKey(nodeInfo.subNodes)) {\n List<NodeInfo> list = map.get(nodeInfo.subNodes);\n list.add(nodeInfo);\n\n } else {\n\n // pick only no leaf nodes\n if (nodeInfo.subNodes > 0) {\n List<NodeInfo> list = new ArrayList<>();\n list.add(nodeInfo);\n map.put(nodeInfo.subNodes, list);\n }\n }\n\n }\n return map;\n }", "@Override\n public int compare(Sample s1, Sample s2) {\n if (s1.positive_features.size() < s2.positive_features.size())\n return -1;\n else if (s1.positive_features.size() > s2.positive_features.size())\n return +1;\n else {\n for (int i = 0; i < s1.positive_features.size(); i++) {\n int v1 = s1.positive_features.get(i);\n int v2 = s2.positive_features.get(i);\n if (v1 < v2) return -1;\n if (v1 > v2) return +1;\n }\n return 0;\n }\n }", "public static ArrayList<Entry<String, Double>> sortValue(HashMap<String, Double> t_e_f2){\n\t ArrayList<Map.Entry<String, Double>> l = new ArrayList(t_e_f2.entrySet());\n\t Collections.sort(l, new Comparator<Map.Entry<String, Double>>(){\n\n\t public int compare(Map.Entry<String, Double> o1, Map.Entry<String, Double> o2) {\n\t return o1.getValue().compareTo(o2.getValue());\n\t }});\n\t Collections.reverse(l);\n//\t System.out.println(l);\n\t\t return l;\n\t}", "private static void SortHash(HashMap<String,ArrayList<input>> hashMap,Distribution list)\n\t{\n\t\tCollections.sort(list.First, new Comparator<input>() {\n\t\t public int compare(input one, input other) {\n\t\t \tif(one.sum>other.sum)\n\t\t \t{\n\t\t \t\treturn 1;\n\t\t \t}\n\t\t \telse\n\t\t \t{\n\t\t \t\treturn -1;\n\t\t \t}\n\t\t }\n\t\t}); \n\t\tCollections.sort(list.Second, new Comparator<input>() {\n\t\t public int compare(input one, input other) {\n\t\t \tif(one.sum>other.sum)\n\t\t \t{\n\t\t \t\treturn 1;\n\t\t \t}\n\t\t \telse\n\t\t \t{\n\t\t \t\treturn -1;\n\t\t \t}\n\t\t }\n\t\t}); \n\t\tCollections.sort(list.Third, new Comparator<input>() {\n\t\t public int compare(input one, input other) {\n\t\t \tif(one.sum>other.sum)\n\t\t \t{\n\t\t \t\treturn 1;\n\t\t \t}\n\t\t \telse\n\t\t \t{\n\t\t \t\treturn -1;\n\t\t \t}\n\t\t }\n\t\t}); \n\t\tCollections.sort(list.Fourth, new Comparator<input>() {\n\t\t public int compare(input one, input other) {\n\t\t \tif(one.sum>other.sum)\n\t\t \t{\n\t\t \t\treturn 1;\n\t\t \t}\n\t\t \telse\n\t\t \t{\n\t\t \t\treturn -1;\n\t\t \t}\n\t\t }\n\t\t}); \n\t\tCollections.sort(list.Fifth, new Comparator<input>() {\n\t\t public int compare(input one, input other) {\n\t\t \tif(one.sum>other.sum)\n\t\t \t{\n\t\t \t\treturn 1;\n\t\t \t}\n\t\t \telse\n\t\t \t{\n\t\t \t\treturn -1;\n\t\t \t}\n\t\t }\n\t\t}); \n\t\tCollections.reverse(list.First);\n\t\tCollections.reverse(list.Second);\n\t\tCollections.reverse(list.Third);\n\t\tCollections.reverse(list.Fourth);\n\t\tCollections.reverse(list.Fifth);\n\t\tputInHashMap(hashMap,list);\n\t}", "public HashMap<String, String> getSampleGroups()\n\t{\n\t\treturn m_sampleGroups;\n\t}", "public ValueComparator(Map map){\n\t\t\tthis.map = map;\n\t\t}", "public SortedMap<Double, SortedSet<String>> getScores()\n {\n return Collections.unmodifiableSortedMap(scores);\n }", "private void sortAddsAndRemoves(Collection<? extends Geometry> adds, Collection<? extends Geometry> removes,\n LazyMap<ProcessorDistributionKey, Collection<Geometry>> addKeyToGeoms,\n LazyMap<ProcessorDistributionKey, Collection<Geometry>> removeKeyToGeoms)\n {\n myUnprocessedGeometryLock.lock();\n try\n {\n sortByKeys(addKeyToGeoms, adds, myUnprocessedAdds);\n sortByKeys(removeKeyToGeoms, removes, null);\n }\n finally\n {\n myUnprocessedGeometryLock.unlock();\n }\n }", "@Override\n public Map<String, List<Pair<String, Double>>> getTopFeatures(int n) {\n Map<String, List<Pair<String, Double>>> map = new HashMap<>();\n for (int i = 0; i < models.size(); i++) {\n Model<Label> m = models.get(i);\n String label = labels.get(i).getLabel();\n Map<String, List<Pair<String, Double>>> modelMap = m.getTopFeatures(n);\n if (modelMap != null) {\n if (modelMap.size() == 1) {\n map.put(label, modelMap.get(Model.ALL_OUTPUTS));\n } else {\n map.merge(label, modelMap.get(label), (List<Pair<String, Double>> l, List<Pair<String, Double>> r) -> {\n l.addAll(r);\n return l;\n });\n }\n }\n }\n return map;\n }", "public static void main(String[] args) {\n\t\tMap<String,Integer> m = new HashMap<String, Integer>();\n\t\tm.put(\"ssid1\", 3);\n\t\tm.put(\"ssid2\", 5);\n\t\tm.put(\"ssid3\", 1);\n\t\tm.put(\"dd\", 10);\n\t\tm.put(\"aa\", 3);\n\t\tSystem.out.println(m);\n\t\tm = sortByValue(m, true);\n\t\tSystem.out.println(m);\n\n\t}", "public static LinkedList sortbykey(HashMap map) \n {\n TreeMap<String, Integer> sorted = new TreeMap<String, Integer>(); \n \n // Copy all data from hashMap into TreeMap \n sorted.putAll(map); \n \n LinkedList final_list = new LinkedList();\n // Display the TreeMap which is naturally sorted \n for (Entry<String, Integer> entry : sorted.entrySet()) {\n \tfinal_list.add(entry.getKey());\n //System.out.println(\"Key = \" + entry.getKey() + \n // \", Value = \" + entry.getValue()); \n }\n return final_list;\n }", "private static void sortingArrayList() {\n Collections.sort(allMapData, new Comparator<MapDataModel>() {\n public int compare(MapDataModel d1, MapDataModel d2) {\n return valueOf(d1.getDateTime().compareTo(d2.getDateTime()));\n }\n });\n }", "private void addHistogram2map(HashMap<String, double[][]> map, double[] histValues, String key, int iteration) {\r\n if (!map.containsKey(key)) {\r\n map.put(key, new double[nRandomisations][]);\r\n }\r\n double[][] values = map.get(key);\r\n values[iteration] = histValues;\r\n }", "public Map<String, Double> normalize(Map<String, List<Integer>> nmap) throws InvalidRangeException {\n\n\t\tif (nmap == null) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (nmap.size() > 7 || nmap.size() < 2) {\n\t\t\tthrow new InvalidRangeException(INVALID_RANGE);\n\t\t}\n\n\t\tint dataSize = nmap.size();\n\t\tString[] names = new String[dataSize];\n\t\tdouble[] normalizedScores = new double[dataSize];\n\t\tint sum = 0;\n\n\t\tint idx = 0;\n\t\tfor (String key : nmap.keySet()) {\n\n\t\t\tString memName = key;\n\n\t\t\tint lsum = 0;\n\n\t\t\tfor (int num : nmap.get(key)) {\n\t\t\t\tif (num < 0 || num > 5)\n\t\t\t\t\tthrow new InvalidRangeException(INVALID_RANGE);\n\t\t\t\tlsum += num;\n\t\t\t}\n\t\t\tnames[idx] = memName;\n\t\t\tnormalizedScores[idx] = lsum;\n\t\t\tsum += lsum;\n\t\t\tidx++;\n\n\t\t}\n\n\t\tfor (int i = 0; i < normalizedScores.length; i++) {\n\n\t\t\tnormalizedScores[i] = sum != 0 ? roundValue(normalizedScores[i] / sum, 2) : 0;\n\n\t\t}\n\n\t\tMap<String, Double> nMap = new LinkedHashMap<String, Double>();\n\n\t\tfor (int i = 0; i < dataSize; i++) {\n\n\t\t\tnMap.put(names[i], normalizedScores[i]);\n\n\t\t}\n\n\t\treturn nMap;\n\t}", "private List<Resource> convertToResources(Map<LinkKey, Set<TributarySlot>> slotsMap) {\n Set<Resource> resources = slotsMap.entrySet().stream()\n .flatMap(x -> x.getValue()\n .stream()\n .flatMap(ts -> Stream.of(\n Resources.discrete(x.getKey().src().deviceId(), x.getKey().src().port())\n .resource().child(ts),\n Resources.discrete(x.getKey().dst().deviceId(), x.getKey().dst().port())\n .resource().child(ts))))\n .collect(Collectors.toSet());\n return (ImmutableList.copyOf(resources));\n }" ]
[ "0.5930201", "0.5605928", "0.56006885", "0.5572643", "0.5516527", "0.53869224", "0.5385425", "0.5384425", "0.53793323", "0.5369457", "0.5341422", "0.5325513", "0.5324796", "0.5320519", "0.5317648", "0.5309514", "0.52669364", "0.52642506", "0.52012587", "0.5193975", "0.51896375", "0.5176205", "0.516805", "0.50983906", "0.5088944", "0.508683", "0.5055455", "0.50340176", "0.50262177", "0.5024972", "0.50016874", "0.4991278", "0.4989964", "0.49780637", "0.49602515", "0.4959397", "0.49451447", "0.49443635", "0.48930997", "0.48917097", "0.48659667", "0.48614907", "0.48610738", "0.48583102", "0.48476323", "0.48306587", "0.48261416", "0.48159075", "0.48007476", "0.4799695", "0.47909924", "0.47675282", "0.47657275", "0.47611395", "0.47521895", "0.4733536", "0.47211882", "0.47141147", "0.4694555", "0.46846414", "0.46846202", "0.46797824", "0.4674549", "0.46693587", "0.46671122", "0.46661338", "0.46581218", "0.46170002", "0.4610026", "0.46092436", "0.46075308", "0.46016714", "0.45924318", "0.4590059", "0.45887753", "0.45874727", "0.4578164", "0.45723754", "0.4556235", "0.4551839", "0.45469117", "0.45436028", "0.4526358", "0.45166215", "0.4509803", "0.44898695", "0.44819337", "0.44818994", "0.44712833", "0.44572225", "0.44560143", "0.4455206", "0.44461825", "0.44441888", "0.443978", "0.44364685", "0.443593", "0.44289875", "0.4425459", "0.44231892" ]
0.6822678
0
Overrides map values with data from deviceDataList
public static Optional<Map<Long, Sample>> populateMap(final List<DeviceData> deviceDataList, final Sensor sensorName, final Optional<Device.Color> optionalColor, final Optional<Calibration> calibrationOptional, final Boolean useAudioPeakEnergy) { if(deviceDataList == null) { LOGGER.error("deviceDataList is null for sensor {}", sensorName); return Optional.absent(); } if(deviceDataList.isEmpty()) { return Optional.absent(); } final Device.Color color = optionalColor.or(Device.DEFAULT_COLOR); final Map<Long, Sample> map = new HashMap<>(); for(final DeviceData deviceData: deviceDataList) { final Long newKey = deviceData.dateTimeUTC.getMillis(); // TODO: refactor this final CalibratedDeviceData calibratedDeviceData = new CalibratedDeviceData(deviceData, color, calibrationOptional); float sensorValue = 0; if(sensorName.equals(Sensor.HUMIDITY)) { sensorValue = calibratedDeviceData.humidity(); } else if(sensorName.equals(Sensor.TEMPERATURE)) { sensorValue = calibratedDeviceData.temperature(); } else if (sensorName.equals(Sensor.PARTICULATES) && calibrationOptional.isPresent()) { sensorValue = calibratedDeviceData.particulates(); } else if (sensorName.equals(Sensor.LIGHT)) { sensorValue = calibratedDeviceData.lux(); } else if (sensorName.equals(Sensor.SOUND)) { sensorValue = calibratedDeviceData.sound(useAudioPeakEnergy); } else if(sensorName.equals(Sensor.WAVE_COUNT)) { sensorValue = deviceData.waveCount; } else if(sensorName.equals(Sensor.HOLD_COUNT)) { sensorValue = deviceData.holdCount; } else if(sensorName.equals(Sensor.SOUND_NUM_DISTURBANCES)) { sensorValue = deviceData.audioNumDisturbances; } else if(sensorName.equals(Sensor.SOUND_PEAK_ENERGY)) { sensorValue = calibratedDeviceData.soundPeakEnergy(); } else if(sensorName.equals(Sensor.SOUND_PEAK_DISTURBANCE)) { sensorValue = calibratedDeviceData.soundPeakDisturbance(); } else { LOGGER.warn("Sensor {} is not supported. Returning early", sensorName); return Optional.absent(); } map.put(newKey, new Sample(newKey, sensorValue, deviceData.offsetMillis)); } return Optional.of(map); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void updateDataListMap(List<Map<String, Object>> dataList) {\n\t\t\n\t}", "private void prepareData() {\n devices.clear();\n\n Set<String> s = Blue.getInstance().devices.keySet();\n Iterator<String> it = s.iterator();\n String address;\n while (it.hasNext()) {\n address = it.next();\n devices.add(new Device(address, Blue.getInstance().devices.get(address)));\n }\n }", "private void fillData() {\n\t\tfor(Entry<String, HashMap<String, Double>> entry : m.map.entrySet()) {\n\t\t\tfor(Entry<String, Double> subEntry : entry.getValue().entrySet()) {\n\t\t\t\tMappingData item = new MappingData(entry.getKey(), subEntry.getKey(), subEntry.getValue());\n\t\t\t\tdataList.add(item);\n\t\t\t}\n\t\t}\n\t}", "public static synchronized void initiazeDeviceMap(List<Device> devices) {\n devices.forEach((device) -> {\n deviceStatusMap.put(device, \"free\");\n });\n logUtility.logDebug(\"Devices map-\");\n deviceStatusMap.forEach((device, status) -> logUtility.logDebug(device.getDeviceName() + \" - \" + status));\n }", "public abstract void setData(Map<ID, T> data);", "private void onDevicesListUpdate(Map<String, Boolean> newValue, Map<String, Boolean> oldValue) {\n newValue = newValue == null ? Collections.<String, Boolean>emptyMap() : newValue;\n oldValue = oldValue == null ? Collections.<String, Boolean>emptyMap() : oldValue;\n\n for (Map.Entry<String, Boolean> entry : newValue.entrySet()) {\n String entryKey = entry.getKey();\n if (!oldValue.containsKey(entryKey) && !(entryKey).equals(getMyDeviceId())) {\n onDeviceConnected(entryKey, entry.getValue());\n }\n }\n\n for (Map.Entry<String, Boolean> entry : oldValue.entrySet()) {\n String entryKey = entry.getKey();\n if (!newValue.containsKey(entryKey) && !(entryKey).equals(getMyDeviceId())) {\n onDeviceDisconnected(entryKey, entry.getValue());\n }\n }\n }", "private void populateData() {\n\t\tList<TrafficRecord> l = TestHelper.getSampleData();\r\n\t\tfor(TrafficRecord tr: l){\r\n\t\t\tput(tr);\r\n\t\t}\r\n\t\t \r\n\t}", "public static void createDeviceMap() {\n\t\ttry {\n\t\t\tSmapStreamList sat = new SmapStreamList();\n\t\t\tMap<String, SmapDevice> saMap = sat.convertToSADevices();\n\t\t\tFileWriter fw = new FileWriter(device_map_file);\t\t\t\n\t\t\tString json = sat.gson.toJson(saMap);\n\t\t\tfw.write(json);\n\t\t\tfw.close();\n\t\t\trenderText(json);\n\t\t} catch (Exception e) {\n\t\t\trenderText(e);\n\t\t}\n\t}", "public void setDeserializedIconData(List<MapItemData> deserializedData) {\n\n\t\tfor(MapItemData item : deserializedData) {\n\n\t\t\tString name = item.getAttributeString();\n\t\t\tString description = item.getDescriptionString();\n\t\t\tadditionalData.add(new MapItemData(name, description));\n\n\t\t}\n\n\t}", "private void mapValues() {\n\t\tmap.put(1, \"I\");\r\n\t\tmap.put(5, \"V\");\r\n\t\tmap.put(10, \"X\");\r\n\t\tmap.put(50, \"L\");\r\n\t\tmap.put(100, \"C\");\r\n\t\tmap.put(500, \"D\");\r\n\t\tmap.put(1000, \"M\");\r\n\t}", "private static Map<String, String> extractDataMap(Map<String, String> dataMap) {\n Map<String, String> processedDataMap = new HashMap<String, String>();\n int humid = Integer.parseInt(dataMap.get(\"humidity\"));\n int temp = Integer.parseInt(dataMap.get(\"humidity\"));\n\n double discomfortness = 0.81 * temp + 0.01 * humid * (0.99 * temp - 14.3) + 46.3;\n\n processedDataMap.put(\"Discomfortness\", String.valueOf(discomfortness));\n processedDataMap = addLocation(processedDataMap);\n\n return processedDataMap;\n }", "private void updateAdapter(List<DeviceInfo> data) {\n ArrayList<String> devices = new ArrayList<>();\n for (DeviceInfo device : data) {\n devices.add(device.getEKID() +\n ((device.getFriendlyName() != null && !device.getFriendlyName().isEmpty()) ? \", \" + device.getFriendlyName() : \"\"));\n }\n try {\n devicesEntriesForSpinner.clear();\n devicesEntriesForSpinner.addAll(devices);\n setDeviceSpinnerAdapter();\n } catch (Exception ex) {\n Log.e(TAG, ex.getMessage());\n }\n }", "public void updateData() {\n List<Device> devices = Lists.newArrayList();\n CustomAdapter customAdapter = (CustomAdapter) deviceListView.getAdapter();\n for (int i = 0; i < customAdapter.getCount(); i++) {\n Model model = customAdapter.getItem(i);\n if (model.isChecked()) {\n devices.add(model.getDevice());\n }\n }\n\n SensorDao sensorDao = new SensorDao(parentActivity);\n Map<Device, List<Sensor>> sensorDeviceMap = sensorDao.fetchDeviceSpecificSensors(devices);\n\n // Aggregate the information about sensor and devices based on unique\n // Map<BluetoothDevice, Map<FileName, List<SensorLabels>>>\n Map<BluetoothDevice, Map<String, List<String>>> rearrangedSensorDeviceInfo = Maps.newHashMap();\n for (Map.Entry<Device, List<Sensor>> elem : sensorDeviceMap.entrySet()) {\n Device device = elem.getKey();\n BluetoothDevice bluetoothDevice = CommonUtils.getBluetoothAdapter(\n parentActivity, REQUEST_BT_ENABLE).getRemoteDevice(device.getDeviceId());\n Map<String, List<String>> fileNameSensorNameMap = rearrangedSensorDeviceInfo.get(bluetoothDevice);\n List<Sensor> sensors = elem.getValue();\n\n if (fileNameSensorNameMap == null) {\n fileNameSensorNameMap = Maps.newHashMap();\n rearrangedSensorDeviceInfo.put(bluetoothDevice, fileNameSensorNameMap);\n }\n\n for(Sensor sensor : sensors) {\n String dataFilePath = sensor.getSensorDataFilePath();\n String sensorName = sensor.getSensorLabel();\n List<String> sensorNames = fileNameSensorNameMap.get(dataFilePath);\n if (sensorNames == null) {\n fileNameSensorNameMap.put(dataFilePath, Lists.newArrayList(sensorName));\n } else {\n sensorNames.add(sensorName);\n }\n }\n }\n\n IntentFilter intentFilter = new IntentFilter();\n intentFilter.addAction(ServerActionsService.ACTION_TRANSFER_FILE_AND_INSERT_DATA_STARTED);\n intentFilter.addAction(ServerActionsService.ACTION_TRANSFER_FILE_AND_INSERT_DATA_FINISHED);\n intentFilter.addAction(ServerActionsService.ACTION_TRANSFER_FILE_AND_INSERT_DATA_ENDED);\n intentFilter.addAction(ServerActionsService.ACTION_TRANSFER_FILE_AND_INSERT_DATA_INITIATED);\n parentActivity.registerReceiver(broadcastReceiver, intentFilter);\n\n //Start service for every device.\n for (Map.Entry<BluetoothDevice, Map<String, List<String>>> elem : rearrangedSensorDeviceInfo.entrySet()) {\n BluetoothDevice device = elem.getKey();\n Map<String, List<String>> fileNameSensorsMap = elem.getValue();\n if (fileNameSensorsMap.size() > 0) {\n Bundle bundle = new Bundle();\n bundle.putParcelable(ServerActionsService.PARAM_BLUETOOTH_DEVICE, device);\n bundle.putSerializable(PARAM_FILENAME_SENSOR_INFO, (Serializable) fileNameSensorsMap);\n\n Intent intent = new Intent(parentActivity, ServerActionsService.class);\n intent.setAction(ServerActionsService.ACTION_TRANSFER_FILE_AND_INSERT_DATA);\n intent.putExtras(bundle);\n\n parentActivity.startService(intent);\n }\n }\n }", "public void setData(Map<E, String> data) {\n\t\tthis.data = data;\n\t}", "@Override\n public HashMap<String, List<String>> initializeMapping(HashMap<String, List<String>> mapping) {\n mapping.put(\"xEncoder\", Arrays.asList(\"outtakeMotor1\", \"outtake1\"));\n mapping.put(\"yEncoder\", Arrays.asList(\"wobbleMotor\"));\n\n return mapping;\n }", "public abstract Map<Integer, QuantDataset> updatedDatasets();", "Map getIDPSTDDataMap();", "private IMapData<Integer, String> getLinkedHashMapData2() {\n List<IKeyValueNode<Integer, String>> creationData = ArrayLists.make(\n KeyValueNode.make(3, \"c\"),\n KeyValueNode.make(3, \"c\"),\n KeyValueNode.make(2, \"b\"),\n KeyValueNode.make(2, \"a\"),\n KeyValueNode.make(2, \"b\"),\n KeyValueNode.make(1, \"c\"),\n KeyValueNode.make(1, \"b\"),\n KeyValueNode.make(1, \"a\"));\n\n List<IKeyValueNode<Integer, String>> data = ArrayLists.make(\n KeyValueNode.make(3, \"c\"),\n KeyValueNode.make(2, \"b\"),\n KeyValueNode.make(1, \"a\"));\n\n List<Integer> keys = this.createKeys(data);\n List<String> values = this.createValues(data);\n\n return new MapData<>(\n creationData,\n data,\n keys,\n values);\n }", "public abstract void updateFromFeed(Map<String,List<Map<String,String>>> data);", "@Override\n public Object getData() {\n return devices;\n }", "protected Map<String, String> getFeatureAttrs(Map<String, Object> data) {\n\t\treturn null;\n\t}", "@Override\n public void updateWithObservationsFromDatastreamsOnly(SensingDevice sensingDevice,\n Collection<Datastream> datastreams) {\n\n }", "private void initializeMap() {\n FLMotor = hardwareMap.get(DcMotor.class, \"FLMotor\");\n FRMotor = hardwareMap.get(DcMotor.class, \"FRMotor\");\n BLMotor = hardwareMap.get(DcMotor.class, \"BLMotor\");\n BRMotor = hardwareMap.get(DcMotor.class, \"BRMotor\");\n //ods = hardwareMap.get(OpticalDistanceSensor.class, \"ods\");\n //color = hardwareMap.get(ColorSensor.class, \"color\");\n //touch = hardwareMap.get(TouchSensor.class, \"touch\");\n gyro = hardwareMap.get(GyroSensor.class, \"gyro\");\n\n // Most robots need the motor on one side to be reversed to drive forward\n // Reverse the motor that runs backwards when connected directly to the battery\n BRMotor.setDirection(DcMotorSimple.Direction.FORWARD);\n BLMotor.setDirection(DcMotorSimple.Direction.REVERSE);\n FRMotor.setDirection(DcMotorSimple.Direction.FORWARD);\n FLMotor.setDirection(DcMotorSimple.Direction.REVERSE);\n }", "public SetupData getMapWithValues() {\n\tSetupData updatedMap = SetupData.create(setupDefinition);\n\n\tfor (String key : panels.keySet()) {\n\t FieldPanel panel = panels.get(key);\n\t FieldValue value = panel.getOption();\n\t if (value == null) {\n\t\tSpecsLogs.getLogger().warning(\"value is null.\");\n\t\t// No valid value for the table\n\t\tcontinue;\n\t }\n\t updatedMap.put(key, value);\n\t}\n\n\treturn updatedMap;\n }", "public void setDataPacket(Map<String, List<ICollidable>> dataPacket)\r\n {\r\n _dataPacket = dataPacket;\r\n }", "@Override\n public void updateWithObservationsFromDatastreamOnly(SensingDevice sensingDevice, Datastream datastream) {\n }", "private void getDataFromCustomerDataUpdate(Map<String, Object> cusData, CustomerDataTypeDTO data,\n List<FileInfosDTO> listFiles, String formatDate) throws JsonProcessingException {\n if (FieldTypeEnum.FILE.getCode().equals(data.getFieldType())) {\n if (listFiles != null) {\n List<BaseFileInfosDTO> listSaveDb = new ArrayList<>();\n listFiles.forEach(file -> {\n BaseFileInfosDTO fileSaveDb = new BaseFileInfosDTO();\n fileSaveDb.setFileName(file.getFileName());\n fileSaveDb.setFilePath(file.getFilePath());\n listSaveDb.add(fileSaveDb);\n });\n cusData.put(data.getKey(), objectMapper.writeValueAsString(listSaveDb));\n } else {\n cusData.put(data.getKey(), STRING_ARRAY_EMPTY);\n }\n } else if (FieldTypeEnum.MULTIPLE_PULLDOWN.getCode().equals(data.getFieldType())\n || FieldTypeEnum.CHECKBOX.getCode().equals(data.getFieldType())\n || FieldTypeEnum.RELATION.getCode().equals(data.getFieldType())) {\n List<Long> fValue = null;\n try {\n TypeReference<ArrayList<Long>> typeRef = new TypeReference<ArrayList<Long>>() {\n };\n fValue = objectMapper.readValue(data.getValue(), typeRef);\n } catch (IOException e) {\n log.error(e.getLocalizedMessage());\n }\n cusData.put(data.getKey(), fValue);\n } else if (FieldTypeEnum.PULLDOWN.getCode().equals(data.getFieldType())\n || FieldTypeEnum.RADIO.getCode().equals(data.getFieldType())\n || FieldTypeEnum.NUMBER.getCode().equals(data.getFieldType())) {\n if (StringUtils.isBlank(data.getValue())) {\n if (cusData.containsKey(data.getKey())) {\n cusData.remove(data.getKey());\n }\n } else {\n if (CheckUtil.isNumeric(data.getValue())) {\n cusData.put(data.getKey(), Long.valueOf(data.getValue()));\n } else {\n cusData.put(data.getKey(), Double.valueOf(data.getValue()));\n }\n }\n } else if (FieldTypeEnum.DATE.getCode().equals(data.getFieldType())) {\n getSystemDate(cusData, formatDate, data.getValue(), data.getKey(), null);\n } else if (FieldTypeEnum.TIME.getCode().equals(data.getFieldType())) {\n getSystemTime(cusData, DateUtil.FORMAT_HOUR_MINUTE, data.getValue(), data.getKey());\n } else if (FieldTypeEnum.DATETIME.getCode().equals(data.getFieldType())) {\n String date = StringUtils.isNotBlank(data.getValue()) ? data.getValue().substring(0, formatDate.length())\n : \"\";\n String hour = StringUtils.isNotBlank(data.getValue()) ? data.getValue().substring(formatDate.length()) : \"\";\n getSystemDate(cusData, formatDate, date, data.getKey(), hour);\n } else if (FieldTypeEnum.SELECT_ORGANIZATION.getCode().equals(data.getFieldType())) {\n List<Object> fValue = null;\n try {\n TypeReference<ArrayList<Object>> typeRef = new TypeReference<ArrayList<Object>>() {\n };\n fValue = objectMapper.readValue(data.getValue(), typeRef);\n } catch (IOException e) {\n log.error(e.getLocalizedMessage());\n }\n cusData.put(data.getKey(), fValue);\n } else if (FieldTypeEnum.LINK.getCode().equals(data.getFieldType())) {\n Map<String, String> fValue = new HashMap<>();\n try {\n TypeReference<Map<String, String>> typeRef = new TypeReference<Map<String, String>>() {\n };\n fValue = objectMapper.readValue(data.getValue(), typeRef);\n cusData.put(data.getKey(), fValue);\n } catch (Exception e) {\n log.error(e.getLocalizedMessage());\n }\n } else {\n cusData.put(data.getKey(), data.getValue());\n }\n }", "Map getIDPEXDataMap();", "private IMapData<Integer, String> getHashMapData2() {\n List<IKeyValueNode<Integer, String>> creationData = ArrayLists.make(\n KeyValueNode.make(1, \"a\"),\n KeyValueNode.make(1, \"a\"),\n KeyValueNode.make(2, \"b\"),\n KeyValueNode.make(2, \"c\"),\n KeyValueNode.make(2, \"b\"),\n KeyValueNode.make(3, \"a\"),\n KeyValueNode.make(3, \"b\"),\n KeyValueNode.make(3, \"c\"));\n\n List<IKeyValueNode<Integer, String>> data = ArrayLists.make(\n KeyValueNode.make(1, \"a\"),\n KeyValueNode.make(2, \"b\"),\n KeyValueNode.make(3, \"c\"));\n\n List<Integer> keys = this.createKeys(data);\n List<String> values = this.createValues(data);\n\n return new MapData<>(\n creationData,\n data,\n keys,\n values);\n }", "public void setAdditionalData(ObservableList<MapItemData> data) {\n\n\t\tthis.additionalData = data;\n\n\t}", "public static void setGeoTargetsInCache(Map<String,String> dataMap){ \t\n \tif(memcache !=null && memcache.contains(ALL_GEO_TARGETS_KEY)){\n \t\tmemcache.delete(ALL_GEO_TARGETS_KEY);\n \t}\n \tmemcache.put(ALL_GEO_TARGETS_KEY, dataMap);\n\t}", "default Map<String, Object> replaceDataReferences(final Map<String, Object> input) {\n return DataContextUtils.replaceDataReferences(input, getData());\n }", "protected void loadData(final Map<String, Object> values) {\n\t\tmodel.loadRecord(new SingleStaticDataSet(values));\n\t}", "public void setDefaultDevicesForAttributes(@NonNull ImmutableList<Object> devices) {\n defaultDevicesForAttributes = devices;\n }", "public void setAllCustomFields(final Map<String,String> value)\n\t{\n\t\tsetAllCustomFields( getSession().getSessionContext(), value );\n\t}", "public Map<Platform, DevicePayloadOverride> getPlatformPayloadOverrides() {\n Map<Platform, DevicePayloadOverride> overrides = Maps.newHashMap();\n for (Map.Entry<NotificationPayloadOverrideKey, ? extends DevicePayloadOverride> entry : platformPayloadOverrides.entrySet()) {\n overrides.put(entry.getKey().getPlatform(), entry.getValue());\n }\n\n return overrides;\n }", "public static void setKPIsInCache(Map<String,String> dataMap){ \t\n \tif(memcache !=null && memcache.contains(ALL_KPI_KEY)){\n \t\tmemcache.delete(ALL_KPI_KEY);\n \t}\n \tmemcache.put(ALL_KPI_KEY, dataMap);\n\t}", "public Multimap<String, OOCSIDevice> devicesByLocation() {\n\t\tpurgeStaleClients();\n\n\t\tMultimap<String, OOCSIDevice> locationsMappedDevices = MultimapBuilder.hashKeys().linkedListValues().build();\n\t\tclients.values().stream().forEach(\n\t\t od -> od.locations.entrySet().stream().forEach(loc -> locationsMappedDevices.put(loc.getKey(), od)));\n\t\treturn locationsMappedDevices;\n\t}", "@Override\n\tpublic List<Map<String, Object>> selectDataListMap(Map<String, String> search) {\n\t\treturn null;\n\t}", "public void setInfo(java.util.Map<java.lang.String,java.util.List<java.lang.String>> value) {\n this.info = value;\n }", "private IMapData<Integer, String> getLinkedHashMapData1() {\n List<IKeyValueNode<Integer, String>> creationData = new ArrayList<>();\n List<IKeyValueNode<Integer, String>> data = new ArrayList<>();\n List<Integer> keys = this.createKeys(data);\n List<String> values = this.createValues(data);\n\n return new MapData<>(\n creationData,\n data,\n keys,\n values);\n }", "private void populateSuperPowerDetails () {\n\t if (this.superPowerDetails != null) {\n\t this.superPowerDetails.clear();\n }\n\t this.superPowerDetails = new HashMap<Power, SuperPower>();\n\t for (StoredPower sp : this.superPowers) {\n\t this.superPowerDetails.put(sp.power, sp.getSuperPower());\n\t }\n\t}", "private void init() {\n\t\tmap = new LinkedHashMap<String, HeaderData>();\r\n\t\tList<HeaderData> list = config.getColumns();\r\n\t\tfor(HeaderData info: list){\r\n\t\t\tString id = info.getId();\r\n\t\t\tif(id == null) throw new IllegalArgumentException(\"Null id found for \"+info.getClass().getName());\r\n\t\t\t// Map the id to info\r\n\t\t\tmap.put(info.getId(), info);\r\n\t\t}\r\n\t}", "Map getSPEXDataMap();", "public void init() {\n for (int i = 1; i <= 20; i++) {\n List<Data> dataList = new ArrayList<Data>();\n if (i % 2 == 0 || (1 + i % 10) == _siteIndex) {\n dataList.add(new Data(i, 10 * i));\n _dataMap.put(i, dataList);\n }\n }\n }", "private static Map<String, String> getValues(Context context) {\n Map<String, String> result = new HashMap<>();\n ApplicationInfo appInfo = context.getApplicationContext().getApplicationInfo();\n // App data\n result.put(APP_BUNDLE, appInfo.packageName);\n result.put(APP_DOMAIN, appInfo.packageName);\n result.put(APP_ID, appInfo.packageName);\n result.put(APP_NAME, (appInfo.labelRes == 0) ? appInfo.nonLocalizedLabel.toString() : context.getString(appInfo.labelRes));\n // Advertizing ID\n String advertisingId = SettingsProvider.getInstance().getString(SettingsProvider.GOOGLE_ADVERTISING_ID);\n result.put(DEVICE_IFA, advertisingId);\n // Device data\n result.put(DEVICE_MAKE, Build.MANUFACTURER);\n result.put(DEVICE_MODEL, Build.MODEL);\n // Default device type is '7' (set top box device)\n result.put(DEVICE_TYPE, \"7\");\n // Default VPI is 'MP4'\n result.put(VPI, \"MP4\");\n // UUID us the same as Advertising id\n result.put(UUID, advertisingId);\n return result;\n }", "public Map<String, Integer> getDataMap() {\n\t\tMap<String, Integer> dataMap = new HashMap<>();\n\t\tdataMap.putAll(temperature.getDataMap());\n\t\tdataMap.putAll(wind.getDataMap());\n\t\tdataMap.putAll(precipitation.getDataMap());\n\t\tdataMap.putAll(condition.getDataMap());\n\t\tdataMap.putAll(hazard.getDataMap());\n\t\tdataMap.putAll(wave.getDataMap());\n\t\t\n\t\treturn dataMap;\n\t}", "@Override\n protected void set(java.util.Collection<org.tair.db.locusdetail.ILocusDetail> list) {\n loci = list;\n // Add the primary keys to the serialized key list if there are any.\n if (loci != null) {\n for (com.poesys.db.dto.IDbDto object : loci) {\n lociKeys.add(object.getPrimaryKey());\n }\n }\n }", "private void storeValues(int source,\n Map<VWBetw, Double> map,\n DiskBufferDriver output) throws DriverException {\n for (Entry<VWBetw, Double> e : map.entrySet()) {\n storeValue(source, e.getKey().getID(), e.getValue(), output);\n }\n }", "public JbootVoModel set(Map<String, Object> map) {\n super.putAll(map);\n return this;\n }", "void addData(Map<String, List<Object>> values, Properties connectorMetadata)\n throws IOException;", "protected void measurementToMap(Measurement m) {\n if (m instanceof WithNames) {\n values = new HashMap<String, ProbeValue>();\n for (ProbeValue pv : m.getValues()) {\n values.put(((ProbeValueWithName)pv).getName(), pv);\n }\n } else {\n LoggerFactory.getLogger(TcpdumpReporter.class).error(\"ProcessInfoReporter works with Measurements that are WithNames\");\n }\n }", "public static void setIndustriesInCache(Map<String,String> dataMap){ \t\n \tif(memcache !=null && memcache.contains(ALL_INDUSTRIES_KEY)){\n \t\tmemcache.delete(ALL_INDUSTRIES_KEY);\n \t}\n \tmemcache.put(ALL_INDUSTRIES_KEY, dataMap);\n\t}", "@Override\n\tprotected void getDataFromUCF() {\n\n\t}", "public void initDatastoreUsageValues(Sheet sheet) {\r\n datastoreUsageValues = new HashMap<String, String>();\r\n if (sheet.getSheetName().startsWith(\"3XL\")) {\r\n getDatastoreUsageValuesFor3XL(sheet);\r\n } else {\r\n for (int rowNum = sheet.getLastRowNum(); rowNum >= 0; rowNum--) {\r\n Row row = sheet.getRow(rowNum);\r\n if (row != null) {\r\n String firstCell = getCellValue(row.getCell(0));\r\n String usageValue = getCellValue(row.getCell(1));\r\n if (\"Datastore\".equals(firstCell)) {\r\n break;\r\n }\r\n if (\"Backup\".equals(firstCell)) {\r\n datastoreUsageValues.put(\"Backuptool\", usageValue);\r\n } else if (\"Customer\".equals(firstCell)) {\r\n datastoreUsageValues.put(\"Customer\", usageValue);\r\n } else if (\"Global\".equals(firstCell)) {\r\n datastoreUsageValues.put(\"Global\", usageValue);\r\n } else if (\"DB Arc\".equals(firstCell)) {\r\n datastoreUsageValues.put(\"Arc\", usageValue);\r\n } else if (\"DB Data\".equals(firstCell)) {\r\n datastoreUsageValues.put(\"DB\", usageValue);\r\n } else if (\"DB Redo\".equals(firstCell)) {\r\n datastoreUsageValues.put(\"Redo\", usageValue);\r\n } else if (\"PMDatastore\".equals(firstCell)) {\r\n datastoreUsageValues.put(\"Ext rep\", usageValue);\r\n } else if (\"DB FB\".equals(firstCell)) {\r\n datastoreUsageValues.put(\"DB Flashback\", usageValue);\r\n }\r\n }\r\n }\r\n }\r\n }", "public void \n\tsetData(\n\t\t\tString key, \n\t\t\tObject value) \n\t{\n\t\ttry{\n\t\t\tthis_mon.enter();\n\n\t\t\tif (user_data == null) {\n\t\t\t\tuser_data = new HashMap();\n\t\t\t}\n\t\t\tif (value == null) {\n\t\t\t\tif (user_data.containsKey(key))\n\t\t\t\t\tuser_data.remove(key);\n\t\t\t} else {\n\t\t\t\tuser_data.put(key, value);\n\t\t\t}\n\t\t}finally{\n\t\t\tthis_mon.exit();\n\t\t}\n\t}", "private Map<String, Object> analysisMap(ArrayList<String> data) {\n Map<String, Object> map = new HashMap<>();\n map.put(DAILY, data);\n return map;\n }", "private void mergeProductData(List<ProductView> productViews,\n Map<String, List<ProductDataView>> productDataViews) {\n LOG.debug(\"Enter.\");\n\n productViews.stream().forEach(\n product -> product.setDataDefinitions(productDataViews.get(product.getId())));\n\n LOG.debug(\"Exit.\");\n }", "private static Map<String, String> addLocation (Map<String, String> dataMap) {\n dataMap.put(\"latitude\", \"35.665575\");\n dataMap.put(\"longitude\", \"139.730451\");\n\n return dataMap;\n }", "public JSONObject addOrUpdateCustomDevice(JSONObject data);", "public void setData(LinkedHashMap<Integer, Data> data){\r\n\t\tthis.data = data;\r\n\t}", "@Override\n\tpublic Map<ByteString, Integer> getSeriesMap() {\n\t\treturn null;\n\t}", "Map<String, ISensor> getSensorMap();", "public static void setAdSizeInCache(Map<String,String> dataMap){ \t\n \tif(memcache !=null && memcache.contains(MEDIA_PLAN_ADSIZE_KEY)){\n \t\tmemcache.delete(MEDIA_PLAN_ADSIZE_KEY);\n \t}\n \tmemcache.put(MEDIA_PLAN_ADSIZE_KEY, dataMap);\n\t}", "@Override\n\tpublic void initializeValues() {\n\n\t}", "void updateMap(MapData map);", "private void initIDFMap(List<List<Map<String,List<Double>>>> tfMap){\n\t\tfor (int i = 0; i < tfMap.size(); i++) {\n\t\t\tList<Map<String,List<Double>>> gestureDocument = tfMap.get(i);\n\t\t\tfor (int j = 0; j < gestureDocument.size(); j++) {\n\t\t\t\tMap<String,List<Double>> tempMap = gestureDocument.get(j);\n\t\t\t\tIterator<Entry<String, List<Double>>> it = tempMap.entrySet().iterator();\n\t\t\t\t while (it.hasNext()) {\n\t\t\t\t Map.Entry<String,Integer> pairs = (Map.Entry)it.next(); \n\t\t\t\t if(getTfIDFMapGlobal().containsKey(pairs.getKey()))\n\t\t\t\t \tgetTfIDFMapGlobal().put(pairs.getKey(), getTfIDFMapGlobal().get(pairs.getKey())+1);\n\t\t\t\t else\n\t\t\t\t \tgetTfIDFMapGlobal().put(pairs.getKey(), 1);\n\t\t\t\t }\n\t\t\t}\n\t\t}\n\t}", "private void updateQuantDatasetMap(Map<Integer, QuantDataset> quantDatasetMap) {\n\n Set<Integer> finalSelectedIds = filterSelectionUnit();\n if (finalSelectedIds.size() == quantDatasetMap.size() && finalSelectedIds.containsAll(quantDatasetMap.keySet())) {\n return;\n }\n this.quantDatasetMap = quantDatasetMap;\n updatePieChartSliceSet();\n\n }", "public void setScannableInfoFromMap(Map<String, String> map) {\n\t\tscannableInfoList.clear();\n\t\tif (map != null) {\n\t\t\tmap.keySet().forEach(key -> scannableInfoList.add(new ScannableInfo(key, map.get(key))));\n\t\t}\n\t}", "private Map<String, Object> createDefaultMap() {\n Map<String, Object> result = new LinkedHashMap<>();\n result.put(\"stream_speed0\", 1);\n result.put(\"stream_start0\", 0);\n result.put(\"stream_end0\", 7);\n result.put(\"stream_speed1\", -2);\n result.put(\"stream_start1\", 15);\n result.put(\"stream_end1\", 19);\n\n result.put(\"fish_quantity\", numFishes);\n result.put(\"fish_reproduction\", 3);\n result.put(\"fish_live\", 10);\n result.put(\"fish_speed\", 2);\n result.put(\"fish_radius\", 4);\n\n result.put(\"shark_quantity\", numSharks);\n result.put(\"shark_live\", 20);\n result.put(\"shark_hungry\", 7);\n result.put(\"shark_speed\", 2);\n result.put(\"shark_radius\", 5);\n\n return result;\n }", "public void initDevices() {\n for (Device device: deviceList) {\n device.init(getCpu().getTime());\n }\n }", "public void updateDependencyDataInSystem() {\n dependenciesMap.values()\n .forEach(set -> {\n set.forEach(item -> {\n if (items.containsKey(item.getName())) {\n Item actualItem = items.get(item.getName());\n item.setExplicitlyInstalled(actualItem.isExplicitlyInstalled());\n item.setImplicitlyInstalled(actualItem.isImplicitlyInstalled());\n }\n });\n });\n\n dependentsMap.values()\n .forEach(set -> {\n set.forEach(item -> {\n if (items.containsKey(item.getName())) {\n Item actualItem = items.get(item.getName());\n item.setExplicitlyInstalled(actualItem.isExplicitlyInstalled());\n item.setImplicitlyInstalled(actualItem.isImplicitlyInstalled());\n }\n });\n });\n }", "public void setCurrentIndicatorData(Collection<IndicatorData> data)\n {\n indicatorDataMap = data.stream().collect(Collectors.toMap(IndicatorData::getCountryCode, Function.identity()));\n }", "private LinkedHashMap<String, Type> scalarMappingODU() {\r\n\t\tLinkedHashMap<String, Type> scalarMapping = new LinkedHashMap<String, Type>();\r\n\t\tscalarMapping.put(DaoConstants.MAP_ODUID, StandardBasicTypes.LONG); // 0\r\n\t\tscalarMapping.put(DaoConstants.MAP_SITE_GROUP,\r\n\t\t\t\tStandardBasicTypes.STRING); // 1\r\n\t\tscalarMapping.put(DaoConstants.MAP_PARENT_CHILD,\r\n\t\t\t\tStandardBasicTypes.STRING); // 2\r\n\t\tscalarMapping.put(DaoConstants.MAP_NAME, StandardBasicTypes.STRING); // 3\r\n\t\tscalarMapping.put(DaoConstants.MAP_CENTRAL_ADDRESS,\r\n\t\t\t\tStandardBasicTypes.STRING); // 4\r\n\t\tscalarMapping.put(DaoConstants.MAP_PARENT_ID, StandardBasicTypes.LONG); // 5\r\n\t\tscalarMapping.put(DaoConstants.MAP_TYPE, StandardBasicTypes.STRING); // 6\r\n\t\tscalarMapping.put(DaoConstants.MAP_SVGMAXLATITUDE,\r\n\t\t\t\tStandardBasicTypes.DOUBLE); // 7\r\n\t\tscalarMapping.put(DaoConstants.MAP_SVGMAXLONGITUDE,\r\n\t\t\t\tStandardBasicTypes.DOUBLE); // 8\r\n\t\tscalarMapping.put(DaoConstants.MAP_SVGMINLATITUDE,\r\n\t\t\t\tStandardBasicTypes.DOUBLE); // 9\r\n\t\tscalarMapping.put(DaoConstants.MAP_SVGMINLONGITUDE,\r\n\t\t\t\tStandardBasicTypes.DOUBLE); // 10\r\n\t\tscalarMapping.put(DaoConstants.MAP_ODU_SVG_PATH,\r\n\t\t\t\tStandardBasicTypes.STRING); // 11\r\n\t\tscalarMapping.put(DaoConstants.MAP_SEVERITY, StandardBasicTypes.STRING); // 12\r\n\t\tscalarMapping.put(DaoConstants.MAP_SLINKADD, StandardBasicTypes.STRING); // 13\r\n\t\tscalarMapping.put(DaoConstants.MAP_ALARM_CODE,\r\n\t\t\t\tStandardBasicTypes.STRING); // 14\r\n\t\tscalarMapping.put(DaoConstants.MAP_C2, StandardBasicTypes.DOUBLE); // 15\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// Outdoor\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// Temp\r\n\t\tscalarMapping\r\n\t\t\t\t.put(DaoConstants.MAP_THRESHOLD_1, StandardBasicTypes.LONG); // 16\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// CompressorWorkingHrs_1\r\n\t\tscalarMapping\r\n\t\t\t\t.put(DaoConstants.MAP_THRESHOLD_2, StandardBasicTypes.LONG); // 17\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// CompressorWorkingHrs_2\r\n\t\tscalarMapping\r\n\t\t\t\t.put(DaoConstants.MAP_THRESHOLD_3, StandardBasicTypes.LONG); // 18\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// CompressorWorkingHrs_3\r\n\t\tscalarMapping\r\n\t\t\t\t.put(DaoConstants.MAP_THRESHOLD_4, StandardBasicTypes.LONG); // 19\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// PAC\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// CompressorWorkingHrs\r\n\t\tscalarMapping\r\n\t\t\t\t.put(DaoConstants.MAP_THRESHOLD_5, StandardBasicTypes.LONG); // 20\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// EngineWorkingHrs\r\n\t\tscalarMapping\r\n\t\t\t\t.put(DaoConstants.MAP_THRESHOLD_6, StandardBasicTypes.LONG); // 21\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// NOT_IN_USE_EnginOilChange\r\n\t\tscalarMapping.put(DaoConstants.MAP_G44, StandardBasicTypes.STRING); // 22\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// GenerationPower\r\n\t\tscalarMapping.put(DaoConstants.MAP_SVGID, StandardBasicTypes.LONG); // 23\r\n\t\tscalarMapping.put(DaoConstants.MAP_SVGNAME, StandardBasicTypes.STRING); // 24\r\n\t\tscalarMapping.put(DaoConstants.MAP_VRFHRS1, StandardBasicTypes.DOUBLE); // 25\r\n\t\tscalarMapping.put(DaoConstants.MAP_VRFHRS2, StandardBasicTypes.DOUBLE); // 26\r\n\t\tscalarMapping.put(DaoConstants.MAP_VRFHRS3, StandardBasicTypes.DOUBLE); // 27\r\n\t\tscalarMapping.put(DaoConstants.MAP_PACHRS, StandardBasicTypes.DOUBLE); // 28\r\n\t\tscalarMapping.put(DaoConstants.MAP_GHPHRS, StandardBasicTypes.DOUBLE); // 29\r\n\t\tscalarMapping.put(DaoConstants.MAP_GHPOIL, StandardBasicTypes.DOUBLE); // 30\r\n\t\tscalarMapping.put(DaoConstants.MAP_SITEPATH, StandardBasicTypes.STRING); // 31\r\n\t\tscalarMapping.put(DaoConstants.MAP_COMPANYNAME,\r\n\t\t\t\tStandardBasicTypes.STRING); // 32\r\n\t\tscalarMapping.put(DaoConstants.MAP_CASTATUS, StandardBasicTypes.STRING); // 33\r\n\t\tscalarMapping.put(DaoConstants.MAP_V23, StandardBasicTypes.STRING); // 34\r\n\t\t// Demand\r\n\t\tscalarMapping.put(DaoConstants.MAP_COMPRESSOR1,\r\n\t\t\t\tStandardBasicTypes.BOOLEAN); // 35\r\n\t\tscalarMapping.put(DaoConstants.MAP_COMPRESSOR2,\r\n\t\t\t\tStandardBasicTypes.BOOLEAN); // 36\r\n\t\tscalarMapping.put(DaoConstants.MAP_COMPRESSOR3,\r\n\t\t\t\tStandardBasicTypes.BOOLEAN); // 37\r\n\t\t//add by shanf\r\n\t\tscalarMapping.put(DaoConstants.DEVICE_MODEL,\r\n\t\t\t\tStandardBasicTypes.STRING); // 38\r\n\r\n\t\treturn scalarMapping;\r\n\t}", "@Override\r\n \tpublic void setMap(Map m) {\n \t\t\r\n \t}", "private IMapData<Integer, String> getHashMapData1() {\n List<IKeyValueNode<Integer, String>> creationData = new ArrayList<>();\n List<IKeyValueNode<Integer, String>> data = new ArrayList<>();\n List<Integer> keys = this.createKeys(data);\n List<String> values = this.createValues(data);\n\n return new MapData<>(\n creationData,\n data,\n keys,\n values);\n }", "private static void replacenullwithdefaultvalue(Map<Integer, Integer> map1, int defaultValue) {\n\t\t Map<Object, Object> map = map1.entrySet() \n .stream() \n .map(entry -> { \n if (entry.getValue() == null) \n entry.setValue(defaultValue); \n return entry; \n }) \n .collect(Collectors.toMap(Map.Entry::getKey, \n Map.Entry::getValue)); \n \n\t\tSystem.out.println(map);\n\t}", "@Override\n public List<IMapData<Integer, String>> getLinkedHashMapData() {\n List<IMapData<Integer, String>> data = new ArrayList<>();\n\n data.add(this.getLinkedHashMapData1());\n data.add(this.getLinkedHashMapData2());\n\n return data;\n }", "public static void setPerformanceByDevice(String orderId, boolean isNoise, double threshold, List<PerformanceByDeviceReportDTO> performanceByDeviceList){ \n\t \tString key = PERFORMANCE_BY_DEVICE_KEY+orderId+isNoise+threshold;\n\t\t\tlog.info(\"setPerformanceByOS : memcache key:\"+key);\t\t\t\n\t\t\tif(memcache !=null && memcache.contains(key)){\n\t \t\tmemcache.delete(key);\n\t \t}\n\t \tmemcache.put(key, performanceByDeviceList, Expiration.byDeltaSeconds(expireInDay));\n\t\t}", "private static Map<Object, Object> getFields(Device d1) {\n\t Class<? extends Device> deviceClass = d1.getClass();\n\t Field[] fields = deviceClass.getDeclaredFields();\n\t \n\t //Map to get property details to provided class\n\t \tMap<Object,Object> mapFields = new HashMap<>();\t \n\n\t Arrays.stream(fields)\n\t .forEach(\n\t field -> {\n\t field.setAccessible(true);\n\t try {\n\t \tmapFields.put(field.getName(), field.get(d1));\n\t } catch (final IllegalAccessException e) {\n\t \t\n\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\tmapFields.put(field.getName(), field.get(d1));\n\t\t\t\t\t\t\t\t\t} catch (Exception e1) {\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t }\n\t });\n\n\t return mapFields;\n\t}", "private void initValues() {\n \n }", "public Data() {\n this.customers = new HashMap<>();\n this.orders = new HashMap<>();\n this.siteVisits = new HashMap<>();\n this.imageUploads = new HashMap<>();\n }", "protected void addDataMap(DataMap map, DataMap currentMap) {\n\n ProjectController mediator = getProjectController();\n\n if (currentMap != null) {\n // merge with existing map... have to memorize map state before and after\n // to do the right events\n\n Collection<ObjEntity> originalOE = new ArrayList<>(currentMap.getObjEntities());\n Collection<DbEntity> originalDE = new ArrayList<>(currentMap.getDbEntities());\n Collection<QueryDescriptor> originalQueries = new ArrayList<>(currentMap.getQueryDescriptors());\n\n currentMap.mergeWithDataMap(map);\n map = currentMap;\n\n // postprocess changes\n Collection<ObjEntity> newOE = new ArrayList<>(currentMap.getObjEntities());\n Collection<DbEntity> newDE = new ArrayList<>(currentMap.getDbEntities());\n Collection<QueryDescriptor> newQueries = new ArrayList<>(currentMap.getQueryDescriptors());\n\n EntityEvent entityEvent = new EntityEvent(Application.getFrame(), null);\n QueryEvent queryEvent = new QueryEvent(Application.getFrame(), null);\n\n // 1. ObjEntities\n Collection<ObjEntity> addedOE = new ArrayList<>(newOE);\n addedOE.removeAll(originalOE);\n for (ObjEntity e : addedOE) {\n entityEvent.setEntity(e);\n entityEvent.setId(MapEvent.ADD);\n mediator.fireObjEntityEvent(entityEvent);\n }\n\n Collection<ObjEntity> removedOE = new ArrayList<>(originalOE);\n removedOE.removeAll(newOE);\n for (ObjEntity e : removedOE) {\n entityEvent.setEntity(e);\n entityEvent.setId(MapEvent.REMOVE);\n mediator.fireObjEntityEvent(entityEvent);\n }\n\n // 2. DbEntities\n Collection<DbEntity> addedDE = new ArrayList<>(newDE);\n addedDE.removeAll(originalDE);\n for(DbEntity e: addedDE) {\n entityEvent.setEntity(e);\n entityEvent.setId(MapEvent.ADD);\n mediator.fireDbEntityEvent(entityEvent);\n }\n\n Collection<DbEntity> removedDE = new ArrayList<>(originalDE);\n removedDE.removeAll(newDE);\n for(DbEntity e: removedDE) {\n entityEvent.setEntity(e);\n entityEvent.setId(MapEvent.REMOVE);\n mediator.fireDbEntityEvent(entityEvent);\n }\n\n // 3. queries\n Collection<QueryDescriptor> addedQueries = new ArrayList<>(newQueries);\n addedQueries.removeAll(originalQueries);\n for(QueryDescriptor q: addedQueries) {\n queryEvent.setQuery(q);\n queryEvent.setId(MapEvent.ADD);\n mediator.fireQueryEvent(queryEvent);\n }\n\n Collection<QueryDescriptor> removedQueries = new ArrayList<>(originalQueries);\n removedQueries.removeAll(newQueries);\n for(QueryDescriptor q: removedQueries) {\n queryEvent.setQuery(q);\n queryEvent.setId(MapEvent.REMOVE);\n mediator.fireQueryEvent(queryEvent);\n }\n\n mediator.fireDataMapDisplayEvent(new DataMapDisplayEvent(Application\n .getFrame(), map, (DataChannelDescriptor) mediator\n .getProject()\n .getRootNode(), mediator.getCurrentDataNode()));\n }\n else {\n // fix DataMap name, as there maybe a map with the same name already\n ConfigurationNode root = mediator.getProject().getRootNode();\n map.setName(NameBuilder\n .builder(map, root)\n .baseName(map.getName())\n .name());\n\n // side effect of this operation is that if a node was created, this DataMap\n // will be linked with it...\n mediator.addDataMap(Application.getFrame(), map);\n }\n }", "private void populateMaps() {\n\t\t//populate the conversion map.\n\t\tconvertMap.put(SPACE,(byte)0);\n\t\tconvertMap.put(VERTICAL,(byte)1);\n\t\tconvertMap.put(HORIZONTAL,(byte)2);\n\n\t\t//build the hashed numbers based on the training input. 1-9\n\t\tString trainingBulk[] = new String[]{train1,train2,train3,\"\"};\n\t\tbyte[][] trainer = Transform(trainingBulk);\n\t\tfor(int i=0; i < 9 ;++i) {\n\t\t\tint val = hashDigit(trainer, i);\n\t\t\tnumbers.put(val,i+1);\n\t\t}\n\t\t//train Zero\n\t\ttrainingBulk = new String[]{trainz1,trainz2,trainz3,\"\"};\n\t\tint zeroVal = hashDigit(Transform(trainingBulk), 0);\n\t\tnumbers.put(zeroVal,0);\n\n\n\t}", "public MapData(Iterable<K> iterable, V value) {\n for (K key: iterable) {\n put(key, value);\n }\n }", "@Override\r\n\tpublic void setmDatas(List<ComeTrueModel> mDatas) {\n\t\tsuper.setmDatas(mDatas);\r\n\t\tint mapSize = isshow.size();\r\n\t\tint mDataSize = mDatas.size();\r\n\t\tif (mDataSize > mapSize) {\r\n\t\t\tfor (int i = mapSize; i < mDataSize; i++) {\r\n\t\t\t\tisshow.put(i, false);\r\n\t\t\t}\r\n\t\t};\r\n\t}", "protected void fillData(HashMap<String, HashMap<String, String>> map) {\n ListView branchListView = (ListView) findViewById(R.id.list_view);\n\n ArrayList<BranchTag> branchList = new ArrayList<BranchTag>();\n HashMap<String, String> branchMap = map.get(\"branches\");\n \n if (branchMap.size() == 0) {\n getApplicationContext().notFoundMessage(this, \"Branches\");\n return;\n }\n \n Iterator<String> it = branchMap.keySet().iterator();\n\n BranchTag branchTag;\n while (it.hasNext()) {\n String name = it.next();\n branchTag = new BranchTag();\n branchTag.setName(name);\n branchTag.setSha(branchMap.get(name));\n\n branchList.add(branchTag);\n }\n\n BranchTagAdapter branchAdapter = new BranchTagAdapter(this, branchList, mUserLogin,\n mRepoName);\n branchListView.setAdapter(branchAdapter);\n }", "private static void initializeMap() {\n addressTypeToSerializerMap = new HashMap<>();\n addressTypeToSerializerMap.put(NoAddressAfi.VALUE, NoAddressSerializer.getInstance());\n addressTypeToSerializerMap.put(Ipv4Afi.VALUE, Ipv4Serializer.getInstance());\n addressTypeToSerializerMap.put(Ipv4BinaryAfi.VALUE, Ipv4BinarySerializer.getInstance());\n addressTypeToSerializerMap.put(Ipv4PrefixAfi.VALUE, Ipv4PrefixSerializer.getInstance());\n addressTypeToSerializerMap.put(Ipv4PrefixBinaryAfi.VALUE, Ipv4PrefixBinarySerializer.getInstance());\n addressTypeToSerializerMap.put(Ipv6Afi.VALUE, Ipv6Serializer.getInstance());\n addressTypeToSerializerMap.put(Ipv6BinaryAfi.VALUE, Ipv6BinarySerializer.getInstance());\n addressTypeToSerializerMap.put(Ipv6PrefixAfi.VALUE, Ipv6PrefixSerializer.getInstance());\n addressTypeToSerializerMap.put(Ipv6PrefixBinaryAfi.VALUE, Ipv6PrefixBinarySerializer.getInstance());\n addressTypeToSerializerMap.put(MacAfi.VALUE, MacSerializer.getInstance());\n addressTypeToSerializerMap.put(DistinguishedNameAfi.VALUE, DistinguishedNameSerializer.getInstance());\n addressTypeToSerializerMap.put(Lcaf.VALUE, LcafSerializer.getInstance());\n addressTypeToSerializerMap.put(AfiListLcaf.VALUE, AfiListSerializer.getInstance());\n addressTypeToSerializerMap.put(InstanceIdLcaf.VALUE, InstanceIdSerializer.getInstance());\n addressTypeToSerializerMap.put(ApplicationDataLcaf.VALUE, ApplicationDataSerializer.getInstance());\n addressTypeToSerializerMap.put(ExplicitLocatorPathLcaf.VALUE, ExplicitLocatorPathSerializer.getInstance());\n addressTypeToSerializerMap.put(SourceDestKeyLcaf.VALUE, SourceDestKeySerializer.getInstance());\n addressTypeToSerializerMap.put(KeyValueAddressLcaf.VALUE, KeyValueAddressSerializer.getInstance());\n addressTypeToSerializerMap.put(ServicePathLcaf.VALUE, ServicePathSerializer.getInstance());\n }", "MapType map(List<ReferenceOrderedDatum> rodData, char ref, LocusContext context);", "public abstract void setData(Map attributes, Iterator accessPoints);", "public void setProductInspectState(String accessKey, Map<String,String> dataMap) throws org.apache.thrift.TException;", "Map<String, ?> getOutputData();", "protected ListMap<Integer, CD4Details> makeResultsMap(List<Object> data) {\n\t\tListMap<Integer, CD4Details> dateListMap = new ListMap<Integer, CD4Details>();\n\t\tfor (Object o : data) {\n\t\t\tObject[] parts = (Object[]) o;\n\t\t\tif (parts.length == 3) {\n\t\t\t\tInteger pId = (Integer) parts[0];\n\t\t\t\tDate date = (Date) parts[1];\n\t\t\t\tDouble val = (Double) parts[2];\n\t\t\t\tif (pId != null && date != null) {\n\t\t\t\t\tCD4Details details = new CD4Details(val, date);\n\t\t\t\t\tdateListMap.putInList(pId, details);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn dateListMap;\n\t}", "@Override\r\n\tpublic void updateData() {\n\t\t\r\n\t}", "private void populateUserMap(List<User> list) {\n\t\tfor (User user : list) {\n\t\t\tuserMap.put(user.getUserName(), user);\n\t\t}\n\n\t}", "public void addProductInspect(String accessKey, Map<String,String> dataMap) throws org.apache.thrift.TException;", "@Deprecated\n public static void buildConfigOptionDetailsSensor(final String key, Map<String, ConfigOptionDetailsSensor> configOptionsMap, final Context context, final ShimmerDevice shimmerDevice, final ShimmerDevice shimmerDeviceClone) {\n final ConfigOptionDetailsSensor cods = configOptionsMap.get(key);\n final CharSequence[] cs = cods.getGuiValues();\n String title = getConfigValueLabelFromConfigLabel(key, shimmerDeviceClone);\n if (cods.mGuiComponentType == ConfigOptionDetails.GUI_COMPONENT_TYPE.COMBOBOX) {\n Object returnedValue = shimmerDevice.getConfigValueUsingConfigLabel(key);\n\n if(returnedValue != null) {\n// int configValue = (int) returnedValue;\n// int itemIndex = Arrays.asList(configOptionsMap.get(key).getConfigValues()).indexOf(configValue);\n// title = Arrays.asList(configOptionsMap.get(key).getGuiValues()).get(itemIndex);\n AlertDialog.Builder builder = new AlertDialog.Builder(context);\n shimmerDevice.getConfigValueUsingConfigLabel(key);\n builder.setTitle(title);\n builder.setItems(cs,\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n // The 'which' argument contains the index position\n // of the selected item\n Toast.makeText(context, cs[which], Toast.LENGTH_SHORT).show();\n shimmerDeviceClone.setConfigValueUsingConfigLabel(key,cods.mConfigValues[which]);\n\n //shimmerDeviceClone.refreshShimmerInfoMemBytes();\n List<ShimmerDevice> cloneList = new ArrayList<ShimmerDevice>();\n cloneList.add(0, shimmerDeviceClone);\n AssembleShimmerConfig.generateMultipleShimmerConfig(cloneList, Configuration.COMMUNICATION_TYPE.BLUETOOTH);\n\n if (shimmerDevice instanceof Shimmer) {\n ((Shimmer)shimmerDevice).writeConfigBytes(shimmerDeviceClone.getShimmerConfigBytes());\n } else if (shimmerDevice instanceof Shimmer4Android){\n ((Shimmer4Android)shimmerDevice).writeConfigBytes(shimmerDeviceClone.getShimmerConfigBytes());\n }\n }\n });\n builder.create().show();\n }\n } else if (cods.mGuiComponentType == ConfigOptionDetails.GUI_COMPONENT_TYPE.TEXTFIELD){\n Object returnedValue = shimmerDevice.getConfigValueUsingConfigLabel(key);\n\n if(returnedValue != null) {\n AlertDialog.Builder builder = new AlertDialog.Builder(context);\n builder.setTitle((String)returnedValue);\n LinearLayout.LayoutParams tv1Params = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT);\n final EditText et = new EditText(context);\n et.setText((String)returnedValue);\n LinearLayout layout = new LinearLayout(context);\n LinearLayout.LayoutParams parms = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT);\n layout.setOrientation(LinearLayout.VERTICAL);\n layout.setLayoutParams(parms);\n layout.setGravity(Gravity.CLIP_VERTICAL);\n layout.setPadding(2, 2, 2, 2);\n layout.addView(et, new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT));\n builder.setView(layout);\n builder.setPositiveButton(\"OK\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n shimmerDeviceClone.setConfigValueUsingConfigLabel(key,et.getText().toString());\n\n //shimmerDeviceClone.refreshShimmerInfoMemBytes();\n List<ShimmerDevice> cloneList = new ArrayList<ShimmerDevice>();\n cloneList.add(0, shimmerDeviceClone);\n AssembleShimmerConfig.generateMultipleShimmerConfig(cloneList, Configuration.COMMUNICATION_TYPE.BLUETOOTH);\n if (shimmerDevice instanceof Shimmer) {\n ((Shimmer)shimmerDevice).writeConfigBytes(shimmerDeviceClone.getShimmerConfigBytes());\n } else if (shimmerDevice instanceof Shimmer4Android){\n ((Shimmer4Android)shimmerDevice).writeConfigBytes(shimmerDeviceClone.getShimmerConfigBytes());\n }\n }\n });\n builder.create().show();\n }\n }\n }", "public void getData(String filePath, Map<String, Object> map) {\n\t\treturn;\n\t}", "public static void setAdFormatInCache(Map<String,String> dataMap){ \t\n \tif(memcache !=null && memcache.contains(MEDIA_PLAN_ADFORMAT_KEY)){\n \t\tmemcache.delete(MEDIA_PLAN_ADFORMAT_KEY);\n \t}\n \tmemcache.put(MEDIA_PLAN_ADFORMAT_KEY, dataMap);\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}" ]
[ "0.6405566", "0.6358624", "0.60532564", "0.5738608", "0.5723466", "0.57145125", "0.56633574", "0.56537825", "0.5609854", "0.55085963", "0.550625", "0.54748136", "0.54531646", "0.54437476", "0.54335123", "0.54041284", "0.5360409", "0.5357053", "0.5331968", "0.5329261", "0.5309595", "0.5303649", "0.5295029", "0.52881944", "0.52837634", "0.52580315", "0.52563334", "0.52469677", "0.5234953", "0.522444", "0.5216471", "0.5206972", "0.52049834", "0.5200438", "0.519987", "0.5190563", "0.5186144", "0.5182608", "0.51632434", "0.51379067", "0.5117121", "0.51130587", "0.511286", "0.5109804", "0.5097273", "0.5096946", "0.5091758", "0.5091314", "0.50899816", "0.50863093", "0.5075413", "0.50709033", "0.50189215", "0.50185484", "0.50083476", "0.49968106", "0.49947795", "0.49873513", "0.4984243", "0.49823144", "0.49801463", "0.49670708", "0.49634627", "0.4963002", "0.4958829", "0.49546674", "0.49525058", "0.4950826", "0.49367514", "0.4926911", "0.4925496", "0.4925118", "0.49232957", "0.49158886", "0.49156234", "0.49103442", "0.49029732", "0.4901144", "0.49000326", "0.48953763", "0.4890505", "0.48795563", "0.48794118", "0.48793668", "0.48769584", "0.48646593", "0.4864221", "0.48618963", "0.48599282", "0.4859432", "0.48526767", "0.48521337", "0.48506242", "0.48505327", "0.48454976", "0.48433876", "0.4840373", "0.48402107", "0.48398006", "0.48337355" ]
0.5661439
7
Generates a map with every bucket containing empty sample
public static Map<Long, Sample> generateEmptyMap(final int numberOfBuckets, final DateTime startDate, final int slotDurationInMinutes, final int missingSampleDefaultValue) { final Map<Long, Sample> map = Maps.newHashMap(); for(int i = 0; i < numberOfBuckets; i++) { final Long key = startDate.minusMinutes(i * slotDurationInMinutes).getMillis(); LOGGER.trace("Inserting {}", key); map.put(key, new Sample(key, missingSampleDefaultValue, null)); } LOGGER.trace("Map size = {}", map.size()); return map; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void clear() {\r\n\t\tbuckets = new Object[numBuckets];\r\n\t\tfor (int i = 0; i < numBuckets; i++) {\r\n\t\t\tbuckets[i] = new Bucket();\r\n\t\t}\r\n\t}", "public void makeEmpty() {\n for (int i = 0; i < buckets.length; i++) {\n buckets[i] = new SList();\n }\n size = 0;\n }", "public void generateRandomMap() {\n\n\t}", "public void clear() {\n buckets = new ArrayList<>();\n for (int i = 0; i < numBuckets; i++) {\n buckets.add(new ArrayList<>());\n }\n keySet = new HashSet<>();\n numEntries = 0;\n }", "@Override\n\tpublic void clear() {\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tmap[i] = new LocalEntry<>();\n\t\t}\n\n\t}", "public HashMap<String, Integer> makeEmpty() {\r\n\t\tHashMap<String, Integer> newMap = new HashMap<>();\r\n\t\tnewMap.put(new Gloom(\"Gloom\", null, 30, 25, 20, 10).getName(), 0);\r\n\t\tnewMap.put(new Golbat(\"Golbat\", null, 28, 25, 20, 10).getName(), 0);\r\n\t\tnewMap.put(new Growlithe(\"Growlithe\", null, 26, 25, 20, 10).getName(), 0);\r\n\t\tnewMap.put(new Jigglypuff(\"Jigglypuff\", null, 24, 25, 20, 10).getName(), 0);\r\n\t\tnewMap.put(new Persian(\"Persian\", null, 22, 25, 20, 10).getName(), 0);\r\n\t\tnewMap.put(new Pidgeotto(\"Pidgeotto\", null, 20, 25, 20, 10).getName(), 0);\r\n\t\tnewMap.put(new Pikachu(\"Pikachu\", null, 18, 25, 20, 10).getName(), 0);\r\n\t\tnewMap.put(new Seaking(\"Seaking\", null, 16, 25, 20, 10).getName(), 0);\r\n\t\tnewMap.put(new Staryu(\"Staryu\", null, 14, 25, 20, 10).getName(), 0);\r\n\t\tnewMap.put(new Tentacool(\"Tentacool\", null, 12, 25, 20, 10).getName(), 0);\r\n\t\tnewMap.put(new Zubat(\"Zubat\", null, 10, 25, 20, 10).getName(), 0);\r\n\t\treturn newMap;\r\n\t}", "public void makeEmpty() {\n defTable = new DList[sizeBucket];\n for(int i=0; i<sizeBucket; i++) {\n defTable[i] = new DList();\n }\n size = 0;\n }", "public static <K> Object2DoubleSortedMap<K> emptyMap() {\n/* 164 */ return EMPTY_MAP;\n/* */ }", "public void clear() {\n\t\tfor (int i = 0; i < buckets.length; i++) {\n\t\t\tbuckets[i] = null;\n\t\t}\n\t}", "public void clear() {\n //construct(initialCap, loadFactor);\n \n //MapElement me = null;\n\n for (int i = 0; i < capacity; i++) {\n if (map[i] != null) {\n /*me = map[i];\n for (int j = 0; j < count[i]; j++) {\n MapElement release = me;\n me = me.getNext();\n releaseMapElement(release);\n }*/ \n map[i] = null;\n }\n }\n contents = 0;\n }", "private void sample() {\n gaugeSet.values().forEach((key, value) ->\n this.inner.labels(key).set(value != null ? value.doubleValue() : 0));\n }", "public HashMap<List<Integer>, List<Integer>> genEmptyPolicy() {\n\t\tHashMap<List<Integer>, List<Integer>> emptyPolicy = new \n\t\t\t\tHashMap<List<Integer>, List<Integer>>();\n\t\tif(ventureManager.getNumVentures() == 2) {\n\t\t\tList<Integer> nil = new ArrayList<Integer>();\n\t\t\tnil.add(0);\n\t\t\tnil.add(0);\n\t\t\tfor(List<Integer> s : states) \n\t\t\t\temptyPolicy.put(s, nil);\n\t\t}\n\t\telse {\n\t\t\tList<Integer> nil = new ArrayList<Integer>();\n\t\t\tnil.add(0);\n\t\t\tnil.add(0);\n\t\t\tnil.add(0);\n\t\t\tfor(List<Integer> s: states)\n\t\t\t\temptyPolicy.put(s, nil);\n\t\t}\n\t\treturn emptyPolicy;\n\t}", "@Test\n public void testGetCountEmpty() {\n assertEquals(fixture.getCounts(), Collections.emptyMap());\n }", "public HashMap(){\n\t\tthis.numOfBins=10;\n\t\tthis.size=0;\n\t\tinitializeMap();\n\t}", "public static <K, V> Reference2ObjectMap<K, V> emptyMap() {\n/* 178 */ return EMPTY_MAP;\n/* */ }", "public void buildEmptyMap() {\n this.emptyMap = new BufferedImage(this.boulderDashModel.getArea().getDimensionWidth() * zoom, this.boulderDashModel.getArea().getDimensionHeight() * zoom, BufferedImage.TYPE_INT_RGB);\n final Graphics2D graphics = (Graphics2D) this.emptyMap.getGraphics();\n graphics.drawImage(this.boulderDashModel.getArea().getImage(), 0, 0, this.boulderDashModel.getArea().getDimensionWidth() * zoom, this.boulderDashModel.getArea().getDimensionHeight() * zoom, null);\n }", "private void generateSampleKeys()\n {\n Iterator<ArrayList<String>> di = data.iterator();\n String key2;\n\n while (di.hasNext())\n {\n ArrayList<String> row = di.next();\n\n Iterator<Integer> kci = keyCols.iterator();\n StringBuffer buf = new StringBuffer();\n while (kci.hasNext())\n {\n Integer i = kci.next();\n String value = row.get(i);\n buf.append(value + '_');\n }\n key2 = new String(StringUtils.chop(buf.toString()));\n key2 = key2.toUpperCase();\n\n SampleWithProperties s = new SampleWithProperties(key2);\n\n // now have to add properties\n Iterator<Integer> pi = spts.keySet().iterator();\n while (pi.hasNext())\n {\n Integer key3 = pi.next();\n String val = row.get(key3);\n val = val.toUpperCase();\n s.addProperty(spts.get(key3), val);\n }\n swp.add(s);\n }\n }", "public MyHashMapImpl(int nr_buckets) {\n\t\tthis.b = new ArrayList<Bucket<K, V>>();\n\t\tfor (int i = 0; i < nr_buckets; i++) {\n\t\t\tb.add(new Bucket<K, V>());\n\t\t}\n\t\tnrb = nr_buckets;\n\t}", "private void addEmptyConstituentTable() {\n int noOfqueues = storageQueueList.size();\n Map<String, BitSet> constituentTable = new HashMap<>();\n\n BitSet nullBitSet = new BitSet(noOfqueues);\n BitSet otherBitSet = new BitSet(noOfqueues);\n\n if (noOfqueues > 0) {\n\n // Null constituent will always be true for empty constituents, hence need to flip\n nullBitSet.flip(0, noOfqueues - 1);\n\n for (int queueIndex = 0; queueIndex < noOfqueues; queueIndex++) {\n // For 'other', if subscribers last constituent is multi level wild card then matching\n String[] allConstituent = queueConstituents.get(queueIndex);\n String lastConstituent = allConstituent[allConstituent.length - 1];\n\n if (multiLevelWildCard.equals(lastConstituent)) {\n otherBitSet.set(queueIndex);\n } else {\n otherBitSet.set(queueIndex, false);\n }\n }\n }\n\n constituentTable.put(NULL_CONSTITUENT, nullBitSet);\n constituentTable.put(OTHER_CONSTITUENT, otherBitSet);\n\n constituentTables.add(constituentTable);\n }", "public void clearBuckets() {\n this.buckets.clear();\n }", "public void makeEmpty() {\r\n for (int i = 0; i < tableSize; i++) {\r\n table[i] = new DList<Entry<K, V>>();\r\n }\r\n }", "public void clearMap()\n {\n ++this.versionStamp;\n IntHashMapEntry[] ainthashmapentry = this.slots;\n\n for (int i = 0; i < ainthashmapentry.length; ++i)\n {\n ainthashmapentry[i] = null;\n }\n\n this.count = 0;\n }", "public RandomizedSet() {\r\n\t\tbucket = new BucketItem[BUCKET_SIZE];\r\n\t}", "@Override\n public void create() {\n theMap = new ObjectSet<>(2048, 0.5f);\n generate();\n }", "public void makeEmpty() { \r\n for (int i = 0; i < hash_table.length; i++) {\r\n if (hash_table[i] != null) {\r\n hash_table[i] = null;\r\n }\r\n }\r\n size = 0;\r\n }", "void clearMap() {\n STRING_STATISTICS.clear();\n }", "@Override\n\tpublic void clear() {\n\t\tsuper.clear();\n\t\tidIndex = new HashMap<String, SimpleFeature>();\n\t\ttypeNameIndex = new HashMap<Name, Set<SimpleFeature>>();\n\t\ttileIndex = new HashMap<OSMTile, Set<SimpleFeature>>();\n\t}", "@Override\r\n public void clear() {\r\n map.clear();\r\n }", "public void testMap() throws Exception {\n String key1 = 1 + randomAlphaOfLength(3);\n String key2 = 2 + randomAlphaOfLength(3);\n String key3 = 3 + randomAlphaOfLength(3);\n updateAndCheckSource(\n 0,\n 1,\n XContentFactory.jsonBuilder().startObject().startObject(\"test\").field(key1, \"foo\").field(key2, \"baz\").endObject().endObject()\n );\n updateAndCheckSource(\n 0,\n 1,\n XContentFactory.jsonBuilder().startObject().startObject(\"test\").field(key1, \"foo\").field(key2, \"baz\").endObject().endObject()\n );\n updateAndCheckSource(\n 1,\n 2,\n XContentFactory.jsonBuilder().startObject().startObject(\"test\").field(key1, \"foo\").field(key2, \"bir\").endObject().endObject()\n );\n updateAndCheckSource(\n 1,\n 2,\n XContentFactory.jsonBuilder().startObject().startObject(\"test\").field(key1, \"foo\").field(key2, \"bir\").endObject().endObject()\n );\n updateAndCheckSource(\n 2,\n 3,\n XContentFactory.jsonBuilder().startObject().startObject(\"test\").field(key1, \"foo\").field(key2, \"foo\").endObject().endObject()\n );\n updateAndCheckSource(\n 3,\n 4,\n XContentFactory.jsonBuilder()\n .startObject()\n .startObject(\"test\")\n .field(key1, \"foo\")\n .field(key2, (Object) null)\n .endObject()\n .endObject()\n );\n updateAndCheckSource(\n 3,\n 4,\n XContentFactory.jsonBuilder()\n .startObject()\n .startObject(\"test\")\n .field(key1, \"foo\")\n .field(key2, (Object) null)\n .endObject()\n .endObject()\n );\n updateAndCheckSource(\n 4,\n 5,\n XContentFactory.jsonBuilder()\n .startObject()\n .startObject(\"test\")\n .field(key1, \"foo\")\n .field(key2, (Object) null)\n .field(key3, (Object) null)\n .endObject()\n .endObject()\n );\n\n assertEquals(3, totalNoopUpdates());\n }", "@Test\n public void testTableFactoryEmpty() {\n TableController tableController = tableFactory.getTableController();\n Map<Integer, ArrayList<Table>> tableMap = tableController.getTableMap();\n // loop through the map, check that each list is empty\n for (ArrayList<Table> list : tableMap.values()) {\n assertEquals(0, list.size());\n }\n }", "public Map<T, V> populateMap() {\n Map<T, V> map = new HashMap<>();\n for (int i = 0; i < entryNumber; i++) {\n cacheKeys[i] = (T) Integer.toString(random.nextInt(1000000000));\n String key = cacheKeys[i].toString();\n map.put((T) key, (V) Integer.toString(random.nextInt(1000000000)));\n }\n return map;\n }", "@Test\n public void initializeTest()\n {\n assertEquals(0, map.size());\n }", "public RandomizedSet() {\n map = new HashMap<>();\n }", "@SuppressWarnings(\"unchecked\")\r\n\tpublic HashMap()\r\n\t{\r\n\t\ttable = new MapEntry[7];\r\n\t\tcount = 0;\r\n\t\tmaxCount = table.length - table.length/3;\r\n\t\tDUMMY = new MapEntry<>(null, null);\r\n\t}", "@Override\n\tpublic void clear() {\n\t\tmap.clear();\n\t\tkeys.clear();\n\t}", "public void reset() {\r\n for (int i = 0, tot = buckets.length; i < tot; i++) {\r\n CacheData<K, V> pair = getCacheData(i);\r\n if (pair != null) {\r\n pair.reset();\r\n }\r\n }\r\n }", "void fillLabelHash() {\n log.debug(\" begin fillLabelHash\");\n for (int v = 0; v < vertices.length; v++) {\n log.debug(\" ---- process vertex \" + v);\n System.err.println(\" ---- process vertex \" + v);\n\n HammingVertex vertex = vertices[v];\n\n // all users of the array MUST use exactly the same algorithm lookup sequence\n int missingBitsVertexMapsIndex = 0;\n\n for (int i = 0; i < (labelSize - 1); i++) {\n for (int j = (i + 1); j < labelSize; j++) {\n\n Map missingBitsVertexMap = missingBitsVertexMaps[missingBitsVertexMapsIndex];\n if (missingBitsVertexMap == null) {\n missingBitsVertexMap = new HashMap<Integer, List<Integer>>();\n missingBitsVertexMaps[missingBitsVertexMapsIndex] = missingBitsVertexMap;\n }\n int compressedLabel = vertex.labelWithoutMissingBitsAsInt(i, j);\n List<Integer> list = (List<Integer>) missingBitsVertexMap.get(compressedLabel);\n if (list == null) {\n list = new LinkedList<Integer>();\n missingBitsVertexMap.put(compressedLabel, list);\n }\n list.add(vertex.vertexNumber);\n\n // next missing bit hashMap in sequence\n missingBitsVertexMapsIndex++;\n }\n }\n }\n }", "public Map() {\n\t\t//intially empty\n\t}", "public void clear() {\n map.clear();\n }", "public final void clear() { _map.clear(); }", "private void clearAll( )\n {\n for( Vertex v : vertexMap.values( ) )\n v.reset( );\n }", "public MyHashMap() {\n arr = new int[100000];\n \n //To initialize the value with -1\n Arrays.fill(arr,-1);\n \n }", "public MyHashMap() {\n this.key_space = 2069;\n this.hash_table = new ArrayList<Bucket>();\n for (int i = 0; i < this.key_space; ++i) {\n this.hash_table.add(new Bucket());\n }\n }", "public void clearMap() {\n this.mSimpleTargetIndexMap.clear();\n this.mSimpleTargetGroupChannelMap.clear();\n this.mChannelImageNumMap.clear();\n this.mChannelImageViewMap.clear();\n this.mChannelBitmapMap.clear();\n }", "public void clear() {\n classifiedSamples.clear();\n classificationNameMap.clear();\n classifications.clear();\n sampleClassificationMap.clear();\n nextIndex = 0;\n }", "public void clear()\r\n {\r\n for (int i = 0; i < values.length; i++)\r\n keys[i] = null;\r\n size = 0;\r\n }", "private void initCountMap() {\n\t\tcountMap.put(\"cells.BlueSchellingCell\", 0);\n\t\tcountMap.put(\"cells.OrangeSchellingCell\", 0);\n\t\tcountMap.put(\"cells.LiveCell\", 0);\n\t\tcountMap.put(\"cells.DeadCell\", 0);\n\t\tcountMap.put(\"cells.TreeCell\", 0);\n\t\tcountMap.put(\"cells.BurningTreeCell\", 0);\n\t\tcountMap.put(\"cells.EmptyLandCell\", 0);\n\t\tcountMap.put(\"cells.EmptyCell\", 0);\n\t\tcountMap.put(\"cells.SharkCell\", 0);\n\t\tcountMap.put(\"cells.FishCell\", 0);\n\t\tcountMap.put(\"cells.AntGroupCell\", 0);\n\t\tcountMap.put(\"cells.BlueRPSCell\", 0);\n\t\tcountMap.put(\"cells.GreenRPSCell\", 0);\n\t\tcountMap.put(\"cells.RedRPSCell\", 0);\n\t\tcountMap.put(\"cells.WhiteRPSCell\", 0);\n\t}", "public void clear() { \r\n\t\tmap.clear();\r\n\t}", "@Test\n public void sizeTest()\n {\n assertEquals(0, map.size());\n\n int count = 0;\n for (int i = 0; i < 10; i++)\n {\n map.put(i, i);\n assertEquals(++count, map.size());\n }\n\n assertEquals(count, map.size());\n map.clear();\n assertEquals(0, map.size());\n }", "public void clear() {\n map.clear();\n }", "@Test\n public void test4 ()\n {\n MyMap m = new MyMap();\n int SIZE = 10000;\n \n // Add SIZE mappings\n for (int i = 0; i < SIZE; i++)\n {\n m.put(i+\"\", (i*17)+\"\");\n }\n \n // Add some of the keys again with new values.\n for (int i = 0; i < SIZE; i+=2)\n {\n m.put(i+\"\", (i*18)+\"\");\n }\n \n // Remove every third element.\n for (int i = 0; i < SIZE; i += 3)\n {\n m.remove(i+\"\");\n }\n \n // Remove some of them again. This should make no difference.\n for (int i = 0; i < SIZE; i += 6)\n {\n m.remove(i+\"\");\n }\n \n // Assert that the size is as expected\n assertEquals(SIZE - (int) Math.ceil(SIZE / 3.0), m.size());\n \n // Assert that membership is as expected\n for (int i = 0; i < SIZE; i++)\n {\n if (i%3 == 0)\n {\n assertNull(m.get(i+\"\"));\n }\n else if (i%2 == 0)\n {\n assertEquals((i*18)+\"\", m.get(i+\"\"));\n }\n else\n {\n \tassertEquals((i*17)+\"\", m.get(i+\"\"));\n }\n }\n }", "private void constructHMap() {\n\t\tfor (int i = 0; i < hMap.length; i++) {\n\t\t\tfor (int j = 0; j < hMap[0].length; j++) {\n\t\t\t\tif (hMap[i][j] == 0) {\n\t\t\t\t\tSkiNode head = new SkiNode(map[i][j], i, j, null);\n\t\t\t\t\tbuildSkiTree(head);\n\t\t\t\t\tupdateSkiTreeLevel(head);\n\t\t\t\t\tif (goodHeads.isEmpty()) {\n\t\t\t\t\t\tgoodHeads.add(new SkiNode(head));\n\t\t\t\t\t} else if (goodHeads.getFirst().level == head.level) {\n\t\t\t\t\t\tgoodHeads.add(new SkiNode(head));\n\t\t\t\t\t} else if (goodHeads.getFirst().level < head.level) {\n\t\t\t\t\t\tgoodHeads.clear();\n\t\t\t\t\t\tgoodHeads.add(new SkiNode(head));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public void clear()\n {\n this.buckets = new Object[this.capacity];\n this.size = 0;\n }", "public void InitMap() {\n for (int i=0; i<m_mapSize; i++) {\n SetColour(i, null);\n }\n }", "public void clear() {\n\t\tmap.clear();\n\t}", "private Map<String, Object> createDefaultMap() {\n Map<String, Object> result = new LinkedHashMap<>();\n result.put(\"stream_speed0\", 1);\n result.put(\"stream_start0\", 0);\n result.put(\"stream_end0\", 7);\n result.put(\"stream_speed1\", -2);\n result.put(\"stream_start1\", 15);\n result.put(\"stream_end1\", 19);\n\n result.put(\"fish_quantity\", numFishes);\n result.put(\"fish_reproduction\", 3);\n result.put(\"fish_live\", 10);\n result.put(\"fish_speed\", 2);\n result.put(\"fish_radius\", 4);\n\n result.put(\"shark_quantity\", numSharks);\n result.put(\"shark_live\", 20);\n result.put(\"shark_hungry\", 7);\n result.put(\"shark_speed\", 2);\n result.put(\"shark_radius\", 5);\n\n return result;\n }", "private static void fillListFromMap(List<Integer> bucketContents, Map<Double, List<Integer>> m) {\r\n\t\tIterator<Double> iter = m.keySet().iterator();\r\n\t\twhile (iter.hasNext()) {\r\n\t\t\tDouble key = iter.next();\r\n\t\t\tbucketContents.addAll(m.get(key));\r\n\t\t}\r\n\t}", "private static void testMap(final OurMap<Integer, String> map) {\n System.out.printf(\"%n%s%n\", map.getClass());\n assert map.size() == 0;\n assert !map.containsKey(117);\n assert !map.containsKey(-2);\n assert map.get(117) == null;\n assert map.put(117, \"A\") == null;\n assert map.containsKey(117);\n assert map.get(117).equals(\"A\");\n assert map.put(17, \"B\") == null;\n assert map.size() == 2;\n assert map.containsKey(17);\n assert map.get(117).equals(\"A\");\n assert map.get(17).equals(\"B\");\n assert map.put(117, \"C\").equals(\"A\");\n assert map.containsKey(117);\n assert map.get(117).equals(\"C\");\n assert map.size() == 2;\n map.forEach((k, v) -> System.out.printf(\"%10d maps to %s%n\", k, v));\n assert map.remove(117).equals(\"C\");\n assert !map.containsKey(117);\n assert map.get(117) == null;\n assert map.size() == 1;\n assert map.putIfAbsent(17, \"D\").equals(\"B\");\n assert map.get(17).equals(\"B\");\n assert map.size() == 1;\n assert map.containsKey(17);\n assert map.putIfAbsent(217, \"E\") == null;\n assert map.get(217).equals(\"E\");\n assert map.size() == 2;\n assert map.containsKey(217);\n assert map.putIfAbsent(34, \"F\") == null;\n map.forEach((k, v) -> System.out.printf(\"%10d maps to %s%n\", k, v));\n map.reallocateBuckets();\n assert map.size() == 3;\n assert map.get(17).equals(\"B\") && map.containsKey(17);\n assert map.get(217).equals(\"E\") && map.containsKey(217);\n assert map.get(34).equals(\"F\") && map.containsKey(34);\n map.forEach((k, v) -> System.out.printf(\"%10d maps to %s%n\", k, v)); \n map.reallocateBuckets();\n assert map.size() == 3;\n assert map.get(17).equals(\"B\") && map.containsKey(17);\n assert map.get(217).equals(\"E\") && map.containsKey(217);\n assert map.get(34).equals(\"F\") && map.containsKey(34);\n map.forEach((k, v) -> System.out.printf(\"%10d maps to %s%n\", k, v)); \n }", "public static Map<Integer, Double> InitializeMark() {\n\t\tMap<Integer, Double> mark = new HashMap<Integer, Double>();\r\n\t\tfinal Double giantConstant = 1.0E+45;\r\n\t\tfor (Entry<Integer, Vertex> currentVertex : vertexes.entrySet())\r\n\t\t\tmark.put(currentVertex.getKey(), giantConstant);\r\n\t\treturn mark;\r\n\t}", "@Override\n public boolean isEmpty() {\n return map.isEmpty();\n }", "public HAMap(int initialCapacity, double loadFactor) {\n buckets = new ArrayList<>();\n for (int i = 0; i < initialCapacity; i++) {\n buckets.add(new ArrayList<>());\n }\n keySet = new HashSet<>();\n numBuckets = initialCapacity;\n numEntries = 0;\n this.loadFactor = loadFactor;\n }", "protected abstract SortedMap<String, SampleDescriptor> computeSamples(File sampleDir) throws IOException;", "public DesignHashmap() {\n\t\ttable = new boolean[buckets][];\n\t}", "private void growMap() {\n\t\tshort chunkId;\n\n\t\t// Fill until full\n\t\twhile (end % STORED_CHUNKS != currChunk % STORED_CHUNKS || end == 0) {\n\t\t\tchunkId = (short) random.nextInt(chunks.length);\n\t\t\tmap[end % STORED_CHUNKS] = chunkId;\n\t\t\tchunks[chunkId].setupToStage(stage, end * MapChunk.WIDTH * tileSize, 0);\n\t\t\tend++;\n\t\t}\n\t}", "public void clear() \n { \n int count = 0;\n while (!isEmpty())\n {\n dictionary[count] = null;\n count++;\n numberOfEntries--;\n }\n }", "public void clearAll() {\n rangeMap.clear();\n }", "public void resetMap() {\r\n\t\tfor(Block b: this.blockMap) {\r\n\t\t\tb.resetLives();\r\n\t\t}\r\n\t}", "@Test\n public void shouldReturnEmptyTriggerEntriesWhenResultMapIsNotContainsTriggerKeyWithIndex()\n throws Exception {\n\n shouldReturnEmptyTriggerEntries(new UnitTestGiven() {\n @Override\n public void given() throws P4JavaException {\n when(resultMap.get(anyString())).thenReturn(EMPTY);\n when(resultMap2.get(anyString())).thenReturn(EMPTY);\n }\n });\n }", "public void clear() {\r\n this.map.clear();\r\n }", "public HitCounter() {\n map = new TreeMap<>();\n }", "public ArrayMap(int initialCapacity) {\n this.initialCapacity = initialCapacity;\n clear();\n }", "public CountingMap() {\n this( new HashMap<K, Integer>() );\n }", "public void createProbsMap() {\n\t\tif(this.counts == null) {\n\t\t\tcreateCountMap();\n\t\t}\n\t\t\n\t\tMap<String, Double> result = new HashMap<String, Double>();\n\t\t\n\t\t// Make the counts and get the highest probability found \n\t\tdouble highestProb = 0.00;\n\t\tdouble size = (double) this.getData().size();\n\t\tfor(Entry<String, Integer> entry : counts.entrySet()) {\n\t\t\tdouble value = (double) entry.getValue();\n\t\t\tresult.put(entry.getKey(), value / size);\n\t\t\t\n\t\t\tif(value/size > highestProb) {\n\t\t\t\thighestProb = value/size;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// Fill the highest probilities \n\t\tList<String> highestProbs = new ArrayList<String>();\n\t\tfor(Entry<String, Integer> entry : counts.entrySet()) {\n\t\t\tdouble value = (double) entry.getValue();\n\t\t\t\n\t\t\tif(value/size == highestProb) {\n\t\t\t\thighestProbs.add(entry.getKey());\n\t\t\t}\n\t\t}\n\t\t\n\t\tthis.highestProbs = highestProbs;\n\t\tthis.highestProb = highestProb;\n\t\tthis.probs \t\t = result;\n\t}", "public static void clear() {\r\n\t\tdata.set(Collections.<String, String> emptyMap());\r\n\t}", "private void generateMaps() {\r\n\t\tthis.tablesLocksMap = new LinkedHashMap<>();\r\n\t\tthis.blocksLocksMap = new LinkedHashMap<>();\r\n\t\tthis.rowsLocksMap = new LinkedHashMap<>();\r\n\t\tthis.waitMap = new LinkedHashMap<>();\r\n\t}", "@Test\n public void emptyCkpointTest() throws Exception {\n final int tableSize = 0;\n\n CorfuRuntime rt = getNewRuntime();\n PersistentCorfuTable<String, Long> tableA = openTable(rt, streamNameA);\n PersistentCorfuTable<String, Long> tableB = openTable(rt, streamNameB);\n\n scheduleConcurrently(1, ignored_task_num -> {\n mapCkpoint(rt, tableA, tableB);\n });\n\n // thread 2: repeat ITERATIONS_LOW times starting a fresh runtime, and instantiating the maps.\n // they should be empty.\n scheduleConcurrently(PARAMETERS.NUM_ITERATIONS_LOW, ignored_task_num -> {\n validateMapRebuild(tableSize, true, false);\n });\n\n executeScheduled(PARAMETERS.CONCURRENCY_SOME, PARAMETERS.TIMEOUT_LONG);\n\n // Finally, after the two threads finish, again we start a fresh runtime and instantiate the maps.\n // Then verify they are empty.\n validateMapRebuild(tableSize, true, false);\n\n rt.shutdown();\n }", "private void createTestData() {\n for (int i = startKey; i < startKey + numKeys; i++) {\n keys.add(i);\n }\n }", "@Override\n public synchronized void clear() {\n this.keyMap.clear();\n super.clear();\n }", "@Override\n\t\t\tpublic Map<String, Integer> createDistribution(\n\t\t\t\t\tMap<DbLocation, Object> generatedValues) {\n\t\t\t\treturn null;\n\t\t\t}", "@Override\n\t\t\tpublic Map<String, Integer> createDistribution(\n\t\t\t\t\tMap<DbLocation, Object> generatedValues) {\n\t\t\t\treturn null;\n\t\t\t}", "public void clear() {\r\n\t\tentryMap.clear();\r\n\t}", "public _No_706_DesignHashMap() {\n// Arrays.fill(arr, -1);\n }", "public void clearMap() {\n\t\tfor (int i = 0; i < parkingsArray.size(); i++)\n\t\t\tparkingsArray.valueAt(i).removeMarker();\n\t\tparkingsArray.clear();\n\t\tmap.clear();\n\t}", "public void init(){\n\t\tcontentInBank = new TreeMap<>();\n\t\tint bank=0;\n\t\tfor (int i = 0; i < MEMORY_ADDRESS_LIMIT; i++) {\n\t\t\tbank = i % numOfbank;\n\t\t\t\n\t\t\tif (contentInBank.get(bank) == null) {\n\t\t\t\tMap<Integer,Entry>con = new TreeMap<>();\n\t\t\t\tcon.put(i, new Entry(MemoryType.UNDEF,\"0\", i));\n\t\t\t\tcontentInBank.put(bank, con);\n\t\t\t} else {\n\t\t\t\tcontentInBank.get(bank).put(i, new Entry(MemoryType.UNDEF,\"0\", i));\t\n\t\t\t}\n\t\t}\n\t}", "@Test\n\tpublic void testHashMap() {\n\n\t\t/*\n\t\t * Creates an empty HashMap object with default initial capacity 16 and default\n\t\t * fill ratio \"0.75\".\n\t\t */\n\t\tHashMap hm = new HashMap();\n\t\thm.put(\"evyaan\", 700);\n\t\thm.put(\"varun\", 100);\n\t\thm.put(\"dolly\", 300);\n\t\thm.put(\"vaishu\", 400);\n\t\thm.put(\"vaishu\", 300);\n\t\thm.put(null, 500);\n\t\thm.put(null, 600);\n\t\t// System.out.println(hm);\n\n\t\tCollection values = hm.values();\n//\t\tSystem.out.println(values);\n\n\t\tSet entrySet = hm.entrySet();\n\t\t// System.out.println(entrySet);\n\n\t\tIterator iterator = entrySet.iterator();\n\t\twhile (iterator.hasNext()) {\n\t\t\tMap.Entry entry = (Map.Entry) iterator.next();\n\t\t\t// System.out.println(entry.getKey()+\":\"+entry.getValue());\n\t\t}\n\n\t}", "private static void findBigramCountsTuring() {\n\n\t\tbigramCountTI= new HashMap<Integer,Double>();\n\t\tdouble value;\n\t\tfor(int i:bucketCountT.keySet()){\n\t\t\tif(i==0)\n\t\t\t\tcontinue;\n\t\t\tvalue= ((i+1)*bucketCountT.getOrDefault(i+1, 0.0))/bucketCountT.get(i);\n\t\t\tbigramCountTI.put(i,value);\n\t\t}\n\t}", "public BSTMap() {\n clear();\n }", "public void sinkCounterMap(){\n for(int i=1; i<(sinkCounter+1); i++){\n sinkCounterMap.put(i,1); //sink is included in basin count;\n \n }\n }", "public void clear() {\n\t\tsample.clear();\n\t\tcount.set(0);\n\t\t_max.set(Long.MIN_VALUE);\n\t\t_min.set(Long.MAX_VALUE);\n\t\t_sum.set(0);\n\t\tvarianceM.set(-1);\n\t\tvarianceS.set(0);\n\t}", "@SuppressWarnings(\"unchecked\")\r\n\tpublic HashMap() {\r\n\t\tdata = (Node<MapEntry<K, V>>[])new Node[INITIAL_SIZE];\r\n\t\tfor(int i = 0; i < data.length; i++)\t\t\t\t\t\t\t//For every element in data...\r\n\t\t\tdata[i] = new Node<MapEntry<K,V>>(new MapEntry<K,V>(null));\t//Add a head node to it.\r\n\t\t\r\n\t\t//TODO: May have to just default as null and in the put method, if the slot is null, then put a head node in it. The post-ceding code after that is logically correct!\r\n\t\r\n\t\tsize = 0;\t//Redundant but helpful to see that the size is 0\r\n\t}", "public IntObjectHashMap() {\n resetToDefault();\n }", "OCRSet(int initialCapacity, float loadFactor, boolean dummy) {\r\n this.map = new LinkedHashMap<Integer, E>(initialCapacity, loadFactor);\r\n }", "public void clear() {\r\n // synchronization is not a problem here\r\n // if this code were to be called while someone was getting or setting data\r\n // in the buckets, it would still work\r\n // in the case of someone setting a value in the buckets, then this coming along\r\n // and resetting the buckets-entry to null is fine, because the client still has the data reference\r\n // in the case of someone getting a value from the buckets while this is being reset\r\n // is fine as well because, if they get the data before it's set, they got it\r\n // if they as for it after it gets set to null, that's fine as well it's null and\r\n // that's a normal expected condition\r\n for (int i = 0, tot = buckets.length; i < tot; i++) {\r\n buckets[i] = new AtomicReference<CacheData<K, V>>(null);\r\n }\r\n }", "public void prepareForSnapshot() {\n if (readMap != null)\n return;\n\n readMap = new TreeMap<>();\n\n for (Map.Entry<GroupPartitionId, PagesAllocationRange> entry : writeMap.entrySet()) {\n if (!skippedParts.contains(entry.getKey()))\n readMap.put(entry.getKey(), entry.getValue());\n }\n\n skippedParts.clear();\n writeMap.clear();\n }", "public MapAssertion<K, V> containsNoKey(final Iterable<K> expected) {\n checkActualIsNotNull();\n checkArgumentIsNotNull(expected, \"expected\");\n List<K> expectedList = convertValue(expected, null, List.class);\n checkArgumentIsNotEmpty(expectedList.isEmpty(), \"expected\", true);\n toKeys().containsNone(expectedList);\n return this;\n }", "public void rehash() {\n\t\tArrayList<Node<MapPair<K, V>>> temp=buckets;\n\t\tbuckets=new ArrayList<>();\n\t\tfor(int i=0;i<2*temp.size();i++)\n\t\t{\n\t\t\tbuckets.add(null);\n\t\t}\n\t\tfor(Node<MapPair<K, V>> node:temp)\n\t\t{\n\t\t\tif(node!=null)\n\t\t\t{\n\t\t\t\twhile(node!=null)\n\t\t\t\t{\n\t\t\t\t\tput(node.data.key,node.data.value);\n\t\t\t\t\tnode=node.next;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}", "public ArrayMap() {\n this(DEFAULT_INITIAL_CAPACITY);\n }", "public HitCounter() {\n map = new HashMap<Integer, Integer>();\n }", "public RandomizedCollection() {\n map = new HashMap<>();\n arr = new ArrayList<>();\n }", "private static <N extends Node> SortedMap<ImmutableContextSet, SortedSet<N>> createMap() {\n return new ConcurrentSkipListMap<>(ContextSetComparator.reverse());\n }" ]
[ "0.61650395", "0.5983629", "0.59113073", "0.5908092", "0.59076625", "0.58975035", "0.5808725", "0.5798646", "0.5784525", "0.5720061", "0.5718127", "0.5714617", "0.56926346", "0.5691359", "0.5627822", "0.5624522", "0.56241447", "0.56231326", "0.56217384", "0.5621071", "0.5618919", "0.56096625", "0.5595972", "0.5586012", "0.5584853", "0.5584765", "0.5575569", "0.55485886", "0.551373", "0.54845625", "0.54550064", "0.54528385", "0.5419001", "0.54134613", "0.54115975", "0.5405495", "0.5389838", "0.53880155", "0.53593016", "0.5352649", "0.5346808", "0.53453946", "0.5340453", "0.53363603", "0.53298384", "0.53281856", "0.5320869", "0.52922523", "0.52893996", "0.5287908", "0.5282968", "0.52797276", "0.5276157", "0.5273181", "0.5254633", "0.5254275", "0.5232602", "0.5206859", "0.5206321", "0.52018696", "0.5200785", "0.5199114", "0.5197542", "0.5195203", "0.51899165", "0.51898974", "0.5185957", "0.5163247", "0.51597327", "0.5147114", "0.51420027", "0.5137367", "0.51341957", "0.5131117", "0.51289505", "0.51194257", "0.51136774", "0.5102598", "0.5090671", "0.5090671", "0.5077197", "0.50766975", "0.5076613", "0.5076414", "0.5069616", "0.5068562", "0.5067205", "0.50597686", "0.5058811", "0.50524855", "0.5042542", "0.504042", "0.50400275", "0.50374234", "0.50333166", "0.5031825", "0.5014316", "0.5009659", "0.5007478", "0.5003402" ]
0.7115584
0
Merge both result sets and returns an immutable copy
public static ImmutableMap<Long, Sample> mergeResults(final Map<Long, Sample> generated, final Map<Long, Sample> data) { final Map<Long, Sample> all = new HashMap<>(); all.putAll(generated); all.putAll(data); return ImmutableMap.copyOf(all); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static <T> Set<T> union(Collection<T> c1, Collection<T> c2) {\n return Stream.concat(c1.stream(), c2.stream()).collect(Collectors.toUnmodifiableSet());\n }", "public ZYSet<ElementType> union(ZYSet<ElementType> otherSet){\n ZYSet<ElementType> result = new ZYArraySet<ElementType>();\n for(ElementType e :this){\n result.add(e);\n }\n for(ElementType e :otherSet){\n result.add(e);\n }\n \n return result;\n }", "void merge();", "protected <Ty> HashSet<Ty> union(HashSet<Ty> setA, HashSet<Ty> setB) {\n HashSet<Ty> retSet = new HashSet<>();\n retSet.addAll(setA);\n retSet.addAll(setB);\n return retSet;\n }", "private Map mergeResults(Map first, Map second) {\n/* 216 */ Iterator verb_enum = second.keySet().iterator();\n/* 217 */ Map clonedHash = new HashMap(first);\n/* */ \n/* */ \n/* 220 */ while (verb_enum.hasNext()) {\n/* 221 */ String verb = verb_enum.next();\n/* 222 */ List cmdVector = (List)clonedHash.get(verb);\n/* 223 */ if (cmdVector == null) {\n/* 224 */ clonedHash.put(verb, second.get(verb));\n/* */ continue;\n/* */ } \n/* 227 */ List oldV = (List)second.get(verb);\n/* 228 */ cmdVector = new ArrayList(cmdVector);\n/* 229 */ cmdVector.addAll(oldV);\n/* 230 */ clonedHash.put(verb, cmdVector);\n/* */ } \n/* */ \n/* 233 */ return clonedHash;\n/* */ }", "public Results copy()\n {\n Results copy = new Results();\n for(Object object : results) {\n copy.add( object );\n }\n return copy;\n }", "public EvaluationResult<T> mergeEvaluations(Collection<EvaluationResult<T>> results);", "@Override\n public SetInterface<T> union(SetInterface<T> rhs) {\n //create return SetInterface\n SetInterface<T> result = new LinkedSet();\n //add the items from the calling set to the result set\n Node n = first;\n while(n != null){\n result.addItem(n.value);\n n = n.next;\n }\n \n //convert rhs to an array so we know what we're dealing with\n T[] rhsArr = rhs.toArray();\n //add the items from rhsArr to result\n for(int i = 0; i < rhsArr.length; i++){\n result.addItem(rhsArr[i]);\n }\n \n return result;\n }", "@Override\n public SetInterface<T> union(SetInterface<T> rhs) {\n //Declare return SetInterface\n SetInterface<T> answer = new ArraySet();\n //Add the items from the calling ArraySet to the return Set\n for (int i = 0; i < this.numItems; i++){\n answer.addItem(arr[i]);\n }\n //Convert the other set to an array in case it isnt and to \n //ease iteration\n T[] other = rhs.toArray();\n //Add the items from RHS to return Set\n for (int j = 0; j < rhs.getSize(); j++){\n answer.addItem(other[j]);\n }\n //Return the answer\n return answer; \n }", "@Override\n public IntSet union(IntSet other) {\n return other;\n }", "public SetSet setUnion(SetSet second){\n\t\tSetSet result = new SetSet(contents);\n\t\tfor(int i=0;i<second.size();i++){\n\t\t\tresult.add(second.get(i));\n\t\t}\n\t\treturn result;\n\t}", "public void mergeResults(DefaultResults other) {\n for (int i=0; i<other.iterations; i++) {\n addCycle(\n (Long)other.maximalCc.get(i),\n (Long)other.totalCc.get(i),\n (Long)other.maximalBytes.get(i),\n (Long)other.totalBytes.get(i),\n (Long)other.maximalMemory.get(i)\n );\n }\n }", "default Stream<T> union(Stream<T> other) {\n return union(Arrays.asList(other));\n }", "public static <T> Set<T> union(Set<? extends T> s1, Set<? extends T> s2) {\n Set<T> result = new HashSet<>(s1);\n result.addAll(s2);\n return result;\n }", "public Set union(Set join){\n Set newSet = new Set();\n for(int element = 0; element < join.size(); element++){\n if (!elementOf(join.getSet()[element]))\n newSet.add(join.getSet()[element]);\n }\n for(int element = 0; element < set.length; element++){\n newSet.add(set[element]);\n }\n return newSet;\n }", "@Override\n public SetI union(SetI other) {\n Set o;\n\n if (!(other instanceof Set)) {\n // Different Set impl. Convertion needed.\n // Will impact performance.\n o = Set.fromAnotherImpl(other);\n }\n else {\n o = (Set) other;\n }\n\n int[] newArr = new int[count + o.count];\n int i = 0, j = 0, k = 0;\n\n // Merge sorted arrays.\n while (i < count && j < o.count) {\n // Skip duplicated elements.\n if (contains(o.arr[j])) {\n ++j;\n }\n else if (arr[i] < o.arr[j]) {\n newArr[k++] = arr[i++];\n }\n else {\n newArr[k++] = o.arr[j++];\n }\n }\n\n while (i < count) {\n newArr[k++] = arr[i++];\n }\n\n while (j < o.count) {\n // Skip duplicated elements.\n if (!contains(o.arr[j])) {\n newArr[k++] = o.arr[j];\n }\n ++j;\n }\n\n return new Set(newArr, k);\n }", "public Set Union(Set secondSet) {\n\t\t\n\t\tArrayList<String> firstArray = noDuplicates(stringArray);\n\t\t// Taking out duplications out of our sets by calling the noDuplicates private function\n\t\tArrayList<String> secondArray = noDuplicates(secondSet.returnArray());\n\t\t\n\t\tArrayList<String> unionOfBoth = new ArrayList<String>();\n\t\t// New ArrayList to hold the final values\n\t\t\n\t\tfor (int i=0; i < 10; i++) {\n\t\t\tif (firstArray.size() > i) {\n\t\t\t\tif (unionOfBoth.contains(firstArray.get(i)) == false && firstArray.get(i).equals(\"emptyElement\") == false) {\n\t\t\t\t\tunionOfBoth.add(firstArray.get(i));\n\t\t\t\t\t// If our final ArrayList does not already contain the element, and the item is not an empty string\n\t\t\t\t\t// (Does not contain the phrase \"emptyElement\"), then add it to our final ArrayList\n\t\t\t\t}\n\t\t\t\telse if (unionOfBoth.contains(firstArray.get(i)) == false && firstArray.get(i).equals(\"emptyElement\")) {\n\t\t\t\t\tunionOfBoth.add(\"\");\n\t\t\t\t\t// If our final ArrayList does not already contain the element, but the item is an empty string\n\t\t\t\t\t// (Does contain the phrase \"emptyElement\"), then add an empty string to our final ArrayList\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tif (secondArray.size() > i) {\n\t\t\t\tif (unionOfBoth.contains(secondArray.get(i)) == false && secondArray.get(i).equals(\"emptyElement\") == false) {\n\t\t\t\t\tunionOfBoth.add(secondArray.get(i));\n\t\t\t\t\t// If our final ArrayList does not already contain the element, and the item is not an empty string\n\t\t\t\t\t// (Does not contain the phrase \"emptyElement\"), then add it to our final ArrayList\n\t\t\t\t}\n\t\t\t\telse if (unionOfBoth.contains(secondArray.get(i)) == false && secondArray.get(i).equals(\"emptyElement\")) {\n\t\t\t\t\tunionOfBoth.add(\"\");\n\t\t\t\t\t// If our final ArrayList does not already contain the element, but the item is an empty string\n\t\t\t\t\t// (Does contain the phrase \"emptyElement\"), then add an empty string to our final ArrayList\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tSet unionReturn = new Set(unionOfBoth); // Initiate a Set object from out final ArrayList\n\t\t\n\t\treturn unionReturn; // Return the final Set Object\n\t}", "private List<T> mergeResults( final Rows<R, C> result, final int maxSize ) {\n\n if (logger.isTraceEnabled()) logger.trace( \"Multiple rows have columns. Merging\" );\n\n\n final List<T> mergedResults = new ArrayList<>(maxSize);\n\n\n\n\n for ( final R key : result.getKeys() ) {\n final ColumnList<C> columns = result.getRow( key ).getColumns();\n\n\n for (final Column<C> column :columns ) {\n\n final T returnedValue = columnParser.parseColumn( column );\n\n //Use an O(log n) search, same as a tree, but with fast access to indexes for later operations\n int searchIndex = Collections.binarySearch( mergedResults, returnedValue, comparator );\n\n /**\n * DO NOT remove this section of code. If you're seeing inconsistent results during shard transition,\n * you'll\n * need to enable this\n */\n //\n // if ( previous != null && comparator.compare( previous, returnedValue ) == 0 ) {\n // throw new RuntimeException( String.format(\n // \"Cassandra returned 2 unique columns,\n // but your comparator marked them as equal. This \" +\n // \"indicates a bug in your comparator. Previous value was %s and\n // current value is \" +\n // \"%s\",\n // previous, returnedValue ) );\n // }\n //\n // previous = returnedValue;\n\n //we've already seen it, no-op\n if(searchIndex > -1){\n continue;\n }\n\n final int insertIndex = (searchIndex+1)*-1;\n\n //it's at the end of the list, don't bother inserting just to remove it\n if(insertIndex >= maxSize){\n continue;\n }\n\n if (logger.isTraceEnabled()) logger.trace( \"Adding value {} to merged set at index {}\", returnedValue, insertIndex );\n\n mergedResults.add( insertIndex, returnedValue );\n\n\n //prune the mergedResults\n while ( mergedResults.size() > maxSize ) {\n\n if (logger.isTraceEnabled()) logger.trace( \"Trimming results to size {}\", maxSize );\n\n //just remove from our tail until the size falls to the correct value\n mergedResults.remove(mergedResults.size()-1);\n }\n }\n\n if (logger.isTraceEnabled()) logger.trace( \"Candidate result set size is {}\", mergedResults.size() );\n\n }\n return mergedResults;\n }", "public static Set unionRaw(Set s1, Set s2) {\n\t\t// Warning : HashSet is a raw type. References to generic type HashSet<E> should\n\t\t// be parameterized\n\t\tSet result = new HashSet(s1);\n\t\t// Warning : Type safety: The method addAll(Collection) belongs to the raw type\n\t\t// Set. References to generic type Set<E> should be parameterized\n\t\tresult.addAll(s2);\n\t\treturn result;\n\t}", "public Item merge(Item other);", "public static DataSet mergeDatasets(DataSet first, DataSet second, List<String> forbiddenAttributes) throws Exception {\n Logger logger = LoggerFactory.getLogger(GSHelper.class);\n Graph mergedGraph = createGraphFromDataSet(first);\n logger.debug(\"creating merged internal graph...\");\n for (CoriaEdge edge : second.getEdges()) {\n try {\n logger.trace(\"Edge: \" + edge);\n /*\n * Since we're using the same edge naming schema here as everywhere else in coria (start_node->destination_node)\n * we cen create a combined graph containing edges from both graphs. This works because GraphStream\n * will only add edges which don't exists already.\n */\n Edge e = mergedGraph.addEdge(edge.getSourceNode() + \"->\" + edge.getDestinationNode(), edge.getSourceNode(), edge.getDestinationNode());\n } catch (Exception ex) {\n logger.error(\"failed creating edge for CoriaEdge {}\", edge);\n logger.error(ex.getMessage());\n return null;\n }\n }\n logger.debug(\"graph successfully created, building merged dataset...\");\n DataSet merged = new DataSet();\n\n logger.debug(\"merging nodes...\");\n\n for(Node node : mergedGraph.getEachNode()){\n CoriaNode cn = new CoriaNode();\n Optional<CoriaNode> optFirstNode = first.getNodes().stream().filter(coriaNode -> coriaNode.getAsid().equals(node.getId())).findFirst();\n CoriaNode fromFirst = null;\n if(optFirstNode.isPresent()){\n fromFirst = optFirstNode.get();\n }\n CoriaNode fromSecond = null;\n Optional<CoriaNode> optSecondNode = second.getNodes().stream().filter(coriaNode -> coriaNode.getAsid().equals(node.getId())).findFirst();\n if(optSecondNode.isPresent()){\n fromSecond = optSecondNode.get();\n }\n\n if(fromFirst != null && fromSecond == null){\n //1. Node is only in first -> take all information from first\n cn.setName(fromFirst.getName());\n cn.setAsid(fromFirst.getAsid());\n// cn.setRiscScore(fromFirst.getRiscScore()); //this value is not valid after merging\n cn.setAttributes(filterAttributes(fromFirst.getAttributes(), forbiddenAttributes));\n }else if(fromSecond != null && fromFirst == null){\n //2. Node is only in second -> take all information from second\n cn.setName(fromSecond.getName());\n cn.setAsid(fromSecond.getAsid());\n// cn.setRiscScore(fromSecond.getRiscScore()); //this value is not valid after merging\n cn.setAttributes(filterAttributes(fromSecond.getAttributes(), forbiddenAttributes));\n }else if(fromFirst != null && fromSecond != null){\n //3. Node is found in both DataSets -> try merging\n cn.setAsid(fromFirst.getAsid()); //this one is the same on both sets\n\n if(fromFirst.getName().equals(fromFirst.getAsid())){\n //first dataset has no name for as -> check the second\n if(fromSecond.getName().equals(fromSecond.getAsid())){\n //the second has also no name for as -> use asid as name\n cn.setName(fromFirst.getAsid());\n }else{\n //the second has a separate name for as -> use this\n cn.setName(fromSecond.getName());\n }\n }else{\n //first has name for as -> use it\n cn.setName(fromFirst.getName());\n }\n\n cn.setAttributes(\n syncAttributes(\n filterAttributes(fromFirst.getAttributes(), forbiddenAttributes),\n filterAttributes(fromSecond.getAttributes(), forbiddenAttributes)));\n\n }else{\n //something is wrong here!\n logger.warn(\"ooops ¯\\\\_(ツ)_/¯\");\n }\n merged.getNodes().add(cn);\n }\n\n logger.debug(\"merging edges...\");\n\n for(Edge edge : mergedGraph.getEachEdge()){\n CoriaEdge ce = new CoriaEdge();\n try {\n CoriaEdge fromFirst = first.getEdges().stream().filter(coriaEdge -> coriaEdge.getName().equals(edge.getId())).findFirst().get();\n CoriaEdge fromSecond = second.getEdges().stream().filter(coriaEdge -> coriaEdge.getName().equals(edge.getId())).findFirst().get();\n\n if(fromFirst != null && fromSecond == null){\n //1. Edge is only in first -> take all information from first\n ce.setName(fromFirst.getName());\n ce.setAttributes(filterAttributes(fromFirst.getAttributes(), forbiddenAttributes));\n }else if(fromSecond != null && fromFirst == null){\n //2. Edge is only in first -> take all information from first\n ce.setName(fromSecond.getName());\n ce.setAttributes(filterAttributes(fromSecond.getAttributes(), forbiddenAttributes));\n }else if(fromFirst != null && fromSecond != null){\n //3. Edge is found in both DataSets -> try merging\n ce.setName(fromSecond.getName());\n\n ce.setAttributes(\n syncAttributes(\n filterAttributes(fromFirst.getAttributes(), forbiddenAttributes),\n filterAttributes(fromSecond.getAttributes(), forbiddenAttributes)));\n }else{\n //something is wrong here!\n }\n }catch(Exception ex){\n String origMessage = ex.getMessage();\n ex = new Exception(\"Error while merging edge \" + edge.getId() + \" because \" + origMessage);\n logger.error(ex.getMessage());\n throw ex;\n }\n merged.getEdges().add(ce);\n }\n logger.debug(\"finished merging\");\n\n return merged;\n }", "public T union( T obj1, T obj2 )\n {\n // Find the root of each object; if either is not contained, the root\n // value will be null, and we throw an exception.\n Node root1 = getRoot(nodes.get(obj1));\n Node root2 = getRoot(nodes.get(obj2));\n if ( root1 == null && root2 == null )\n throw new NoSuchElementException( \"Sets do not contain either object: \" + obj1 + \", \" + obj2 );\n if ( root1 == null )\n throw new NoSuchElementException( \"Sets do not contain object: \" + obj1 );\n if ( root2 == null )\n throw new NoSuchElementException( \"Sets do not contain object: \" + obj2 );\n // If already were in same set, just return data from the root of that\n // set.\n if ( root1 == root2 )\n return root1.data;\n // If not already, then doing union reduces overall number of sets.\n numSets-- ;\n // We use root2 as the new parent if either (a) the trees containing\n // both inputs have same rank and a \"coin toss\" settles on this case,\n // or (b) the tree containing obj1 has lower rank.\n if ( ( root1.rank == root2.rank && Math.random() < 0.5 ) || root1.rank < root2.rank )\n {\n // When we link root1 to root2, size of set under root2 inreases.\n root1.parent = root2;\n root2.size += root1.size;\n \n // When we union two sets of same rank, new root gets higher rank.\n if ( root1.rank == root2.rank )\n root2.rank++ ;\n \n return root2.data;\n }\n else\n // We use root1 as the new parent if either (a) the trees containing\n // both inputs have same rank and a \"coin toss\" settles on this\n // case, or (b) the tree containing obj2 has lower rank.\n {\n // When we link root1 to root2, size of set under root2 inreases.\n root2.parent = root1;\n root1.size += root2.size;\n \n // When we union two sets of same rank, new root gets higher rank.\n if ( root1.rank == root2.rank )\n root1.rank++ ;\n \n return root1.data;\n }\n }", "@Test\n public void testMerge() {\n \t//create data set\n final LastWriteWinSet<String> lastWriteWinSet1 = new LastWriteWinSet<>();\n lastWriteWinSet1.add(time3, \"php\");\n lastWriteWinSet1.add(time1, \"java\");\n lastWriteWinSet1.add(time1, \"scala\");\n lastWriteWinSet1.delete(time2, \"scala\");\n\n final LastWriteWinSet<String> lastWriteWinSet2 = new LastWriteWinSet<>();\n lastWriteWinSet2.add(time1, \"php\");\n lastWriteWinSet2.add(time1, \"python\");\n lastWriteWinSet2.add(time1, \"scala\");\n lastWriteWinSet2.delete(time2, \"php\");\n\n // run test\n final LastWriteWinSet<String> resultSet = lastWriteWinSet1.merge(lastWriteWinSet2);\n\n assertTrue(resultSet.getData().size() == 3);\n assertTrue(resultSet.getData().contains(\"php\"));\n assertTrue(resultSet.getData().contains(\"python\"));\n assertTrue(resultSet.getData().contains(\"java\"));\n \n \n final GrowOnlySet<LastWriteWinSet.ItemTD<String>> resultAddSet = resultSet.getAddSet();\n final Set<LastWriteWinSet.ItemTD<String>> addedData = resultAddSet.getData();\n assertTrue(addedData.size() == 5);\n assertTrue(addedData.contains(new LastWriteWinSet.ItemTD<>(1, \"php\")));\n assertTrue(addedData.contains(new LastWriteWinSet.ItemTD<>(3, \"php\")));\n assertTrue(addedData.contains(new LastWriteWinSet.ItemTD<>(1, \"java\")));\n assertTrue(addedData.contains(new LastWriteWinSet.ItemTD<>(1, \"python\")));\n assertTrue(addedData.contains(new LastWriteWinSet.ItemTD<>(1, \"scala\")));\n\n final GrowOnlySet<LastWriteWinSet.ItemTD<String>> resultDeleteSet = resultSet.getDeleteSet();\n final Set<LastWriteWinSet.ItemTD<String>> deletedData = resultDeleteSet.getData();\n assertTrue(deletedData.size() == 2);\n assertTrue(deletedData.contains(new LastWriteWinSet.ItemTD<>(2, \"scala\")));\n assertTrue(deletedData.contains(new LastWriteWinSet.ItemTD<>(2, \"php\")));\n }", "public static FlavorSet union(FlavorSet a, FlavorSet b) {\n if (a.isEmpty()) {\n return b;\n } else if (b.isEmpty()) {\n return a;\n } else {\n return new FlavorSet(\n Stream.concat(a.flavors.stream(), b.flavors.stream())\n .collect(ImmutableSortedSet.toImmutableSortedSet(FLAVOR_ORDERING)));\n }\n }", "@SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n\tprivate static List<Object> mergeResult(List<Object> list1, List<Object> list2) {\n\t\tList<Object> result = new ArrayList<Object>();\n\t\tfor (int i = 0; i < list1.size(); i++) {\n\t\t\tfor (int j = 0; j < list2.size(); j++) {\n\t\t\t\tif (Integer.parseInt(((Map) list1.get(i)).get(MongoDBConstants.DOCUMENT_ID).toString()) == Integer\n\t\t\t\t\t\t.parseInt(((Map) list2.get(j)).get(MongoDBConstants.DOCUMENT_ID).toString())) {\n\t\t\t\t\tMap data = new HashMap();\n\t\t\t\t\tint hour = (Integer.parseInt(((Map) list1.get(i)).get(MongoDBConstants.DOCUMENT_ID).toString()) + 8) % 24;\n\t\t\t\t\tdata.put(MongoDBConstants.DOCUMENT_ID, hour + \"\");\n\t\t\t\t\tdata.put(\"value\", Integer.parseInt(((Map) list1.get(i)).get(\"value\").toString())\n\t\t\t\t\t\t\t+ Integer.parseInt(((Map) list2.get(j)).get(\"value\").toString()));\n\t\t\t\t\tresult.add(data);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "@Test\n void integerCombine() {\n PartialResultSet a =\n PartialResultSet.newBuilder()\n .addValues(\n Value.newBuilder()\n .setListValue(\n ListValue.newBuilder()\n .addValues(Value.newBuilder().setNumberValue(2))\n .addValues(Value.newBuilder().setNumberValue(3))))\n .setChunkedValue(true)\n .build();\n PartialResultSet b =\n PartialResultSet.newBuilder()\n .addValues(\n Value.newBuilder()\n .setListValue(\n ListValue.newBuilder().addValues(Value.newBuilder().setNumberValue(4))))\n .setChunkedValue(false)\n .build();\n ResultSet r = PartialResultSetCombiner.combine(Arrays.asList(a, b));\n assertEquals(\n ListValue.newBuilder()\n .addValues(Value.newBuilder().setNumberValue(2))\n .addValues(Value.newBuilder().setNumberValue(3))\n .addValues(Value.newBuilder().setNumberValue(4))\n .build(),\n r.getRows(0).getValues(0).getListValue());\n }", "Node[] merge(List<Node> nodeList1, List<Node> nodeList2, List<Node> exhaustedNodes);", "public default StreamPlus<DATA> mergeWith(Stream<DATA> anotherStream) {\n val streamPlus = streamPlus();\n val iteratorA = streamPlus.iterator();\n val iteratorB = StreamPlus.from(anotherStream).iterator();\n val resultStream = StreamPlusHelper.doMerge(iteratorA, iteratorB);\n resultStream.onClose(() -> {\n funcUnit0(() -> streamPlus.close()).runCarelessly();\n funcUnit0(() -> anotherStream.close()).runCarelessly();\n });\n return resultStream;\n }", "public void unionOf(IntegerSet set1, IntegerSet set2) {\n get = new int[0];\n for (int i : set1.get)\n insertElement(i);\n for (int i : set2.get)\n insertElement(i);\n }", "@Test\n\tpublic void testAddAll() {\n\t Set<Integer> setA = new HashSet<>(Arrays.asList(1, 2, 3, 4, 5));\n\t Set<Integer> setB = new HashSet<>(Arrays.asList(9, 8, 7, 6, 5, 4, 3));\n\t setA.addAll(setB);\n\t Set<Integer> union = new HashSet<>(Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9));\n\t assertEquals(setA, union);\n }", "private int[] mergeTwoSet(int[] firstSet, int[] secondSet){\n int threshold = firstSet.length + 1;\n\n int[] candidate = new int[threshold];\n\n int firstIndex = 0;\n int secondIndex = 0;\n int index = 0;\n\n while ((firstIndex < firstSet.length || secondIndex < secondSet.length) && index < threshold){\n if (firstIndex == firstSet.length){\n // The end of first set is reached\n candidate[index] = secondSet[secondIndex++];\n\n } else if (secondIndex == secondSet.length){\n // The end of second set is reached\n candidate[index] = firstSet[firstIndex++];\n } else {\n // Both sets still have candidates\n if (firstSet[firstIndex] == secondSet[secondIndex]){\n candidate[index] = firstSet[firstIndex++];\n secondIndex++;\n } else if (firstSet[firstIndex] < secondSet[secondIndex]){\n candidate[index] = firstSet[firstIndex++];\n } else{\n candidate[index] = secondSet[secondIndex++];\n }\n }\n index++;\n }\n\n if (firstIndex == firstSet.length && secondIndex == secondSet.length){\n // This is a valid candidate (contains all elements from first / second set)\n return candidate;\n }\n\n return null;\n }", "@Test\r\n public void testUnion1() {\r\n int actual[] = set1.unionOfSets(set2);\r\n Assert.assertArrayEquals(new int[] { 1, 2, 3, 4, 5 }, actual);\r\n }", "@Test\r\n\t\tpublic void testUnion() {\n\t\t\ttestingSet = new IntegerSet(list1);\r\n\t\t\ttestingSet2= new IntegerSet(list2);\r\n\t\t\t// 3rd set =to the union of the two lists \r\n\t\t\ttestingSet3= new IntegerSet(union);\r\n\t\t\t// 4th set equal to the union of sets 1 and 2 \r\n\t\t\ttestingSet4= testingSet.union(testingSet, testingSet2);\r\n\t\t\t// sets 3 and 4 should be equal\r\n\t\t\t// assertEquals method is deprecated \r\n\t\t\tassertArrayEquals(testingSet3.toArray(),testingSet4.toArray());\r\n\t\t\t \r\n\t\t}", "@Test\n void stringListAndSublistCombine() {\n PartialResultSet a =\n PartialResultSet.newBuilder()\n .addValues(\n Value.newBuilder()\n .setListValue(\n ListValue.newBuilder()\n .addValues(Value.newBuilder().setStringValue(\"a\"))\n .addValues(\n Value.newBuilder()\n .setListValue(\n ListValue.newBuilder()\n .addValues(Value.newBuilder().setStringValue(\"b\"))\n .addValues(Value.newBuilder().setStringValue(\"c\"))))))\n .setChunkedValue(true)\n .build();\n PartialResultSet b =\n PartialResultSet.newBuilder()\n .addValues(\n Value.newBuilder()\n .setListValue(\n ListValue.newBuilder()\n .addValues(\n Value.newBuilder()\n .setListValue(\n ListValue.newBuilder()\n .addValues(Value.newBuilder().setStringValue(\"d\"))))\n .addValues(Value.newBuilder().setStringValue(\"e\"))))\n .setChunkedValue(false)\n .build();\n ResultSet r = PartialResultSetCombiner.combine(Arrays.asList(a, b));\n assertEquals(\n ListValue.newBuilder()\n .addValues(Value.newBuilder().setStringValue(\"a\"))\n .addValues(\n Value.newBuilder()\n .setListValue(\n ListValue.newBuilder()\n .addValues(Value.newBuilder().setStringValue(\"b\"))\n .addValues(Value.newBuilder().setStringValue(\"cd\"))))\n .addValues(Value.newBuilder().setStringValue(\"e\"))\n .build(),\n r.getRows(0).getValues(0).getListValue());\n }", "public static <T> Set<T> union(final Set<T> a, final Set<T> b) {\n return new Set<T>() {\n public boolean has(final T n) {\n return a.has(n) || b.has(n);\n }\n };\n }", "@Test\n public void testUnion2IdenticalDataSets() throws Exception {\n final ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();\n\n DataSet<Tuple3<Integer, Long, String>> ds = CollectionDataSets.get3TupleDataSet(env);\n DataSet<Tuple3<Integer, Long, String>> unionDs =\n ds.union(CollectionDataSets.get3TupleDataSet(env));\n\n List<Tuple3<Integer, Long, String>> result = unionDs.collect();\n\n String expected = FULL_TUPLE_3_STRING + FULL_TUPLE_3_STRING;\n\n compareResultAsTuples(result, expected);\n }", "public abstract void merge (org.apache.spark.sql.expressions.MutableAggregationBuffer buffer1, org.apache.spark.sql.Row buffer2) ;", "@Override\n protected DataSet<GraphHead> computeNewGraphHeads() {\n return firstCollection.getGraphHeads()\n .union(secondCollection.getGraphHeads())\n .groupBy(new Id<GraphHead>())\n .reduceGroup(new GroupCountEquals<GraphHead>(2));\n }", "private static Collection<Node> union(Collection<Node> xs, Collection<Node> ys) {\n if (xs == null || xs.size() == 0) {\n return ys;\n }\n if (ys == null || ys.size() == 0) {\n return xs;\n }\n \n List<Node> result = new ArrayList<>(xs);\n for (Node y : ys) {\n if (!result.contains(y)) {\n result.add(y);\n }\n }\n return result;\n }", "@Test\n\t public void test_Union_Set_Same() throws Exception{\n\t\t int[] setarray1= new int[]{1,2,3};\n\t\t int[] setarray2= new int[]{1,2,3};\n\t\t SET set = new SET(setarray1);\n\t\t int returnedArrOperation[] =set.Union(setarray1,setarray2); \n\t\t int []expectedArr = new int[] {1,2,3};\n\t\t Assert.assertArrayEquals( expectedArr, returnedArrOperation );\n\t }", "T merge(T x);", "protected void merge(Object in1, Object in2, Object out) {\n\t\tFlowSet inSet1 = (FlowSet) in1, inSet2 = (FlowSet) in2, outSet = (FlowSet) out;\n\n\t\tinSet1.intersection(inSet2, outSet);\n\t}", "public static GcResult merge(GcResult a, GcResult b) {\n\t\treturn a.compareTo(b) < 0 ? a : b;\n\t}", "public ISet<E> union(ISet<E> otherSet) {\n\t\tif (otherSet == null)\n\t\t\tthrow new IllegalArgumentException(\"The given set is null.\");\n\t\tISet<E> result = this.difference(otherSet);\n\t\tresult.addAll(this.intersection(otherSet));\n\t\tresult.addAll(otherSet.difference(this));\n\t\treturn result;\n\t}", "@Override\n\tprotected void merge(Object in1, Object in2, Object out) {\n\t\t\n\t}", "protected MapDataSet mergeDataSets(List<MapDataSet> dataSets, MergingDataSetDefinition dataSetDefinition, EvaluationContext context) {\n \t\tMapDataSet ret = new MapDataSet(dataSetDefinition, context);\n \n \t\tList<DataSetColumn> columns = new ArrayList<DataSetColumn>();\n \n \t\t// Gather all columns from all contained data sets\n \t\tfor (DataSet dataSet : dataSets) {\n \t\t\tfor (DataSetColumn column : dataSet.getMetaData().getColumns()) {\n \t\t\t\tcolumns.add(column);\n \t\t\t}\n \t\t}\n \n \t\t// Sort the columns according to the merge order\n \t\tif (MergingDataSetDefinition.MergeOrder.NAME.equals(dataSetDefinition.getMergeOrder())) {\n \t\t\tCollections.sort(columns, new Comparator<DataSetColumn>() {\n \t\t\t\t@Override\n \t\t\t\tpublic int compare(DataSetColumn column1, DataSetColumn column2) {\n \t\t\t\t\treturn OpenmrsUtil.compareWithNullAsGreatest(column1.getName(), column2.getName());\n \t\t\t\t}\n \t\t\t});\n \t\t}\n \t\telse if (MergingDataSetDefinition.MergeOrder.LABEL.equals(dataSetDefinition.getMergeOrder())) {\n \t\t\tCollections.sort(columns, new Comparator<DataSetColumn>() {\n \t\t\t\t@Override\n \t\t\t\tpublic int compare(DataSetColumn column1, DataSetColumn column2) {\n \t\t\t\t\treturn OpenmrsUtil.compareWithNullAsGreatest(column1.getLabel(), column2.getLabel());\n \t\t\t\t}\n \t\t\t});\n \t\t}\n \n \t\tret.getMetaData().setColumns(columns);\n \n \t\t// Gather column data values from all contained data sets\n \t\tfor (MapDataSet dataSet : dataSets) {\n \t\t\tfor (DataSetColumn column : dataSet.getMetaData().getColumns()) {\n \t\t\t\tret.addData(column, getDataSetData(dataSet, column));\n \t\t\t}\n \t\t}\n \n \t\treturn ret;\n \t}", "Document mergeValues(List<Document> documents) throws ResourcesMergingException;", "public static Set<Doc> or(Set<Doc> set1, Set<Doc> set2) {\r\n \t\tif(set1 == null)\r\n \t\t\tset1 = new TreeSet<Doc>();\r\n \t\tif(set2 == null)\r\n \t\t\tset2 = new TreeSet<Doc>();\r\n \t\t\r\n \t\tTreeSet<Doc> result = new TreeSet<Doc>(set1);\r\n \t\tresult.addAll(set2);\r\n \t\treturn result;\r\n \t}", "void merge(T other);", "public ArrayList<ArrayList> union(ArrayList<ArrayList> data, ArrayList<ArrayList> data2)\n {\n if(data == null || data2 == null)\n {\n return null;\n }\n ArrayList<Document> docs = data.get(0);\n ArrayList<Double> relevance = data.get(1);\n ArrayList<Integer> occurrence = data.get(2);\n ArrayList<Integer> popularity = data.get(3);\n \n ArrayList<Document> docs2 = data2.get(0);\n ArrayList<Double> relevance2 = data2.get(1);\n ArrayList<Integer> occurrence2 = data2.get(2);\n ArrayList<Integer> popularity2 = data2.get(3);\n \n ArrayList<Document> docs3 = new ArrayList<>();\n ArrayList<Double> relevance3 = new ArrayList<>();\n ArrayList<Integer> occurrence3 = new ArrayList<>();\n ArrayList<Integer> popularity3 = new ArrayList<>();\n \n for(int i = 0; i < docs.size(); i++)\n {\n docs3.add(docs.get(i));\n relevance3.add(relevance.get(i));\n occurrence3.add(occurrence.get(i));\n popularity3.add(popularity.get(i));\n }\n \n for(Document d: docs2)\n {\n if(!docs3.contains(d))\n {\n docs3.add(d);\n int docIndex = docs2.indexOf(d);\n relevance3.add(relevance2.get(docIndex));\n occurrence3.add(occurrence2.get(docIndex));\n popularity3.add(d.popularity);\n }\n else\n {\n int docIndex = docs3.indexOf(d);\n int docIndex2 = docs2.indexOf(d);\n double oldRel = (double) relevance3.get(docIndex);\n int oldOcc = (int) occurrence3.get(docIndex);\n relevance3.set(docIndex, oldRel+relevance2.get(docIndex2));\n if(oldOcc > occurrence2.get(docIndex2))\n {\n occurrence3.set(docIndex, occurrence2.get(docIndex2));\n }\n } \n }\n ArrayList<ArrayList> data3 = new ArrayList();\n data3.add(docs3);\n data3.add(relevance3);\n data3.add(occurrence3);\n data3.add(popularity3);\n return data3; \n }", "public int[] merge(int[] ls, int[] rs) {\n\t int[] result = new int[ls.length + rs.length];\r\n\r\n\t int i, l, r;\r\n\t i = l = r = 0;\r\n\t while (i < result.length) {\r\n\t if (l < ls.length && r < rs.length) {\r\n\t if (ls[l] < rs[r]) {\r\n\t result[i] = ls[l];\r\n\t ++i;\r\n\t ++l;\r\n\t } else {\r\n\t result[i] = rs[r];\r\n\t ++i;\r\n\t ++r;\r\n\t }\r\n\t } else if (l >= ls.length) {\r\n\t while (r < rs.length) {\r\n\t result[i] = rs[r];\r\n\t ++i;\r\n\t ++r;\r\n\t }\r\n\t } else if (r >= rs.length) {\r\n\t while (l < ls.length) {\r\n\t result[i] = ls[l];\r\n\t ++i;\r\n\t ++l;\r\n\t }\r\n\t }\r\n\t }\r\n\t return result;\r\n\t }", "public void queryTaskUnionSet2() {\r\n\t\t// task 1\r\n\t\tTask task1 = new Task();\r\n\t\ttask1.setName(\"DEFECTS\");\r\n\t\ttask1.setDisplayName(\"Defects\");\r\n\t\ttask1.setDescription(\"User story to address product defects\");\r\n\t\t\r\n\t\tTask d1 = new Task();\r\n\t\td1.setName(\"DEFECT 1\");\r\n\t\td1.setDisplayName(\"Defect 1\");\r\n\t\td1.setDescription(\"First defect\");\r\n\t\tTask d2 = new Task();\r\n\t\td2.setName(\"DEFECT 2\");\r\n\t\td2.setDisplayName(\"Defect 2\");\r\n\t\td2.setDescription(\"Second defect\");\r\n\t\tSet<Task> c = new HashSet<Task>();\r\n\t\tc.add(d1);\r\n\t\tc.add(d2);\r\n\t\ttask1.setTaskChildren(c);\r\n\t\ttask1 = (Task) aggregateService.create(task1, new Settings());\r\n\r\n\t\t\tSystem.out.println(\"Name: \" + task1.getName() + \", Id: \" + task1.getId());\r\n\r\n\t\t// task 2\r\n\t\tTask task2 = new Task();\r\n\t\ttask2.setName(\"FIX_DEFECTS\");\r\n\t\ttask2.setDisplayName(\"Fix defects\");\r\n\t\ttask2.setDescription(\"Task to track the defect fixing effort\");\r\n\t\ttask2 = (Task) aggregateService.create(task2, new Settings());\r\n\r\n\t\t// task 3\r\n\t\tTask task3 = new Task();\r\n\t\ttask3.setName(\"PRIORITIZE_DEFECTS\");\r\n\t\ttask3.setDisplayName(\"Prioritize defects\");\r\n\t\ttask3.setDescription(\"Based upon the effort required for the defects prioritize them\");\r\n\t\ttask3 = (Task) aggregateService.create(task3, new Settings());\r\n\r\n\t\ttask1 = (Task) aggregateService.read(task1, getSettings());\t\t\r\n\r\n\t\t// query the task object\r\n\t\tSettings settings = new Settings();\r\n\t\tsettings.setParam(\"name1\", \"DEFECTS\");\r\n\t\tsettings.setParam(\"name2\", \"PRIORITIZE_DEFECTS\");\r\n\t\tsettings.setParam(\"name3\", \"FIX_DEFECTS\");\r\n\t\tsettings.addFunction(FunctionHandler.NE, \"name\", \"name3\");\r\n\t\tsettings.addFunction(FunctionType.ASC, \"name\");\r\n\t\tsettings.setView(aggregateService.getView(\"TASKUNIONSET\"));\t\t\r\n\t\tList<?> toList = aggregateService.query(new Task(), settings);\r\n\r\n\t\tSystem.out.println(\"SIZE : \" + toList.size());\r\n\t\tfor(Object o: toList) {\r\n\t\t\tTask t = (Task) o;\r\n\t\t\tSystem.out.println(\"Name: \" + t.getName() + \", Id: \" + t.getId());\r\n\t\t}\r\n\t\tassert(toList.size() == 2);\r\n\r\n\t\tObject obj1 = toList.get(0);\r\n\t\tObject obj2 = toList.get(1);\r\n\r\n\t\tassert(Task.class.isAssignableFrom(obj1.getClass()));\r\n\t\tassert(Task.class.isAssignableFrom(obj2.getClass()));\r\n\t\t\r\n\t\tTask t1 = (Task) obj1;\r\n\t\tTask t2 = (Task) obj2;\r\n\r\n\t\tassert ((t1.getName().equals(\"DEFECTS\") && t2.getName().equals(\"PRIORITIZE_DEFECTS\")) ||\r\n\t\t\t(t2.getName().equals(\"DEFECTS\") && t1.getName().equals(\"PRIORITIZE_DEFECTS\")));\r\n\r\n\t\tTask d = t1.getName().equals(\"DEFECTS\") ? t1 : t2;\r\n\t\tassert (d.getTaskChildren() != null && d.getTaskChildren().size() == 2);\r\n\r\n//\t\tSystem.out.println(\"Task 1: \" + t1.getName() + \", Task 2: \" + t2.getName());\r\n//\t\tassert (t1.getName().equals(\"DEFECTS\") && t2.getName().equals(\"DEFECT 1\"));\r\n//\t\tassert(t1.getTaskChildren() != null && t1.getTaskChildren().size() == 2);\r\n\t}", "@Test\n public void sharedFilterEnsuresUniqueResults() {\n Filter filter = new Filter(\"test-filter\");\n final Dataset dataset1 = new Dataset(\"TEST1\", \"sql\", filter);\n final Dataset dataset2 = new Dataset(\"TEST2\", \"sql2\", filter); // shared same filter\n\n List<String> entry1 = new ArrayList<>();\n entry1.add(\"001\");\n entry1.add(\"aaa\");\n\n List<String> entry2 = new ArrayList<>();\n entry2.add(\"002\");\n entry2.add(\"bbb\");\n\n List<String> entry3 = new ArrayList<>();\n entry3.add(\"003\");\n entry3.add(\"ccc\");\n\n List<String> entry4 = new ArrayList<>();\n entry4.add(\"004\");\n entry4.add(\"ddd\");\n\n List<List<String>> queryResults1 = new ArrayList<>();\n queryResults1.add(entry1);\n queryResults1.add(entry2);\n queryResults1.add(entry3);\n queryResults1.add(entry4);\n\n List<String> entry5 = new ArrayList<>();\n entry5.add(\"005\"); // different\n entry5.add(\"eee\");\n\n List<String> entry6 = new ArrayList<>();\n entry6.add(\"002\"); // same\n entry6.add(\"bbb\");\n\n List<String> entry7 = new ArrayList<>();\n entry7.add(\"007\"); // different\n entry7.add(\"fff\");\n\n List<String> entry8 = new ArrayList<>();\n entry8.add(\"004\"); // same\n entry8.add(\"ddd\");\n\n List<List<String>> queryResults2 = new ArrayList<>();\n queryResults2.add(entry5);\n queryResults2.add(entry6);\n queryResults2.add(entry7);\n queryResults2.add(entry8);\n\n // given\n dataset1.populateCache(queryResults1, 200L);\n dataset2.populateCache(queryResults2, 300L);\n\n // when\n final List<String> result1 = dataset1.getCachedResult();\n final List<String> result2 = dataset1.getCachedResult();\n final List<String> result3 = dataset1.getCachedResult();\n final List<String> result4 = dataset1.getCachedResult();\n final List<String> result5 = dataset2.getCachedResult();\n final List<String> result6 = dataset2.getCachedResult();\n\n // then\n assertEquals(\"Wrong result 1\", entry1, result1); // first datset is as-is\n assertEquals(\"Wrong result 2\", entry2, result2); // first datset is as-is\n assertEquals(\"Wrong result 3\", entry3, result3); // first datset is as-is\n assertEquals(\"Wrong result 4\", entry4, result4); // first datset is as-is\n assertEquals(\"Wrong result 3\", entry5, result5); // second datset, not filtered out\n assertEquals(\"Wrong result 3\", entry7, result6); // second dataset, entry6 is filtered out\n\n // and\n try {\n dataset1.getCachedResult();\n fail(\"Expected to run out of data\");\n\n } catch (IllegalStateException ex) {\n assertEquals(\"Wrong error\", \"No more data available for dataset: TEST1\", ex.getMessage());\n }\n\n try {\n // entry7 should be filtered out, resulting in no more data\n dataset2.getCachedResult();\n fail(\"Expected to run out of data\");\n\n } catch (IllegalStateException ex) {\n assertEquals(\"Wrong error\", \"No more data available for dataset: TEST2\", ex.getMessage());\n }\n\n // and\n assertEquals(\"Wrong cache size\", Optional.of(4), dataset1.getMetrics().getCacheSize());\n assertEquals(\"Wrong timing\", Optional.of(200L), dataset1.getMetrics().getTimingMilliseconds());\n assertEquals(\"Wrong cache requested\", Optional.of(5), dataset1.getMetrics().getCacheRequested());\n assertEquals(\"Wrong filtered out\", Optional.empty(), dataset1.getMetrics().getFilteredOut());\n\n // and\n assertEquals(\"Wrong cache size\", Optional.of(4), dataset2.getMetrics().getCacheSize());\n assertEquals(\"Wrong timing\", Optional.of(300L), dataset2.getMetrics().getTimingMilliseconds());\n assertEquals(\"Wrong cache requested\", Optional.of(3), dataset2.getMetrics().getCacheRequested());\n assertEquals(\"Wrong filtered out\", Optional.of(2), dataset2.getMetrics().getFilteredOut());\n }", "@Test\n void stringListCombine() {\n PartialResultSet a =\n PartialResultSet.newBuilder()\n .addValues(\n Value.newBuilder()\n .setListValue(\n ListValue.newBuilder()\n .addValues(Value.newBuilder().setStringValue(\"a\"))\n .addValues(Value.newBuilder().setStringValue(\"b\"))))\n .setChunkedValue(true)\n .build();\n PartialResultSet b =\n PartialResultSet.newBuilder()\n .addValues(\n Value.newBuilder()\n .setListValue(\n ListValue.newBuilder()\n .addValues(Value.newBuilder().setStringValue(\"c\"))\n .addValues(Value.newBuilder().setStringValue(\"d\"))))\n .setChunkedValue(false)\n .build();\n ResultSet r = PartialResultSetCombiner.combine(Arrays.asList(a, b));\n assertEquals(\n ListValue.newBuilder()\n .addValues(Value.newBuilder().setStringValue(\"a\"))\n .addValues(Value.newBuilder().setStringValue(\"bc\"))\n .addValues(Value.newBuilder().setStringValue(\"d\"))\n .build(),\n r.getRows(0).getValues(0).getListValue());\n }", "public ArrBag<T> union( ArrBag<T> other )\n {\n ArrBag<T> unionArray = new ArrBag<T>(other.size() + this.size()); \n\n int unionCount = 0; \n for (int i = 0; i <this.size(); i++ ){\n unionArray.add(this.get(i));\n unionCount++;\n } for (int i = 0; i<other.size(); i++){\n if (!unionArray.contains(other.get(i))){\n unionArray.add(other.get(i));\n unionCount ++;\n }\n }\n return unionArray;\n }", "public abstract Result mergeTaskResults(Map<TaskKey,TaskResult> taskResults) throws JobException;", "public void merge(MapUtil newSet) {\n\t\tMap<String, Object> newMap = newSet.getInternalMap();\n\t\tfor (Entry<String, Object> entry : newMap.entrySet()) {\n\t\t\tvalues.put(entry.getKey(), entry.getValue());\n\t\t}\n\t}", "public static void main(String[] args) {\n List<Integer> list1 = new ArrayList<>();\n List<Integer> list2 = new ArrayList<>();\n list1.add(2);\n list1.add(3);\n list1.add(4);\n list2.add(1);\n list2.add(5);\n list2.add(6);\n merge(list1, list2).forEach(item -> System.out.print(item + \" \"));\n }", "public static SiftKnnContainer mergetosizeofboth(SiftKnnContainer a, SiftKnnContainer b) {\n SiftKnnContainer ret = new SiftKnnContainer( a.getK() + b.getK() );\n ret.SetQueryPoint(a.getQueryPoint());\n\n knnPair[] knn = a.getknnPairArray();\n for (int i = 0; i < knn.length ; i++) {\n if (knn[i].distance != Integer.MAX_VALUE) {\n ret.addNoDuplicateIDs(knn[i].pointID, knn[i].distance);\n }\n }\n knn = b.getknnPairArray();\n for (int i = 0; i < knn.length ; i++) {\n if (knn[i].distance != Integer.MAX_VALUE) {\n ret.addNoDuplicateIDs(knn[i].pointID, knn[i].distance);\n }\n }\n return ret;\n }", "public void setResultSets(ResultSet[] values) {\n\n resultSets = values != null ? values.clone() : null;\n }", "public static void merge (int[] result, int[] a1, int[] a2) {\r\n\t\tint len1 = a1.length;\r\n\t\tint len2 = a2.length;\r\n\t\t\r\n\t\tint i = 0;\r\n\t\tint j = 0;\r\n\t\tint k = 0;\r\n\t\t\r\n\t\twhile (i < len1 && j < len2) {\r\n\t\t\tif (a1[i] < a2[j]) {\r\n\t\t\t\tresult[k] = a1[i];\r\n\t\t\t\ti++;\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tresult[k] = a2[j];\r\n\t\t\t\tj++;\r\n\t\t\t}\r\n\t\t\tk++;\r\n\t\t}\r\n\t\twhile (i < len1) {\r\n\t\t\tresult[k] = a1[i];\r\n\t\t\ti++;\r\n\t\t\tk++;\r\n\t\t}\r\n\t\twhile (j < len2) {\r\n\t\t\tresult[k] = a2[j];\r\n\t\t\tj++;\r\n\t\t\tk++;\r\n\t\t}\r\n\t}", "public HashSet<Integer> findMergeDatasets(HashSet<Integer> datasets, int mergeType) {\n String existingDatasetsQuery = \"SELECT ds.dataset_id FROM \"\n + getQualifiedSrcDsTableName() + \" ds JOIN \" + DATASET_TABLE_NAME\n + \" USING (dataset_name)\"\n + \" WHERE ds.dataset_id IN \" + populateInClause(datasets);\n\n Session session = getSession();\n HashSet<Integer> ids;\n\n try {\n ids = new HashSet<Integer>(\n session.createSQLQuery(existingDatasetsQuery).list());\n\n /* Check to make sure the transaction count is greater than what we already have. */\n if (mergeType == 1 && datasets.size() > 0 && ids.size() > 0) {\n Iterator<Integer> it = datasets.iterator();\n Integer sourceId;\n /* Must use iterator if we're removing from the list */\n while (it.hasNext()) {\n sourceId = (Integer) it.next();\n logger.debug(\"Testing merge with source appended dataset id \" + sourceId\n + \" for \" + \"new transactions.\");\n String existingIdQuery = \"SELECT ds.dataset_id FROM \" + DATASET_TABLE_NAME\n + \" ds JOIN \" + getQualifiedSrcDsTableName()\n + \" srcds USING (dataset_name) \"\n + \"WHERE srcds.dataset_id = \" + sourceId.intValue();\n Integer existingId = (Integer) session.createSQLQuery(\n existingIdQuery).list().get(0);\n logger.debug(existingId);\n\n logger.debug(\"Retrieving existing transaction count\");\n String existingTxCountQuery = \"SELECT count(transaction_id) \"\n + \"FROM tutor_transaction \"\n + \"WHERE dataset_id = \"\n + existingId.intValue();\n BigInteger existingTxCount = (BigInteger) session.createSQLQuery(\n existingTxCountQuery).list().get(0);\n logger.debug(existingTxCount);\n\n logger.debug(\"Retrieving new transaction count\");\n String newTxCountQuery = \"SELECT count(transaction_id) FROM \" + sourceDB\n + \".tutor_transaction WHERE dataset_id = \" + sourceId.intValue();\n BigInteger difference = ((BigInteger) session.createSQLQuery(\n newTxCountQuery).list().get(0)).subtract(existingTxCount);\n logger.debug(\"Difference between source tx count and existing tx count = \"\n + difference.longValue());\n\n if (difference.longValue() <= 0) {\n logger.info(\"Removing dataset id \" + sourceId\n + \" because the transaction count is the same.\");\n it.remove();\n }\n }\n }\n } finally {\n releaseSession(session);\n }\n datasets.retainAll(ids);\n return new HashSet<Integer>(datasets);\n }", "public static <T> OrdinalSet<T> unify(OrdinalSet<T> A, OrdinalSet<T> B) {\r\n if (A == null) {\r\n throw new IllegalArgumentException(\"A is null\");\r\n }\r\n if (B == null) {\r\n throw new IllegalArgumentException(\"B is null\");\r\n }\r\n if (Assertions.verifyAssertions) {\r\n if (A.size() != 0 && B.size() != 0) {\r\n Assertions._assert(A.mapping.equals(B.mapping));\r\n }\r\n }\r\n \r\n if (A.S != null && B.S == null) {\r\n return new OrdinalSet<T>(A.S, A.mapping);\r\n } else if (A.S == null && B.S != null) {\r\n return new OrdinalSet<T>(B.S, B.mapping);\r\n }\r\n \r\n IntSet union = A.S.union(B.S);\r\n return new OrdinalSet<T>(union, A.mapping);\r\n }", "public GridCollector merge(GridCollector other) {\n\t\t// cell-wise merge\n\t\tIntStream.range(0, cells.size())\n\t\t .forEach(i -> cells.get(i).addAll(other.cells.get(i)));\n\t\treturn this;\n\t}", "public org.apache.spark.sql.catalyst.util.QuantileSummaries merge (org.apache.spark.sql.catalyst.util.QuantileSummaries other) { throw new RuntimeException(); }", "private static Set<String> m23474a(Set<String> set, Set<String> set2) {\n if (set.isEmpty()) {\n return set2;\n }\n if (set2.isEmpty()) {\n return set;\n }\n HashSet hashSet = new HashSet(set.size() + set2.size());\n hashSet.addAll(set);\n hashSet.addAll(set2);\n return hashSet;\n }", "public static Set<Doc> and(Set<Doc> set1, Set<Doc> set2) {\r\n \t\t\r\n \t\tif((set1 == null) || (set2 == null)) {\r\n\t\t\tSystem.err.println(\"Doc.and() returning null!\");\r\n \t\t\treturn new TreeSet<Doc>();\r\n \t\t}\r\n \t\t//set1.retainAll(set2);\r\n \t\t//return set1;\r\n \t\t\r\n \t\tTreeSet<Doc> result = new TreeSet<Doc>();\r\n \t\tIterator<Doc> op1 = set1.iterator();\r\n \t\tIterator<Doc> op2 = set2.iterator();\r\n \t\t\r\n \t\tDoc current1 = getNext(op1);\r\n \t\tDoc current2 = getNext(op2);\r\n \r\n \t\twhile(current1!=null && current2!=null) {\r\n \t\t\t//If is the same document\r\n \t\t\tif(current1.getID() == current2.getID()) {\r\n \t\t\t\tresult.add(current1);\r\n \t\t\t\tcurrent1 = getNext(op1);\r\n \t\t\t\tcurrent2 = getNext(op2);\r\n \t\t\t}\r\n \t\t\t//If op2 is ahead of op1\r\n \t\t\telse if(current1.getID() < current2.getID()) \r\n \t\t\t\tcurrent1 = getNext(op1);\r\n \t\t\t//If op1 is ahead of op2\r\n \t\t\telse\r\n \t\t\t\tcurrent2 = getNext(op2);\r\n \t\t}\r\n \t\t\r\n \t\treturn result;\r\n \t}", "private static int[] union(int[] items1, int[] items2) {\n\t\tSet<Integer> itemSet = new HashSet<Integer>();\n\t\tfor(int i : items1) {\n\t\t\titemSet.add(i);\n\t\t}\n\t\tfor(int i : items2){\n\t\t\titemSet.add(i);\n\t\t}\n\t\tint[] items = new int[itemSet.size()];\n\t\tint i = 0;\n\t\tfor(int val : itemSet){\n\t\t\titems[i++] = val; \n\t\t}\n\t\treturn items;\n\t}", "private static void mergingSync() {\n Observable.merge(getDataSync(1), getDataSync(2)).blockingForEach(System.out::println);\n }", "public ArrayList<Object> fullUnion(ArrayList<Object> list1 , ArrayList<Object> list2){\r\n ArrayList<Object> retList = new ArrayList<Object>();\r\n retList.addAll(list1);\r\n retList.addAll(list2);\r\n return retList;\r\n }", "@Override\n\tpublic SetLinkedList<T> union(SetLinkedList<T> otherSet) {\n\t\tthrow new UnsupportedOperationException(\"Not implemented yet!\");\n\t}", "public BSTSet union(BSTSet s) {\n int[] thisArray = BSTToArray();\n int[] sArray = s.BSTToArray();\n int[] unionArray = new int[thisArray.length + sArray.length];\n int unionArrayIndex = 0;\n\n // add both arrays together\n for (int i = 0; i < thisArray.length; i++) {\n unionArray[unionArrayIndex++] = thisArray[i];\n }\n\n for (int i = 0; i < sArray.length; i++) {\n unionArray[unionArrayIndex++] = sArray[i];\n }\n\n return new BSTSet(unionArray);\n }", "public T merge ( T object );", "public ResultSet[] getResultSets() {\n\n migratePathTestResults();\n return resultSets != null ? resultSets.clone() : null;\n }", "public FeatureSet combine(final FeatureSet other) {\n final Set<Feature> enabled = new HashSet<>(this.enabled);\n enabled.addAll(other.enabled);\n\n final Set<Feature> disabled = new HashSet<>(this.disabled);\n disabled.addAll(other.disabled);\n\n return new FeatureSet(enabled, disabled);\n }", "public Shingle union(final Shingle other) {\n List<Double> union = new ArrayList<Double>(this.size() + other.size());\n for (Double f : data) {\n union.add(f);\n }\n for (Double f : other.getData()) {\n union.add(f);\n }\n Shingle shingle = new Shingle(union);\n shingle.unique();\n return shingle;\n }", "public static void mergeJsonIntoBase(List<Response> r1, List<Response> r2){\n //List of json objects in the new but not old json\n List<String> toAdd = new ArrayList<>();\n for(int i = 0; i < r1.size(); i ++){\n String r1ID = r1.get(i).getId();\n for(int j = 0; j < r2.size(); j ++){\n String r2ID = r2.get(j).getId();\n if(r1ID.equals(r2ID)){\n compareJson(r1.get(i), r2.get(j));\n }else{\n if (!toAdd.contains(r2ID)) {\n toAdd.add(r2ID);\n }\n }\n }\n }\n //Add all new elements into the base element\n List<Response> remainderToAdd = getElementListById(toAdd, r2);\n\n for(Response r: remainderToAdd){\n r1.add(r);\n }\n }", "public static ArrayList<String> tryToCombineItemsets(ArrayList<String> itemSet1, ArrayList<String> itemSet2) {\n\t\t\n\t\tif(!canCombineItemsets(itemSet1, itemSet2)) {\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\tArrayList<String> combined = new ArrayList<String>();\n\t\tfor(String item : itemSet1) {\n\t\t\tif(!combined.contains(item)) {\n\t\t\t\tcombined.add(item);\n\t\t\t}\n\t\t}\n\t\tfor(String item : itemSet2) {\n\t\t\tif(!combined.contains(item)) {\n\t\t\t\tcombined.add(item);\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.sort(combined);\n\t\treturn combined;\n\t}", "@Override\n public abstract void merge(Mergeable merge);", "public static <T> List<T> union(List<T> a, List<T> b) {\n\t\t\n\t\tHashMap<T, Boolean> include = new HashMap<T, Boolean>();\n\t\t\n\t\tfor (T elt : a)\n\t\t\tinclude.put(elt, true);\n\t\tfor (T elt : b)\n\t\t\tinclude.put(elt, true);\n\t\t\n\t\tList<T> toReturn = new ArrayList<T>();\n\t\tfor (T elt : include.keySet())\n\t\t\ttoReturn.add(elt);\n\t\t\n\t\treturn toReturn;\n\t}", "@Override\n public BinaryOperator<List<Integer>> combiner() {\n return (resultList1, resultList2) -> {\n Integer currentTotal1 = resultList1.get(0);\n Integer currentTotal2 = resultList2.get(0);\n currentTotal1 += currentTotal2;\n resultList1.set(0, currentTotal1);\n return resultList1;\n };\n }", "private static int[] merge( int[] a, int[] b )\n {\n int[] retList = new int[a.length + b.length];\n\t int aPos = 0, bPos = 0;\n\t for(int x = 0; x < retList.length; x ++) {\n\t\t if(aPos < a.length && bPos < b.length) {\n\t\t\t if(a[aPos] < b[bPos]) {\n\t\t\t\t retList[x] = a[aPos];\n\t\t\t\t aPos ++;\n\t\t\t }\n\t\t\t else {\n\t\t\t\t retList[x] = b[bPos];\n\t\t\t\t bPos ++;\n\t\t\t }\n\t\t }\n\t\t else if(aPos < a.length) {\n\t\t\t retList[x] = a[aPos];\n\t\t\t aPos ++;\n\t\t }\n\t\t else {\n\t\t\t retList[x] = b[bPos];\n\t\t\t bPos ++;\n\t\t }\n\t }\n return retList;\n }", "public static <T extends Comparable<? super T>> \n void union(SLL<T> list1, SLL<T> list2,\n SLL<T> result) {\n \n SLLNode<T> iterlist1 = list1.head;\n SLLNode<T> iterlist2 = list2.head;\n \n T itemlist1=null, itemlist2=null;\n \n // get first item in each list\n if ( iterlist1 != null )\n itemlist1 = iterlist1.info;\n if( iterlist2 != null )\n itemlist2 = iterlist2.info;\n \n while ( itemlist1 != null || itemlist2 != null ) {\n\n int compareResult;\n if( itemlist1 == null ) {\n compareResult = 1;\n } else if ( itemlist2 == null ) {\n compareResult = -1;\n } else {\n compareResult = itemlist1.compareTo(itemlist2);\n }\n \n if ( compareResult == 0 ) {\n result.addToTail(itemlist1); //appending to result list \n if( iterlist1.next != null ) {\n iterlist1 = iterlist1.next;\n itemlist1 = iterlist1.info;\n } else {\n itemlist1 = null;\n }\n \n if( iterlist2.next != null ) {\n iterlist2 = iterlist2.next;\n itemlist2 = iterlist2.info;\n } else {\n itemlist2 = null;\n } \n }\n else if ( compareResult < 0 ) { \n result.addToTail(itemlist1); //appending to result list\n if( iterlist1.next != null ) {\n iterlist1 = iterlist1.next;\n itemlist1 = iterlist1.info;\n } else {\n itemlist1 = null;\n }\n }\n else {\n result.addToTail(itemlist2);\n if( iterlist2.next != null ) {\n iterlist2 = iterlist2.next;\n itemlist2 = iterlist2.info;\n } else {\n itemlist2 = null;\n }\n }\n } \n }", "public void queryTaskUnionSet1() {\r\n\t\t// task 1\r\n\t\tTask task1 = new Task();\r\n\t\ttask1.setName(\"DEFECTS\");\r\n\t\ttask1.setDisplayName(\"Defects\");\r\n\t\ttask1.setDescription(\"User story to address product defects\");\r\n\t\ttask1 = (Task) aggregateService.create(task1, new Settings());\t\r\n\r\n\t\t// task 2\r\n\t\tTask task2 = new Task();\r\n\t\ttask2.setName(\"FIX_DEFECTS\");\r\n\t\ttask2.setDisplayName(\"Fix defects\");\r\n\t\ttask2.setDescription(\"Task to track the defect fixing effort\");\r\n\t\ttask2 = (Task) aggregateService.create(task2, new Settings());\r\n\r\n\t\t// task 3\r\n\t\tTask task3 = new Task();\r\n\t\ttask3.setName(\"PRIORITIZE_DEFECTS\");\r\n\t\ttask3.setDisplayName(\"Prioritize defects\");\r\n\t\ttask3.setDescription(\"Based upon the effort required for the defects prioritize them\");\r\n\t\ttask3 = (Task) aggregateService.create(task3, new Settings());\r\n\r\n\t\ttask1 = (Task) aggregateService.read(task1, getSettings());\t\t\r\n\r\n\t\t// query the task object\r\n\t\tSettings settings = new Settings();\r\n\t\tsettings.setParam(\"name1\", \"FIX_DEFECTS\");\r\n\t\tsettings.setParam(\"name2\", \"PRIORITIZE_DEFECTS\");\r\n\t\tsettings.setView(aggregateService.getView(\"TASKUNIONSET\"));\t\t\r\n\t\tList<?> toList = aggregateService.query(new Task(), settings);\r\n\r\n\t\tassert(toList.size() == 2);\r\n\r\n\t\tObject obj1 = toList.get(0);\r\n\t\tObject obj2 = toList.get(1);\r\n\r\n\t\tassert(Task.class.isAssignableFrom(obj1.getClass()));\r\n\t\tassert(Task.class.isAssignableFrom(obj2.getClass()));\r\n\t\t\r\n\t\tTask t1 = (Task) obj1;\r\n\t\tTask t2 = (Task) obj2;\t\t\r\n\t\t\r\n\t\tassert( (t1.getName().equals(\"FIX_DEFECTS\") && t2.getName().equals(\"PRIORITIZE_DEFECTS\")) ||\r\n\t\t\t\t(t2.getName().equals(\"FIX_DEFECTS\") && t1.getName().equals(\"PRIORITIZE_DEFECTS\")) );\r\n\t}", "public static MyLinkedList getUnion(MyLinkedList list1, MyLinkedList list2)\n {\n HashSet<Integer> set = new HashSet<>();\n\n Node temp = list1.getStart();\n while(temp != null)\n {\n set.add(temp.key);\n temp = temp.next;\n }\n\n temp = list2.getStart();\n while(temp != null)\n {\n set.add(temp.key);\n temp = temp.next;\n }\n\n MyLinkedList union = new MyLinkedList();\n for(int key : set)\n {\n union.addNode(new Node(key));\n }\n\n return union;\n }", "@Test\n void stringCombine() {\n PartialResultSet a =\n PartialResultSet.newBuilder()\n .addValues(Value.newBuilder().setStringValue(\"foo\").build())\n .setChunkedValue(true)\n .build();\n PartialResultSet b =\n PartialResultSet.newBuilder()\n .addValues(Value.newBuilder().setStringValue(\"bar\").build())\n .setChunkedValue(false)\n .build();\n ResultSet r = PartialResultSetCombiner.combine(Arrays.asList(a, b));\n\n assertEquals(\"foobar\", r.getRows(0).getValues(0).getStringValue());\n }", "public ZYSet<ElementType> intersection(ZYSet<ElementType> otherSet){\n ZYSet<ElementType> result = new ZYArraySet<ElementType>();\n for(ElementType e :this){\n if(otherSet.contains(e)){\n result.add(e);\n }\n }\n return result;\n }", "private List<Integer> merge(List<Integer> firstList, List<Integer> secondList) {\n List<Integer> resultList = new ArrayList<>();\n\n if (firstList.size() == 1 && secondList.size() == 1) {\n resultList.add(Math.min(firstList.get(0), secondList.get(0)));\n resultList.add(Math.max(firstList.get(0), secondList.get(0)));\n return resultList;\n }\n\n int firstIndex = 0;\n int secondIndex = 0;\n\n while (firstIndex < firstList.size() && secondIndex < secondList.size()) {\n if (firstList.get(firstIndex) < secondList.get(secondIndex)) {\n resultList.add(firstList.get(firstIndex));\n firstIndex++;\n } else {\n resultList.add(secondList.get(secondIndex));\n secondIndex++;\n }\n }\n\n if (firstIndex < firstList.size()) {\n for (int i = firstIndex; i < firstList.size(); i++) {\n resultList.add(firstList.get(i));\n }\n }\n\n if (secondIndex < secondList.size()) {\n for (int i = secondIndex; i < secondList.size(); i++) {\n resultList.add(secondList.get(i));\n }\n }\n\n return resultList;\n }", "private void merge(List<Estado> states1, List<Estado> states2) {\n\t\tfor (Estado state : states2) {\n\t\t\tif (!contain(state, states1)) {\n\t\t\t\tstates1.add(state);\n\t\t\t}\n\n\t\t}\n\t}", "void doMerge() {\n int[] temp = new int[arr.length + brr.length];\n int count = 0;\n for (int i = 0; i < arr.length; i++) {\n temp[i] = arr[i];\n count++;\n }\n for (int i = 0; i < brr.length; i++) {\n temp[count++] = brr[i];\n }\n for (int i = 0; i < temp.length; i++) {\n System.out.println( temp[i] );\n }\n String a[] = {\"A\", \"E\", \"I\"};\n String b[] = {\"O\", \"U\"};\n List<String> list = new ArrayList( Arrays.asList( a ) );\n list.addAll( Arrays.asList( b ) );\n Object[] c = list.toArray();\n System.out.println( Arrays.toString( c ) );\n }", "public List<Integer> merge(List<Integer> S1, List<Integer> S2) {\n\t\tList<Integer> S = new ArrayList<Integer>();\n\t\twhile(!(S1.isEmpty() || S2.isEmpty())){\n\t\t\tif(comps(S1.get(0), S2.get(0)) && S1.get(0) < S2.get(0)) {\t\t\t\t\t\n\t\t\t\tS.add(S1.remove(0));\n\t\t\t} else {\n\t\t\t\tS.add(S2.remove(0));\n\t\t\t}\n\t\t}\n\t\twhile(!(S1.isEmpty())){\n\t\t\tS.add(S1.remove(0));\n\t\t}while(!(S2.isEmpty())){\n\t\t\tS.add(S2.remove(0));\n\t\t}\n\t\treturn S;\n\t}", "public Object merge(Object obj) throws HibException;", "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n\tpublic static <R> FutureStream<R> merge(EagerFutureStream s1, EagerFutureStream s2) {\n\t\tList merged = Stream\n\t\t\t\t.of(s1.getLastActive().list(), s2.getLastActive().list())\n\t\t\t\t.flatMap(Collection::stream).collect(Collectors.toList());\n\t\treturn (FutureStream<R>) s1.withLastActive(new StreamWrapper(merged));\n\t}", "private void merge(DefaultSingleGraphDataUnit source) throws LpException {\n try {\n execute((connection) -> {\n final Update update = connection.prepareUpdate(\n QueryLanguage.SPARQL, QUERY_COPY);\n final SimpleDataset dataset = new SimpleDataset();\n dataset.addDefaultGraph(source.getReadGraph());\n dataset.setDefaultInsertGraph(graph);\n update.setDataset(dataset);\n update.execute();\n });\n } catch (LpException ex) {\n throw new LpException(\"Can't merge with: {}\",\n source.getIri(), ex);\n }\n }", "public void union(Node a, Node b) {\n Node set1 = find(a);\n Node set2 = find(b);\n\n if (set1 != set2) {\n // Limits the worst case runtime of a find to O(log N)\n if (set1.getSize() < set2.getSize()) {\n set2.setParent(set1);\n set1.setSize(set1.getSize() + set2.getSize());\n }\n else {\n set1.setParent(set2);\n set2.setSize(set1.getSize() + set2.getSize());\n }\n }\n }", "@Override\n public BinaryOperator<TradeAccumulator> combiner() {\n return (accum1, accum2) -> {return accum1.addAll(accum2);};\n }", "public void mergeFrom(Permutation other, SortedSet<String> liveRebindRequests) {\n if (getClass().desiredAssertionStatus()) {\n for (SortedMap<String, String> myRebind : orderedRebindAnswers) {\n for (SortedMap<String, String> otherRebind : other.orderedRebindAnswers) {\n for (String rebindRequest : liveRebindRequests) {\n String myAnswer = myRebind.get(rebindRequest);\n String otherAnswer = otherRebind.get(rebindRequest);\n assert myAnswer.equals(otherAnswer);\n }\n }\n }\n }\n mergeRebindsFromCollapsed(other);\n }", "public SetSet deepCopy(){\n\t\tSetSet copy = new SetSet();\n\t\tfor(int i=0;i<size();i++){\n\t\t\tcopy.add(get(i).deepCopy());\n\t\t}\n\t\treturn copy;\n\t}", "private Set calculateTimeSet() {\n List choices = getDataChoices();\n if (choices.isEmpty()) {\n return null;\n }\n Set newSet = null;\n for (int i = 0; i < choices.size(); i++) {\n try {\n VerticalProfileInfo info = getVPInfo(i);\n GridDataInstance dataInstance = info.getDataInstance();\n Set set = GridUtil.getTimeSet(dataInstance.getGrid());\n //System.out.println(\"di.timeset[\"+i+\"] = \" + set);\n if (set != null) {\n if (newSet == null) {\n newSet = set;\n } else {\n newSet = newSet.merge1DSets(set);\n }\n }\n } catch (Exception e) {\n logger.error(\"Problem calculating TimeSet\", e);\n }\n }\n //System.out.println(\"merged time set = \" + newSet);\n return newSet;\n }", "static int[] merge(int[] a, int[] b) {\n\t\tint m = a.length, n = b.length;\n\t\tint[] res = new int[m + n];\n\t\tint i = 0, j = 0, k = 0;\n\t\twhile (i < m || j < n) {\n\t\t\tif (i == m)\n\t\t\t\tres[k++] = b[j++];\n\t\t\telse if (j == n)\n\t\t\t\tres[k++] = a[i++];\n\t\t\telse if (a[i] < b[j])\n\t\t\t\tres[k++] = a[i++];\n\t\t\telse\n\t\t\t\tres[k++] = b[j++];\n\t\t}\n\t\treturn res;\n\t}" ]
[ "0.6483606", "0.63853574", "0.63283247", "0.63165754", "0.6200339", "0.6117245", "0.6103563", "0.60584825", "0.60207736", "0.6020623", "0.599542", "0.5957694", "0.595232", "0.5901381", "0.589548", "0.5886281", "0.58689725", "0.58396614", "0.58341247", "0.5829812", "0.5828341", "0.5820237", "0.5819445", "0.5806748", "0.5787673", "0.57279307", "0.57082474", "0.5697535", "0.56755567", "0.5669543", "0.5627712", "0.56195575", "0.55830187", "0.5573929", "0.55737394", "0.55503213", "0.55342215", "0.548522", "0.54494756", "0.5446127", "0.5444307", "0.5440127", "0.5429529", "0.5428479", "0.5427246", "0.5422875", "0.5393544", "0.5386178", "0.53753996", "0.5366663", "0.5366219", "0.53587997", "0.5347035", "0.53227776", "0.5305218", "0.52972907", "0.5293757", "0.5288008", "0.5286395", "0.5276814", "0.52767897", "0.5271146", "0.5257039", "0.5251414", "0.5248492", "0.52438253", "0.5230391", "0.5220523", "0.5217889", "0.5216916", "0.52107435", "0.5210563", "0.51991457", "0.51919836", "0.5186605", "0.51829857", "0.51614636", "0.5159029", "0.5157414", "0.51563245", "0.51523113", "0.51432544", "0.5130669", "0.51201314", "0.51126903", "0.51081645", "0.51037455", "0.50958264", "0.508742", "0.508157", "0.50795364", "0.50647515", "0.50451857", "0.5041839", "0.50352395", "0.5029651", "0.5012492", "0.50010765", "0.4992792", "0.4990643" ]
0.50261754
96
The Package for the model. It contains accessors for the meta objects to represent each class, each feature of each class, each enum, and each data type
public interface Demo1Package extends EPackage { /** * The package name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ String eNAME = "demo1"; /** * The package namespace URI. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ String eNS_URI = "http://www.devoxx2012.com/xtext/demo1/Demo1"; /** * The package namespace name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ String eNS_PREFIX = "demo1"; /** * The singleton instance of the package. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ Demo1Package eINSTANCE = com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl.init(); /** * The meta object id for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.ModelImpl <em>Model</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.ModelImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getModel() * @generated */ int MODEL = 0; /** * The feature id for the '<em><b>Categories</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int MODEL__CATEGORIES = 0; /** * The feature id for the '<em><b>Rule</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int MODEL__RULE = 1; /** * The number of structural features of the '<em>Model</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int MODEL_FEATURE_COUNT = 2; /** * The meta object id for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.CategoryImpl <em>Category</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.CategoryImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getCategory() * @generated */ int CATEGORY = 1; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int CATEGORY__NAME = 0; /** * The number of structural features of the '<em>Category</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int CATEGORY_FEATURE_COUNT = 1; /** * The meta object id for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.RuleImpl <em>Rule</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.RuleImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getRule() * @generated */ int RULE = 2; /** * The feature id for the '<em><b>First</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int RULE__FIRST = 0; /** * The feature id for the '<em><b>Next</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int RULE__NEXT = 1; /** * The number of structural features of the '<em>Rule</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int RULE_FEATURE_COUNT = 2; /** * The meta object id for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.RuleExpressionImpl <em>Rule Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.RuleExpressionImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getRuleExpression() * @generated */ int RULE_EXPRESSION = 3; /** * The feature id for the '<em><b>Test</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int RULE_EXPRESSION__TEST = 0; /** * The feature id for the '<em><b>Ratio</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int RULE_EXPRESSION__RATIO = 1; /** * The number of structural features of the '<em>Rule Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int RULE_EXPRESSION_FEATURE_COUNT = 2; /** * The meta object id for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.TestExpressionImpl <em>Test Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.TestExpressionImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getTestExpression() * @generated */ int TEST_EXPRESSION = 4; /** * The feature id for the '<em><b>Category</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int TEST_EXPRESSION__CATEGORY = 0; /** * The number of structural features of the '<em>Test Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int TEST_EXPRESSION_FEATURE_COUNT = 1; /** * The meta object id for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.RatioExpressionImpl <em>Ratio Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.RatioExpressionImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getRatioExpression() * @generated */ int RATIO_EXPRESSION = 5; /** * The feature id for the '<em><b>Ratio</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int RATIO_EXPRESSION__RATIO = 0; /** * The number of structural features of the '<em>Ratio Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int RATIO_EXPRESSION_FEATURE_COUNT = 1; /** * Returns the meta object for class '{@link com.devoxx2012.xtext.demo1.demo1.Model <em>Model</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Model</em>'. * @see com.devoxx2012.xtext.demo1.demo1.Model * @generated */ EClass getModel(); /** * Returns the meta object for the containment reference list '{@link com.devoxx2012.xtext.demo1.demo1.Model#getCategories <em>Categories</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference list '<em>Categories</em>'. * @see com.devoxx2012.xtext.demo1.demo1.Model#getCategories() * @see #getModel() * @generated */ EReference getModel_Categories(); /** * Returns the meta object for the containment reference '{@link com.devoxx2012.xtext.demo1.demo1.Model#getRule <em>Rule</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>Rule</em>'. * @see com.devoxx2012.xtext.demo1.demo1.Model#getRule() * @see #getModel() * @generated */ EReference getModel_Rule(); /** * Returns the meta object for class '{@link com.devoxx2012.xtext.demo1.demo1.Category <em>Category</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Category</em>'. * @see com.devoxx2012.xtext.demo1.demo1.Category * @generated */ EClass getCategory(); /** * Returns the meta object for the attribute '{@link com.devoxx2012.xtext.demo1.demo1.Category#getName <em>Name</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Name</em>'. * @see com.devoxx2012.xtext.demo1.demo1.Category#getName() * @see #getCategory() * @generated */ EAttribute getCategory_Name(); /** * Returns the meta object for class '{@link com.devoxx2012.xtext.demo1.demo1.Rule <em>Rule</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Rule</em>'. * @see com.devoxx2012.xtext.demo1.demo1.Rule * @generated */ EClass getRule(); /** * Returns the meta object for the containment reference '{@link com.devoxx2012.xtext.demo1.demo1.Rule#getFirst <em>First</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>First</em>'. * @see com.devoxx2012.xtext.demo1.demo1.Rule#getFirst() * @see #getRule() * @generated */ EReference getRule_First(); /** * Returns the meta object for the containment reference '{@link com.devoxx2012.xtext.demo1.demo1.Rule#getNext <em>Next</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>Next</em>'. * @see com.devoxx2012.xtext.demo1.demo1.Rule#getNext() * @see #getRule() * @generated */ EReference getRule_Next(); /** * Returns the meta object for class '{@link com.devoxx2012.xtext.demo1.demo1.RuleExpression <em>Rule Expression</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Rule Expression</em>'. * @see com.devoxx2012.xtext.demo1.demo1.RuleExpression * @generated */ EClass getRuleExpression(); /** * Returns the meta object for the containment reference '{@link com.devoxx2012.xtext.demo1.demo1.RuleExpression#getTest <em>Test</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>Test</em>'. * @see com.devoxx2012.xtext.demo1.demo1.RuleExpression#getTest() * @see #getRuleExpression() * @generated */ EReference getRuleExpression_Test(); /** * Returns the meta object for the containment reference '{@link com.devoxx2012.xtext.demo1.demo1.RuleExpression#getRatio <em>Ratio</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>Ratio</em>'. * @see com.devoxx2012.xtext.demo1.demo1.RuleExpression#getRatio() * @see #getRuleExpression() * @generated */ EReference getRuleExpression_Ratio(); /** * Returns the meta object for class '{@link com.devoxx2012.xtext.demo1.demo1.TestExpression <em>Test Expression</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Test Expression</em>'. * @see com.devoxx2012.xtext.demo1.demo1.TestExpression * @generated */ EClass getTestExpression(); /** * Returns the meta object for the reference '{@link com.devoxx2012.xtext.demo1.demo1.TestExpression#getCategory <em>Category</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the reference '<em>Category</em>'. * @see com.devoxx2012.xtext.demo1.demo1.TestExpression#getCategory() * @see #getTestExpression() * @generated */ EReference getTestExpression_Category(); /** * Returns the meta object for class '{@link com.devoxx2012.xtext.demo1.demo1.RatioExpression <em>Ratio Expression</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Ratio Expression</em>'. * @see com.devoxx2012.xtext.demo1.demo1.RatioExpression * @generated */ EClass getRatioExpression(); /** * Returns the meta object for the attribute '{@link com.devoxx2012.xtext.demo1.demo1.RatioExpression#getRatio <em>Ratio</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Ratio</em>'. * @see com.devoxx2012.xtext.demo1.demo1.RatioExpression#getRatio() * @see #getRatioExpression() * @generated */ EAttribute getRatioExpression_Ratio(); /** * Returns the factory that creates the instances of the model. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the factory that creates the instances of the model. * @generated */ Demo1Factory getDemo1Factory(); /** * <!-- begin-user-doc --> * Defines literals for the meta objects that represent * <ul> * <li>each class,</li> * <li>each feature of each class,</li> * <li>each enum,</li> * <li>and each data type</li> * </ul> * <!-- end-user-doc --> * @generated */ interface Literals { /** * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.ModelImpl <em>Model</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.ModelImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getModel() * @generated */ EClass MODEL = eINSTANCE.getModel(); /** * The meta object literal for the '<em><b>Categories</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference MODEL__CATEGORIES = eINSTANCE.getModel_Categories(); /** * The meta object literal for the '<em><b>Rule</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference MODEL__RULE = eINSTANCE.getModel_Rule(); /** * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.CategoryImpl <em>Category</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.CategoryImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getCategory() * @generated */ EClass CATEGORY = eINSTANCE.getCategory(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute CATEGORY__NAME = eINSTANCE.getCategory_Name(); /** * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.RuleImpl <em>Rule</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.RuleImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getRule() * @generated */ EClass RULE = eINSTANCE.getRule(); /** * The meta object literal for the '<em><b>First</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference RULE__FIRST = eINSTANCE.getRule_First(); /** * The meta object literal for the '<em><b>Next</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference RULE__NEXT = eINSTANCE.getRule_Next(); /** * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.RuleExpressionImpl <em>Rule Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.RuleExpressionImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getRuleExpression() * @generated */ EClass RULE_EXPRESSION = eINSTANCE.getRuleExpression(); /** * The meta object literal for the '<em><b>Test</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference RULE_EXPRESSION__TEST = eINSTANCE.getRuleExpression_Test(); /** * The meta object literal for the '<em><b>Ratio</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference RULE_EXPRESSION__RATIO = eINSTANCE.getRuleExpression_Ratio(); /** * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.TestExpressionImpl <em>Test Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.TestExpressionImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getTestExpression() * @generated */ EClass TEST_EXPRESSION = eINSTANCE.getTestExpression(); /** * The meta object literal for the '<em><b>Category</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference TEST_EXPRESSION__CATEGORY = eINSTANCE.getTestExpression_Category(); /** * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.RatioExpressionImpl <em>Ratio Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.RatioExpressionImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getRatioExpression() * @generated */ EClass RATIO_EXPRESSION = eINSTANCE.getRatioExpression(); /** * The meta object literal for the '<em><b>Ratio</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute RATIO_EXPRESSION__RATIO = eINSTANCE.getRatioExpression_Ratio(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IoT_metamodelPackage getIoT_metamodelPackage();", "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__AGENT);\n\n agentEClass = createEClass(AGENT);\n createEAttribute(agentEClass, AGENT__NAME);\n\n intentEClass = createEClass(INTENT);\n createEReference(intentEClass, INTENT__SUPER_TYPE);\n createEReference(intentEClass, INTENT__IS_FOLLOW_UP);\n createEReference(intentEClass, INTENT__QUESTION);\n createEReference(intentEClass, INTENT__TRAINING);\n\n isFollowUpEClass = createEClass(IS_FOLLOW_UP);\n createEReference(isFollowUpEClass, IS_FOLLOW_UP__INTENT);\n\n entityEClass = createEClass(ENTITY);\n createEReference(entityEClass, ENTITY__EXAMPLE);\n\n questionEClass = createEClass(QUESTION);\n createEReference(questionEClass, QUESTION__QUESTION_ENTITY);\n createEAttribute(questionEClass, QUESTION__PROMPT);\n\n questionEntityEClass = createEClass(QUESTION_ENTITY);\n createEReference(questionEntityEClass, QUESTION_ENTITY__WITH_ENTITY);\n\n trainingEClass = createEClass(TRAINING);\n createEReference(trainingEClass, TRAINING__TRAININGREF);\n\n trainingRefEClass = createEClass(TRAINING_REF);\n createEAttribute(trainingRefEClass, TRAINING_REF__PHRASE);\n createEReference(trainingRefEClass, TRAINING_REF__DECLARATION);\n\n declarationEClass = createEClass(DECLARATION);\n createEAttribute(declarationEClass, DECLARATION__TRAININGSTRING);\n createEReference(declarationEClass, DECLARATION__REFERENCE);\n\n entityExampleEClass = createEClass(ENTITY_EXAMPLE);\n createEAttribute(entityExampleEClass, ENTITY_EXAMPLE__NAME);\n\n sysvariableEClass = createEClass(SYSVARIABLE);\n createEAttribute(sysvariableEClass, SYSVARIABLE__VALUE);\n\n referenceEClass = createEClass(REFERENCE);\n createEReference(referenceEClass, REFERENCE__ENTITY);\n createEReference(referenceEClass, REFERENCE__SYSVAR);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\teActorEClass.getESuperTypes().add(this.getEDomainSpecificEntity());\n\t\teItemEClass.getESuperTypes().add(this.getEDomainSpecificEntity());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(eDomainSchemaEClass, EDomainSchema.class, \"EDomainSchema\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEDomainSchema_Cs(), this.getEControlSchema(), null, \"cs\", null, 0, 1, EDomainSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEDomainSchema_Ds(), this.getEDataSchema(), null, \"ds\", null, 0, 1, EDomainSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eControlSchemaEClass, EControlSchema.class, \"EControlSchema\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEControlSchema_Actor(), this.getEActor(), null, \"actor\", null, 1, -1, EControlSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDataSchemaEClass, EDataSchema.class, \"EDataSchema\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEDataSchema_Cs(), this.getEControlSchema(), null, \"cs\", null, 1, 1, EDataSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEDataSchema_Item(), this.getEItem(), null, \"item\", null, 1, -1, EDataSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDomainSpecificEntityEClass, EDomainSpecificEntity.class, \"EDomainSpecificEntity\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEDomainSpecificEntity_CommandPriority(), ecorePackage.getEInt(), \"commandPriority\", null, 0, 1, EDomainSpecificEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEDomainSpecificEntity_Cmd(), this.getEDomainSpecificCommand(), null, \"cmd\", null, 0, -1, EDomainSpecificEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDomainSpecificCommandEClass, EDomainSpecificCommand.class, \"EDomainSpecificCommand\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEDomainSpecificCommand_CmdId(), ecorePackage.getEInt(), \"cmdId\", null, 0, 1, EDomainSpecificCommand.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eActorEClass, EActor.class, \"EActor\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEActor_KindInteraction(), this.getECoordinationBehavior(), \"kindInteraction\", null, 0, 1, EActor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEActor_TypesControlled(), this.getEDomainSpecificType(), null, \"typesControlled\", null, 0, -1, EActor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eItemEClass, EItem.class, \"EItem\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEItem_ArisingBehavior(), this.getEArising(), \"arisingBehavior\", null, 0, 1, EItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEItem_Type(), this.getEDomainSpecificType(), null, \"type\", null, 1, 1, EItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDomainSpecificTypeEClass, EDomainSpecificType.class, \"EDomainSpecificType\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEDomainSpecificType_InteractionBehavior(), this.getEInteractionBehavior(), \"interactionBehavior\", null, 0, 1, EDomainSpecificType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getEDomainSpecificType_Cardinality(), this.getECardinality(), \"cardinality\", null, 0, 1, EDomainSpecificType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(eArisingEEnum, EArising.class, \"EArising\");\n\t\taddEEnumLiteral(eArisingEEnum, EArising.STATIC);\n\t\taddEEnumLiteral(eArisingEEnum, EArising.DYNAMIC);\n\n\t\tinitEEnum(eCardinalityEEnum, ECardinality.class, \"ECardinality\");\n\t\taddEEnumLiteral(eCardinalityEEnum, ECardinality.ONE);\n\t\taddEEnumLiteral(eCardinalityEEnum, ECardinality.MANY);\n\n\t\tinitEEnum(eInteractionBehaviorEEnum, EInteractionBehavior.class, \"EInteractionBehavior\");\n\t\taddEEnumLiteral(eInteractionBehaviorEEnum, EInteractionBehavior.SYNC);\n\t\taddEEnumLiteral(eInteractionBehaviorEEnum, EInteractionBehavior.ASYNC);\n\n\t\tinitEEnum(eCoordinationBehaviorEEnum, ECoordinationBehavior.class, \"ECoordinationBehavior\");\n\t\taddEEnumLiteral(eCoordinationBehaviorEEnum, ECoordinationBehavior.LOCAL);\n\t\taddEEnumLiteral(eCoordinationBehaviorEEnum, ECoordinationBehavior.DISTRIBUTED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "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}", "public void initializePackageContents() {\n\t\tif (isInitialized)\n\t\t\treturn;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tPivotModelPackage thePivotModelPackage = (PivotModelPackage) EPackage.Registry.INSTANCE\n\t\t\t\t.getEPackage(PivotModelPackage.eNS_URI);\n\t\tExpressionsPackageImpl theExpressionsPackage = (ExpressionsPackageImpl) EPackage.Registry.INSTANCE\n\t\t\t\t.getEPackage(ExpressionsPackageImpl.eNS_URI);\n\t\tDatatypesPackage theDatatypesPackage = (DatatypesPackage) EPackage.Registry.INSTANCE\n\t\t\t\t.getEPackage(DatatypesPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tbagTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\ttupleTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\tcollectionTypeEClass.getESuperTypes().add(\n\t\t\t\tthePivotModelPackage.getType());\n\t\tinvalidTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\torderedSetTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\tsequenceTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\tsetTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\tvoidTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\ttypeTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\tanyTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(\n\t\t\t\tbagTypeEClass,\n\t\t\t\tBagType.class,\n\t\t\t\t\"BagType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\ttupleTypeEClass,\n\t\t\t\tTupleType.class,\n\t\t\t\t\"TupleType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetTupleType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tnull,\n\t\t\t\t\"oclLibrary\", null, 1, 1, TupleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tcollectionTypeEClass,\n\t\t\t\tCollectionType.class,\n\t\t\t\t\"CollectionType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetCollectionType_ElementType(),\n\t\t\t\tthePivotModelPackage.getType(),\n\t\t\t\tnull,\n\t\t\t\t\"elementType\", null, 0, 1, CollectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetCollectionType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tnull,\n\t\t\t\t\"oclLibrary\", null, 1, 1, CollectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEAttribute(\n\t\t\t\tgetCollectionType_Kind(),\n\t\t\t\ttheExpressionsPackage.getCollectionKind(),\n\t\t\t\t\"kind\", null, 1, 1, CollectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tinvalidTypeEClass,\n\t\t\t\tInvalidType.class,\n\t\t\t\t\"InvalidType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetInvalidType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tthis.getOclLibrary_OclInvalid(),\n\t\t\t\t\"oclLibrary\", null, 1, 1, InvalidType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\torderedSetTypeEClass,\n\t\t\t\tOrderedSetType.class,\n\t\t\t\t\"OrderedSetType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tsequenceTypeEClass,\n\t\t\t\tSequenceType.class,\n\t\t\t\t\"SequenceType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tsetTypeEClass,\n\t\t\t\tSetType.class,\n\t\t\t\t\"SetType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tvoidTypeEClass,\n\t\t\t\tVoidType.class,\n\t\t\t\t\"VoidType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetVoidType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tthis.getOclLibrary_OclVoid(),\n\t\t\t\t\"oclLibrary\", null, 1, 1, VoidType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\ttypeTypeEClass,\n\t\t\t\tTypeType.class,\n\t\t\t\t\"TypeType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetTypeType_RepresentedType(),\n\t\t\t\tthePivotModelPackage.getType(),\n\t\t\t\tnull,\n\t\t\t\t\"representedType\", null, 0, 1, TypeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\toclLibraryEClass,\n\t\t\t\tOclLibrary.class,\n\t\t\t\t\"OclLibrary\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclBoolean(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclBoolean\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclString(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclString\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclInteger(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclInteger\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclReal(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclReal\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclAny(),\n\t\t\t\tthis.getAnyType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclAny\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclVoid(),\n\t\t\t\tthis.getVoidType(),\n\t\t\t\tthis.getVoidType_OclLibrary(),\n\t\t\t\t\"oclVoid\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclInvalid(),\n\t\t\t\tthis.getInvalidType(),\n\t\t\t\tthis.getInvalidType_OclLibrary(),\n\t\t\t\t\"oclInvalid\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclType(),\n\t\t\t\tthis.getTypeType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclType\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclCollection(),\n\t\t\t\tthis.getCollectionType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclCollection\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclSequence(),\n\t\t\t\tthis.getSequenceType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclSequence\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclBag(),\n\t\t\t\tthis.getBagType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclBag\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclSet(),\n\t\t\t\tthis.getSetType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclSet\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclOrderedSet(),\n\t\t\t\tthis.getOrderedSetType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclOrderedSet\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclTuple(),\n\t\t\t\tthis.getTupleType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclTuple\", null, 1, -1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tEOperation op = addEOperation(oclLibraryEClass, this.getTupleType(),\n\t\t\t\t\"makeTupleType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\tEGenericType g1 = createEGenericType(theDatatypesPackage.getSequence());\n\t\tEGenericType g2 = createEGenericType(thePivotModelPackage.getProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"atts\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getCollectionType(),\n\t\t\t\t\"getCollectionType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getSequenceType(),\n\t\t\t\t\"getSequenceType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getBagType(),\n\t\t\t\t\"getBagType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getSetType(),\n\t\t\t\t\"getSetType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getOrderedSetType(),\n\t\t\t\t\"getOrderedSetType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getTypeType(),\n\t\t\t\t\"getTypeType\", 1, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"representedType\", 1, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tanyTypeEClass,\n\t\t\t\tAnyType.class,\n\t\t\t\t\"AnyType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(metadataEClass, Metadata.class, \"Metadata\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMetadata_Gamename(), ecorePackage.getEString(), \"Gamename\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Shortname(), ecorePackage.getEString(), \"Shortname\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Timing(), ecorePackage.getEString(), \"Timing\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Adressing(), ecorePackage.getEString(), \"Adressing\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_CartridgeType(), ecorePackage.getEString(), \"CartridgeType\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_RomSize(), ecorePackage.getEString(), \"RomSize\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_RamSize(), ecorePackage.getEString(), \"RamSize\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Licensee(), ecorePackage.getEString(), \"Licensee\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Country(), ecorePackage.getEString(), \"Country\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Videoformat(), ecorePackage.getEString(), \"Videoformat\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Version(), ecorePackage.getEInt(), \"Version\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_IdeVersion(), ecorePackage.getEString(), \"IdeVersion\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public GeneralModel() {\n initThemes();\n initProperties();\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__ELEMENTS);\n\n elementEClass = createEClass(ELEMENT);\n createEReference(elementEClass, ELEMENT__STATE);\n createEReference(elementEClass, ELEMENT__TRANSITION);\n\n stateEClass = createEClass(STATE);\n createEAttribute(stateEClass, STATE__NAME);\n createEReference(stateEClass, STATE__STATES_PROPERTIES);\n\n statesPropertiesEClass = createEClass(STATES_PROPERTIES);\n createEAttribute(statesPropertiesEClass, STATES_PROPERTIES__COLOR);\n createEAttribute(statesPropertiesEClass, STATES_PROPERTIES__THICKNESS);\n createEAttribute(statesPropertiesEClass, STATES_PROPERTIES__POSITION);\n\n transitionEClass = createEClass(TRANSITION);\n createEReference(transitionEClass, TRANSITION__START);\n createEReference(transitionEClass, TRANSITION__END);\n createEReference(transitionEClass, TRANSITION__TRANSITION_PROPERTIES);\n createEReference(transitionEClass, TRANSITION__LABEL);\n createEAttribute(transitionEClass, TRANSITION__INIT);\n\n labelEClass = createEClass(LABEL);\n createEAttribute(labelEClass, LABEL__TEXT);\n createEAttribute(labelEClass, LABEL__POSITION);\n\n coordinatesStatesTransitionEClass = createEClass(COORDINATES_STATES_TRANSITION);\n createEAttribute(coordinatesStatesTransitionEClass, COORDINATES_STATES_TRANSITION__STATE_TRANSITION);\n\n transitionPropertiesEClass = createEClass(TRANSITION_PROPERTIES);\n createEAttribute(transitionPropertiesEClass, TRANSITION_PROPERTIES__COLOR);\n createEAttribute(transitionPropertiesEClass, TRANSITION_PROPERTIES__THICKNESS);\n createEAttribute(transitionPropertiesEClass, TRANSITION_PROPERTIES__CURVE);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tXMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(controlEClass, Control.class, \"Control\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getControl_Midi(), this.getMidi(), null, \"midi\", null, 1, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Background(), theXMLTypePackage.getString(), \"background\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Centered(), theXMLTypePackage.getString(), \"centered\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Color(), theXMLTypePackage.getString(), \"color\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_H(), theXMLTypePackage.getString(), \"h\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Inverted(), theXMLTypePackage.getString(), \"inverted\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_InvertedX(), theXMLTypePackage.getString(), \"invertedX\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_InvertedY(), theXMLTypePackage.getString(), \"invertedY\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_LocalOff(), theXMLTypePackage.getString(), \"localOff\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Name(), theXMLTypePackage.getString(), \"name\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Number(), theXMLTypePackage.getString(), \"number\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_NumberX(), theXMLTypePackage.getString(), \"numberX\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_NumberY(), theXMLTypePackage.getString(), \"numberY\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_OscCs(), theXMLTypePackage.getString(), \"oscCs\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Outline(), theXMLTypePackage.getString(), \"outline\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Response(), theXMLTypePackage.getString(), \"response\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Scalef(), theXMLTypePackage.getString(), \"scalef\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Scalet(), theXMLTypePackage.getString(), \"scalet\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Seconds(), theXMLTypePackage.getString(), \"seconds\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Size(), theXMLTypePackage.getString(), \"size\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Text(), theXMLTypePackage.getString(), \"text\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Type(), theXMLTypePackage.getString(), \"type\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_W(), theXMLTypePackage.getString(), \"w\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_X(), theXMLTypePackage.getString(), \"x\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Y(), theXMLTypePackage.getString(), \"y\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(layoutEClass, Layout.class, \"Layout\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLayout_Tabpage(), this.getTabpage(), null, \"tabpage\", null, 1, -1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLayout_Mode(), theXMLTypePackage.getString(), \"mode\", null, 0, 1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLayout_Orientation(), theXMLTypePackage.getString(), \"orientation\", null, 0, 1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLayout_Version(), theXMLTypePackage.getString(), \"version\", null, 0, 1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(midiEClass, Midi.class, \"Midi\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMidi_Channel(), theXMLTypePackage.getString(), \"channel\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Data1(), theXMLTypePackage.getString(), \"data1\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Data2f(), theXMLTypePackage.getString(), \"data2f\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Data2t(), theXMLTypePackage.getString(), \"data2t\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Type(), theXMLTypePackage.getString(), \"type\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Var(), theXMLTypePackage.getString(), \"var\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(tabpageEClass, Tabpage.class, \"Tabpage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTabpage_Control(), this.getControl(), null, \"control\", null, 1, -1, Tabpage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTabpage_Name(), theXMLTypePackage.getString(), \"name\", null, 0, 1, Tabpage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(topEClass, net.sf.smbt.touchosc.touchosc.TOP.class, \"TOP\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTOP_Layout(), this.getLayout(), null, \"layout\", null, 1, 1, net.sf.smbt.touchosc.touchosc.TOP.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(maturityModelEClass, MaturityModel.class, \"MaturityModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMaturityModel_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Version(), ecorePackage.getEString(), \"version\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_ReleaseDate(), ecorePackage.getEDate(), \"releaseDate\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Author(), ecorePackage.getEString(), \"author\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Url(), ecorePackage.getEString(), \"url\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMaturityModel_Organizes(), this.getProcessArea(), null, \"organizes\", null, 0, -1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMaturityModel_EvolvesInto(), this.getMaturityLevel(), null, \"evolvesInto\", null, 0, -1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(processAreaEClass, ProcessArea.class, \"ProcessArea\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getProcessArea_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProcessArea_ShortDescription(), ecorePackage.getEString(), \"shortDescription\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProcessArea_MainDescription(), ecorePackage.getEString(), \"mainDescription\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProcessArea_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProcessArea_Defines(), this.getSpecificPractice(), null, \"defines\", null, 0, -1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProcessArea_Implements(), this.getMaturityLevel(), null, \"implements\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specificPracticeEClass, SpecificPractice.class, \"SpecificPractice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSpecificPractice_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSpecificPractice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSpecificPractice_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSpecificPractice_ComplementaryDescription(), ecorePackage.getEString(), \"complementaryDescription\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(maturityLevelEClass, MaturityLevel.class, \"MaturityLevel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMaturityLevel_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityLevel_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityLevel_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMaturityLevel_EvolvesInto(), this.getGenericPractice(), null, \"evolvesInto\", null, 0, -1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(genericPracticeEClass, GenericPractice.class, \"GenericPractice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getGenericPractice_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGenericPractice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGenericPractice_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGenericPractice_ComplementaryDescription(), ecorePackage.getEString(), \"complementaryDescription\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getGenericPractice_Divided(), this.getGPSubPractice(), null, \"divided\", null, 0, -1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(gpSubPracticeEClass, GPSubPractice.class, \"GPSubPractice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getGPSubPractice_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, GPSubPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGPSubPractice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, GPSubPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGPSubPractice_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, GPSubPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\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\tjElementEClass = createEClass(JELEMENT);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__UUID);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__NAME);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__SHORT_NAME);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__FULL_NAME);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__DESCRIPTION);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__FRAMEWORK);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__PARTICIPATES);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__VISIBILITY);\n\n\t\tjTypeEClass = createEClass(JTYPE);\n\n\t\tjTypedElementEClass = createEClass(JTYPED_ELEMENT);\n\t\tcreateEReference(jTypedElementEClass, JTYPED_ELEMENT__TYPE);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__VALUE);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__DERIVED);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__CALCULATED);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__LOWER);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__UPPER);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__ORDERED);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__UNIQUE);\n\n\t\tjPrimitiveEClass = createEClass(JPRIMITIVE);\n\t\tcreateEReference(jPrimitiveEClass, JPRIMITIVE__PACKAGE);\n\t\tcreateEAttribute(jPrimitiveEClass, JPRIMITIVE__USE_FOR_ID_TYPE);\n\n\t\tjEnumerationEClass = createEClass(JENUMERATION);\n\t\tcreateEReference(jEnumerationEClass, JENUMERATION__PACKAGE);\n\t\tcreateEReference(jEnumerationEClass, JENUMERATION__LITERALS);\n\t\tcreateEReference(jEnumerationEClass, JENUMERATION__CLASS_REPRESENTATION);\n\n\t\tjClassEClass = createEClass(JCLASS);\n\t\tcreateEAttribute(jClassEClass, JCLASS__ABSTRACT);\n\t\tcreateEReference(jClassEClass, JCLASS__STATE_MACHINES);\n\t\tcreateEReference(jClassEClass, JCLASS__OPERATIONS);\n\t\tcreateEReference(jClassEClass, JCLASS__ATTRIBUTE_ORDER);\n\t\tcreateEReference(jClassEClass, JCLASS__ATTRIBUTES_FOR_LISTING);\n\t\tcreateEReference(jClassEClass, JCLASS__FIXED_ENUM);\n\t\tcreateEAttribute(jClassEClass, JCLASS__REPRESENTS_TENANT);\n\t\tcreateEAttribute(jClassEClass, JCLASS__TENANT_MEMBER);\n\t\tcreateEReference(jClassEClass, JCLASS__REPRESENTATION);\n\t\tcreateEAttribute(jClassEClass, JCLASS__REPRESENTS_ENUM);\n\t\tcreateEAttribute(jClassEClass, JCLASS__REPRESENTS_TENANT_USER);\n\t\tcreateEAttribute(jClassEClass, JCLASS__REPRESENTS_USER);\n\t\tcreateEReference(jClassEClass, JCLASS__SUPERTYPE);\n\t\tcreateEReference(jClassEClass, JCLASS__PACKAGE);\n\t\tcreateEReference(jClassEClass, JCLASS__ROLES);\n\t\tcreateEReference(jClassEClass, JCLASS__ATTRIBUTES);\n\t\tcreateEAttribute(jClassEClass, JCLASS__BUSINESS_SINGLETON);\n\t\tcreateEReference(jClassEClass, JCLASS__ALIASES);\n\t\tcreateEAttribute(jClassEClass, JCLASS__WATCHED);\n\t\tcreateEAttribute(jClassEClass, JCLASS__REPRESENTS_ENUM_VALUE);\n\n\t\tjAttributeEClass = createEClass(JATTRIBUTE);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__PLACEHOLDER);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__REGEXP);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__MANDATORY);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__DECIMALS);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__INTERVAL);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__TECHNICAL);\n\t\tcreateEReference(jAttributeEClass, JATTRIBUTE__OWNER_CLASS);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__UI_NO_SEARCH);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__WATCHED);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__REPRESENTS_ID);\n\n\t\tjOperationEClass = createEClass(JOPERATION);\n\t\tcreateEAttribute(jOperationEClass, JOPERATION__CLASS_BASED);\n\t\tcreateEReference(jOperationEClass, JOPERATION__OWNER_CLASS);\n\t\tcreateEReference(jOperationEClass, JOPERATION__PARAMETERS);\n\t\tcreateEReference(jOperationEClass, JOPERATION__TRANSITION);\n\t\tcreateEAttribute(jOperationEClass, JOPERATION__BULK);\n\t\tcreateEAttribute(jOperationEClass, JOPERATION__KIND);\n\t\tcreateEAttribute(jOperationEClass, JOPERATION__UI_MUST_CONFIRM);\n\n\t\tjParameterEClass = createEClass(JPARAMETER);\n\t\tcreateEReference(jParameterEClass, JPARAMETER__OWNER_OPERATION);\n\t\tcreateEAttribute(jParameterEClass, JPARAMETER__INPUT);\n\t\tcreateEAttribute(jParameterEClass, JPARAMETER__INTERVAL);\n\n\t\tjRelationshipEClass = createEClass(JRELATIONSHIP);\n\t\tcreateEReference(jRelationshipEClass, JRELATIONSHIP__PACKAGE);\n\t\tcreateEReference(jRelationshipEClass, JRELATIONSHIP__ROLES);\n\t\tcreateEAttribute(jRelationshipEClass, JRELATIONSHIP__DERIVED);\n\n\t\tjRoleEClass = createEClass(JROLE);\n\t\tcreateEAttribute(jRoleEClass, JROLE__LOWER);\n\t\tcreateEAttribute(jRoleEClass, JROLE__UPPER);\n\t\tcreateEAttribute(jRoleEClass, JROLE__NAVIGABLE);\n\t\tcreateEAttribute(jRoleEClass, JROLE__UNIQUE);\n\t\tcreateEAttribute(jRoleEClass, JROLE__ORDERED);\n\t\tcreateEReference(jRoleEClass, JROLE__OWNER_RELATIONSHIP);\n\t\tcreateEAttribute(jRoleEClass, JROLE__DERIVED_EXPRESSION);\n\t\tcreateEAttribute(jRoleEClass, JROLE__DERIVED_DESCRIPTION);\n\t\tcreateEAttribute(jRoleEClass, JROLE__KIND);\n\t\tcreateEAttribute(jRoleEClass, JROLE__OPTION_SCRIPT);\n\t\tcreateEReference(jRoleEClass, JROLE__OWNER_CLASS);\n\t\tcreateEAttribute(jRoleEClass, JROLE__VALUE);\n\t\tcreateEAttribute(jRoleEClass, JROLE__CALCULATED);\n\t\tcreateEAttribute(jRoleEClass, JROLE__INTERVAL);\n\n\t\tjLiteralEClass = createEClass(JLITERAL);\n\t\tcreateEReference(jLiteralEClass, JLITERAL__ENUMERATION);\n\n\t\tjPackageEClass = createEClass(JPACKAGE);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__ENUMERATIONS);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__PRIMITIVES);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__RELATIONSHIPS);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__CHILDREN);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__PARENT);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__OWNER_MODEL);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__CLASSES);\n\n\t\tjStateMachineEClass = createEClass(JSTATE_MACHINE);\n\t\tcreateEReference(jStateMachineEClass, JSTATE_MACHINE__OWNER_CLASS);\n\t\tcreateEReference(jStateMachineEClass, JSTATE_MACHINE__STATES);\n\t\tcreateEReference(jStateMachineEClass, JSTATE_MACHINE__TRANSITIONS);\n\t\tcreateEReference(jStateMachineEClass, JSTATE_MACHINE__CORRESPONDING_ENUM);\n\n\t\tjTransitionEClass = createEClass(JTRANSITION);\n\t\tcreateEReference(jTransitionEClass, JTRANSITION__STATE_MACHINE);\n\t\tcreateEReference(jTransitionEClass, JTRANSITION__GUARD);\n\t\tcreateEReference(jTransitionEClass, JTRANSITION__TO_STATE);\n\t\tcreateEReference(jTransitionEClass, JTRANSITION__FROM_STATE);\n\t\tcreateEReference(jTransitionEClass, JTRANSITION__EXECUTING_OPERATION);\n\n\t\tjStateEClass = createEClass(JSTATE);\n\t\tcreateEReference(jStateEClass, JSTATE__OWNER_STATE_MACHINE);\n\t\tcreateEReference(jStateEClass, JSTATE__INCOMING_TRANSITIONS);\n\t\tcreateEReference(jStateEClass, JSTATE__OUTGOING_TRANSITIONS);\n\t\tcreateEAttribute(jStateEClass, JSTATE__INITIAL_STATE);\n\t\tcreateEAttribute(jStateEClass, JSTATE__FINAL_STATE);\n\n\t\tjGuardEClass = createEClass(JGUARD);\n\t\tcreateEReference(jGuardEClass, JGUARD__TRANSITION);\n\t\tcreateEAttribute(jGuardEClass, JGUARD__TEXT);\n\t\tcreateEAttribute(jGuardEClass, JGUARD__EXPRESSION);\n\n\t\tjModelEClass = createEClass(JMODEL);\n\t\tcreateEReference(jModelEClass, JMODEL__PACKAGES);\n\t\tcreateEAttribute(jModelEClass, JMODEL__PACKAGE_PREFIX);\n\t\tcreateEReference(jModelEClass, JMODEL__APPLICATION_TOP);\n\t\tcreateEReference(jModelEClass, JMODEL__ROOT_MENU_ITEMS);\n\t\tcreateEReference(jModelEClass, JMODEL__INFO);\n\n\t\tjuiMenuItemEClass = createEClass(JUI_MENU_ITEM);\n\t\tcreateEReference(juiMenuItemEClass, JUI_MENU_ITEM__CHILDREN);\n\t\tcreateEReference(juiMenuItemEClass, JUI_MENU_ITEM__PARENT);\n\t\tcreateEReference(juiMenuItemEClass, JUI_MENU_ITEM__REPRESENT);\n\t\tcreateEReference(juiMenuItemEClass, JUI_MENU_ITEM__UIFILTERS);\n\t\tcreateEAttribute(juiMenuItemEClass, JUI_MENU_ITEM__TYPE);\n\t\tcreateEReference(juiMenuItemEClass, JUI_MENU_ITEM__ALIAS);\n\n\t\tjuiAttributeGroupEClass = createEClass(JUI_ATTRIBUTE_GROUP);\n\t\tcreateEReference(juiAttributeGroupEClass, JUI_ATTRIBUTE_GROUP__ATTRIBUTES);\n\t\tcreateEAttribute(juiAttributeGroupEClass, JUI_ATTRIBUTE_GROUP__POSITION);\n\n\t\tjuiFilterEClass = createEClass(JUI_FILTER);\n\t\tcreateEReference(juiFilterEClass, JUI_FILTER__ATTRIBUTE);\n\t\tcreateEAttribute(juiFilterEClass, JUI_FILTER__OPERATOR);\n\t\tcreateEAttribute(juiFilterEClass, JUI_FILTER__VALUE);\n\n\t\tjuiAliasEClass = createEClass(JUI_ALIAS);\n\t\tcreateEReference(juiAliasEClass, JUI_ALIAS__OWNER_CLASS);\n\n\t\tjInfoEClass = createEClass(JINFO);\n\t\tcreateEReference(jInfoEClass, JINFO__SUBMODELS);\n\n\t\tjSubmodelEClass = createEClass(JSUBMODEL);\n\t\tcreateEAttribute(jSubmodelEClass, JSUBMODEL__VERSION);\n\n\t\t// Create enums\n\t\tjVisibilityEEnum = createEEnum(JVISIBILITY);\n\t\tjAssociationKindEEnum = createEEnum(JASSOCIATION_KIND);\n\t\tjOperationKindEEnum = createEEnum(JOPERATION_KIND);\n\t\tjLayerEEnum = createEEnum(JLAYER);\n\t\tjMenuItemTypeEEnum = createEEnum(JMENU_ITEM_TYPE);\n\t\tjOperatorEEnum = createEEnum(JOPERATOR);\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 void initializePackageContents() {\n if(isInitialized) {\n return;\n }\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n modularizationModelEClass.getESuperTypes().add(this.getNamedElement());\n moduleEClass.getESuperTypes().add(this.getNamedElement());\n classEClass.getESuperTypes().add(this.getNamedElement());\n\n // Initialize classes, features, and operations; add parameters\n initEClass(namedElementEClass, NamedElement.class, \"NamedElement\", !IS_ABSTRACT, !IS_INTERFACE,\n IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, NamedElement.class,\n !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(modularizationModelEClass, ModularizationModel.class, \"ModularizationModel\", !IS_ABSTRACT,\n !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModularizationModel_Modules(), this.getModule(), null, \"modules\", null, 0, -1,\n ModularizationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\n !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n initEReference(getModularizationModel_Classes(), this.getClass_(), null, \"classes\", null, 0, -1,\n ModularizationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\n !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n initEClass(moduleEClass, Module.class, \"Module\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModule_Classes(), this.getClass_(), this.getClass_Module(), \"classes\", null, 0, -1,\n Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(classEClass, at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, \"Class\",\n !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getClass_Module(), this.getModule(), this.getModule_Classes(), \"module\", null, 0, 1,\n at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, !IS_TRANSIENT, !IS_VOLATILE,\n IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getClass_DependsOn(), this.getClass_(), this.getClass_DependedOnBy(), \"dependsOn\", null, 0, -1,\n at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, !IS_TRANSIENT, !IS_VOLATILE,\n IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getClass_DependedOnBy(), this.getClass_(), this.getClass_DependsOn(), \"dependedOnBy\", null, 0, -1,\n at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, !IS_TRANSIENT, !IS_VOLATILE,\n IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tannotationEClass.getESuperTypes().add(this.getNamedElement());\n\t\ttargetLanguageEClass.getESuperTypes().add(this.getNamedElement());\n\t\ttechnologyEClass.getESuperTypes().add(this.getNamedElement());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(annotationEClass, Annotation.class, \"Annotation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnnotation_Implementations(), this.getImplementation(), null, \"implementations\", null, 0, -1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(implementationEClass, Implementation.class, \"Implementation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getImplementation_Code(), ecorePackage.getEString(), \"code\", null, 1, 1, Implementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getImplementation_Technology(), this.getTechnology(), null, \"technology\", null, 1, 1, Implementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getImplementation_Language(), this.getTargetLanguage(), null, \"language\", null, 1, 1, Implementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(semanticsEClass, Semantics.class, \"Semantics\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSemantics_Annotations(), this.getAnnotation(), null, \"annotations\", null, 0, -1, Semantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSemantics_Languages(), this.getTargetLanguage(), null, \"languages\", null, 0, -1, Semantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSemantics_Technologies(), this.getTechnology(), null, \"technologies\", null, 0, -1, Semantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(targetLanguageEClass, TargetLanguage.class, \"TargetLanguage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(technologyEClass, Technology.class, \"Technology\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(namedElementEClass, NamedElement.class, \"NamedElement\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\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\teDomainSchemaEClass = createEClass(EDOMAIN_SCHEMA);\n\t\tcreateEReference(eDomainSchemaEClass, EDOMAIN_SCHEMA__CS);\n\t\tcreateEReference(eDomainSchemaEClass, EDOMAIN_SCHEMA__DS);\n\n\t\teControlSchemaEClass = createEClass(ECONTROL_SCHEMA);\n\t\tcreateEReference(eControlSchemaEClass, ECONTROL_SCHEMA__ACTOR);\n\n\t\teDataSchemaEClass = createEClass(EDATA_SCHEMA);\n\t\tcreateEReference(eDataSchemaEClass, EDATA_SCHEMA__CS);\n\t\tcreateEReference(eDataSchemaEClass, EDATA_SCHEMA__ITEM);\n\n\t\teDomainSpecificEntityEClass = createEClass(EDOMAIN_SPECIFIC_ENTITY);\n\t\tcreateEAttribute(eDomainSpecificEntityEClass, EDOMAIN_SPECIFIC_ENTITY__COMMAND_PRIORITY);\n\t\tcreateEReference(eDomainSpecificEntityEClass, EDOMAIN_SPECIFIC_ENTITY__CMD);\n\n\t\teDomainSpecificCommandEClass = createEClass(EDOMAIN_SPECIFIC_COMMAND);\n\t\tcreateEAttribute(eDomainSpecificCommandEClass, EDOMAIN_SPECIFIC_COMMAND__CMD_ID);\n\n\t\teActorEClass = createEClass(EACTOR);\n\t\tcreateEAttribute(eActorEClass, EACTOR__KIND_INTERACTION);\n\t\tcreateEReference(eActorEClass, EACTOR__TYPES_CONTROLLED);\n\n\t\teItemEClass = createEClass(EITEM);\n\t\tcreateEAttribute(eItemEClass, EITEM__ARISING_BEHAVIOR);\n\t\tcreateEReference(eItemEClass, EITEM__TYPE);\n\n\t\teDomainSpecificTypeEClass = createEClass(EDOMAIN_SPECIFIC_TYPE);\n\t\tcreateEAttribute(eDomainSpecificTypeEClass, EDOMAIN_SPECIFIC_TYPE__INTERACTION_BEHAVIOR);\n\t\tcreateEAttribute(eDomainSpecificTypeEClass, EDOMAIN_SPECIFIC_TYPE__CARDINALITY);\n\n\t\t// Create enums\n\t\teArisingEEnum = createEEnum(EARISING);\n\t\teCardinalityEEnum = createEEnum(ECARDINALITY);\n\t\teInteractionBehaviorEEnum = createEEnum(EINTERACTION_BEHAVIOR);\n\t\teCoordinationBehaviorEEnum = createEEnum(ECOORDINATION_BEHAVIOR);\n\t}", "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__SPEC);\n\n statementEClass = createEClass(STATEMENT);\n createEReference(statementEClass, STATEMENT__DEF);\n createEReference(statementEClass, STATEMENT__OUT);\n createEReference(statementEClass, STATEMENT__IN);\n createEAttribute(statementEClass, STATEMENT__COMMENT);\n\n definitionEClass = createEClass(DEFINITION);\n createEAttribute(definitionEClass, DEFINITION__NAME);\n createEReference(definitionEClass, DEFINITION__PARAM_LIST);\n createEAttribute(definitionEClass, DEFINITION__TYPE);\n createEReference(definitionEClass, DEFINITION__EXPRESSION);\n\n paramListEClass = createEClass(PARAM_LIST);\n createEAttribute(paramListEClass, PARAM_LIST__PARAMS);\n createEAttribute(paramListEClass, PARAM_LIST__TYPES);\n\n outEClass = createEClass(OUT);\n createEReference(outEClass, OUT__EXP);\n createEAttribute(outEClass, OUT__NAME);\n\n inEClass = createEClass(IN);\n createEAttribute(inEClass, IN__NAME);\n createEAttribute(inEClass, IN__TYPE);\n\n typedExpressionEClass = createEClass(TYPED_EXPRESSION);\n createEReference(typedExpressionEClass, TYPED_EXPRESSION__EXP);\n createEAttribute(typedExpressionEClass, TYPED_EXPRESSION__TYPE);\n\n expressionEClass = createEClass(EXPRESSION);\n\n valueEClass = createEClass(VALUE);\n createEAttribute(valueEClass, VALUE__OP);\n createEReference(valueEClass, VALUE__EXP);\n createEReference(valueEClass, VALUE__STATEMENTS);\n createEAttribute(valueEClass, VALUE__NAME);\n createEReference(valueEClass, VALUE__ARGS);\n\n argEClass = createEClass(ARG);\n createEAttribute(argEClass, ARG__ARG);\n createEReference(argEClass, ARG__EXP);\n\n ifStatementEClass = createEClass(IF_STATEMENT);\n createEReference(ifStatementEClass, IF_STATEMENT__IF);\n createEReference(ifStatementEClass, IF_STATEMENT__THEN);\n createEReference(ifStatementEClass, IF_STATEMENT__ELSE);\n\n operationEClass = createEClass(OPERATION);\n createEReference(operationEClass, OPERATION__LEFT);\n createEAttribute(operationEClass, OPERATION__OP);\n createEReference(operationEClass, OPERATION__RIGHT);\n }", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n\n // Initialize classes and features; add operations and parameters\n initEClass(modelEClass, Model.class, \"Model\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModel_Elements(), this.getElement(), null, \"elements\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(elementEClass, Element.class, \"Element\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getElement_State(), this.getState(), null, \"state\", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getElement_Transition(), this.getTransition(), null, \"transition\", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(stateEClass, State.class, \"State\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getState_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getState_StatesProperties(), this.getStatesProperties(), null, \"statesProperties\", null, 0, -1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(statesPropertiesEClass, StatesProperties.class, \"StatesProperties\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStatesProperties_Color(), ecorePackage.getEString(), \"color\", null, 0, 1, StatesProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getStatesProperties_Thickness(), ecorePackage.getEString(), \"thickness\", null, 0, 1, StatesProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getStatesProperties_Position(), ecorePackage.getEString(), \"position\", null, 0, 1, StatesProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(transitionEClass, Transition.class, \"Transition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getTransition_Start(), this.getCoordinatesStatesTransition(), null, \"start\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTransition_End(), this.getCoordinatesStatesTransition(), null, \"end\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTransition_TransitionProperties(), this.getTransitionProperties(), null, \"transitionProperties\", null, 0, -1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTransition_Label(), this.getLabel(), null, \"label\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTransition_Init(), ecorePackage.getEString(), \"init\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(labelEClass, Label.class, \"Label\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getLabel_Text(), ecorePackage.getEString(), \"text\", null, 0, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getLabel_Position(), ecorePackage.getEString(), \"position\", null, 0, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(coordinatesStatesTransitionEClass, CoordinatesStatesTransition.class, \"CoordinatesStatesTransition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCoordinatesStatesTransition_StateTransition(), ecorePackage.getEString(), \"stateTransition\", null, 0, 1, CoordinatesStatesTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(transitionPropertiesEClass, TransitionProperties.class, \"TransitionProperties\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTransitionProperties_Color(), ecorePackage.getEString(), \"color\", null, 0, 1, TransitionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTransitionProperties_Thickness(), ecorePackage.getEString(), \"thickness\", null, 0, 1, TransitionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTransitionProperties_Curve(), ecorePackage.getEString(), \"curve\", null, 0, 1, TransitionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n mathExpEClass = createEClass(MATH_EXP);\n createEReference(mathExpEClass, MATH_EXP__DECLARATIONS);\n\n declarationEClass = createEClass(DECLARATION);\n\n externalDefEClass = createEClass(EXTERNAL_DEF);\n createEAttribute(externalDefEClass, EXTERNAL_DEF__NAME);\n createEReference(externalDefEClass, EXTERNAL_DEF__PARAMETERS);\n\n parameterEClass = createEClass(PARAMETER);\n createEReference(parameterEClass, PARAMETER__TYPE);\n createEAttribute(parameterEClass, PARAMETER__PARAMETER_NAME);\n\n typeEClass = createEClass(TYPE);\n createEAttribute(typeEClass, TYPE__NAME);\n\n resultStatementEClass = createEClass(RESULT_STATEMENT);\n createEAttribute(resultStatementEClass, RESULT_STATEMENT__LABEL);\n createEReference(resultStatementEClass, RESULT_STATEMENT__EXP);\n\n expressionEClass = createEClass(EXPRESSION);\n\n plusEClass = createEClass(PLUS);\n createEReference(plusEClass, PLUS__LEFT);\n createEReference(plusEClass, PLUS__RIGHT);\n\n minusEClass = createEClass(MINUS);\n createEReference(minusEClass, MINUS__LEFT);\n createEReference(minusEClass, MINUS__RIGHT);\n\n multEClass = createEClass(MULT);\n createEReference(multEClass, MULT__LEFT);\n createEReference(multEClass, MULT__RIGHT);\n\n divEClass = createEClass(DIV);\n createEReference(divEClass, DIV__LEFT);\n createEReference(divEClass, DIV__RIGHT);\n\n varEClass = createEClass(VAR);\n createEAttribute(varEClass, VAR__ID);\n\n letEClass = createEClass(LET);\n createEAttribute(letEClass, LET__ID);\n createEReference(letEClass, LET__BINDING);\n createEReference(letEClass, LET__BODY);\n\n externalUseEClass = createEClass(EXTERNAL_USE);\n createEReference(externalUseEClass, EXTERNAL_USE__EXTERNAL);\n createEReference(externalUseEClass, EXTERNAL_USE__ARGUMENTS);\n\n numEClass = createEClass(NUM);\n createEAttribute(numEClass, NUM__VALUE);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized)\n\t\t\treturn;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(userEClass, User.class, \"User\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getUser_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, User.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getUser_UR(), this.getRole(), this.getRole_RU(), \"UR\", null, 0, -1, User.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\n\t\t\t\tIS_ORDERED);\n\n\t\tinitEClass(roleEClass, Role.class, \"Role\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getRole_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Role.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRole_RD(), this.getDemarcation(), this.getDemarcation_DR(), \"RD\", null, 0, -1, Role.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRole_Seniors(), this.getRole(), this.getRole_Juniors(), \"seniors\", null, 0, -1, Role.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRole_Juniors(), this.getRole(), this.getRole_Seniors(), \"juniors\", null, 0, -1, Role.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRole_RU(), this.getUser(), this.getUser_UR(), \"RU\", null, 0, -1, Role.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\n\t\t\t\tIS_ORDERED);\n\n\t\tinitEClass(permissionEClass, Permission.class, \"Permission\", !IS_ABSTRACT, !IS_INTERFACE,\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPermission_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Permission.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPermission_PD(), this.getDemarcation(), this.getDemarcation_DP(), \"PD\", null, 0, -1,\n\t\t\t\tPermission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(policyEClass, Policy.class, \"Policy\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPolicy_Users(), this.getUser(), null, \"users\", null, 0, -1, Policy.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\n\t\t\t\tIS_ORDERED);\n\t\tinitEReference(getPolicy_Roles(), this.getRole(), null, \"roles\", null, 0, -1, Policy.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\n\t\t\t\tIS_ORDERED);\n\t\tinitEReference(getPolicy_Permissions(), this.getPermission(), null, \"permissions\", null, 0, -1, Policy.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPolicy_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Policy.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPolicy_Demarcations(), this.getDemarcation(), null, \"demarcations\", null, 0, -1, Policy.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(demarcationEClass, Demarcation.class, \"Demarcation\", !IS_ABSTRACT, !IS_INTERFACE,\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDemarcation_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Demarcation.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDemarcation_DP(), this.getPermission(), this.getPermission_PD(), \"DP\", null, 0, -1,\n\t\t\t\tDemarcation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDemarcation_Subs(), this.getDemarcation(), this.getDemarcation_Sups(), \"subs\", null, 0, -1,\n\t\t\t\tDemarcation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDemarcation_Sups(), this.getDemarcation(), this.getDemarcation_Subs(), \"sups\", null, 0, -1,\n\t\t\t\tDemarcation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDemarcation_DR(), this.getRole(), this.getRole_RD(), \"DR\", null, 0, -1, Demarcation.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\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}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\troleEClass.getESuperTypes().add(this.getSocialInstance());\n\t\tindividualInstanceEClass.getESuperTypes().add(this.getSocialInstance());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(roleEClass, Role.class, \"Role\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRole_Society(), this.getSociety(), this.getSociety_Roles(), \"society\", null, 1, 1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRole_IsRealizedByIndividual(), this.getIndividualRealization(), this.getIndividualRealization_Target(), \"isRealizedByIndividual\", null, 0, -1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRole_Parent(), this.getSpecialization(), this.getSpecialization_Target(), \"parent\", null, 0, -1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRole_Children(), this.getSpecialization(), this.getSpecialization_Source(), \"children\", null, 0, -1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRole_Id(), ecorePackage.getEInt(), \"id\", null, 1, 1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRole_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(individualRealizationEClass, IndividualRealization.class, \"IndividualRealization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getIndividualRealization_Target(), this.getRole(), this.getRole_IsRealizedByIndividual(), \"target\", null, 1, 1, IndividualRealization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIndividualRealization_Source(), this.getIndividualInstance(), this.getIndividualInstance_Realizes(), \"source\", null, 1, 1, IndividualRealization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIndividualRealization_Society(), this.getSociety(), this.getSociety_Relaizations(), \"society\", null, 1, 1, IndividualRealization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getIndividualRealization_Id(), ecorePackage.getEInt(), \"id\", null, 1, 1, IndividualRealization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(societyEClass, Society.class, \"Society\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSociety_Generalizations(), this.getSpecialization(), this.getSpecialization_Society(), \"generalizations\", null, 0, -1, Society.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSociety_Relaizations(), this.getIndividualRealization(), this.getIndividualRealization_Society(), \"relaizations\", null, 0, -1, Society.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSociety_Individuals(), this.getIndividualInstance(), this.getIndividualInstance_Society(), \"individuals\", null, 0, -1, Society.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSociety_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, Society.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSociety_Roles(), this.getRole(), this.getRole_Society(), \"roles\", null, 1, -1, Society.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specializationEClass, Specialization.class, \"Specialization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecialization_Target(), this.getRole(), this.getRole_Parent(), \"target\", null, 1, 1, Specialization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSpecialization_Source(), this.getRole(), this.getRole_Children(), \"source\", null, 1, 1, Specialization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSpecialization_Society(), this.getSociety(), this.getSociety_Generalizations(), \"society\", null, 1, 1, Specialization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSpecialization_Id(), ecorePackage.getEInt(), \"id\", null, 1, 1, Specialization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(individualInstanceEClass, IndividualInstance.class, \"IndividualInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getIndividualInstance_Realizes(), this.getIndividualRealization(), this.getIndividualRealization_Source(), \"realizes\", null, 1, -1, IndividualInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getIndividualInstance_Id(), ecorePackage.getEInt(), \"id\", null, 1, 1, IndividualInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getIndividualInstance_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, IndividualInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIndividualInstance_Society(), this.getSociety(), this.getSociety_Individuals(), \"society\", null, 1, 1, IndividualInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(socialInstanceEClass, SocialInstance.class, \"SocialInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getSocialInstance__GetID(), ecorePackage.getEInt(), \"getID\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSocialInstance__GetName(), ecorePackage.getEString(), \"getName\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\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\tcharacteristicComponentEClass = createEClass(CHARACTERISTIC_COMPONENT);\n\t\tcreateEAttribute(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__NAME);\n\t\tcreateEAttribute(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__MODULE);\n\t\tcreateEAttribute(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__PREFIX);\n\t\tcreateEAttribute(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__CONTAINER);\n\t\tcreateEReference(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__ACTIONS);\n\t\tcreateEReference(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__ATTRIBUTES);\n\t\tcreateEReference(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__PROPERTIES);\n\t\tcreateEReference(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__USED_BACI_TYPES);\n\t\tcreateEReference(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__USED_DEV_IOS);\n\t\tcreateEReference(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__COMPONENT_INSTANCES);\n\n\t\tactionEClass = createEClass(ACTION);\n\t\tcreateEAttribute(actionEClass, ACTION__NAME);\n\t\tcreateEAttribute(actionEClass, ACTION__TYPE);\n\t\tcreateEReference(actionEClass, ACTION__PARAMETERS);\n\n\t\tparameterEClass = createEClass(PARAMETER);\n\t\tcreateEAttribute(parameterEClass, PARAMETER__NAME);\n\t\tcreateEAttribute(parameterEClass, PARAMETER__TYPE);\n\n\t\tattributeEClass = createEClass(ATTRIBUTE);\n\t\tcreateEAttribute(attributeEClass, ATTRIBUTE__NAME);\n\t\tcreateEAttribute(attributeEClass, ATTRIBUTE__TYPE);\n\t\tcreateEAttribute(attributeEClass, ATTRIBUTE__REQUIRED);\n\t\tcreateEAttribute(attributeEClass, ATTRIBUTE__DEFAULT_VALUE);\n\n\t\tpropertyEClass = createEClass(PROPERTY);\n\t\tcreateEAttribute(propertyEClass, PROPERTY__NAME);\n\t\tcreateEReference(propertyEClass, PROPERTY__BACI_TYPE);\n\t\tcreateEReference(propertyEClass, PROPERTY__DEV_IO);\n\n\t\tusedDevIOsEClass = createEClass(USED_DEV_IOS);\n\t\tcreateEReference(usedDevIOsEClass, USED_DEV_IOS__DEV_IOS);\n\n\t\tdevIOEClass = createEClass(DEV_IO);\n\t\tcreateEAttribute(devIOEClass, DEV_IO__NAME);\n\t\tcreateEAttribute(devIOEClass, DEV_IO__REQUIRED_LIBRARIES);\n\t\tcreateEReference(devIOEClass, DEV_IO__DEV_IO_VARIABLES);\n\n\t\tdevIOVariableEClass = createEClass(DEV_IO_VARIABLE);\n\t\tcreateEAttribute(devIOVariableEClass, DEV_IO_VARIABLE__NAME);\n\t\tcreateEAttribute(devIOVariableEClass, DEV_IO_VARIABLE__TYPE);\n\t\tcreateEAttribute(devIOVariableEClass, DEV_IO_VARIABLE__IS_READ);\n\t\tcreateEAttribute(devIOVariableEClass, DEV_IO_VARIABLE__IS_WRITE);\n\t\tcreateEAttribute(devIOVariableEClass, DEV_IO_VARIABLE__IS_PROPERTY_SPECIFIC);\n\n\t\tusedBaciTypesEClass = createEClass(USED_BACI_TYPES);\n\t\tcreateEReference(usedBaciTypesEClass, USED_BACI_TYPES__BACI_TYPES);\n\n\t\tbaciTypeEClass = createEClass(BACI_TYPE);\n\t\tcreateEAttribute(baciTypeEClass, BACI_TYPE__NAME);\n\t\tcreateEAttribute(baciTypeEClass, BACI_TYPE__ACCESS_TYPE);\n\t\tcreateEAttribute(baciTypeEClass, BACI_TYPE__BASIC_TYPE);\n\t\tcreateEAttribute(baciTypeEClass, BACI_TYPE__SEQ_TYPE);\n\n\t\tcomponentInstancesEClass = createEClass(COMPONENT_INSTANCES);\n\t\tcreateEReference(componentInstancesEClass, COMPONENT_INSTANCES__INSTANCES);\n\t\tcreateEReference(componentInstancesEClass, COMPONENT_INSTANCES__CONTAINING_CARACTERISTIC_COMPONENT);\n\n\t\tinstanceEClass = createEClass(INSTANCE);\n\t\tcreateEAttribute(instanceEClass, INSTANCE__NAME);\n\t\tcreateEReference(instanceEClass, INSTANCE__CONTAINING_COMPONENT_INSTANCES);\n\t\tcreateEReference(instanceEClass, INSTANCE__ATTRIBUTE_VALUES_CONTAINER);\n\t\tcreateEReference(instanceEClass, INSTANCE__CHARACTERISTIC_VALUES_CONTAINER);\n\t\tcreateEAttribute(instanceEClass, INSTANCE__AUTO_START);\n\t\tcreateEAttribute(instanceEClass, INSTANCE__DEFAULT);\n\n\t\tattributeValuesEClass = createEClass(ATTRIBUTE_VALUES);\n\t\tcreateEReference(attributeValuesEClass, ATTRIBUTE_VALUES__INSTANCE_ATTRIBUTES);\n\t\tcreateEReference(attributeValuesEClass, ATTRIBUTE_VALUES__CONTAINING_INSTANCE);\n\n\t\tattributeValueEClass = createEClass(ATTRIBUTE_VALUE);\n\t\tcreateEAttribute(attributeValueEClass, ATTRIBUTE_VALUE__NAME);\n\t\tcreateEAttribute(attributeValueEClass, ATTRIBUTE_VALUE__VALUE);\n\n\t\tcharacteristicValuesEClass = createEClass(CHARACTERISTIC_VALUES);\n\t\tcreateEAttribute(characteristicValuesEClass, CHARACTERISTIC_VALUES__PROPERTY_NAME);\n\t\tcreateEReference(characteristicValuesEClass, CHARACTERISTIC_VALUES__INSTANCE_CHARACTERISTICS);\n\t\tcreateEReference(characteristicValuesEClass, CHARACTERISTIC_VALUES__CONTAINING_INSTANCE);\n\n\t\tcharacteristicValueEClass = createEClass(CHARACTERISTIC_VALUE);\n\t\tcreateEAttribute(characteristicValueEClass, CHARACTERISTIC_VALUE__NAME);\n\t\tcreateEAttribute(characteristicValueEClass, CHARACTERISTIC_VALUE__VALUE);\n\n\t\tpropertyDefinitionEClass = createEClass(PROPERTY_DEFINITION);\n\n\t\t// Create enums\n\t\taccessTypeEEnum = createEEnum(ACCESS_TYPE);\n\t\tbasicTypeEEnum = createEEnum(BASIC_TYPE);\n\t\tseqTypeEEnum = createEEnum(SEQ_TYPE);\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\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}", "public interface Meta {\r\n\r\n /**\r\n * Get the Type of the OSM object\r\n * \r\n * @return the Type\r\n */\r\n @NotNull\r\n default Type getType() {\r\n throw new IllegalArgumentException(\"getType is unsupported\");\r\n }\r\n\r\n /**\r\n * Get the OSM elements tags\r\n * \r\n * @return a Map of KV tupels\r\n */\r\n @Nullable\r\n default Map<String, String> getTags() {\r\n throw new IllegalArgumentException(\"getTags is unsupported\");\r\n }\r\n\r\n /**\r\n * Get the OSM display name\r\n * \r\n * @return the OSM display name\r\n */\r\n String getUser();\r\n\r\n /**\r\n * Get the OSM id of the object\r\n * \r\n * @return the OSM id of the object\r\n */\r\n long getId();\r\n\r\n /**\r\n * Get the version of the object\r\n * \r\n * @return the version of the object\r\n */\r\n long getVersion();\r\n\r\n /**\r\n * Get the changeset id for this object\r\n * \r\n * @return the changeset id for this object\r\n */\r\n long getChangeset();\r\n\r\n /**\r\n * Get the timestamp (when this version of the object was created)\r\n * \r\n * @return the timestamp in seconds since the Unic EPOCH\r\n */\r\n long getTimestamp();\r\n\r\n /**\r\n * Get the state of the object\r\n * \r\n * @return a State\r\n */\r\n @NotNull\r\n State getState();\r\n\r\n /**\r\n * If the object is a Way check if it is closed\r\n * \r\n * @return true if the way is closed\r\n */\r\n boolean isClosed();\r\n\r\n /**\r\n * If the object is a Way return the number of way nodes\r\n * \r\n * @return the number of way nodes\r\n */\r\n int getNodeCount();\r\n\r\n /**\r\n * If the object is a Node return the number of ways it is a member of\r\n * \r\n * @return the number of ways the Node is a member of\r\n */\r\n int getWayCount();\r\n\r\n /**\r\n * If the object is a Relation return the number of members it has\r\n * \r\n * If not implemented this returns -1 which should always evaluate to false\r\n * \r\n * @return the number of members the Relation has\r\n */\r\n default int getMemberCount() {\r\n return Range.UNINITALIZED;\r\n }\r\n\r\n /**\r\n * If the object is a Way and closed return the area it covers\r\n * \r\n * @return the area it covers in m^2\r\n */\r\n int getAreaSize();\r\n\r\n /**\r\n * If the object is a Way return its length\r\n * \r\n * @return the the length in m\r\n */\r\n int getWayLength();\r\n\r\n /**\r\n * Get any roles the element has in Relations\r\n * \r\n * @return a Collection containing the roles\r\n */\r\n @NotNull\r\n Collection<String> getRoles();\r\n\r\n /**\r\n * Check if the element is selected\r\n * \r\n * @return true if selected\r\n */\r\n boolean isSelected();\r\n\r\n /**\r\n * Check if a relation has a member with role\r\n * \r\n * @param role the role\r\n * @return true if there is a member with the role\r\n */\r\n boolean hasRole(@NotNull String role);\r\n\r\n /**\r\n * Get a preset from a path specification\r\n * \r\n * @param presetPath the path\r\n * @return an Object that should be a instance of a preset for the syste,\r\n */\r\n @Nullable\r\n Object getPreset(@NotNull String presetPath);\r\n\r\n /**\r\n * Check if the object matches with a preset or a preset group\r\n * \r\n * @param preset the path to the preset or group\r\n * @return true if the object matches\r\n */\r\n boolean matchesPreset(@NotNull Object preset);\r\n\r\n /**\r\n * Check if the element is incomplete (this is not defined in the documentation)\r\n * \r\n * @return true if incomplete\r\n */\r\n boolean isIncomplete();\r\n\r\n /**\r\n * Check if the element is in the current view\r\n * \r\n * @return true if in view\r\n */\r\n boolean isInview();\r\n\r\n /**\r\n * Check if the element and all member elements is in the current view\r\n * \r\n * @return true if in view\r\n */\r\n boolean isAllInview();\r\n\r\n /**\r\n * Check if the element is in the downloaded areas\r\n * \r\n * @return true if in view\r\n */\r\n boolean isInDownloadedArea();\r\n\r\n /**\r\n * Check if the element and all member elements is in the downloaded areas\r\n * \r\n * @return true if in view\r\n */\r\n boolean isAllInDownloadedArea();\r\n\r\n /**\r\n * Check if the current element is a child of an element\r\n * \r\n * @param type type of the element\r\n * @param element the meta interface to the element\r\n * @param parents a List of elements\r\n * @return true if element is a child\r\n */\r\n default boolean isChild(@NotNull Type type, @NotNull Meta element, @NotNull List<Object> parents) {\r\n return false;\r\n }\r\n\r\n /**\r\n * Check if the current element is a parent of an element\r\n * \r\n * @param type type of the element\r\n * @param meta the meta interface to the element\r\n * @param children a List of elements\r\n * @return true if element is a parent\r\n */\r\n default boolean isParent(@NotNull Type type, @NotNull Meta meta, @NotNull List<Object> children) {\r\n return false;\r\n }\r\n\r\n /**\r\n * Return a List of Elements that match the condition c\r\n * \r\n * This is necessary so that we can cache these results in the caller\r\n * \r\n * @param c the Condition\r\n * @return a List of elements\r\n */\r\n @NotNull\r\n default List<Object> getMatchingElements(@NotNull Condition c) {\r\n return new ArrayList<>();\r\n }\r\n \r\n /**\r\n * Get an Meta implementing object \r\n * \r\n * @param o imput object\r\n * @return returns something that implements this interface\r\n */\r\n @NotNull\r\n Meta wrap(Object o);\r\n}", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tpartyQualEClass = createEClass(PARTY_QUAL);\n\t\tcreateEReference(partyQualEClass, PARTY_QUAL__PARTY);\n\t\tcreateEReference(partyQualEClass, PARTY_QUAL__PARTY_QUAL_TYPE);\n\t\tcreateEAttribute(partyQualEClass, PARTY_QUAL__FROM_DATE);\n\t\tcreateEAttribute(partyQualEClass, PARTY_QUAL__QUALIFICATION_DESC);\n\t\tcreateEReference(partyQualEClass, PARTY_QUAL__STATUS);\n\t\tcreateEAttribute(partyQualEClass, PARTY_QUAL__THRU_DATE);\n\t\tcreateEAttribute(partyQualEClass, PARTY_QUAL__TITLE);\n\t\tcreateEReference(partyQualEClass, PARTY_QUAL__VERIF_STATUS);\n\n\t\tpartyQualTypeEClass = createEClass(PARTY_QUAL_TYPE);\n\t\tcreateEAttribute(partyQualTypeEClass, PARTY_QUAL_TYPE__PARTY_QUAL_TYPE_ID);\n\t\tcreateEAttribute(partyQualTypeEClass, PARTY_QUAL_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(partyQualTypeEClass, PARTY_QUAL_TYPE__HAS_TABLE);\n\t\tcreateEReference(partyQualTypeEClass, PARTY_QUAL_TYPE__PARENT_TYPE);\n\n\t\tpartyResumeEClass = createEClass(PARTY_RESUME);\n\t\tcreateEAttribute(partyResumeEClass, PARTY_RESUME__RESUME_ID);\n\t\tcreateEReference(partyResumeEClass, PARTY_RESUME__CONTENT);\n\t\tcreateEReference(partyResumeEClass, PARTY_RESUME__PARTY);\n\t\tcreateEAttribute(partyResumeEClass, PARTY_RESUME__RESUME_DATE);\n\t\tcreateEAttribute(partyResumeEClass, PARTY_RESUME__RESUME_TEXT);\n\n\t\tpartySkillEClass = createEClass(PARTY_SKILL);\n\t\tcreateEReference(partySkillEClass, PARTY_SKILL__PARTY);\n\t\tcreateEReference(partySkillEClass, PARTY_SKILL__SKILL_TYPE);\n\t\tcreateEAttribute(partySkillEClass, PARTY_SKILL__RATING);\n\t\tcreateEAttribute(partySkillEClass, PARTY_SKILL__SKILL_LEVEL);\n\t\tcreateEAttribute(partySkillEClass, PARTY_SKILL__STARTED_USING_DATE);\n\t\tcreateEAttribute(partySkillEClass, PARTY_SKILL__YEARS_EXPERIENCE);\n\n\t\tperfRatingTypeEClass = createEClass(PERF_RATING_TYPE);\n\t\tcreateEAttribute(perfRatingTypeEClass, PERF_RATING_TYPE__PERF_RATING_TYPE_ID);\n\t\tcreateEAttribute(perfRatingTypeEClass, PERF_RATING_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(perfRatingTypeEClass, PERF_RATING_TYPE__HAS_TABLE);\n\t\tcreateEReference(perfRatingTypeEClass, PERF_RATING_TYPE__PARENT_TYPE);\n\n\t\tperfReviewEClass = createEClass(PERF_REVIEW);\n\t\tcreateEReference(perfReviewEClass, PERF_REVIEW__EMPLOYEE_PARTY);\n\t\tcreateEAttribute(perfReviewEClass, PERF_REVIEW__EMPLOYEE_ROLE_TYPE_ID);\n\t\tcreateEAttribute(perfReviewEClass, PERF_REVIEW__PERF_REVIEW_ID);\n\t\tcreateEAttribute(perfReviewEClass, PERF_REVIEW__COMMENTS);\n\t\tcreateEReference(perfReviewEClass, PERF_REVIEW__EMPL_POSITION);\n\t\tcreateEAttribute(perfReviewEClass, PERF_REVIEW__FROM_DATE);\n\t\tcreateEReference(perfReviewEClass, PERF_REVIEW__MANAGER_PARTY);\n\t\tcreateEAttribute(perfReviewEClass, PERF_REVIEW__MANAGER_ROLE_TYPE_ID);\n\t\tcreateEReference(perfReviewEClass, PERF_REVIEW__PAYMENT);\n\t\tcreateEAttribute(perfReviewEClass, PERF_REVIEW__THRU_DATE);\n\n\t\tperfReviewItemEClass = createEClass(PERF_REVIEW_ITEM);\n\t\tcreateEReference(perfReviewItemEClass, PERF_REVIEW_ITEM__EMPLOYEE_PARTY);\n\t\tcreateEAttribute(perfReviewItemEClass, PERF_REVIEW_ITEM__EMPLOYEE_ROLE_TYPE_ID);\n\t\tcreateEAttribute(perfReviewItemEClass, PERF_REVIEW_ITEM__PERF_REVIEW_ID);\n\t\tcreateEAttribute(perfReviewItemEClass, PERF_REVIEW_ITEM__PERF_REVIEW_ITEM_SEQ_ID);\n\t\tcreateEAttribute(perfReviewItemEClass, PERF_REVIEW_ITEM__COMMENTS);\n\t\tcreateEReference(perfReviewItemEClass, PERF_REVIEW_ITEM__PERF_RATING_TYPE);\n\t\tcreateEReference(perfReviewItemEClass, PERF_REVIEW_ITEM__PERF_REVIEW_ITEM_TYPE);\n\n\t\tperfReviewItemTypeEClass = createEClass(PERF_REVIEW_ITEM_TYPE);\n\t\tcreateEAttribute(perfReviewItemTypeEClass, PERF_REVIEW_ITEM_TYPE__PERF_REVIEW_ITEM_TYPE_ID);\n\t\tcreateEAttribute(perfReviewItemTypeEClass, PERF_REVIEW_ITEM_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(perfReviewItemTypeEClass, PERF_REVIEW_ITEM_TYPE__HAS_TABLE);\n\t\tcreateEReference(perfReviewItemTypeEClass, PERF_REVIEW_ITEM_TYPE__PARENT_TYPE);\n\n\t\tperformanceNoteEClass = createEClass(PERFORMANCE_NOTE);\n\t\tcreateEReference(performanceNoteEClass, PERFORMANCE_NOTE__PARTY);\n\t\tcreateEAttribute(performanceNoteEClass, PERFORMANCE_NOTE__FROM_DATE);\n\t\tcreateEAttribute(performanceNoteEClass, PERFORMANCE_NOTE__ROLE_TYPE_ID);\n\t\tcreateEAttribute(performanceNoteEClass, PERFORMANCE_NOTE__COMMENTS);\n\t\tcreateEAttribute(performanceNoteEClass, PERFORMANCE_NOTE__COMMUNICATION_DATE);\n\t\tcreateEAttribute(performanceNoteEClass, PERFORMANCE_NOTE__THRU_DATE);\n\n\t\tpersonTrainingEClass = createEClass(PERSON_TRAINING);\n\t\tcreateEReference(personTrainingEClass, PERSON_TRAINING__PARTY);\n\t\tcreateEReference(personTrainingEClass, PERSON_TRAINING__TRAINING_CLASS_TYPE);\n\t\tcreateEAttribute(personTrainingEClass, PERSON_TRAINING__FROM_DATE);\n\t\tcreateEAttribute(personTrainingEClass, PERSON_TRAINING__APPROVAL_STATUS);\n\t\tcreateEReference(personTrainingEClass, PERSON_TRAINING__APPROVER);\n\t\tcreateEAttribute(personTrainingEClass, PERSON_TRAINING__REASON);\n\t\tcreateEAttribute(personTrainingEClass, PERSON_TRAINING__THRU_DATE);\n\t\tcreateEReference(personTrainingEClass, PERSON_TRAINING__TRAINING_REQUEST);\n\t\tcreateEReference(personTrainingEClass, PERSON_TRAINING__WORK_EFFORT);\n\n\t\tresponsibilityTypeEClass = createEClass(RESPONSIBILITY_TYPE);\n\t\tcreateEAttribute(responsibilityTypeEClass, RESPONSIBILITY_TYPE__RESPONSIBILITY_TYPE_ID);\n\t\tcreateEAttribute(responsibilityTypeEClass, RESPONSIBILITY_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(responsibilityTypeEClass, RESPONSIBILITY_TYPE__HAS_TABLE);\n\t\tcreateEReference(responsibilityTypeEClass, RESPONSIBILITY_TYPE__PARENT_TYPE);\n\n\t\tskillTypeEClass = createEClass(SKILL_TYPE);\n\t\tcreateEAttribute(skillTypeEClass, SKILL_TYPE__SKILL_TYPE_ID);\n\t\tcreateEAttribute(skillTypeEClass, SKILL_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(skillTypeEClass, SKILL_TYPE__HAS_TABLE);\n\t\tcreateEReference(skillTypeEClass, SKILL_TYPE__PARENT_TYPE);\n\n\t\ttrainingClassTypeEClass = createEClass(TRAINING_CLASS_TYPE);\n\t\tcreateEAttribute(trainingClassTypeEClass, TRAINING_CLASS_TYPE__TRAINING_CLASS_TYPE_ID);\n\t\tcreateEAttribute(trainingClassTypeEClass, TRAINING_CLASS_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(trainingClassTypeEClass, TRAINING_CLASS_TYPE__HAS_TABLE);\n\t\tcreateEReference(trainingClassTypeEClass, TRAINING_CLASS_TYPE__PARENT_TYPE);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(baseElementEClass, BaseElement.class, \"BaseElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBaseElement_KeyValueMaps(), this.getKeyValueMap(), null, \"keyValueMaps\", null, 0, -1, BaseElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getBaseElement_Id(), ecorePackage.getELong(), \"Id\", null, 0, 1, BaseElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getBaseElement_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, BaseElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getBaseElement_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, BaseElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(keyValueMapEClass, KeyValueMap.class, \"KeyValueMap\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getKeyValueMap_Key(), ecorePackage.getEString(), \"key\", null, 0, 1, KeyValueMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getKeyValueMap_Values(), this.getValue(), null, \"values\", null, 0, -1, KeyValueMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(valueEClass, Value.class, \"Value\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getValue_Tag(), ecorePackage.getEString(), \"tag\", null, 0, 1, Value.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getValue_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, Value.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(timeUnitEEnum, TimeUnit.class, \"TimeUnit\");\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.MILLISECOND);\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.SECOND);\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.MINUTE);\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.HOUR);\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.DAY);\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.WEEK);\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.MONTH);\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.YEAR);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized)\n\t\t\treturn;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tpluginEClass.getESuperTypes().add(this.getAnalysisComponent());\n\t\tinputPortEClass.getESuperTypes().add(this.getPort());\n\t\toutputPortEClass.getESuperTypes().add(this.getPort());\n\t\tfilterEClass.getESuperTypes().add(this.getPlugin());\n\t\treaderEClass.getESuperTypes().add(this.getPlugin());\n\t\trepositoryEClass.getESuperTypes().add(this.getAnalysisComponent());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(projectEClass, MIProject.class, \"Project\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getProject_Plugins(), this.getPlugin(), null, \"plugins\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\tIS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProject_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Repositories(), this.getRepository(), null, \"repositories\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Dependencies(), this.getDependency(), null, \"dependencies\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Views(), this.getView(), null, \"views\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\n\t\t\t\t!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Properties(), this.getProperty(), null, \"properties\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\tIS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(pluginEClass, MIPlugin.class, \"Plugin\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPlugin_Repositories(), this.getRepositoryConnector(), null, \"repositories\", null, 0, -1, MIPlugin.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPlugin_OutputPorts(), this.getOutputPort(), this.getOutputPort_Parent(), \"outputPorts\", null, 0, -1, MIPlugin.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPlugin_Displays(), this.getDisplay(), this.getDisplay_Parent(), \"displays\", null, 0, -1, MIPlugin.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(portEClass, MIPort.class, \"Port\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPort_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPort_EventTypes(), ecorePackage.getEString(), \"eventTypes\", null, 1, -1, MIPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPort_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(inputPortEClass, MIInputPort.class, \"InputPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInputPort_Parent(), this.getFilter(), this.getFilter_InputPorts(), \"parent\", null, 1, 1, MIInputPort.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(outputPortEClass, MIOutputPort.class, \"OutputPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getOutputPort_Subscribers(), this.getInputPort(), null, \"subscribers\", null, 0, -1, MIOutputPort.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOutputPort_Parent(), this.getPlugin(), this.getPlugin_OutputPorts(), \"parent\", null, 1, 1, MIOutputPort.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyEClass, MIProperty.class, \"Property\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getProperty_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProperty_Value(), ecorePackage.getEString(), \"value\", null, 1, 1, MIProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(filterEClass, MIFilter.class, \"Filter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFilter_InputPorts(), this.getInputPort(), this.getInputPort_Parent(), \"inputPorts\", null, 0, -1, MIFilter.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(readerEClass, MIReader.class, \"Reader\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(repositoryEClass, MIRepository.class, \"Repository\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(dependencyEClass, MIDependency.class, \"Dependency\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDependency_FilePath(), ecorePackage.getEString(), \"filePath\", null, 1, 1, MIDependency.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(repositoryConnectorEClass, MIRepositoryConnector.class, \"RepositoryConnector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getRepositoryConnector_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIRepositoryConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRepositoryConnector_Repository(), this.getRepository(), null, \"repository\", null, 1, 1, MIRepositoryConnector.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRepositoryConnector_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIRepositoryConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(displayEClass, MIDisplay.class, \"Display\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDisplay_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIDisplay.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDisplay_Parent(), this.getPlugin(), this.getPlugin_Displays(), \"parent\", null, 1, 1, MIDisplay.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getDisplay_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIDisplay.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\tIS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(viewEClass, MIView.class, \"View\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getView_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getView_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getView_DisplayConnectors(), this.getDisplayConnector(), null, \"displayConnectors\", null, 0, -1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getView_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(displayConnectorEClass, MIDisplayConnector.class, \"DisplayConnector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDisplayConnector_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIDisplayConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDisplayConnector_Display(), this.getDisplay(), null, \"display\", null, 1, 1, MIDisplayConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getDisplayConnector_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIDisplayConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(analysisComponentEClass, MIAnalysisComponent.class, \"AnalysisComponent\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAnalysisComponent_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIAnalysisComponent.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAnalysisComponent_Classname(), ecorePackage.getEString(), \"classname\", null, 1, 1, MIAnalysisComponent.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnalysisComponent_Properties(), this.getProperty(), null, \"properties\", null, 0, -1, MIAnalysisComponent.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAnalysisComponent_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIAnalysisComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(bankEClass, Bank.class, \"Bank\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getBank_Managers(), this.getManager(), null, \"managers\", null, 0, -1, Bank.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getBank_Accounts(), this.getAccount(), null, \"accounts\", null, 0, -1, Bank.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getBank_Clients(), this.getClient(), null, \"clients\", null, 0, -1, Bank.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(clientEClass, Client.class, \"Client\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getClient_Manager(), this.getManager(), this.getManager_Clients(), \"manager\", null, 0, -1, Client.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getClient_Accounts(), this.getAccount(), this.getAccount_Owners(), \"accounts\", null, 0, -1, Client.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getClient_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Client.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getClient_Sponsorships(), this.getClient(), null, \"sponsorships\", null, 0, -1, Client.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getClient_Capacity(), ecorePackage.getEInt(), \"capacity\", null, 0, 1, Client.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(managerEClass, Manager.class, \"Manager\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getManager_Clients(), this.getClient(), this.getClient_Manager(), \"clients\", null, 0, -1, Manager.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getManager_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Manager.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(accountEClass, Account.class, \"Account\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAccount_Owners(), this.getClient(), this.getClient_Accounts(), \"owners\", null, 0, -1, Account.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAccount_Credit(), ecorePackage.getEDouble(), \"credit\", null, 0, 1, Account.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAccount_Overdraft(), ecorePackage.getEDouble(), \"overdraft\", null, 0, 1, Account.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAccount_Cards(), this.getCard(), null, \"cards\", null, 0, -1, Account.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(cardEClass, Card.class, \"Card\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getCard_Number(), ecorePackage.getEBigInteger(), \"number\", null, 0, 1, Card.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getCard_Type(), this.getCardType(), \"type\", null, 0, 1, Card.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Initialize enums and add enum literals\r\n\t\tinitEEnum(cardTypeEEnum, CardType.class, \"CardType\");\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\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\tbagTypeEClass = createEClass(BAG_TYPE);\n\n\t\ttupleTypeEClass = createEClass(TUPLE_TYPE);\n\t\tcreateEReference(tupleTypeEClass, TUPLE_TYPE__OCL_LIBRARY);\n\n\t\tcollectionTypeEClass = createEClass(COLLECTION_TYPE);\n\t\tcreateEReference(collectionTypeEClass, COLLECTION_TYPE__ELEMENT_TYPE);\n\t\tcreateEReference(collectionTypeEClass, COLLECTION_TYPE__OCL_LIBRARY);\n\t\tcreateEAttribute(collectionTypeEClass, COLLECTION_TYPE__KIND);\n\n\t\tinvalidTypeEClass = createEClass(INVALID_TYPE);\n\t\tcreateEReference(invalidTypeEClass, INVALID_TYPE__OCL_LIBRARY);\n\n\t\torderedSetTypeEClass = createEClass(ORDERED_SET_TYPE);\n\n\t\tsequenceTypeEClass = createEClass(SEQUENCE_TYPE);\n\n\t\tsetTypeEClass = createEClass(SET_TYPE);\n\n\t\tvoidTypeEClass = createEClass(VOID_TYPE);\n\t\tcreateEReference(voidTypeEClass, VOID_TYPE__OCL_LIBRARY);\n\n\t\ttypeTypeEClass = createEClass(TYPE_TYPE);\n\t\tcreateEReference(typeTypeEClass, TYPE_TYPE__REPRESENTED_TYPE);\n\n\t\toclLibraryEClass = createEClass(OCL_LIBRARY);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_BOOLEAN);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_STRING);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_INTEGER);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_REAL);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_ANY);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_VOID);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_INVALID);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_TYPE);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_COLLECTION);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_SEQUENCE);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_BAG);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_SET);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_ORDERED_SET);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_TUPLE);\n\n\t\tanyTypeEClass = createEClass(ANY_TYPE);\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\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}", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tServiceCIMPackage theServiceCIMPackage = (ServiceCIMPackage)EPackage.Registry.INSTANCE.getEPackage(ServiceCIMPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tauthorizableResourceEClass.getESuperTypes().add(this.getAnnotation());\r\n\t\tannResourceEClass.getESuperTypes().add(this.getAnnotatedElement());\r\n\t\tannPropertyEClass.getESuperTypes().add(this.getAnnotatedElement());\r\n\t\tauthorizationSubjectEClass.getESuperTypes().add(this.getAnnotation());\r\n\t\tannCRUDActivityEClass.getESuperTypes().add(this.getAnnotatedElement());\r\n\t\tnewPropertyEClass.getESuperTypes().add(this.getAnnotation());\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(annotationModelEClass, AnnotationModel.class, \"AnnotationModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getAnnotationModel_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, AnnotationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAnnotationModel_HasAnnotatedElement(), this.getAnnotatedElement(), null, \"hasAnnotatedElement\", null, 1, -1, AnnotationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAnnotationModel_HasAnnotation(), this.getAnnotation(), null, \"hasAnnotation\", null, 1, -1, AnnotationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annotationEClass, Annotation.class, \"Annotation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(authorizableResourceEClass, AuthorizableResource.class, \"AuthorizableResource\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAuthorizableResource_HasResourceAccessPolicySet(), this.getResourceAccessPolicySet(), null, \"hasResourceAccessPolicySet\", null, 1, 1, AuthorizableResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAuthorizableResource_IsAuthorizableResource(), this.getAnnResource(), null, \"isAuthorizableResource\", null, 1, 1, AuthorizableResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAuthorizableResource_BTrackOwnership(), ecorePackage.getEBoolean(), \"bTrackOwnership\", null, 1, 1, AuthorizableResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(resourceAccessPolicySetEClass, ResourceAccessPolicySet.class, \"ResourceAccessPolicySet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getResourceAccessPolicySet_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessPolicySet_PolicyCombiningAlgorithm(), this.getCombiningAlgorithm(), \"policyCombiningAlgorithm\", null, 1, 1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicySet_HasResourceAccessPolicy(), this.getResourceAccessPolicy(), null, \"hasResourceAccessPolicy\", null, 1, -1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicySet_HasResourceAccessPolicySet(), this.getResourceAccessPolicySet(), null, \"hasResourceAccessPolicySet\", null, 0, -1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annotatedElementEClass, AnnotatedElement.class, \"AnnotatedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(annResourceEClass, AnnResource.class, \"AnnResource\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAnnResource_AnnotatesResource(), theServiceCIMPackage.getResource(), null, \"annotatesResource\", null, 1, 1, AnnResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(resourceAccessPolicyEClass, ResourceAccessPolicy.class, \"ResourceAccessPolicy\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getResourceAccessPolicy_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessPolicy_RuleCombiningAlgorithm(), this.getCombiningAlgorithm(), \"ruleCombiningAlgorithm\", null, 1, 1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicy_HasApplyCondition(), this.getCondition(), null, \"hasApplyCondition\", null, 0, -1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicy_HasResourceAccessRule(), this.getResourceAccessRule(), null, \"hasResourceAccessRule\", null, 1, -1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(conditionEClass, Condition.class, \"Condition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getCondition_Operator(), this.getOperator(), \"operator\", \"UNDEFINED\", 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getCondition_HasLeftSideOperand(), this.getAttribute(), null, \"hasLeftSideOperand\", null, 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getCondition_HasRightSideOperand(), this.getAttribute(), null, \"hasRightSideOperand\", null, 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(attributeEClass, Attribute.class, \"Attribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getAttribute_AttributeCategory(), this.getAttributeCategory(), \"attributeCategory\", null, 1, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAttribute_IsAttributeExistingProperty(), this.getAnnProperty(), null, \"isAttributeExistingProperty\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAttribute_Value(), ecorePackage.getEString(), \"value\", null, 0, -1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAttribute_IsAttributeNewProperty(), this.getNewProperty(), null, \"isAttributeNewProperty\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAttribute_IsAttributeResource(), this.getAnnResource(), null, \"isAttributeResource\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annPropertyEClass, AnnProperty.class, \"AnnProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAnnProperty_AnnotatesProperty(), theServiceCIMPackage.getProperty(), null, \"annotatesProperty\", null, 1, 1, AnnProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(resourceAccessRuleEClass, ResourceAccessRule.class, \"ResourceAccessRule\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getResourceAccessRule_HasMatchCondition(), this.getCondition(), null, \"hasMatchCondition\", null, 1, -1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessRule_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessRule_RuleType(), this.getRuleType(), \"ruleType\", null, 1, 1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessRule_HasAllowedAction(), this.getAllowedAction(), null, \"hasAllowedAction\", null, 1, -1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(authorizationSubjectEClass, AuthorizationSubject.class, \"AuthorizationSubject\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAuthorizationSubject_IsAuthorizationSubject(), this.getAnnResource(), null, \"isAuthorizationSubject\", null, 1, 1, AuthorizationSubject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annCRUDActivityEClass, AnnCRUDActivity.class, \"AnnCRUDActivity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAnnCRUDActivity_AnnotatesCRUDActivity(), theServiceCIMPackage.getCRUDActivity(), null, \"annotatesCRUDActivity\", null, 1, 1, AnnCRUDActivity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(allowedActionEClass, AllowedAction.class, \"AllowedAction\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAllowedAction_IsAllowedAction(), this.getAnnCRUDActivity(), null, \"isAllowedAction\", null, 1, 1, AllowedAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(newPropertyEClass, NewProperty.class, \"NewProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getNewProperty_BelongsToResource(), this.getAnnResource(), null, \"belongsToResource\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getNewProperty_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getNewProperty_Type(), ecorePackage.getEString(), \"type\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getNewProperty_BIsUnique(), ecorePackage.getEBoolean(), \"bIsUnique\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Initialize enums and add enum literals\r\n\t\tinitEEnum(combiningAlgorithmEEnum, CombiningAlgorithm.class, \"CombiningAlgorithm\");\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.DENY_OVERRIDES);\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.PERMIT_OVERRIDES);\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.DENY_UNLESS_PERMIT);\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.PERMIT_UNLESS_DENY);\r\n\r\n\t\tinitEEnum(operatorEEnum, Operator.class, \"Operator\");\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.GREATER_THAN);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.LESS_THAN);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.GREATER_THAN_OR_EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.LESS_THAN_OR_EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.NOT_EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.SUBSET);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.NOT_SUBSET);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.SET_CONTAINS);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.SET_NOT_CONTAINS);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.REGEX);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.UNDEFINED);\r\n\r\n\t\tinitEEnum(attributeCategoryEEnum, AttributeCategory.class, \"AttributeCategory\");\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.ACCESS_SUBJECT);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.ACCESSED_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.PARENT_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.CHILD_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.INCLUDED_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.CONSTANT);\r\n\r\n\t\tinitEEnum(ruleTypeEEnum, RuleType.class, \"RuleType\");\r\n\t\taddEEnumLiteral(ruleTypeEEnum, RuleType.PERMIT);\r\n\t\taddEEnumLiteral(ruleTypeEEnum, RuleType.DENY);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "public ViewMetamodel getMetamodel();", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n intentEClass.getESuperTypes().add(this.getAgent());\n entityEClass.getESuperTypes().add(this.getAgent());\n\n // Initialize classes and features; add operations and parameters\n initEClass(modelEClass, Model.class, \"Model\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModel_Agent(), this.getAgent(), null, \"agent\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(agentEClass, Agent.class, \"Agent\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAgent_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Agent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(intentEClass, Intent.class, \"Intent\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getIntent_SuperType(), this.getIntent(), null, \"superType\", null, 0, 1, Intent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getIntent_IsFollowUp(), this.getIsFollowUp(), null, \"isFollowUp\", null, 0, 1, Intent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getIntent_Question(), this.getQuestion(), null, \"question\", null, 0, -1, Intent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getIntent_Training(), this.getTraining(), null, \"training\", null, 0, 1, Intent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(isFollowUpEClass, IsFollowUp.class, \"IsFollowUp\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getIsFollowUp_Intent(), this.getIntent(), null, \"intent\", null, 0, 1, IsFollowUp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(entityEClass, Entity.class, \"Entity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getEntity_Example(), this.getEntityExample(), null, \"example\", null, 0, -1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(questionEClass, Question.class, \"Question\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getQuestion_QuestionEntity(), this.getQuestionEntity(), null, \"questionEntity\", null, 0, 1, Question.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getQuestion_Prompt(), ecorePackage.getEString(), \"prompt\", null, 0, 1, Question.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(questionEntityEClass, QuestionEntity.class, \"QuestionEntity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getQuestionEntity_WithEntity(), this.getReference(), null, \"withEntity\", null, 0, 1, QuestionEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(trainingEClass, Training.class, \"Training\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getTraining_Trainingref(), this.getTrainingRef(), null, \"trainingref\", null, 0, -1, Training.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(trainingRefEClass, TrainingRef.class, \"TrainingRef\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTrainingRef_Phrase(), ecorePackage.getEString(), \"phrase\", null, 0, 1, TrainingRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTrainingRef_Declaration(), this.getDeclaration(), null, \"declaration\", null, 0, 1, TrainingRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(declarationEClass, Declaration.class, \"Declaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDeclaration_Trainingstring(), ecorePackage.getEString(), \"trainingstring\", null, 0, 1, Declaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDeclaration_Reference(), this.getReference(), null, \"reference\", null, 0, 1, Declaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(entityExampleEClass, EntityExample.class, \"EntityExample\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEntityExample_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, EntityExample.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(sysvariableEClass, Sysvariable.class, \"Sysvariable\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getSysvariable_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, Sysvariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(referenceEClass, Reference.class, \"Reference\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getReference_Entity(), this.getEntity(), null, \"entity\", null, 0, 1, Reference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getReference_Sysvar(), this.getSysvariable(), null, \"sysvar\", null, 0, 1, Reference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void createPackageContents() {\n if(isCreated) {\n return;\n }\n isCreated = true;\n\n // Create classes and their features\n namedElementEClass = createEClass(NAMED_ELEMENT);\n createEAttribute(namedElementEClass, NAMED_ELEMENT__NAME);\n\n modularizationModelEClass = createEClass(MODULARIZATION_MODEL);\n createEReference(modularizationModelEClass, MODULARIZATION_MODEL__MODULES);\n createEReference(modularizationModelEClass, MODULARIZATION_MODEL__CLASSES);\n\n moduleEClass = createEClass(MODULE);\n createEReference(moduleEClass, MODULE__CLASSES);\n\n classEClass = createEClass(CLASS);\n createEReference(classEClass, CLASS__MODULE);\n createEReference(classEClass, CLASS__DEPENDS_ON);\n createEReference(classEClass, CLASS__DEPENDED_ON_BY);\n }", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\treadCsvFileEClass = createEClass(READ_CSV_FILE);\n\t\tcreateEAttribute(readCsvFileEClass, READ_CSV_FILE__URI);\n\n\t\tprintEClass = createEClass(PRINT);\n\t\tcreateEReference(printEClass, PRINT__INPUT);\n\n\t\twriteCsvFileEClass = createEClass(WRITE_CSV_FILE);\n\t\tcreateEReference(writeCsvFileEClass, WRITE_CSV_FILE__TABLE);\n\t\tcreateEAttribute(writeCsvFileEClass, WRITE_CSV_FILE__URI);\n\n\t\texcludeColumnsEClass = createEClass(EXCLUDE_COLUMNS);\n\t\tcreateEReference(excludeColumnsEClass, EXCLUDE_COLUMNS__TABLE);\n\t\tcreateEAttribute(excludeColumnsEClass, EXCLUDE_COLUMNS__COLUMNS);\n\n\t\tselectColumnsEClass = createEClass(SELECT_COLUMNS);\n\t\tcreateEReference(selectColumnsEClass, SELECT_COLUMNS__TABLE);\n\t\tcreateEAttribute(selectColumnsEClass, SELECT_COLUMNS__COLUMNS);\n\n\t\tassertTablesMatchEClass = createEClass(ASSERT_TABLES_MATCH);\n\t\tcreateEReference(assertTablesMatchEClass, ASSERT_TABLES_MATCH__LEFT);\n\t\tcreateEReference(assertTablesMatchEClass, ASSERT_TABLES_MATCH__RIGHT);\n\t\tcreateEAttribute(assertTablesMatchEClass, ASSERT_TABLES_MATCH__IGNORE_COLUMN_ORDER);\n\t\tcreateEAttribute(assertTablesMatchEClass, ASSERT_TABLES_MATCH__IGNORE_MISSING_COLUMNS);\n\n\t\twriteLinesEClass = createEClass(WRITE_LINES);\n\t\tcreateEAttribute(writeLinesEClass, WRITE_LINES__URI);\n\t\tcreateEAttribute(writeLinesEClass, WRITE_LINES__APPEND);\n\n\t\treadLinesEClass = createEClass(READ_LINES);\n\t\tcreateEAttribute(readLinesEClass, READ_LINES__URI);\n\n\t\tselectRowsEClass = createEClass(SELECT_ROWS);\n\t\tcreateEReference(selectRowsEClass, SELECT_ROWS__TABLE);\n\t\tcreateEAttribute(selectRowsEClass, SELECT_ROWS__COLUMN);\n\t\tcreateEAttribute(selectRowsEClass, SELECT_ROWS__VALUE);\n\t\tcreateEAttribute(selectRowsEClass, SELECT_ROWS__MATCH);\n\n\t\texcludeRowsEClass = createEClass(EXCLUDE_ROWS);\n\t\tcreateEReference(excludeRowsEClass, EXCLUDE_ROWS__TABLE);\n\t\tcreateEAttribute(excludeRowsEClass, EXCLUDE_ROWS__COLUMN);\n\t\tcreateEAttribute(excludeRowsEClass, EXCLUDE_ROWS__VALUE);\n\t\tcreateEAttribute(excludeRowsEClass, EXCLUDE_ROWS__MATCH);\n\n\t\tasTableDataEClass = createEClass(AS_TABLE_DATA);\n\t\tcreateEReference(asTableDataEClass, AS_TABLE_DATA__INPUT);\n\n\t\treadPropertiesEClass = createEClass(READ_PROPERTIES);\n\t\tcreateEAttribute(readPropertiesEClass, READ_PROPERTIES__URI);\n\n\t\t// Create enums\n\t\tignoreColumnsModeEEnum = createEEnum(IGNORE_COLUMNS_MODE);\n\t\trowMatchModeEEnum = createEEnum(ROW_MATCH_MODE);\n\t}", "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}", "GoalModelingPackage getGoalModelingPackage();", "public void createPackageContents()\r\n {\r\n if (isCreated) return;\r\n isCreated = true;\r\n\r\n // Create classes and their features\r\n productEClass = createEClass(PRODUCT);\r\n createEAttribute(productEClass, PRODUCT__PRICE);\r\n createEAttribute(productEClass, PRODUCT__NAME);\r\n createEAttribute(productEClass, PRODUCT__ID);\r\n createEReference(productEClass, PRODUCT__PRODUCER);\r\n createEReference(productEClass, PRODUCT__WISHLISTS);\r\n createEReference(productEClass, PRODUCT__OFFERED_BY);\r\n\r\n customerEClass = createEClass(CUSTOMER);\r\n createEReference(customerEClass, CUSTOMER__ALL_BOUGHT_PRODUCTS);\r\n createEAttribute(customerEClass, CUSTOMER__NAME);\r\n createEAttribute(customerEClass, CUSTOMER__AGE);\r\n createEAttribute(customerEClass, CUSTOMER__ID);\r\n createEReference(customerEClass, CUSTOMER__WISHLISTS);\r\n createEAttribute(customerEClass, CUSTOMER__USERNAME);\r\n\r\n producerEClass = createEClass(PRODUCER);\r\n createEAttribute(producerEClass, PRODUCER__ID);\r\n createEAttribute(producerEClass, PRODUCER__NAME);\r\n createEReference(producerEClass, PRODUCER__PRODUCTS);\r\n\r\n storeEClass = createEClass(STORE);\r\n createEReference(storeEClass, STORE__CUSTOMERS);\r\n createEReference(storeEClass, STORE__PRODUCTS);\r\n createEReference(storeEClass, STORE__PRODUCERS);\r\n createEReference(storeEClass, STORE__SELLERS);\r\n\r\n bookEClass = createEClass(BOOK);\r\n createEAttribute(bookEClass, BOOK__AUTHOR);\r\n\r\n dvdEClass = createEClass(DVD);\r\n createEAttribute(dvdEClass, DVD__INTERPRET);\r\n\r\n wishlistEClass = createEClass(WISHLIST);\r\n createEReference(wishlistEClass, WISHLIST__PRODUCTS);\r\n\r\n sellerEClass = createEClass(SELLER);\r\n createEAttribute(sellerEClass, SELLER__NAME);\r\n createEAttribute(sellerEClass, SELLER__ID);\r\n createEAttribute(sellerEClass, SELLER__USERNAME);\r\n createEReference(sellerEClass, SELLER__ALL_PRODUCTS_TO_SELL);\r\n createEReference(sellerEClass, SELLER__EREFERENCE0);\r\n createEReference(sellerEClass, SELLER__SOLD_PRODUCTS);\r\n }", "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 TypeAdapterFactory() {\n\t\tif (modelPackage == null) {\n\t\t\tmodelPackage = TypePackage.eINSTANCE;\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\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 initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tCommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI);\n\t\tModelPackage theModelPackage = (ModelPackage)EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI);\n\t\tColumnPackage theColumnPackage = (ColumnPackage)EPackage.Registry.INSTANCE.getEPackage(ColumnPackage.eNS_URI);\n\t\tExpressionPackage theExpressionPackage = (ExpressionPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\ttableEClass.getESuperTypes().add(theCommonPackage.getNameProvider());\n\t\tprimaryKeyTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\t\tuniqueTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\t\tcheckTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\t\tforeignKeyTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(tableEClass, Table.class, \"Table\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTable_Database(), theModelPackage.getDatabase(), theModelPackage.getDatabase_Tables(), \"database\", null, 1, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTable_Columns(), theColumnPackage.getColumn(), theColumnPackage.getColumn_Table(), \"columns\", null, 0, -1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTable_Constraints(), this.getTableConstraint(), this.getTableConstraint_Table(), \"constraints\", null, 0, -1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(tableConstraintEClass, TableConstraint.class, \"TableConstraint\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTableConstraint_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, TableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTableConstraint_Table(), this.getTable(), this.getTable_Constraints(), \"table\", null, 1, 1, TableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(primaryKeyTableConstraintEClass, PrimaryKeyTableConstraint.class, \"PrimaryKeyTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPrimaryKeyTableConstraint_Columns(), theColumnPackage.getIndexedColumn(), null, \"columns\", null, 1, -1, PrimaryKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(uniqueTableConstraintEClass, UniqueTableConstraint.class, \"UniqueTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getUniqueTableConstraint_Columns(), theColumnPackage.getIndexedColumn(), null, \"columns\", null, 1, -1, UniqueTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(checkTableConstraintEClass, CheckTableConstraint.class, \"CheckTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getCheckTableConstraint_Expression(), theExpressionPackage.getExpression(), null, \"expression\", null, 1, 1, CheckTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(foreignKeyTableConstraintEClass, ForeignKeyTableConstraint.class, \"ForeignKeyTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getForeignKeyTableConstraint_Columns(), theColumnPackage.getColumn(), null, \"columns\", null, 1, -1, ForeignKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getForeignKeyTableConstraint_ForeignTable(), this.getTable(), null, \"foreignTable\", null, 1, 1, ForeignKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getForeignKeyTableConstraint_ForeignColumns(), theColumnPackage.getColumn(), null, \"foreignColumns\", null, 1, -1, ForeignKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\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\tqueryExpressionEClass = createEClass(QUERY_EXPRESSION);\n\n\t\tvalueExpressionEClass = createEClass(VALUE_EXPRESSION);\n\n\t\tsearchConditionEClass = createEClass(SEARCH_CONDITION);\n\n\t\tqueryExpressionDefaultEClass = createEClass(QUERY_EXPRESSION_DEFAULT);\n\t\tcreateEAttribute(queryExpressionDefaultEClass, QUERY_EXPRESSION_DEFAULT__SQL);\n\n\t\tsearchConditionDefaultEClass = createEClass(SEARCH_CONDITION_DEFAULT);\n\t\tcreateEAttribute(searchConditionDefaultEClass, SEARCH_CONDITION_DEFAULT__SQL);\n\n\t\tvalueExpressionDefaultEClass = createEClass(VALUE_EXPRESSION_DEFAULT);\n\t\tcreateEAttribute(valueExpressionDefaultEClass, VALUE_EXPRESSION_DEFAULT__SQL);\n\t}", "public void createPackageContents() {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n calcEClass = createEClass(CALC);\n createEReference(calcEClass, CALC__EXPR);\n\n exprEClass = createEClass(EXPR);\n\n bitShiftExprEClass = createEClass(BIT_SHIFT_EXPR);\n createEReference(bitShiftExprEClass, BIT_SHIFT_EXPR__CHILDREN);\n createEAttribute(bitShiftExprEClass, BIT_SHIFT_EXPR__OPERATORS);\n\n bitShiftExprChildEClass = createEClass(BIT_SHIFT_EXPR_CHILD);\n\n additiveExprEClass = createEClass(ADDITIVE_EXPR);\n createEReference(additiveExprEClass, ADDITIVE_EXPR__CHILDREN);\n createEAttribute(additiveExprEClass, ADDITIVE_EXPR__OPERATORS);\n\n additiveExprChildEClass = createEClass(ADDITIVE_EXPR_CHILD);\n\n multiplicativeExprEClass = createEClass(MULTIPLICATIVE_EXPR);\n createEReference(multiplicativeExprEClass, MULTIPLICATIVE_EXPR__CHILDREN);\n createEAttribute(multiplicativeExprEClass, MULTIPLICATIVE_EXPR__OPERATORS);\n\n multiplicativeExprChildEClass = createEClass(MULTIPLICATIVE_EXPR_CHILD);\n\n numberEClass = createEClass(NUMBER);\n createEAttribute(numberEClass, NUMBER__VALUE);\n\n // Create enums\n bitShiftOpEEnum = createEEnum(BIT_SHIFT_OP);\n additiveOpEEnum = createEEnum(ADDITIVE_OP);\n multiplicativeOpEEnum = createEEnum(MULTIPLICATIVE_OP);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(liveScoreEClass, LiveScore.class, \"LiveScore\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLiveScore_Preferedplayer(), this.getPreferedPlayer(), null, \"preferedplayer\", null, 0, -1, LiveScore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLiveScore_Salonname(), ecorePackage.getEString(), \"salonname\", null, 0, 1, LiveScore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(preferedPlayerEClass, PreferedPlayer.class, \"PreferedPlayer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPreferedPlayer_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, PreferedPlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPreferedPlayer_Won(), ecorePackage.getEInt(), \"won\", null, 0, 1, PreferedPlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPreferedPlayer_Playings(), ecorePackage.getEInt(), \"playings\", null, 0, 1, PreferedPlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\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\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}", "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\tissueEClass = createEClass(ISSUE);\r\n\t\tcreateEReference(issueEClass, ISSUE__PROPOSALS);\r\n\t\tcreateEReference(issueEClass, ISSUE__SOLUTION);\r\n\t\tcreateEReference(issueEClass, ISSUE__CRITERIA);\r\n\t\tcreateEAttribute(issueEClass, ISSUE__ACTIVITY);\r\n\t\tcreateEReference(issueEClass, ISSUE__ASSESSMENTS);\r\n\r\n\t\tproposalEClass = createEClass(PROPOSAL);\r\n\t\tcreateEReference(proposalEClass, PROPOSAL__ASSESSMENTS);\r\n\t\tcreateEReference(proposalEClass, PROPOSAL__ISSUE);\r\n\r\n\t\tsolutionEClass = createEClass(SOLUTION);\r\n\t\tcreateEReference(solutionEClass, SOLUTION__UNDERLYING_PROPOSALS);\r\n\t\tcreateEReference(solutionEClass, SOLUTION__ISSUE);\r\n\r\n\t\tcriterionEClass = createEClass(CRITERION);\r\n\t\tcreateEReference(criterionEClass, CRITERION__ASSESSMENTS);\r\n\r\n\t\tassessmentEClass = createEClass(ASSESSMENT);\r\n\t\tcreateEReference(assessmentEClass, ASSESSMENT__PROPOSAL);\r\n\t\tcreateEReference(assessmentEClass, ASSESSMENT__CRITERION);\r\n\t\tcreateEAttribute(assessmentEClass, ASSESSMENT__VALUE);\r\n\r\n\t\tcommentEClass = createEClass(COMMENT);\r\n\t\tcreateEReference(commentEClass, COMMENT__SENDER);\r\n\t\tcreateEReference(commentEClass, COMMENT__RECIPIENTS);\r\n\t\tcreateEReference(commentEClass, COMMENT__COMMENTED_ELEMENT);\r\n\r\n\t\taudioCommentEClass = createEClass(AUDIO_COMMENT);\r\n\t\tcreateEReference(audioCommentEClass, AUDIO_COMMENT__AUDIO_FILE);\r\n\t}", "public void initializePackageContents() {\r\n\t\tif (isInitialized)\r\n\t\t\treturn;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tEcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tgetMappingEClass.getESuperTypes().add(this.getRestMapping());\r\n\t\tpostMappingEClass.getESuperTypes().add(this.getRestMapping());\r\n\t\toneToManyEClass.getESuperTypes().add(this.getMappingType());\r\n\t\tmanyToOneEClass.getESuperTypes().add(this.getMappingType());\r\n\t\tmanyToManyEClass.getESuperTypes().add(this.getMappingType());\r\n\t\toneToOneEClass.getESuperTypes().add(this.getMappingType());\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(springProjectEClass, SpringProject.class, \"SpringProject\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getSpringProject_BasePackage(), theEcorePackage.getEString(), \"basePackage\", null, 0, 1,\r\n\t\t\t\tSpringProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getSpringProject_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, SpringProject.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getSpringProject_DbSource(), this.getDBSource(), null, \"dbSource\", null, 0, 1,\r\n\t\t\t\tSpringProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getSpringProject_Entities(), this.getEntity(), null, \"entities\", null, 0, -1,\r\n\t\t\t\tSpringProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getSpringProject_Controllers(), this.getRestController(), null, \"controllers\", null, 0, -1,\r\n\t\t\t\tSpringProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(restControllerEClass, RestController.class, \"RestController\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getRestController_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, RestController.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getRestController_Path(), theEcorePackage.getEString(), \"path\", null, 0, 1, RestController.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getRestController_UsedEntities(), this.getEntity(), null, \"usedEntities\", null, 0, -1,\r\n\t\t\t\tRestController.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getRestController_Mappings(), this.getRestMapping(), null, \"mappings\", null, 0, -1,\r\n\t\t\t\tRestController.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(restMappingEClass, RestMapping.class, \"RestMapping\", IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getRestMapping_Path(), theEcorePackage.getEString(), \"path\", null, 0, 1, RestMapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getRestMapping_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, RestMapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getRestMapping_UsedEntity(), this.getEntity(), null, \"usedEntity\", null, 0, 1, RestMapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getRestMapping_Body(), theEcorePackage.getEString(), \"body\", null, 0, 1, RestMapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(getMappingEClass, GetMapping.class, \"GetMapping\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(postMappingEClass, PostMapping.class, \"PostMapping\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getPostMapping_Parameters(), this.getField(), null, \"parameters\", null, 0, -1, PostMapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(entityEClass, Entity.class, \"Entity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEntity_SuperClass(), this.getEntity(), null, \"superClass\", null, 0, 1, Entity.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getEntity_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, Entity.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getEntity_GenerateRepository(), theEcorePackage.getEBoolean(), \"generateRepository\", \"true\", 0,\r\n\t\t\t\t1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEntity_Fields(), this.getField(), null, \"fields\", null, 0, -1, Entity.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getEntity_Mapping(), this.getMapping(), null, \"mapping\", null, 0, -1, Entity.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(mappingEClass, Mapping.class, \"Mapping\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getMapping_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, Mapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getMapping_Entity(), this.getEntity(), null, \"entity\", null, 0, 1, Mapping.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getMapping_IsList(), theEcorePackage.getEBoolean(), \"isList\", \"true\", 0, 1, Mapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getMapping_MappingType(), this.getMappingType(), null, \"mappingType\", null, 0, 1, Mapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(mappingTypeEClass, MappingType.class, \"MappingType\", IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getMappingType_Cascade(), this.getCascade(), \"cascade\", \"ALL\", 0, 1, MappingType.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getMappingType_MappedBy(), this.getEntity(), null, \"mappedBy\", null, 0, 1, MappingType.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(oneToManyEClass, OneToMany.class, \"OneToMany\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(manyToOneEClass, ManyToOne.class, \"ManyToOne\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(manyToManyEClass, ManyToMany.class, \"ManyToMany\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getManyToMany_JoinTableName(), theEcorePackage.getEString(), \"joinTableName\", null, 0, 1,\r\n\t\t\t\tManyToMany.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getManyToMany_JoinColumns(), theEcorePackage.getEString(), \"joinColumns\", null, 0, 1,\r\n\t\t\t\tManyToMany.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getManyToMany_InverseJoinColumns(), theEcorePackage.getEString(), \"inverseJoinColumns\", null, 0,\r\n\t\t\t\t1, ManyToMany.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(oneToOneEClass, OneToOne.class, \"OneToOne\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(fieldEClass, Field.class, \"Field\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getField_IsId(), theEcorePackage.getEBoolean(), \"isId\", \"false\", 0, 1, Field.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getField_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, Field.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getField_Datatype(), theEcorePackage.getEString(), \"datatype\", \"String\", 0, 1, Field.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(dbSourceEClass, DBSource.class, \"DBSource\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getDBSource_EnableConsole(), theEcorePackage.getEBoolean(), \"enableConsole\", \"true\", 0, 1,\r\n\t\t\t\tDBSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_WebAllowOothers(), theEcorePackage.getEBoolean(), \"webAllowOothers\", \"true\", 0, 1,\r\n\t\t\t\tDBSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_ConsolePath(), theEcorePackage.getEString(), \"consolePath\", \"/h2-console\", 0, 1,\r\n\t\t\t\tDBSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_Url(), theEcorePackage.getEString(), \"url\",\r\n\t\t\t\t\"jdbc:h2:file:./data/Repository;DB_CLOSE_ON_EXIT=true;\", 0, 1, DBSource.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_User(), theEcorePackage.getEString(), \"user\", \"SA\", 0, 1, DBSource.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_Password(), theEcorePackage.getEString(), \"password\", \"SA\", 0, 1, DBSource.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_DriveClassName(), theEcorePackage.getEString(), \"driveClassName\", \"org.h2.Driver\", 0,\r\n\t\t\t\t1, DBSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_ServerPort(), theEcorePackage.getEString(), \"serverPort\", \"2001\", 0, 1,\r\n\t\t\t\tDBSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Initialize enums and add enum literals\r\n\t\tinitEEnum(cascadeEEnum, Cascade.class, \"Cascade\");\r\n\t\taddEEnumLiteral(cascadeEEnum, Cascade.ALL);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\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\tmealyMachineEClass = createEClass(MEALY_MACHINE);\n\t\tcreateEReference(mealyMachineEClass, MEALY_MACHINE__INITIAL_STATE);\n\t\tcreateEReference(mealyMachineEClass, MEALY_MACHINE__STATES);\n\t\tcreateEReference(mealyMachineEClass, MEALY_MACHINE__INPUT_ALPHABET);\n\t\tcreateEReference(mealyMachineEClass, MEALY_MACHINE__OUTPUT_ALPHABET);\n\t\tcreateEReference(mealyMachineEClass, MEALY_MACHINE__TRANSITIONS);\n\n\t\tstateEClass = createEClass(STATE);\n\t\tcreateEAttribute(stateEClass, STATE__NAME);\n\n\t\talphabetEClass = createEClass(ALPHABET);\n\t\tcreateEAttribute(alphabetEClass, ALPHABET__CHARACTERS);\n\n\t\ttransitionEClass = createEClass(TRANSITION);\n\t\tcreateEReference(transitionEClass, TRANSITION__SOURCE_STATE);\n\t\tcreateEReference(transitionEClass, TRANSITION__TARGET_STATE);\n\t\tcreateEAttribute(transitionEClass, TRANSITION__INPUT);\n\t\tcreateEAttribute(transitionEClass, TRANSITION__OUTPUT);\n\t}", "ThingMLPackage getThingMLPackage();", "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__PARAMS);\n createEReference(modelEClass, MODEL__STATES);\n createEReference(modelEClass, MODEL__POPULATION);\n\n paramEClass = createEClass(PARAM);\n createEAttribute(paramEClass, PARAM__NAME);\n createEAttribute(paramEClass, PARAM__VALUE);\n\n agentStateEClass = createEClass(AGENT_STATE);\n createEAttribute(agentStateEClass, AGENT_STATE__NAME);\n createEReference(agentStateEClass, AGENT_STATE__PREFIXS);\n\n prefixEClass = createEClass(PREFIX);\n createEReference(prefixEClass, PREFIX__ACTION);\n createEAttribute(prefixEClass, PREFIX__CONTINUE);\n\n actionEClass = createEClass(ACTION);\n createEAttribute(actionEClass, ACTION__NAME);\n createEReference(actionEClass, ACTION__RATE);\n\n acT_SpNoMsgEClass = createEClass(ACT_SP_NO_MSG);\n\n acT_SpBrEClass = createEClass(ACT_SP_BR);\n createEReference(acT_SpBrEClass, ACT_SP_BR__RANGE);\n\n acT_SpUniEClass = createEClass(ACT_SP_UNI);\n createEReference(acT_SpUniEClass, ACT_SP_UNI__RANGE);\n\n acT_InBrEClass = createEClass(ACT_IN_BR);\n createEReference(acT_InBrEClass, ACT_IN_BR__VALUE);\n\n acT_InUniEClass = createEClass(ACT_IN_UNI);\n createEReference(acT_InUniEClass, ACT_IN_UNI__VALUE);\n\n iRangeEClass = createEClass(IRANGE);\n\n pR_ExprEClass = createEClass(PR_EXPR);\n createEReference(pR_ExprEClass, PR_EXPR__PR_E);\n\n terminal_PR_ExprEClass = createEClass(TERMINAL_PR_EXPR);\n createEAttribute(terminal_PR_ExprEClass, TERMINAL_PR_EXPR__LINKED_PARAM);\n\n ratE_ExprEClass = createEClass(RATE_EXPR);\n createEReference(ratE_ExprEClass, RATE_EXPR__RT);\n\n terminal_RATE_ExprEClass = createEClass(TERMINAL_RATE_EXPR);\n createEAttribute(terminal_RATE_ExprEClass, TERMINAL_RATE_EXPR__LINKED_PARAM);\n\n agenT_NUMEClass = createEClass(AGENT_NUM);\n createEAttribute(agenT_NUMEClass, AGENT_NUM__TYPE);\n\n populationEClass = createEClass(POPULATION);\n createEReference(populationEClass, POPULATION__POPU);\n\n agentsEClass = createEClass(AGENTS);\n createEAttribute(agentsEClass, AGENTS__TYPE);\n }", "public void initializePackageContents()\n {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tclarityAddFilesEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityGetBatchResultEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityGetKeyEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityQueryBatchEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityReloadFileEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityRemoveFilesEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tstartBatchEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(clarityAbstractObjectEClass, ClarityAbstractObject.class, \"ClarityAbstractObject\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getClarityAbstractObject_ClarityConnection(), ecorePackage.getEString(), \"clarityConnection\", null, 0, 1, ClarityAbstractObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(clarityAddFilesEClass, ClarityAddFiles.class, \"ClarityAddFiles\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityGetBatchResultEClass, ClarityGetBatchResult.class, \"ClarityGetBatchResult\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityGetKeyEClass, ClarityGetKey.class, \"ClarityGetKey\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityQueryBatchEClass, ClarityQueryBatch.class, \"ClarityQueryBatch\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityReloadFileEClass, ClarityReloadFile.class, \"ClarityReloadFile\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityRemoveFilesEClass, ClarityRemoveFiles.class, \"ClarityRemoveFiles\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(startBatchEClass, StartBatch.class, \"StartBatch\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// cbgeneralcontrol\n\t\tcreateCbgeneralcontrolAnnotations();\n\t}", "public void createPackageContents() {\r\n if (isCreated) return;\r\n isCreated = true;\r\n\r\n // Create classes and their features\r\n kShapeLayoutEClass = createEClass(KSHAPE_LAYOUT);\r\n createEAttribute(kShapeLayoutEClass, KSHAPE_LAYOUT__XPOS);\r\n createEAttribute(kShapeLayoutEClass, KSHAPE_LAYOUT__YPOS);\r\n createEAttribute(kShapeLayoutEClass, KSHAPE_LAYOUT__WIDTH);\r\n createEAttribute(kShapeLayoutEClass, KSHAPE_LAYOUT__HEIGHT);\r\n createEReference(kShapeLayoutEClass, KSHAPE_LAYOUT__INSETS);\r\n\r\n kEdgeLayoutEClass = createEClass(KEDGE_LAYOUT);\r\n createEReference(kEdgeLayoutEClass, KEDGE_LAYOUT__BEND_POINTS);\r\n createEReference(kEdgeLayoutEClass, KEDGE_LAYOUT__SOURCE_POINT);\r\n createEReference(kEdgeLayoutEClass, KEDGE_LAYOUT__TARGET_POINT);\r\n\r\n kLayoutDataEClass = createEClass(KLAYOUT_DATA);\r\n\r\n kPointEClass = createEClass(KPOINT);\r\n createEAttribute(kPointEClass, KPOINT__X);\r\n createEAttribute(kPointEClass, KPOINT__Y);\r\n\r\n kInsetsEClass = createEClass(KINSETS);\r\n createEAttribute(kInsetsEClass, KINSETS__TOP);\r\n createEAttribute(kInsetsEClass, KINSETS__BOTTOM);\r\n createEAttribute(kInsetsEClass, KINSETS__LEFT);\r\n createEAttribute(kInsetsEClass, KINSETS__RIGHT);\r\n\r\n kIdentifierEClass = createEClass(KIDENTIFIER);\r\n createEAttribute(kIdentifierEClass, KIDENTIFIER__ID);\r\n\r\n kVectorEClass = createEClass(KVECTOR);\r\n createEAttribute(kVectorEClass, KVECTOR__X);\r\n createEAttribute(kVectorEClass, KVECTOR__Y);\r\n\r\n kVectorChainEClass = createEClass(KVECTOR_CHAIN);\r\n }", "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 {\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\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}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tjTypeEClass.getESuperTypes().add(this.getJElement());\n\t\tjTypedElementEClass.getESuperTypes().add(this.getJElement());\n\t\tjPrimitiveEClass.getESuperTypes().add(this.getJType());\n\t\tjEnumerationEClass.getESuperTypes().add(this.getJType());\n\t\tjClassEClass.getESuperTypes().add(this.getJType());\n\t\tjAttributeEClass.getESuperTypes().add(this.getJTypedElement());\n\t\tjOperationEClass.getESuperTypes().add(this.getJElement());\n\t\tjParameterEClass.getESuperTypes().add(this.getJTypedElement());\n\t\tjRelationshipEClass.getESuperTypes().add(this.getJElement());\n\t\tjRoleEClass.getESuperTypes().add(this.getJElement());\n\t\tjLiteralEClass.getESuperTypes().add(this.getJElement());\n\t\tjPackageEClass.getESuperTypes().add(this.getJElement());\n\t\tjStateMachineEClass.getESuperTypes().add(this.getJElement());\n\t\tjTransitionEClass.getESuperTypes().add(this.getJElement());\n\t\tjStateEClass.getESuperTypes().add(this.getJElement());\n\t\tjGuardEClass.getESuperTypes().add(this.getJElement());\n\t\tjModelEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiMenuItemEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiAttributeGroupEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiFilterEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiAliasEClass.getESuperTypes().add(this.getJElement());\n\t\tjInfoEClass.getESuperTypes().add(this.getJElement());\n\t\tjSubmodelEClass.getESuperTypes().add(this.getJElement());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(jElementEClass, JElement.class, \"JElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJElement_Uuid(), ecorePackage.getEString(), \"uuid\", null, 1, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_ShortName(), ecorePackage.getEString(), \"shortName\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_FullName(), ecorePackage.getEString(), \"fullName\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Framework(), ecorePackage.getEBoolean(), \"framework\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Participates(), this.getJLayer(), \"participates\", null, 0, -1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Visibility(), this.getJVisibility(), \"visibility\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jTypeEClass, JType.class, \"JType\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(jTypedElementEClass, JTypedElement.class, \"JTypedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJTypedElement_Type(), this.getJType(), null, \"type\", null, 1, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Derived(), ecorePackage.getEBoolean(), \"derived\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Calculated(), ecorePackage.getEBoolean(), \"calculated\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Lower(), ecorePackage.getEInt(), \"lower\", \"0\", 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Upper(), ecorePackage.getEInt(), \"upper\", \"1\", 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Ordered(), ecorePackage.getEBoolean(), \"ordered\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Unique(), ecorePackage.getEBoolean(), \"unique\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jPrimitiveEClass, JPrimitive.class, \"JPrimitive\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJPrimitive_Package(), this.getJPackage(), this.getJPackage_Primitives(), \"package\", null, 0, 1, JPrimitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJPrimitive_UseForIdType(), ecorePackage.getEBoolean(), \"useForIdType\", null, 0, 1, JPrimitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jEnumerationEClass, JEnumeration.class, \"JEnumeration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJEnumeration_Package(), this.getJPackage(), this.getJPackage_Enumerations(), \"package\", null, 0, 1, JEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJEnumeration_Literals(), this.getJLiteral(), this.getJLiteral_Enumeration(), \"literals\", null, 0, -1, JEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJEnumeration_ClassRepresentation(), this.getJClass(), this.getJClass_FixedEnum(), \"classRepresentation\", null, 0, 1, JEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jClassEClass, JClass.class, \"JClass\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJClass_Abstract(), ecorePackage.getEBoolean(), \"abstract\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_StateMachines(), this.getJStateMachine(), this.getJStateMachine_OwnerClass(), \"stateMachines\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Operations(), this.getJOperation(), this.getJOperation_OwnerClass(), \"operations\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_AttributeOrder(), this.getJUIAttributeGroup(), null, \"attributeOrder\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_AttributesForListing(), this.getJAttribute(), null, \"attributesForListing\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_FixedEnum(), this.getJEnumeration(), this.getJEnumeration_ClassRepresentation(), \"fixedEnum\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsTenant(), ecorePackage.getEBoolean(), \"representsTenant\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_TenantMember(), ecorePackage.getEBoolean(), \"tenantMember\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Representation(), this.getJAttribute(), null, \"representation\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsEnum(), ecorePackage.getEBoolean(), \"representsEnum\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsTenantUser(), ecorePackage.getEBoolean(), \"representsTenantUser\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsUser(), ecorePackage.getEBoolean(), \"representsUser\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Supertype(), this.getJClass(), null, \"supertype\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Package(), this.getJPackage(), this.getJPackage_Classes(), \"package\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Roles(), this.getJRole(), this.getJRole_OwnerClass(), \"roles\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Attributes(), this.getJAttribute(), this.getJAttribute_OwnerClass(), \"attributes\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_BusinessSingleton(), ecorePackage.getEBoolean(), \"businessSingleton\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Aliases(), this.getJUIAlias(), this.getJUIAlias_OwnerClass(), \"aliases\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_Watched(), ecorePackage.getEBoolean(), \"watched\", \"false\", 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsEnumValue(), ecorePackage.getEBoolean(), \"representsEnumValue\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jAttributeEClass, JAttribute.class, \"JAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJAttribute_Placeholder(), ecorePackage.getEString(), \"placeholder\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Regexp(), ecorePackage.getEString(), \"regexp\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Mandatory(), ecorePackage.getEBoolean(), \"mandatory\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Decimals(), ecorePackage.getEInt(), \"decimals\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Interval(), ecorePackage.getEString(), \"interval\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Technical(), ecorePackage.getEBoolean(), \"technical\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJAttribute_OwnerClass(), this.getJClass(), this.getJClass_Attributes(), \"ownerClass\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_UiNoSearch(), ecorePackage.getEBoolean(), \"uiNoSearch\", \"false\", 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Watched(), ecorePackage.getEBoolean(), \"watched\", \"false\", 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_RepresentsId(), ecorePackage.getEBoolean(), \"representsId\", \"false\", 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jOperationEClass, JOperation.class, \"JOperation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJOperation_ClassBased(), ecorePackage.getEBoolean(), \"classBased\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJOperation_OwnerClass(), this.getJClass(), this.getJClass_Operations(), \"ownerClass\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJOperation_Parameters(), this.getJParameter(), this.getJParameter_OwnerOperation(), \"parameters\", null, 0, -1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJOperation_Transition(), this.getJTransition(), this.getJTransition_ExecutingOperation(), \"transition\", null, 0, -1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJOperation_Bulk(), ecorePackage.getEBoolean(), \"bulk\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJOperation_Kind(), this.getJOperationKind(), \"kind\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJOperation_UiMustConfirm(), ecorePackage.getEBoolean(), \"uiMustConfirm\", \"false\", 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jParameterEClass, JParameter.class, \"JParameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJParameter_OwnerOperation(), this.getJOperation(), this.getJOperation_Parameters(), \"ownerOperation\", null, 0, 1, JParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJParameter_Input(), ecorePackage.getEBoolean(), \"input\", \"true\", 0, 1, JParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJParameter_Interval(), ecorePackage.getEString(), \"interval\", null, 0, 1, JParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jRelationshipEClass, JRelationship.class, \"JRelationship\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJRelationship_Package(), this.getJPackage(), this.getJPackage_Relationships(), \"package\", null, 0, 1, JRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJRelationship_Roles(), this.getJRole(), this.getJRole_OwnerRelationship(), \"roles\", null, 2, 2, JRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRelationship_Derived(), ecorePackage.getEBoolean(), \"derived\", null, 0, 1, JRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jRoleEClass, JRole.class, \"JRole\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJRole_Lower(), ecorePackage.getEInt(), \"lower\", \"0\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Upper(), ecorePackage.getEInt(), \"upper\", \"1\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Navigable(), ecorePackage.getEBoolean(), \"navigable\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Unique(), ecorePackage.getEBoolean(), \"unique\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Ordered(), ecorePackage.getEBoolean(), \"ordered\", \"true\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJRole_OwnerRelationship(), this.getJRelationship(), this.getJRelationship_Roles(), \"ownerRelationship\", null, 1, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_DerivedExpression(), ecorePackage.getEString(), \"derivedExpression\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_DerivedDescription(), ecorePackage.getEString(), \"derivedDescription\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Kind(), this.getJAssociationKind(), \"kind\", \"ASSOCIATION\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_OptionScript(), ecorePackage.getEString(), \"optionScript\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJRole_OwnerClass(), this.getJClass(), this.getJClass_Roles(), \"ownerClass\", null, 1, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Calculated(), ecorePackage.getEBoolean(), \"calculated\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Interval(), ecorePackage.getEString(), \"interval\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jLiteralEClass, JLiteral.class, \"JLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJLiteral_Enumeration(), this.getJEnumeration(), this.getJEnumeration_Literals(), \"enumeration\", null, 0, 1, JLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jPackageEClass, JPackage.class, \"JPackage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJPackage_Enumerations(), this.getJEnumeration(), this.getJEnumeration_Package(), \"enumerations\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Primitives(), this.getJPrimitive(), this.getJPrimitive_Package(), \"primitives\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Relationships(), this.getJRelationship(), this.getJRelationship_Package(), \"relationships\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Children(), this.getJPackage(), this.getJPackage_Parent(), \"children\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Parent(), this.getJPackage(), this.getJPackage_Children(), \"parent\", null, 0, 1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_OwnerModel(), this.getJModel(), this.getJModel_Packages(), \"ownerModel\", null, 0, 1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Classes(), this.getJClass(), this.getJClass_Package(), \"classes\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jStateMachineEClass, JStateMachine.class, \"JStateMachine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJStateMachine_OwnerClass(), this.getJClass(), this.getJClass_StateMachines(), \"ownerClass\", null, 0, 1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJStateMachine_States(), this.getJState(), this.getJState_OwnerStateMachine(), \"states\", null, 0, -1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJStateMachine_Transitions(), this.getJTransition(), this.getJTransition_StateMachine(), \"transitions\", null, 0, -1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJStateMachine_CorrespondingEnum(), this.getJEnumeration(), null, \"correspondingEnum\", null, 1, 1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jTransitionEClass, JTransition.class, \"JTransition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJTransition_StateMachine(), this.getJStateMachine(), this.getJStateMachine_Transitions(), \"stateMachine\", null, 0, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_Guard(), this.getJGuard(), this.getJGuard_Transition(), \"guard\", null, 0, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_ToState(), this.getJState(), this.getJState_IncomingTransitions(), \"toState\", null, 1, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_FromState(), this.getJState(), this.getJState_OutgoingTransitions(), \"fromState\", null, 1, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_ExecutingOperation(), this.getJOperation(), this.getJOperation_Transition(), \"executingOperation\", null, 0, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jStateEClass, JState.class, \"JState\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJState_OwnerStateMachine(), this.getJStateMachine(), this.getJStateMachine_States(), \"ownerStateMachine\", null, 0, 1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJState_IncomingTransitions(), this.getJTransition(), this.getJTransition_ToState(), \"incomingTransitions\", null, 0, -1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJState_OutgoingTransitions(), this.getJTransition(), this.getJTransition_FromState(), \"outgoingTransitions\", null, 0, -1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJState_InitialState(), ecorePackage.getEBoolean(), \"initialState\", null, 0, 1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJState_FinalState(), ecorePackage.getEBoolean(), \"finalState\", null, 0, 1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jGuardEClass, JGuard.class, \"JGuard\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJGuard_Transition(), this.getJTransition(), this.getJTransition_Guard(), \"transition\", null, 0, 1, JGuard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJGuard_Text(), ecorePackage.getEString(), \"text\", null, 0, 1, JGuard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJGuard_Expression(), ecorePackage.getEString(), \"expression\", null, 0, 1, JGuard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jModelEClass, JModel.class, \"JModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJModel_Packages(), this.getJPackage(), this.getJPackage_OwnerModel(), \"packages\", null, 0, -1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJModel_PackagePrefix(), ecorePackage.getEString(), \"packagePrefix\", null, 0, 1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJModel_ApplicationTop(), this.getJPackage(), null, \"applicationTop\", null, 1, 1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJModel_RootMenuItems(), this.getJUIMenuItem(), null, \"rootMenuItems\", null, 0, -1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJModel_Info(), this.getJInfo(), null, \"info\", null, 0, 1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiMenuItemEClass, JUIMenuItem.class, \"JUIMenuItem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIMenuItem_Children(), this.getJUIMenuItem(), this.getJUIMenuItem_Parent(), \"children\", null, 0, -1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Parent(), this.getJUIMenuItem(), this.getJUIMenuItem_Children(), \"parent\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Represent(), this.getJClass(), null, \"represent\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Uifilters(), this.getJUIFilter(), null, \"uifilters\", null, 0, -1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIMenuItem_Type(), this.getJMenuItemType(), \"type\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Alias(), this.getJUIAlias(), null, \"alias\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiAttributeGroupEClass, JUIAttributeGroup.class, \"JUIAttributeGroup\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIAttributeGroup_Attributes(), this.getJAttribute(), null, \"attributes\", null, 0, -1, JUIAttributeGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIAttributeGroup_Position(), ecorePackage.getEInt(), \"position\", null, 0, 1, JUIAttributeGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiFilterEClass, JUIFilter.class, \"JUIFilter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIFilter_Attribute(), this.getJAttribute(), null, \"attribute\", null, 1, 1, JUIFilter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIFilter_Operator(), this.getJOperator(), \"operator\", null, 1, 1, JUIFilter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIFilter_Value(), ecorePackage.getEString(), \"value\", null, 1, 1, JUIFilter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiAliasEClass, JUIAlias.class, \"JUIAlias\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIAlias_OwnerClass(), this.getJClass(), this.getJClass_Aliases(), \"ownerClass\", null, 1, 1, JUIAlias.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jInfoEClass, JInfo.class, \"JInfo\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJInfo_Submodels(), this.getJSubmodel(), null, \"submodels\", null, 0, -1, JInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jSubmodelEClass, JSubmodel.class, \"JSubmodel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJSubmodel_Version(), ecorePackage.getEString(), \"version\", null, 0, 1, JSubmodel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(jVisibilityEEnum, JVisibility.class, \"JVisibility\");\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PUBLIC);\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PROTECTED);\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PACKAGE);\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PRIVATE);\n\n\t\tinitEEnum(jAssociationKindEEnum, JAssociationKind.class, \"JAssociationKind\");\n\t\taddEEnumLiteral(jAssociationKindEEnum, JAssociationKind.ASSOCIATION);\n\t\taddEEnumLiteral(jAssociationKindEEnum, JAssociationKind.AGGREGATION);\n\t\taddEEnumLiteral(jAssociationKindEEnum, JAssociationKind.COMPOSITION);\n\n\t\tinitEEnum(jOperationKindEEnum, JOperationKind.class, \"JOperationKind\");\n\t\taddEEnumLiteral(jOperationKindEEnum, JOperationKind.CUSTOM);\n\t\taddEEnumLiteral(jOperationKindEEnum, JOperationKind.QUERY);\n\n\t\tinitEEnum(jLayerEEnum, JLayer.class, \"JLayer\");\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.ALL);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.PERSISTENCE);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.SERVICE);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.OPERATION);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.REST);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.UI);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.DOCUMENT);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.PERMISSION);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.SCREEN);\n\n\t\tinitEEnum(jMenuItemTypeEEnum, JMenuItemType.class, \"JMenuItemType\");\n\t\taddEEnumLiteral(jMenuItemTypeEEnum, JMenuItemType.OBJECT);\n\t\taddEEnumLiteral(jMenuItemTypeEEnum, JMenuItemType.LIST);\n\t\taddEEnumLiteral(jMenuItemTypeEEnum, JMenuItemType.NONE);\n\n\t\tinitEEnum(jOperatorEEnum, JOperator.class, \"JOperator\");\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.EQ);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.NE);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.LT);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.LTE);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.GT);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.GTE);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "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\tbankEClass = createEClass(BANK);\r\n\t\tcreateEReference(bankEClass, BANK__MANAGERS);\r\n\t\tcreateEReference(bankEClass, BANK__ACCOUNTS);\r\n\t\tcreateEReference(bankEClass, BANK__CLIENTS);\r\n\r\n\t\tclientEClass = createEClass(CLIENT);\r\n\t\tcreateEReference(clientEClass, CLIENT__MANAGER);\r\n\t\tcreateEReference(clientEClass, CLIENT__ACCOUNTS);\r\n\t\tcreateEAttribute(clientEClass, CLIENT__NAME);\r\n\t\tcreateEReference(clientEClass, CLIENT__SPONSORSHIPS);\r\n\t\tcreateEAttribute(clientEClass, CLIENT__CAPACITY);\r\n\r\n\t\tmanagerEClass = createEClass(MANAGER);\r\n\t\tcreateEReference(managerEClass, MANAGER__CLIENTS);\r\n\t\tcreateEAttribute(managerEClass, MANAGER__NAME);\r\n\r\n\t\taccountEClass = createEClass(ACCOUNT);\r\n\t\tcreateEReference(accountEClass, ACCOUNT__OWNERS);\r\n\t\tcreateEAttribute(accountEClass, ACCOUNT__CREDIT);\r\n\t\tcreateEAttribute(accountEClass, ACCOUNT__OVERDRAFT);\r\n\t\tcreateEReference(accountEClass, ACCOUNT__CARDS);\r\n\r\n\t\tcardEClass = createEClass(CARD);\r\n\t\tcreateEAttribute(cardEClass, CARD__NUMBER);\r\n\t\tcreateEAttribute(cardEClass, CARD__TYPE);\r\n\r\n\t\t// Create enums\r\n\t\tcardTypeEEnum = createEEnum(CARD_TYPE);\r\n\t}", "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 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\tgemmaEClass = createEClass(GEMMA);\r\n\t\tcreateEReference(gemmaEClass, GEMMA__MACRO_OMS);\r\n\t\tcreateEReference(gemmaEClass, GEMMA__TRANSICIONES);\r\n\t\tcreateEReference(gemmaEClass, GEMMA__VARIABLES_GEMMA);\r\n\r\n\t\tmacroOmEClass = createEClass(MACRO_OM);\r\n\t\tcreateEAttribute(macroOmEClass, MACRO_OM__NAME);\r\n\t\tcreateEAttribute(macroOmEClass, MACRO_OM__TIPO);\r\n\t\tcreateEReference(macroOmEClass, MACRO_OM__OMS);\r\n\r\n\t\tomEClass = createEClass(OM);\r\n\t\tcreateEAttribute(omEClass, OM__NAME);\r\n\t\tcreateEAttribute(omEClass, OM__TIPO);\r\n\t\tcreateEAttribute(omEClass, OM__ES_OM_RAIZ);\r\n\t\tcreateEReference(omEClass, OM__VARIABLES_OM);\r\n\t\tcreateEAttribute(omEClass, OM__ES_VISIBLE);\r\n\r\n\t\ttrasicionEntreOmOmEClass = createEClass(TRASICION_ENTRE_OM_OM);\r\n\t\tcreateEReference(trasicionEntreOmOmEClass, TRASICION_ENTRE_OM_OM__ORIGEN);\r\n\t\tcreateEReference(trasicionEntreOmOmEClass, TRASICION_ENTRE_OM_OM__DESTINO);\r\n\r\n\t\ttransicionEntreMacroOmOmEClass = createEClass(TRANSICION_ENTRE_MACRO_OM_OM);\r\n\t\tcreateEReference(transicionEntreMacroOmOmEClass, TRANSICION_ENTRE_MACRO_OM_OM__ORIGEN);\r\n\t\tcreateEReference(transicionEntreMacroOmOmEClass, TRANSICION_ENTRE_MACRO_OM_OM__DESTINO);\r\n\r\n\t\texpresionBinariaEClass = createEClass(EXPRESION_BINARIA);\r\n\t\tcreateEReference(expresionBinariaEClass, EXPRESION_BINARIA__EXPRESION_IZQUIERDA);\r\n\t\tcreateEReference(expresionBinariaEClass, EXPRESION_BINARIA__EXPRESION_DERECHA);\r\n\t\tcreateEAttribute(expresionBinariaEClass, EXPRESION_BINARIA__OPERADOR);\r\n\r\n\t\telementoExpresionEClass = createEClass(ELEMENTO_EXPRESION);\r\n\r\n\t\tvariableOmEClass = createEClass(VARIABLE_OM);\r\n\t\tcreateEAttribute(variableOmEClass, VARIABLE_OM__NAME);\r\n\r\n\t\ttransicionEClass = createEClass(TRANSICION);\r\n\t\tcreateEAttribute(transicionEClass, TRANSICION__NAME);\r\n\t\tcreateEReference(transicionEClass, TRANSICION__ELEMENTO_EXPRESION);\r\n\r\n\t\tvariableGemmaEClass = createEClass(VARIABLE_GEMMA);\r\n\t\tcreateEAttribute(variableGemmaEClass, VARIABLE_GEMMA__NAME);\r\n\r\n\t\trefVariableGemmaEClass = createEClass(REF_VARIABLE_GEMMA);\r\n\t\tcreateEReference(refVariableGemmaEClass, REF_VARIABLE_GEMMA__VARIABLE_GEMMA);\r\n\t\tcreateEAttribute(refVariableGemmaEClass, REF_VARIABLE_GEMMA__NIVEL_DE_ESCRITURA);\r\n\r\n\t\texpresionNotEClass = createEClass(EXPRESION_NOT);\r\n\t\tcreateEReference(expresionNotEClass, EXPRESION_NOT__ELEMENTO_EXPRESION);\r\n\r\n\t\trefVariableOmEClass = createEClass(REF_VARIABLE_OM);\r\n\t\tcreateEReference(refVariableOmEClass, REF_VARIABLE_OM__VARIABLE_OM);\r\n\r\n\t\texpresionConjuntaEClass = createEClass(EXPRESION_CONJUNTA);\r\n\t\tcreateEReference(expresionConjuntaEClass, EXPRESION_CONJUNTA__ELEMENTO_EXPRESION);\r\n\r\n\t\t// Create enums\r\n\t\ttipoOmEEnum = createEEnum(TIPO_OM);\r\n\t\ttipoMacroOmEEnum = createEEnum(TIPO_MACRO_OM);\r\n\t\ttipoOperadorEEnum = createEEnum(TIPO_OPERADOR);\r\n\t\tnivelDeEscrituraEEnum = createEEnum(NIVEL_DE_ESCRITURA);\r\n\t}", "public void createPackageContents()\n {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tclarityAbstractObjectEClass = createEClass(CLARITY_ABSTRACT_OBJECT);\n\t\tcreateEAttribute(clarityAbstractObjectEClass, CLARITY_ABSTRACT_OBJECT__CLARITY_CONNECTION);\n\n\t\tclarityAddFilesEClass = createEClass(CLARITY_ADD_FILES);\n\n\t\tclarityGetBatchResultEClass = createEClass(CLARITY_GET_BATCH_RESULT);\n\n\t\tclarityGetKeyEClass = createEClass(CLARITY_GET_KEY);\n\n\t\tclarityQueryBatchEClass = createEClass(CLARITY_QUERY_BATCH);\n\n\t\tclarityReloadFileEClass = createEClass(CLARITY_RELOAD_FILE);\n\n\t\tclarityRemoveFilesEClass = createEClass(CLARITY_REMOVE_FILES);\n\n\t\tstartBatchEClass = createEClass(START_BATCH);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tannotationEClass.getESuperTypes().add(this.getElement());\n\t\tidentifiedElementEClass.getESuperTypes().add(this.getElement());\n\t\timportEClass.getESuperTypes().add(this.getElement());\n\t\tinstanceEClass.getESuperTypes().add(this.getElement());\n\t\taxiomEClass.getESuperTypes().add(this.getElement());\n\t\tassertionEClass.getESuperTypes().add(this.getElement());\n\t\tpredicateEClass.getESuperTypes().add(this.getElement());\n\t\targumentEClass.getESuperTypes().add(this.getElement());\n\t\tliteralEClass.getESuperTypes().add(this.getElement());\n\t\tontologyEClass.getESuperTypes().add(this.getIdentifiedElement());\n\t\tmemberEClass.getESuperTypes().add(this.getIdentifiedElement());\n\t\tvocabularyBoxEClass.getESuperTypes().add(this.getOntology());\n\t\tdescriptionBoxEClass.getESuperTypes().add(this.getOntology());\n\t\tvocabularyEClass.getESuperTypes().add(this.getVocabularyBox());\n\t\tvocabularyBundleEClass.getESuperTypes().add(this.getVocabularyBox());\n\t\tdescriptionEClass.getESuperTypes().add(this.getDescriptionBox());\n\t\tdescriptionBundleEClass.getESuperTypes().add(this.getDescriptionBox());\n\t\tstatementEClass.getESuperTypes().add(this.getMember());\n\t\tvocabularyMemberEClass.getESuperTypes().add(this.getMember());\n\t\tdescriptionMemberEClass.getESuperTypes().add(this.getMember());\n\t\tvocabularyStatementEClass.getESuperTypes().add(this.getStatement());\n\t\tvocabularyStatementEClass.getESuperTypes().add(this.getVocabularyMember());\n\t\tdescriptionStatementEClass.getESuperTypes().add(this.getStatement());\n\t\tdescriptionStatementEClass.getESuperTypes().add(this.getDescriptionMember());\n\t\ttermEClass.getESuperTypes().add(this.getVocabularyMember());\n\t\truleEClass.getESuperTypes().add(this.getVocabularyStatement());\n\t\tbuiltInEClass.getESuperTypes().add(this.getVocabularyStatement());\n\t\tspecializableTermEClass.getESuperTypes().add(this.getTerm());\n\t\tspecializableTermEClass.getESuperTypes().add(this.getVocabularyStatement());\n\t\tpropertyEClass.getESuperTypes().add(this.getTerm());\n\t\ttypeEClass.getESuperTypes().add(this.getSpecializableTerm());\n\t\trelationBaseEClass.getESuperTypes().add(this.getSpecializableTerm());\n\t\tspecializablePropertyEClass.getESuperTypes().add(this.getSpecializableTerm());\n\t\tspecializablePropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tclassifierEClass.getESuperTypes().add(this.getType());\n\t\tscalarEClass.getESuperTypes().add(this.getType());\n\t\tentityEClass.getESuperTypes().add(this.getClassifier());\n\t\tstructureEClass.getESuperTypes().add(this.getClassifier());\n\t\taspectEClass.getESuperTypes().add(this.getEntity());\n\t\tconceptEClass.getESuperTypes().add(this.getEntity());\n\t\trelationEntityEClass.getESuperTypes().add(this.getEntity());\n\t\trelationEntityEClass.getESuperTypes().add(this.getRelationBase());\n\t\tannotationPropertyEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\tsemanticPropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tscalarPropertyEClass.getESuperTypes().add(this.getSemanticProperty());\n\t\tscalarPropertyEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\tstructuredPropertyEClass.getESuperTypes().add(this.getSemanticProperty());\n\t\tstructuredPropertyEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\trelationEClass.getESuperTypes().add(this.getSemanticProperty());\n\t\tforwardRelationEClass.getESuperTypes().add(this.getRelation());\n\t\treverseRelationEClass.getESuperTypes().add(this.getRelation());\n\t\tunreifiedRelationEClass.getESuperTypes().add(this.getRelation());\n\t\tunreifiedRelationEClass.getESuperTypes().add(this.getRelationBase());\n\t\tunreifiedRelationEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\tnamedInstanceEClass.getESuperTypes().add(this.getDescriptionStatement());\n\t\tnamedInstanceEClass.getESuperTypes().add(this.getInstance());\n\t\tconceptInstanceEClass.getESuperTypes().add(this.getNamedInstance());\n\t\trelationInstanceEClass.getESuperTypes().add(this.getNamedInstance());\n\t\tstructureInstanceEClass.getESuperTypes().add(this.getInstance());\n\t\tkeyAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tspecializationAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tinstanceEnumerationAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tpropertyRestrictionAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tliteralEnumerationAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tclassifierEquivalenceAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tscalarEquivalenceAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tpropertyEquivalenceAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tpropertyRangeRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\tpropertyCardinalityRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\tpropertyValueRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\tpropertySelfRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\ttypeAssertionEClass.getESuperTypes().add(this.getAssertion());\n\t\tpropertyValueAssertionEClass.getESuperTypes().add(this.getAssertion());\n\t\tunaryPredicateEClass.getESuperTypes().add(this.getPredicate());\n\t\tbinaryPredicateEClass.getESuperTypes().add(this.getPredicate());\n\t\tbuiltInPredicateEClass.getESuperTypes().add(this.getPredicate());\n\t\ttypePredicateEClass.getESuperTypes().add(this.getUnaryPredicate());\n\t\trelationEntityPredicateEClass.getESuperTypes().add(this.getUnaryPredicate());\n\t\trelationEntityPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tpropertyPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tsameAsPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tdifferentFromPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tquotedLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tintegerLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tdecimalLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tdoubleLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tbooleanLiteralEClass.getESuperTypes().add(this.getLiteral());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(elementEClass, Element.class, \"Element\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getElement__GetOntology(), this.getOntology(), \"getOntology\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tEOperation op = initEOperation(getElement__ExtraValidate__DiagnosticChain_Map(), theEcorePackage.getEBoolean(), \"extraValidate\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theEcorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\t\tEGenericType g1 = createEGenericType(theEcorePackage.getEMap());\n\t\tEGenericType g2 = createEGenericType(theEcorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(theEcorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"context\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(annotationEClass, Annotation.class, \"Annotation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnnotation_Property(), this.getAnnotationProperty(), null, \"property\", null, 1, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnnotation_LiteralValue(), this.getLiteral(), null, \"literalValue\", null, 0, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnnotation_ReferenceValue(), this.getMember(), null, \"referenceValue\", null, 0, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnnotation_OwningElement(), this.getIdentifiedElement(), this.getIdentifiedElement_OwnedAnnotations(), \"owningElement\", null, 0, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getAnnotation__GetValue(), this.getElement(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getAnnotation__GetAnnotatedElement(), this.getIdentifiedElement(), \"getAnnotatedElement\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(identifiedElementEClass, IdentifiedElement.class, \"IdentifiedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getIdentifiedElement_OwnedAnnotations(), this.getAnnotation(), this.getAnnotation_OwningElement(), \"ownedAnnotations\", null, 0, -1, IdentifiedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getIdentifiedElement__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(importEClass, Import.class, \"Import\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getImport_Kind(), this.getImportKind(), \"kind\", null, 1, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getImport_Namespace(), this.getNamespace(), \"namespace\", null, 1, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getImport_Prefix(), this.getID(), \"prefix\", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getImport_OwningOntology(), this.getOntology(), this.getOntology_OwnedImports(), \"owningOntology\", null, 1, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getImport__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getImport__GetSeparator(), this.getSeparatorKind(), \"getSeparator\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(instanceEClass, Instance.class, \"Instance\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInstance_OwnedPropertyValues(), this.getPropertyValueAssertion(), this.getPropertyValueAssertion_OwningInstance(), \"ownedPropertyValues\", null, 0, -1, Instance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(axiomEClass, Axiom.class, \"Axiom\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getAxiom__GetCharacterizedTerm(), this.getTerm(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(assertionEClass, Assertion.class, \"Assertion\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getAssertion__GetSubject(), this.getInstance(), \"getSubject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getAssertion__GetObject(), this.getElement(), \"getObject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(predicateEClass, Predicate.class, \"Predicate\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPredicate_AntecedentRule(), this.getRule(), this.getRule_Antecedent(), \"antecedentRule\", null, 0, 1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPredicate_ConsequentRule(), this.getRule(), this.getRule_Consequent(), \"consequentRule\", null, 0, 1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(argumentEClass, Argument.class, \"Argument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getArgument_Variable(), this.getID(), \"variable\", null, 0, 1, Argument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArgument_Literal(), this.getLiteral(), null, \"literal\", null, 0, 1, Argument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArgument_Instance(), this.getNamedInstance(), null, \"instance\", null, 0, 1, Argument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(literalEClass, Literal.class, \"Literal\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getLiteral__GetValue(), theEcorePackage.getEJavaObject(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteral__GetStringValue(), theEcorePackage.getEString(), \"getStringValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteral__GetLexicalValue(), theEcorePackage.getEString(), \"getLexicalValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(ontologyEClass, Ontology.class, \"Ontology\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getOntology_Namespace(), this.getNamespace(), \"namespace\", null, 1, 1, Ontology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOntology_Prefix(), this.getID(), \"prefix\", null, 1, 1, Ontology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOntology_OwnedImports(), this.getImport(), this.getImport_OwningOntology(), \"ownedImports\", null, 0, -1, Ontology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getOntology__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getOntology__GetSeparator(), this.getSeparatorKind(), \"getSeparator\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(memberEClass, Member.class, \"Member\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMember_Name(), this.getID(), \"name\", null, 0, 1, Member.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getMember__GetRef(), this.getMember(), \"getRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__IsRef(), theEcorePackage.getEBoolean(), \"isRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__Resolve(), this.getMember(), \"resolve\", 1, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__GetAbbreviatedIri(), theEcorePackage.getEString(), \"getAbbreviatedIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(vocabularyBoxEClass, VocabularyBox.class, \"VocabularyBox\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(descriptionBoxEClass, DescriptionBox.class, \"DescriptionBox\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(vocabularyEClass, Vocabulary.class, \"Vocabulary\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getVocabulary_OwnedStatements(), this.getVocabularyStatement(), this.getVocabularyStatement_OwningVocabulary(), \"ownedStatements\", null, 0, -1, Vocabulary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(vocabularyBundleEClass, VocabularyBundle.class, \"VocabularyBundle\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(descriptionEClass, Description.class, \"Description\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDescription_OwnedStatements(), this.getDescriptionStatement(), this.getDescriptionStatement_OwningDescription(), \"ownedStatements\", null, 0, -1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(descriptionBundleEClass, DescriptionBundle.class, \"DescriptionBundle\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(statementEClass, Statement.class, \"Statement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(vocabularyMemberEClass, VocabularyMember.class, \"VocabularyMember\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(descriptionMemberEClass, DescriptionMember.class, \"DescriptionMember\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(vocabularyStatementEClass, VocabularyStatement.class, \"VocabularyStatement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getVocabularyStatement_OwningVocabulary(), this.getVocabulary(), this.getVocabulary_OwnedStatements(), \"owningVocabulary\", null, 1, 1, VocabularyStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(descriptionStatementEClass, DescriptionStatement.class, \"DescriptionStatement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDescriptionStatement_OwningDescription(), this.getDescription(), this.getDescription_OwnedStatements(), \"owningDescription\", null, 1, 1, DescriptionStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(termEClass, Term.class, \"Term\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(ruleEClass, Rule.class, \"Rule\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRule_Ref(), this.getRule(), null, \"ref\", null, 0, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRule_Antecedent(), this.getPredicate(), this.getPredicate_AntecedentRule(), \"antecedent\", null, 0, -1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRule_Consequent(), this.getPredicate(), this.getPredicate_ConsequentRule(), \"consequent\", null, 0, -1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(builtInEClass, BuiltIn.class, \"BuiltIn\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBuiltIn_Ref(), this.getBuiltIn(), null, \"ref\", null, 0, 1, BuiltIn.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specializableTermEClass, SpecializableTerm.class, \"SpecializableTerm\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecializableTerm_OwnedSpecializations(), this.getSpecializationAxiom(), this.getSpecializationAxiom_OwningTerm(), \"ownedSpecializations\", null, 0, -1, SpecializableTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyEClass, Property.class, \"Property\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(typeEClass, Type.class, \"Type\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(relationBaseEClass, RelationBase.class, \"RelationBase\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationBase_Sources(), this.getEntity(), null, \"sources\", null, 0, -1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationBase_Targets(), this.getEntity(), null, \"targets\", null, 0, -1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationBase_ReverseRelation(), this.getReverseRelation(), this.getReverseRelation_RelationBase(), \"reverseRelation\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Functional(), theEcorePackage.getEBoolean(), \"functional\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_InverseFunctional(), theEcorePackage.getEBoolean(), \"inverseFunctional\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Symmetric(), theEcorePackage.getEBoolean(), \"symmetric\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Asymmetric(), theEcorePackage.getEBoolean(), \"asymmetric\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Reflexive(), theEcorePackage.getEBoolean(), \"reflexive\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Irreflexive(), theEcorePackage.getEBoolean(), \"irreflexive\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Transitive(), theEcorePackage.getEBoolean(), \"transitive\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specializablePropertyEClass, SpecializableProperty.class, \"SpecializableProperty\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecializableProperty_OwnedEquivalences(), this.getPropertyEquivalenceAxiom(), this.getPropertyEquivalenceAxiom_OwningProperty(), \"ownedEquivalences\", null, 0, -1, SpecializableProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(classifierEClass, Classifier.class, \"Classifier\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getClassifier_OwnedEquivalences(), this.getClassifierEquivalenceAxiom(), this.getClassifierEquivalenceAxiom_OwningClassifier(), \"ownedEquivalences\", null, 0, -1, Classifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getClassifier_OwnedPropertyRestrictions(), this.getPropertyRestrictionAxiom(), this.getPropertyRestrictionAxiom_OwningClassifier(), \"ownedPropertyRestrictions\", null, 0, -1, Classifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(scalarEClass, Scalar.class, \"Scalar\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getScalar_Ref(), this.getScalar(), null, \"ref\", null, 0, 1, Scalar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalar_OwnedEnumeration(), this.getLiteralEnumerationAxiom(), this.getLiteralEnumerationAxiom_OwningScalar(), \"ownedEnumeration\", null, 0, 1, Scalar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalar_OwnedEquivalences(), this.getScalarEquivalenceAxiom(), this.getScalarEquivalenceAxiom_OwningScalar(), \"ownedEquivalences\", null, 0, -1, Scalar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(entityEClass, Entity.class, \"Entity\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEntity_OwnedKeys(), this.getKeyAxiom(), this.getKeyAxiom_OwningEntity(), \"ownedKeys\", null, 0, -1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(structureEClass, Structure.class, \"Structure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStructure_Ref(), this.getStructure(), null, \"ref\", null, 0, 1, Structure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(aspectEClass, Aspect.class, \"Aspect\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAspect_Ref(), this.getAspect(), null, \"ref\", null, 0, 1, Aspect.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(conceptEClass, Concept.class, \"Concept\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getConcept_Ref(), this.getConcept(), null, \"ref\", null, 0, 1, Concept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getConcept_OwnedEnumeration(), this.getInstanceEnumerationAxiom(), this.getInstanceEnumerationAxiom_OwningConcept(), \"ownedEnumeration\", null, 0, 1, Concept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relationEntityEClass, RelationEntity.class, \"RelationEntity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationEntity_Ref(), this.getRelationEntity(), null, \"ref\", null, 0, 1, RelationEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationEntity_ForwardRelation(), this.getForwardRelation(), this.getForwardRelation_RelationEntity(), \"forwardRelation\", null, 0, 1, RelationEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(annotationPropertyEClass, AnnotationProperty.class, \"AnnotationProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnnotationProperty_Ref(), this.getAnnotationProperty(), null, \"ref\", null, 0, 1, AnnotationProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(semanticPropertyEClass, SemanticProperty.class, \"SemanticProperty\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getSemanticProperty__IsFunctional(), theEcorePackage.getEBoolean(), \"isFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSemanticProperty__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSemanticProperty__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(scalarPropertyEClass, ScalarProperty.class, \"ScalarProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getScalarProperty_Ref(), this.getScalarProperty(), null, \"ref\", null, 0, 1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarProperty_Functional(), theEcorePackage.getEBoolean(), \"functional\", null, 0, 1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarProperty_Domains(), this.getClassifier(), null, \"domains\", null, 0, -1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarProperty_Ranges(), this.getScalar(), null, \"ranges\", null, 0, -1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getScalarProperty__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getScalarProperty__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(structuredPropertyEClass, StructuredProperty.class, \"StructuredProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStructuredProperty_Ref(), this.getStructuredProperty(), null, \"ref\", null, 0, 1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getStructuredProperty_Functional(), theEcorePackage.getEBoolean(), \"functional\", null, 0, 1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructuredProperty_Domains(), this.getClassifier(), null, \"domains\", null, 0, -1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructuredProperty_Ranges(), this.getStructure(), null, \"ranges\", null, 0, -1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getStructuredProperty__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getStructuredProperty__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(relationEClass, Relation.class, \"Relation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getRelation__IsInverseFunctional(), theEcorePackage.getEBoolean(), \"isInverseFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsSymmetric(), theEcorePackage.getEBoolean(), \"isSymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsAsymmetric(), theEcorePackage.getEBoolean(), \"isAsymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsReflexive(), theEcorePackage.getEBoolean(), \"isReflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsIrreflexive(), theEcorePackage.getEBoolean(), \"isIrreflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsTransitive(), theEcorePackage.getEBoolean(), \"isTransitive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(forwardRelationEClass, ForwardRelation.class, \"ForwardRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getForwardRelation_RelationEntity(), this.getRelationEntity(), this.getRelationEntity_ForwardRelation(), \"relationEntity\", null, 1, 1, ForwardRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetRef(), this.getMember(), \"getRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsFunctional(), theEcorePackage.getEBoolean(), \"isFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsInverseFunctional(), theEcorePackage.getEBoolean(), \"isInverseFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsSymmetric(), theEcorePackage.getEBoolean(), \"isSymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsAsymmetric(), theEcorePackage.getEBoolean(), \"isAsymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsReflexive(), theEcorePackage.getEBoolean(), \"isReflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsIrreflexive(), theEcorePackage.getEBoolean(), \"isIrreflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsTransitive(), theEcorePackage.getEBoolean(), \"isTransitive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(reverseRelationEClass, ReverseRelation.class, \"ReverseRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getReverseRelation_RelationBase(), this.getRelationBase(), this.getRelationBase_ReverseRelation(), \"relationBase\", null, 1, 1, ReverseRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetRef(), this.getMember(), \"getRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsFunctional(), theEcorePackage.getEBoolean(), \"isFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsInverseFunctional(), theEcorePackage.getEBoolean(), \"isInverseFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsSymmetric(), theEcorePackage.getEBoolean(), \"isSymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsAsymmetric(), theEcorePackage.getEBoolean(), \"isAsymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsReflexive(), theEcorePackage.getEBoolean(), \"isReflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsIrreflexive(), theEcorePackage.getEBoolean(), \"isIrreflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsTransitive(), theEcorePackage.getEBoolean(), \"isTransitive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(unreifiedRelationEClass, UnreifiedRelation.class, \"UnreifiedRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getUnreifiedRelation_Ref(), this.getRelation(), null, \"ref\", null, 0, 1, UnreifiedRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getUnreifiedRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getUnreifiedRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getUnreifiedRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(namedInstanceEClass, NamedInstance.class, \"NamedInstance\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNamedInstance_OwnedTypes(), this.getTypeAssertion(), this.getTypeAssertion_OwningInstance(), \"ownedTypes\", null, 0, -1, NamedInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(conceptInstanceEClass, ConceptInstance.class, \"ConceptInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getConceptInstance_Ref(), this.getConceptInstance(), null, \"ref\", null, 0, 1, ConceptInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relationInstanceEClass, RelationInstance.class, \"RelationInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationInstance_Ref(), this.getRelationInstance(), null, \"ref\", null, 0, 1, RelationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationInstance_Sources(), this.getNamedInstance(), null, \"sources\", null, 0, -1, RelationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationInstance_Targets(), this.getNamedInstance(), null, \"targets\", null, 0, -1, RelationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(structureInstanceEClass, StructureInstance.class, \"StructureInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStructureInstance_Type(), this.getStructure(), null, \"type\", null, 1, 1, StructureInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructureInstance_OwningAxiom(), this.getPropertyValueRestrictionAxiom(), this.getPropertyValueRestrictionAxiom_StructureInstanceValue(), \"owningAxiom\", null, 0, 1, StructureInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructureInstance_OwningAssertion(), this.getPropertyValueAssertion(), this.getPropertyValueAssertion_StructureInstanceValue(), \"owningAssertion\", null, 0, 1, StructureInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(keyAxiomEClass, KeyAxiom.class, \"KeyAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getKeyAxiom_Properties(), this.getProperty(), null, \"properties\", null, 1, -1, KeyAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getKeyAxiom_OwningEntity(), this.getEntity(), this.getEntity_OwnedKeys(), \"owningEntity\", null, 0, 1, KeyAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getKeyAxiom__GetKeyedEntity(), this.getEntity(), \"getKeyedEntity\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getKeyAxiom__GetCharacterizedTerm(), this.getEntity(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(specializationAxiomEClass, SpecializationAxiom.class, \"SpecializationAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecializationAxiom_SuperTerm(), this.getTerm(), null, \"superTerm\", null, 1, 1, SpecializationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSpecializationAxiom_OwningTerm(), this.getSpecializableTerm(), this.getSpecializableTerm_OwnedSpecializations(), \"owningTerm\", null, 0, 1, SpecializationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getSpecializationAxiom__GetSubTerm(), this.getTerm(), \"getSubTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSpecializationAxiom__GetCharacterizedTerm(), this.getTerm(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(instanceEnumerationAxiomEClass, InstanceEnumerationAxiom.class, \"InstanceEnumerationAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInstanceEnumerationAxiom_Instances(), this.getConceptInstance(), null, \"instances\", null, 1, -1, InstanceEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInstanceEnumerationAxiom_OwningConcept(), this.getConcept(), this.getConcept_OwnedEnumeration(), \"owningConcept\", null, 0, 1, InstanceEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getInstanceEnumerationAxiom__GetEnumeratedConcept(), this.getConcept(), \"getEnumeratedConcept\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getInstanceEnumerationAxiom__GetCharacterizedTerm(), this.getConcept(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyRestrictionAxiomEClass, PropertyRestrictionAxiom.class, \"PropertyRestrictionAxiom\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyRestrictionAxiom_Property(), this.getSemanticProperty(), null, \"property\", null, 1, 1, PropertyRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyRestrictionAxiom_OwningClassifier(), this.getClassifier(), this.getClassifier_OwnedPropertyRestrictions(), \"owningClassifier\", null, 0, 1, PropertyRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyRestrictionAxiom_OwningAxiom(), this.getClassifierEquivalenceAxiom(), this.getClassifierEquivalenceAxiom_OwnedPropertyRestrictions(), \"owningAxiom\", null, 0, 1, PropertyRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyRestrictionAxiom__GetRestrictingDomain(), this.getClassifier(), \"getRestrictingDomain\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyRestrictionAxiom__GetCharacterizedTerm(), this.getClassifier(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(literalEnumerationAxiomEClass, LiteralEnumerationAxiom.class, \"LiteralEnumerationAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLiteralEnumerationAxiom_Literals(), this.getLiteral(), null, \"literals\", null, 1, -1, LiteralEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLiteralEnumerationAxiom_OwningScalar(), this.getScalar(), this.getScalar_OwnedEnumeration(), \"owningScalar\", null, 0, 1, LiteralEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getLiteralEnumerationAxiom__GetEnumeratedScalar(), this.getScalar(), \"getEnumeratedScalar\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteralEnumerationAxiom__GetCharacterizedTerm(), this.getScalar(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(classifierEquivalenceAxiomEClass, ClassifierEquivalenceAxiom.class, \"ClassifierEquivalenceAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getClassifierEquivalenceAxiom_SuperClassifiers(), this.getClassifier(), null, \"superClassifiers\", null, 0, -1, ClassifierEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getClassifierEquivalenceAxiom_OwnedPropertyRestrictions(), this.getPropertyRestrictionAxiom(), this.getPropertyRestrictionAxiom_OwningAxiom(), \"ownedPropertyRestrictions\", null, 0, -1, ClassifierEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getClassifierEquivalenceAxiom_OwningClassifier(), this.getClassifier(), this.getClassifier_OwnedEquivalences(), \"owningClassifier\", null, 0, 1, ClassifierEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getClassifierEquivalenceAxiom__GetSubClassifier(), this.getClassifier(), \"getSubClassifier\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getClassifierEquivalenceAxiom__GetCharacterizedTerm(), this.getClassifier(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(scalarEquivalenceAxiomEClass, ScalarEquivalenceAxiom.class, \"ScalarEquivalenceAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getScalarEquivalenceAxiom_SuperScalar(), this.getScalar(), null, \"superScalar\", null, 1, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_OwningScalar(), this.getScalar(), this.getScalar_OwnedEquivalences(), \"owningScalar\", null, 1, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_Length(), this.getUnsignedInteger(), \"length\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_MinLength(), this.getUnsignedInteger(), \"minLength\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_MaxLength(), this.getUnsignedInteger(), \"maxLength\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_Pattern(), theEcorePackage.getEString(), \"pattern\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_Language(), theEcorePackage.getEString(), \"language\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MinInclusive(), this.getLiteral(), null, \"minInclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MinExclusive(), this.getLiteral(), null, \"minExclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MaxInclusive(), this.getLiteral(), null, \"maxInclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MaxExclusive(), this.getLiteral(), null, \"maxExclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getScalarEquivalenceAxiom__GetSubScalar(), this.getScalar(), \"getSubScalar\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getScalarEquivalenceAxiom__GetCharacterizedTerm(), this.getScalar(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyEquivalenceAxiomEClass, PropertyEquivalenceAxiom.class, \"PropertyEquivalenceAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyEquivalenceAxiom_SuperProperty(), this.getProperty(), null, \"superProperty\", null, 1, 1, PropertyEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyEquivalenceAxiom_OwningProperty(), this.getSpecializableProperty(), this.getSpecializableProperty_OwnedEquivalences(), \"owningProperty\", null, 0, 1, PropertyEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyEquivalenceAxiom__GetSubProperty(), this.getProperty(), \"getSubProperty\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyEquivalenceAxiom__GetCharacterizedTerm(), this.getProperty(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyRangeRestrictionAxiomEClass, PropertyRangeRestrictionAxiom.class, \"PropertyRangeRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPropertyRangeRestrictionAxiom_Kind(), this.getRangeRestrictionKind(), \"kind\", \"all\", 1, 1, PropertyRangeRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyRangeRestrictionAxiom_Range(), this.getType(), null, \"range\", null, 1, 1, PropertyRangeRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyCardinalityRestrictionAxiomEClass, PropertyCardinalityRestrictionAxiom.class, \"PropertyCardinalityRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPropertyCardinalityRestrictionAxiom_Kind(), this.getCardinalityRestrictionKind(), \"kind\", \"exactly\", 1, 1, PropertyCardinalityRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPropertyCardinalityRestrictionAxiom_Cardinality(), this.getUnsignedInt(), \"cardinality\", \"1\", 1, 1, PropertyCardinalityRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyCardinalityRestrictionAxiom_Range(), this.getType(), null, \"range\", null, 0, 1, PropertyCardinalityRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyValueRestrictionAxiomEClass, PropertyValueRestrictionAxiom.class, \"PropertyValueRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyValueRestrictionAxiom_LiteralValue(), this.getLiteral(), null, \"literalValue\", null, 0, 1, PropertyValueRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueRestrictionAxiom_StructureInstanceValue(), this.getStructureInstance(), this.getStructureInstance_OwningAxiom(), \"structureInstanceValue\", null, 0, 1, PropertyValueRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueRestrictionAxiom_NamedInstanceValue(), this.getNamedInstance(), null, \"namedInstanceValue\", null, 0, 1, PropertyValueRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueRestrictionAxiom__GetValue(), this.getElement(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertySelfRestrictionAxiomEClass, PropertySelfRestrictionAxiom.class, \"PropertySelfRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(typeAssertionEClass, TypeAssertion.class, \"TypeAssertion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTypeAssertion_Type(), this.getEntity(), null, \"type\", null, 1, 1, TypeAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTypeAssertion_OwningInstance(), this.getNamedInstance(), this.getNamedInstance_OwnedTypes(), \"owningInstance\", null, 0, 1, TypeAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getTypeAssertion__GetSubject(), this.getNamedInstance(), \"getSubject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getTypeAssertion__GetObject(), this.getElement(), \"getObject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyValueAssertionEClass, PropertyValueAssertion.class, \"PropertyValueAssertion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyValueAssertion_Property(), this.getSemanticProperty(), null, \"property\", null, 1, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_LiteralValue(), this.getLiteral(), null, \"literalValue\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_StructureInstanceValue(), this.getStructureInstance(), this.getStructureInstance_OwningAssertion(), \"structureInstanceValue\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_NamedInstanceValue(), this.getNamedInstance(), null, \"namedInstanceValue\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_OwningInstance(), this.getInstance(), this.getInstance_OwnedPropertyValues(), \"owningInstance\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueAssertion__GetValue(), this.getElement(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueAssertion__GetSubject(), this.getInstance(), \"getSubject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueAssertion__GetObject(), this.getElement(), \"getObject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(unaryPredicateEClass, UnaryPredicate.class, \"UnaryPredicate\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getUnaryPredicate_Argument(), this.getArgument(), null, \"argument\", null, 1, 1, UnaryPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(binaryPredicateEClass, BinaryPredicate.class, \"BinaryPredicate\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBinaryPredicate_Argument1(), this.getArgument(), null, \"argument1\", null, 1, 1, BinaryPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBinaryPredicate_Argument2(), this.getArgument(), null, \"argument2\", null, 1, 1, BinaryPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(builtInPredicateEClass, BuiltInPredicate.class, \"BuiltInPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBuiltInPredicate_BuiltIn(), this.getBuiltIn(), null, \"builtIn\", null, 1, 1, BuiltInPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBuiltInPredicate_Arguments(), this.getArgument(), null, \"arguments\", null, 1, -1, BuiltInPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(typePredicateEClass, TypePredicate.class, \"TypePredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTypePredicate_Type(), this.getType(), null, \"type\", null, 1, 1, TypePredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relationEntityPredicateEClass, RelationEntityPredicate.class, \"RelationEntityPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationEntityPredicate_Type(), this.getRelationEntity(), null, \"type\", null, 1, 1, RelationEntityPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyPredicateEClass, PropertyPredicate.class, \"PropertyPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyPredicate_Property(), this.getProperty(), null, \"property\", null, 1, 1, PropertyPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(sameAsPredicateEClass, SameAsPredicate.class, \"SameAsPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(differentFromPredicateEClass, DifferentFromPredicate.class, \"DifferentFromPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(quotedLiteralEClass, QuotedLiteral.class, \"QuotedLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getQuotedLiteral_Value(), theEcorePackage.getEString(), \"value\", null, 1, 1, QuotedLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getQuotedLiteral_LangTag(), theEcorePackage.getEString(), \"langTag\", null, 0, 1, QuotedLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getQuotedLiteral_Type(), this.getScalar(), null, \"type\", null, 0, 1, QuotedLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getQuotedLiteral__GetLexicalValue(), theEcorePackage.getEString(), \"getLexicalValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getQuotedLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(integerLiteralEClass, IntegerLiteral.class, \"IntegerLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getIntegerLiteral_Value(), theEcorePackage.getEIntegerObject(), \"value\", \"0\", 0, 1, IntegerLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getIntegerLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(decimalLiteralEClass, DecimalLiteral.class, \"DecimalLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDecimalLiteral_Value(), this.getDecimal(), \"value\", \"0.0\", 1, 1, DecimalLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getDecimalLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(doubleLiteralEClass, DoubleLiteral.class, \"DoubleLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDoubleLiteral_Value(), theEcorePackage.getEDoubleObject(), \"value\", \"0.0\", 0, 1, DoubleLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getDoubleLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(booleanLiteralEClass, BooleanLiteral.class, \"BooleanLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getBooleanLiteral_Value(), theEcorePackage.getEBooleanObject(), \"value\", \"false\", 0, 1, BooleanLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getBooleanLiteral__IsValue(), theEcorePackage.getEBoolean(), \"isValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getBooleanLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(separatorKindEEnum, SeparatorKind.class, \"SeparatorKind\");\n\t\taddEEnumLiteral(separatorKindEEnum, SeparatorKind.HASH);\n\t\taddEEnumLiteral(separatorKindEEnum, SeparatorKind.SLASH);\n\n\t\tinitEEnum(rangeRestrictionKindEEnum, RangeRestrictionKind.class, \"RangeRestrictionKind\");\n\t\taddEEnumLiteral(rangeRestrictionKindEEnum, RangeRestrictionKind.ALL);\n\t\taddEEnumLiteral(rangeRestrictionKindEEnum, RangeRestrictionKind.SOME);\n\n\t\tinitEEnum(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.class, \"CardinalityRestrictionKind\");\n\t\taddEEnumLiteral(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.EXACTLY);\n\t\taddEEnumLiteral(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.MIN);\n\t\taddEEnumLiteral(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.MAX);\n\n\t\tinitEEnum(importKindEEnum, ImportKind.class, \"ImportKind\");\n\t\taddEEnumLiteral(importKindEEnum, ImportKind.EXTENSION);\n\t\taddEEnumLiteral(importKindEEnum, ImportKind.USAGE);\n\t\taddEEnumLiteral(importKindEEnum, ImportKind.INCLUSION);\n\n\t\t// Initialize data types\n\t\tinitEDataType(unsignedIntEDataType, long.class, \"UnsignedInt\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(unsignedIntegerEDataType, Long.class, \"UnsignedInteger\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(decimalEDataType, BigDecimal.class, \"Decimal\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(idEDataType, String.class, \"ID\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(namespaceEDataType, String.class, \"Namespace\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// https://tabatkins.github.io/bikeshed/headings\n\t\tcreateHeadingsAnnotations();\n\t\t// https://tabatkins.github.io/bikeshed\n\t\tcreateBikeshedAnnotations();\n\t\t// http://www.eclipse.org/emf/2011/Xcore\n\t\tcreateXcoreAnnotations();\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\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\tstateEClass = createEClass(STATE);\n\t\tcreateEAttribute(stateEClass, STATE__NAME);\n\t\tcreateEAttribute(stateEClass, STATE__INVARIANT);\n\t\tcreateEAttribute(stateEClass, STATE__INITIAL);\n\t\tcreateEAttribute(stateEClass, STATE__URGENT);\n\t\tcreateEAttribute(stateEClass, STATE__COMMITTED);\n\n\t\tconnectorEClass = createEClass(CONNECTOR);\n\t\tcreateEAttribute(connectorEClass, CONNECTOR__NAME);\n\t\tcreateEReference(connectorEClass, CONNECTOR__DIAGRAM);\n\n\t\tdiagramEClass = createEClass(DIAGRAM);\n\t\tcreateEAttribute(diagramEClass, DIAGRAM__NAME);\n\t\tcreateEReference(diagramEClass, DIAGRAM__CONNECTORS);\n\t\tcreateEReference(diagramEClass, DIAGRAM__STATES);\n\t\tcreateEReference(diagramEClass, DIAGRAM__SUBDIAGRAMS);\n\t\tcreateEReference(diagramEClass, DIAGRAM__EDGES);\n\t\tcreateEAttribute(diagramEClass, DIAGRAM__IS_PARALLEL);\n\n\t\tedgeEClass = createEClass(EDGE);\n\t\tcreateEReference(edgeEClass, EDGE__START);\n\t\tcreateEReference(edgeEClass, EDGE__END);\n\t\tcreateEReference(edgeEClass, EDGE__EREFERENCE0);\n\t\tcreateEAttribute(edgeEClass, EDGE__SELECT);\n\t\tcreateEAttribute(edgeEClass, EDGE__GUARD);\n\t\tcreateEAttribute(edgeEClass, EDGE__SYNC);\n\t\tcreateEAttribute(edgeEClass, EDGE__UPDATE);\n\t\tcreateEAttribute(edgeEClass, EDGE__COMMENTS);\n\n\t\tendPointEClass = createEClass(END_POINT);\n\t\tcreateEReference(endPointEClass, END_POINT__OUTGOING_EDGES);\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\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 fillEmbeddedTypes() {\n List<String> otherClassesNames = new ArrayList<>(PRIMITIVE_TYPES);\n otherClassesNames.add(\"[]\");\n otherClassesNames.add(\"...\");\n\n List<TypeConstructor> otherClasses = new ArrayList<>();\n for (String type : otherClassesNames) {\n Classifier classifier = new Classifier(type, Language.JAVA, \"\", null, new ArrayList<MemberEntity>(), \"\");\n otherClasses.add(classifier);\n QualifiedName name = new QualifiedName(OTHER_PACKAGE, type);\n classes.put(name, classifier);\n parameters.put(name, new ParametersDescription());\n superTypes.put(name, new ArrayList<JavaType>());\n createClassMaps(name);\n }\n\n PackageEntity otherPackage = new PackageEntity(OTHER_PACKAGE, Language.JAVA, otherClasses,\n new ArrayList<MemberEntity>(), new ArrayList<PackageEntity>(), \"\", null);\n packages.put(OTHER_PACKAGE, otherPackage);\n\n for (TypeConstructor otherClass : otherClasses) {\n otherClass.setContainingPackage(otherPackage);\n }\n }", "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\tnamedElementEClass = createEClass(NAMED_ELEMENT);\r\n\t\tcreateEAttribute(namedElementEClass, NAMED_ELEMENT__NAME);\r\n\r\n\t\tcomDiagEClass = createEClass(COM_DIAG);\r\n\t\tcreateEReference(comDiagEClass, COM_DIAG__ELEMENTS);\r\n\t\tcreateEAttribute(comDiagEClass, COM_DIAG__LEVEL);\r\n\r\n\t\tcomDiagElementEClass = createEClass(COM_DIAG_ELEMENT);\r\n\t\tcreateEReference(comDiagElementEClass, COM_DIAG_ELEMENT__GRAPH);\r\n\r\n\t\tlifelineEClass = createEClass(LIFELINE);\r\n\t\tcreateEAttribute(lifelineEClass, LIFELINE__NUMBER);\r\n\r\n\t\tmessageEClass = createEClass(MESSAGE);\r\n\t\tcreateEAttribute(messageEClass, MESSAGE__OCCURENCE);\r\n\t\tcreateEReference(messageEClass, MESSAGE__SOURCE);\r\n\t\tcreateEReference(messageEClass, MESSAGE__TARGET);\r\n\t}", "public TypesAdapterFactory() {\n\t\tif (modelPackage == null) {\n\t\t\tmodelPackage = TypesPackage.eINSTANCE;\n\t\t}\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tfticBaseEClass.getESuperTypes().add(ecorePackage.getEObject());\n\t\titemEClass.getESuperTypes().add(this.getFTICBase());\n\t\thypertextEClass.getESuperTypes().add(this.getFTICBase());\n\t\ttextElementEClass.getESuperTypes().add(this.getFTICBase());\n\t\tlinkEClass.getESuperTypes().add(this.getTextElement());\n\t\ttermEClass.getESuperTypes().add(this.getTextElement());\n\t\tfactorTableEClass.getESuperTypes().add(this.getFTICBase());\n\t\tftEntryEClass.getESuperTypes().add(this.getItem());\n\t\tfactorCategoryEClass.getESuperTypes().add(this.getFTEntry());\n\t\tfactorEClass.getESuperTypes().add(this.getFTEntry());\n\t\tissueCardEClass.getESuperTypes().add(this.getItem());\n\t\tstrategyEClass.getESuperTypes().add(this.getItem());\n\t\tinfluencingFactorEClass.getESuperTypes().add(this.getFTICBase());\n\t\trelatedIssueEClass.getESuperTypes().add(this.getFTICBase());\n\t\tfticPackageEClass.getESuperTypes().add(this.getFTICBase());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(fticBaseEClass, FTICBase.class, \"FTICBase\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(itemEClass, Item.class, \"Item\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(hypertextEClass, Hypertext.class, \"Hypertext\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getHypertext_Content(), this.getTextElement(), null, \"content\", null, 0, -1, Hypertext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(textElementEClass, TextElement.class, \"TextElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTextElement_VisibleContent(), ecorePackage.getEString(), \"visibleContent\", null, 0, 1, TextElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(linkEClass, Link.class, \"Link\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLink_Target(), ecorePackage.getEObject(), null, \"target\", null, 1, 1, Link.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(termEClass, Term.class, \"Term\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(factorTableEClass, FactorTable.class, \"FactorTable\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getFactorTable_Type(), this.getCategoryType(), \"type\", null, 0, 1, FactorTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactorTable_Entries(), this.getFTEntry(), null, \"entries\", null, 0, -1, FactorTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ftEntryEClass, FTEntry.class, \"FTEntry\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getFTEntry_Numbering(), ecorePackage.getEString(), \"numbering\", null, 1, 1, FTEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getFTEntry_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, FTEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFTEntry_Children(), this.getFTEntry(), null, \"children\", null, 0, -1, FTEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(factorCategoryEClass, FactorCategory.class, \"FactorCategory\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(factorEClass, Factor.class, \"Factor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFactor_Description(), this.getHypertext(), null, \"description\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactor_Flexibility(), this.getHypertext(), null, \"flexibility\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactor_Changeability(), this.getHypertext(), null, \"changeability\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactor_Influence(), this.getHypertext(), null, \"influence\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getFactor_Priority(), ecorePackage.getEString(), \"priority\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(issueCardEClass, IssueCard.class, \"IssueCard\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getIssueCard_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_Description(), this.getHypertext(), null, \"description\", null, 1, 1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_Solution(), this.getHypertext(), null, \"solution\", null, 1, 1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_Strategies(), this.getStrategy(), null, \"strategies\", null, 1, -1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_InfluencingFactors(), this.getInfluencingFactor(), null, \"influencingFactors\", null, 1, -1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_RelatedIssues(), this.getRelatedIssue(), null, \"relatedIssues\", null, 0, -1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(strategyEClass, Strategy.class, \"Strategy\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getStrategy_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, Strategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStrategy_Description(), this.getHypertext(), null, \"description\", null, 1, 1, Strategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(influencingFactorEClass, InfluencingFactor.class, \"InfluencingFactor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInfluencingFactor_Description(), this.getHypertext(), null, \"description\", null, 1, 1, InfluencingFactor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInfluencingFactor_Factor(), this.getFactor(), null, \"factor\", null, 1, 1, InfluencingFactor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relatedIssueEClass, RelatedIssue.class, \"RelatedIssue\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelatedIssue_Issue(), this.getItem(), null, \"Issue\", null, 0, 1, RelatedIssue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelatedIssue_Description(), this.getHypertext(), null, \"description\", null, 0, 1, RelatedIssue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(fticPackageEClass, FTICPackage.class, \"FTICPackage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFTICPackage_Tables(), this.getFactorTable(), null, \"tables\", null, 0, -1, FTICPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFTICPackage_IssueCards(), this.getIssueCard(), null, \"issueCards\", null, 0, -1, FTICPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getFTICPackage_Name(), ecorePackage.getEString(), \"Name\", null, 1, 1, FTICPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(categoryTypeEEnum, CategoryType.class, \"CategoryType\");\n\t\taddEEnumLiteral(categoryTypeEEnum, CategoryType.ORGANIZATIONAL);\n\t\taddEEnumLiteral(categoryTypeEEnum, CategoryType.TECHNOLOGICAL);\n\t\taddEEnumLiteral(categoryTypeEEnum, CategoryType.PRODUCT);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "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\trunnableEClass = createEClass(RUNNABLE);\r\n\t\tcreateEReference(runnableEClass, RUNNABLE__COMPONENT_INSTANCE);\r\n\t\tcreateEReference(runnableEClass, RUNNABLE__PORT_INSTANCE);\r\n\t\tcreateEReference(runnableEClass, RUNNABLE__PERIOD);\r\n\t\tcreateEReference(runnableEClass, RUNNABLE__LABEL_ACCESSES);\r\n\t\tcreateEReference(runnableEClass, RUNNABLE__DEADLINE);\r\n\r\n\t\tlabelEClass = createEClass(LABEL);\r\n\t\tcreateEReference(labelEClass, LABEL__COMPONENT_INSTANCE);\r\n\t\tcreateEReference(labelEClass, LABEL__COMPONENT_STATECHART);\r\n\t\tcreateEAttribute(labelEClass, LABEL__IS_CONSTANT);\r\n\r\n\t\tlabelAccessEClass = createEClass(LABEL_ACCESS);\r\n\t\tcreateEAttribute(labelAccessEClass, LABEL_ACCESS__ACCESS_KIND);\r\n\t\tcreateEReference(labelAccessEClass, LABEL_ACCESS__ACCESS_LABEL);\r\n\t\tcreateEReference(labelAccessEClass, LABEL_ACCESS__ACCESSING_RUNNABLE);\r\n\r\n\t\t// Create enums\r\n\t\tlabelAccessKindEEnum = createEEnum(LABEL_ACCESS_KIND);\r\n\t}", "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 }", "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}", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tcontrolEClass = createEClass(CONTROL);\n\t\tcreateEReference(controlEClass, CONTROL__MIDI);\n\t\tcreateEAttribute(controlEClass, CONTROL__BACKGROUND);\n\t\tcreateEAttribute(controlEClass, CONTROL__CENTERED);\n\t\tcreateEAttribute(controlEClass, CONTROL__COLOR);\n\t\tcreateEAttribute(controlEClass, CONTROL__H);\n\t\tcreateEAttribute(controlEClass, CONTROL__INVERTED);\n\t\tcreateEAttribute(controlEClass, CONTROL__INVERTED_X);\n\t\tcreateEAttribute(controlEClass, CONTROL__INVERTED_Y);\n\t\tcreateEAttribute(controlEClass, CONTROL__LOCAL_OFF);\n\t\tcreateEAttribute(controlEClass, CONTROL__NAME);\n\t\tcreateEAttribute(controlEClass, CONTROL__NUMBER);\n\t\tcreateEAttribute(controlEClass, CONTROL__NUMBER_X);\n\t\tcreateEAttribute(controlEClass, CONTROL__NUMBER_Y);\n\t\tcreateEAttribute(controlEClass, CONTROL__OSC_CS);\n\t\tcreateEAttribute(controlEClass, CONTROL__OUTLINE);\n\t\tcreateEAttribute(controlEClass, CONTROL__RESPONSE);\n\t\tcreateEAttribute(controlEClass, CONTROL__SCALEF);\n\t\tcreateEAttribute(controlEClass, CONTROL__SCALET);\n\t\tcreateEAttribute(controlEClass, CONTROL__SECONDS);\n\t\tcreateEAttribute(controlEClass, CONTROL__SIZE);\n\t\tcreateEAttribute(controlEClass, CONTROL__TEXT);\n\t\tcreateEAttribute(controlEClass, CONTROL__TYPE);\n\t\tcreateEAttribute(controlEClass, CONTROL__W);\n\t\tcreateEAttribute(controlEClass, CONTROL__X);\n\t\tcreateEAttribute(controlEClass, CONTROL__Y);\n\n\t\tlayoutEClass = createEClass(LAYOUT);\n\t\tcreateEReference(layoutEClass, LAYOUT__TABPAGE);\n\t\tcreateEAttribute(layoutEClass, LAYOUT__MODE);\n\t\tcreateEAttribute(layoutEClass, LAYOUT__ORIENTATION);\n\t\tcreateEAttribute(layoutEClass, LAYOUT__VERSION);\n\n\t\tmidiEClass = createEClass(MIDI);\n\t\tcreateEAttribute(midiEClass, MIDI__CHANNEL);\n\t\tcreateEAttribute(midiEClass, MIDI__DATA1);\n\t\tcreateEAttribute(midiEClass, MIDI__DATA2F);\n\t\tcreateEAttribute(midiEClass, MIDI__DATA2T);\n\t\tcreateEAttribute(midiEClass, MIDI__TYPE);\n\t\tcreateEAttribute(midiEClass, MIDI__VAR);\n\n\t\ttabpageEClass = createEClass(TABPAGE);\n\t\tcreateEReference(tabpageEClass, TABPAGE__CONTROL);\n\t\tcreateEAttribute(tabpageEClass, TABPAGE__NAME);\n\n\t\ttopEClass = createEClass(TOP);\n\t\tcreateEReference(topEClass, TOP__LAYOUT);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tScenarioPackage theScenarioPackage = (ScenarioPackage)EPackage.Registry.INSTANCE.getEPackage(ScenarioPackage.eNS_URI);\n\t\tXActivityDiagramPropertyPackage theXActivityDiagramPropertyPackage = (XActivityDiagramPropertyPackage)EPackage.Registry.INSTANCE.getEPackage(XActivityDiagramPropertyPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tEGenericType g1 = createEGenericType(theScenarioPackage.getArbiter());\n\t\tEGenericType g2 = createEGenericType(theXActivityDiagramPropertyPackage.getXActivityDiagramProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterState());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterTransition());\n\t\tg1.getETypeArguments().add(g2);\n\t\txActivityDiagramArbiterEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theScenarioPackage.getArbiterState());\n\t\tg2 = createEGenericType(theXActivityDiagramPropertyPackage.getXActivityDiagramProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterTransition());\n\t\tg1.getETypeArguments().add(g2);\n\t\txActivityDiagramArbiterStateEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theScenarioPackage.getArbiterTransition());\n\t\tg2 = createEGenericType(theXActivityDiagramPropertyPackage.getXActivityDiagramProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterState());\n\t\tg1.getETypeArguments().add(g2);\n\t\txActivityDiagramArbiterTransitionEClass.getEGenericSuperTypes().add(g1);\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(xActivityDiagramArbiterEClass, XActivityDiagramArbiter.class, \"XActivityDiagramArbiter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(xActivityDiagramArbiterStateEClass, XActivityDiagramArbiterState.class, \"XActivityDiagramArbiterState\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(xActivityDiagramArbiterTransitionEClass, XActivityDiagramArbiterTransition.class, \"XActivityDiagramArbiterTransition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(treeEClass, Tree.class, \"Tree\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTree_Children(), this.getNode(), null, \"children\", null, 0, -1, Tree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(nodeEClass, Node.class, \"Node\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNode_Children(), this.getNode(), null, \"children\", null, 0, -1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNode_Name(), ecorePackage.getEString(), \"name\", \"Node\", 0, 1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// gmf.diagram\n\t\tcreateGmfAnnotations();\n\t\t// gmf.node\n\t\tcreateGmf_1Annotations();\n\t\t// gmf.compartment\n\t\tcreateGmf_2Annotations();\n\t}", "public DefaultObjectModel (Schema schema, String pkg)\n {\n this (schema);\n this.pkg = pkg;\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(mealyMachineEClass, MealyMachine.class, \"MealyMachine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getMealyMachine_InitialState(), this.getState(), null, \"initialState\", null, 1, 1, MealyMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMealyMachine_States(), this.getState(), null, \"states\", null, 1, -1, MealyMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMealyMachine_InputAlphabet(), this.getAlphabet(), null, \"inputAlphabet\", null, 1, 1, MealyMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMealyMachine_OutputAlphabet(), this.getAlphabet(), null, \"outputAlphabet\", null, 1, 1, MealyMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMealyMachine_Transitions(), this.getTransition(), null, \"transitions\", null, 1, -1, MealyMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(stateEClass, State.class, \"State\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getState_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(alphabetEClass, Alphabet.class, \"Alphabet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAlphabet_Characters(), ecorePackage.getEString(), \"characters\", null, 1, -1, Alphabet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(transitionEClass, Transition.class, \"Transition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTransition_SourceState(), this.getState(), null, \"sourceState\", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTransition_TargetState(), this.getState(), null, \"targetState\", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTransition_Input(), ecorePackage.getEString(), \"input\", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTransition_Output(), ecorePackage.getEString(), \"output\", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "ComponentmodelPackage getComponentmodelPackage();", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tUMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);\n\t\tTypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(textualRepresentationEClass, TextualRepresentation.class, \"TextualRepresentation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTextualRepresentation_Base_Comment(), theUMLPackage.getComment(), null, \"base_Comment\", null, 1, 1, TextualRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getTextualRepresentation_Language(), theTypesPackage.getString(), \"language\", null, 1, 1, TextualRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\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\tliveScoreEClass = createEClass(LIVE_SCORE);\n\t\tcreateEReference(liveScoreEClass, LIVE_SCORE__PREFEREDPLAYER);\n\t\tcreateEAttribute(liveScoreEClass, LIVE_SCORE__SALONNAME);\n\n\t\tpreferedPlayerEClass = createEClass(PREFERED_PLAYER);\n\t\tcreateEAttribute(preferedPlayerEClass, PREFERED_PLAYER__NAME);\n\t\tcreateEAttribute(preferedPlayerEClass, PREFERED_PLAYER__WON);\n\t\tcreateEAttribute(preferedPlayerEClass, PREFERED_PLAYER__PLAYINGS);\n\t}", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\ttrasicionEntreOmOmEClass.getESuperTypes().add(this.getTransicion());\r\n\t\ttransicionEntreMacroOmOmEClass.getESuperTypes().add(this.getTransicion());\r\n\t\texpresionBinariaEClass.getESuperTypes().add(this.getElementoExpresion());\r\n\t\trefVariableGemmaEClass.getESuperTypes().add(this.getElementoExpresion());\r\n\t\texpresionNotEClass.getESuperTypes().add(this.getElementoExpresion());\r\n\t\trefVariableOmEClass.getESuperTypes().add(this.getElementoExpresion());\r\n\t\texpresionConjuntaEClass.getESuperTypes().add(this.getElementoExpresion());\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(gemmaEClass, Gemma.class, \"Gemma\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getGemma_MacroOms(), this.getMacroOm(), null, \"macroOms\", null, 1, -1, Gemma.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getGemma_Transiciones(), this.getTransicion(), null, \"transiciones\", null, 1, -1, Gemma.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getGemma_VariablesGemma(), this.getVariableGemma(), null, \"variablesGemma\", null, 0, -1, Gemma.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(macroOmEClass, MacroOm.class, \"MacroOm\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getMacroOm_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, MacroOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getMacroOm_Tipo(), this.getTipoMacroOm(), \"tipo\", null, 0, 1, MacroOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getMacroOm_Oms(), this.getOm(), null, \"oms\", null, 1, -1, MacroOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(omEClass, Om.class, \"Om\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getOm_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Om.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getOm_Tipo(), this.getTipoOm(), \"tipo\", null, 0, 1, Om.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getOm_EsOmRaiz(), ecorePackage.getEBoolean(), \"esOmRaiz\", null, 0, 1, Om.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getOm_VariablesOm(), this.getVariableOm(), null, \"variablesOm\", null, 0, -1, Om.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getOm_EsVisible(), ecorePackage.getEBoolean(), \"esVisible\", null, 0, 1, Om.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(trasicionEntreOmOmEClass, TrasicionEntreOmOm.class, \"TrasicionEntreOmOm\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getTrasicionEntreOmOm_Origen(), this.getOm(), null, \"origen\", null, 1, 1, TrasicionEntreOmOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getTrasicionEntreOmOm_Destino(), this.getOm(), null, \"destino\", null, 1, 1, TrasicionEntreOmOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(transicionEntreMacroOmOmEClass, TransicionEntreMacroOmOm.class, \"TransicionEntreMacroOmOm\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getTransicionEntreMacroOmOm_Origen(), this.getMacroOm(), null, \"origen\", null, 1, 1, TransicionEntreMacroOmOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getTransicionEntreMacroOmOm_Destino(), this.getOm(), null, \"destino\", null, 1, 1, TransicionEntreMacroOmOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(expresionBinariaEClass, ExpresionBinaria.class, \"ExpresionBinaria\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getExpresionBinaria_ExpresionIzquierda(), this.getElementoExpresion(), null, \"expresionIzquierda\", null, 0, 1, ExpresionBinaria.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getExpresionBinaria_ExpresionDerecha(), this.getElementoExpresion(), null, \"expresionDerecha\", null, 0, 1, ExpresionBinaria.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getExpresionBinaria_Operador(), this.getTipoOperador(), \"operador\", null, 0, 1, ExpresionBinaria.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(elementoExpresionEClass, ElementoExpresion.class, \"ElementoExpresion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(variableOmEClass, VariableOm.class, \"VariableOm\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getVariableOm_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, VariableOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(transicionEClass, Transicion.class, \"Transicion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getTransicion_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Transicion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getTransicion_ElementoExpresion(), this.getElementoExpresion(), null, \"elementoExpresion\", null, 1, 1, Transicion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(variableGemmaEClass, VariableGemma.class, \"VariableGemma\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getVariableGemma_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, VariableGemma.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(refVariableGemmaEClass, RefVariableGemma.class, \"RefVariableGemma\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getRefVariableGemma_VariableGemma(), this.getVariableGemma(), null, \"variableGemma\", null, 1, 1, RefVariableGemma.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getRefVariableGemma_NivelDeEscritura(), this.getNivelDeEscritura(), \"nivelDeEscritura\", null, 0, 1, RefVariableGemma.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(expresionNotEClass, ExpresionNot.class, \"ExpresionNot\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getExpresionNot_ElementoExpresion(), this.getElementoExpresion(), null, \"elementoExpresion\", null, 1, 1, ExpresionNot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(refVariableOmEClass, RefVariableOm.class, \"RefVariableOm\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getRefVariableOm_VariableOm(), this.getVariableOm(), null, \"variableOm\", null, 1, 1, RefVariableOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(expresionConjuntaEClass, ExpresionConjunta.class, \"ExpresionConjunta\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getExpresionConjunta_ElementoExpresion(), this.getElementoExpresion(), null, \"elementoExpresion\", null, 1, 1, ExpresionConjunta.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Initialize enums and add enum literals\r\n\t\tinitEEnum(tipoOmEEnum, TipoOm.class, \"TipoOm\");\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.A1);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.A2);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.A3);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.A4);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.A5);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.A6);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.A7);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.F1);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.F2);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.F3);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.F4);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.F5);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.F6);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.D1);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.D2);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.D3);\r\n\r\n\t\tinitEEnum(tipoMacroOmEEnum, TipoMacroOm.class, \"TipoMacroOm\");\r\n\t\taddEEnumLiteral(tipoMacroOmEEnum, TipoMacroOm.A);\r\n\t\taddEEnumLiteral(tipoMacroOmEEnum, TipoMacroOm.F);\r\n\t\taddEEnumLiteral(tipoMacroOmEEnum, TipoMacroOm.D);\r\n\r\n\t\tinitEEnum(tipoOperadorEEnum, TipoOperador.class, \"TipoOperador\");\r\n\t\taddEEnumLiteral(tipoOperadorEEnum, TipoOperador.AND);\r\n\t\taddEEnumLiteral(tipoOperadorEEnum, TipoOperador.OR);\r\n\r\n\t\tinitEEnum(nivelDeEscrituraEEnum, NivelDeEscritura.class, \"NivelDeEscritura\");\r\n\t\taddEEnumLiteral(nivelDeEscrituraEEnum, NivelDeEscritura.GEMMA);\r\n\t\taddEEnumLiteral(nivelDeEscrituraEEnum, NivelDeEscritura.OM);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tCorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);\r\n\t\tInstancePackage theInstancePackage = (InstancePackage)EPackage.Registry.INSTANCE.getEPackage(InstancePackage.eNS_URI);\r\n\t\tValuetypePackage theValuetypePackage = (ValuetypePackage)EPackage.Registry.INSTANCE.getEPackage(ValuetypePackage.eNS_URI);\r\n\t\tRealtimestatechartPackage theRealtimestatechartPackage = (RealtimestatechartPackage)EPackage.Registry.INSTANCE.getEPackage(RealtimestatechartPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\trunnableEClass.getESuperTypes().add(theCorePackage.getNamedElement());\r\n\t\tlabelEClass.getESuperTypes().add(theCorePackage.getNamedElement());\r\n\t\tlabelAccessEClass.getESuperTypes().add(theCorePackage.getNamedElement());\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(runnableEClass, org.muml.pim.runnable.Runnable.class, \"Runnable\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getRunnable_ComponentInstance(), theInstancePackage.getComponentInstance(), theInstancePackage.getComponentInstance_Runnables(), \"componentInstance\", null, 1, 1, org.muml.pim.runnable.Runnable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getRunnable_PortInstance(), theInstancePackage.getPortInstance(), theInstancePackage.getPortInstance_Runnable(), \"portInstance\", null, 0, -1, org.muml.pim.runnable.Runnable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getRunnable_Period(), theValuetypePackage.getTimeValue(), null, \"period\", null, 1, 1, org.muml.pim.runnable.Runnable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getRunnable_LabelAccesses(), this.getLabelAccess(), this.getLabelAccess_AccessingRunnable(), \"labelAccesses\", null, 0, -1, org.muml.pim.runnable.Runnable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getRunnable_Deadline(), theValuetypePackage.getTimeValue(), null, \"deadline\", null, 0, 1, org.muml.pim.runnable.Runnable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(labelEClass, Label.class, \"Label\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getLabel_ComponentInstance(), theInstancePackage.getComponentInstance(), theInstancePackage.getComponentInstance_Labels(), \"componentInstance\", null, 1, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getLabel_ComponentStatechart(), theRealtimestatechartPackage.getRealtimeStatechart(), null, \"componentStatechart\", null, 0, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getLabel_IsConstant(), ecorePackage.getEBoolean(), \"isConstant\", \"false\", 1, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(labelAccessEClass, LabelAccess.class, \"LabelAccess\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getLabelAccess_AccessKind(), this.getLabelAccessKind(), \"accessKind\", null, 1, 1, LabelAccess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getLabelAccess_AccessLabel(), this.getLabel(), null, \"accessLabel\", null, 1, 1, LabelAccess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getLabelAccess_AccessingRunnable(), this.getRunnable(), this.getRunnable_LabelAccesses(), \"accessingRunnable\", null, 1, 1, LabelAccess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Initialize enums and add enum literals\r\n\t\tinitEEnum(labelAccessKindEEnum, LabelAccessKind.class, \"LabelAccessKind\");\r\n\t\taddEEnumLiteral(labelAccessKindEEnum, LabelAccessKind.READACCESS);\r\n\t\taddEEnumLiteral(labelAccessKindEEnum, LabelAccessKind.WRITEACCESS);\r\n\t}", "@Data\npublic class <XXX>ModelInfo extends AbstractModelInfo {\n private <Field1DataType> <Field1>;\n /**\n * @return an corresponding {@link <XXX>Transformer} for this model info\n */\n @Override\n public Transformer getTransformer() {\n return new <XXX>Transformer(this);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEntityPackage theEntityPackage = (EntityPackage)EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI);\n\t\tContextPackage theContextPackage = (ContextPackage)EPackage.Registry.INSTANCE.getEPackage(ContextPackage.eNS_URI);\n\t\tJavaPackage theJavaPackage = (JavaPackage)EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\taudioEClass.getESuperTypes().add(theEntityPackage.getEntityIdentifiable());\n\t\taudioRecorderEClass.getESuperTypes().add(theJavaPackage.getJavaCloseable());\n\t\taudioPlayerEClass.getESuperTypes().add(theJavaPackage.getJavaCloseable());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(audioEClass, Audio.class, \"Audio\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAudio_Content(), ecorePackage.getEByteArray(), \"content\", null, 0, 1, Audio.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAudio_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, Audio.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAudio_Text(), ecorePackage.getEString(), \"text\", null, 1, 1, Audio.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(audioManagerEClass, AudioManager.class, \"AudioManager\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tEOperation op = addEOperation(audioManagerEClass, this.getAudioRecorder(), \"record\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theContextPackage.getContext(), \"context\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(audioManagerEClass, this.getAudioPlayer(), \"play\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theContextPackage.getContext(), \"context\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getAudio(), \"audio\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"start\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"waitEnd\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(audioManagerEClass, this.getAudioPlayer(), \"play\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theContextPackage.getContext(), \"context\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getAudioStyle(), \"style\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"text\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"start\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"waitEnd\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(audioRecorderEClass, AudioRecorder.class, \"AudioRecorder\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\taddEOperation(audioRecorderEClass, null, \"close\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, theJavaPackage.getJavaOutputStream(), \"getOutputStream\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, ecorePackage.getEBoolean(), \"isStopped\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, null, \"start\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, null, \"stop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(audioPlayerEClass, AudioPlayer.class, \"AudioPlayer\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\taddEOperation(audioPlayerEClass, null, \"close\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, this.getAudio(), \"getAudio\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, ecorePackage.getEBoolean(), \"isStopped\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, null, \"start\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, null, \"stop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(audioStyleEEnum, AudioStyle.class, \"AudioStyle\");\n\t\taddEEnumLiteral(audioStyleEEnum, AudioStyle.A);\n\t\taddEEnumLiteral(audioStyleEEnum, AudioStyle.B);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public ModelInfo generateInfo() { \n ModelInfo info = new ModelInfo();\n \n // Store basic info\n info.author = Author;\n info.citation = Citation;\n info.description = Description;\n info.property = Property;\n info.training = Model.TrainingStats.NumberTested + \" entries: \" + TrainingSet;\n info.notes = Notes;\n info.trainTime = new SimpleDateFormat(\"dMMMyy HH:mm z\").format(Model.getTrainTime());\n \n // Store units or class names\n if (Model instanceof AbstractClassifier) {\n info.classifier = true;\n info.units = \"\";\n AbstractClassifier clfr = (AbstractClassifier) Model;\n boolean started = false;\n for (String name : clfr.getClassNames()) {\n if (started) {\n info.units += \";\";\n }\n info.units += name;\n started = true;\n }\n } else {\n info.classifier = false;\n info.units = Units;\n }\n \n // Store names of models\n info.dataType = Dataset.printDescription(true);\n info.modelType = Model.printDescription(true);\n \n // Store validation performance data\n info.valMethod = Model.getValidationMethod();\n if (Model.isValidated()) {\n info.valScore = Model.ValidationStats.getStatistics();\n }\n \n return info;\n }", "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\tdataChannelEClass = createEClass(DATA_CHANNEL);\r\n\t\tcreateEAttribute(dataChannelEClass, DATA_CHANNEL__CAPACITY);\r\n\t\tcreateEReference(dataChannelEClass, DATA_CHANNEL__SOURCE_EVENT_GROUP);\r\n\t\tcreateEReference(dataChannelEClass, DATA_CHANNEL__SINK_EVENT_GROUP);\r\n\t\tcreateEReference(dataChannelEClass, DATA_CHANNEL__DATA_CHANNEL_SOURCE_CONNECTOR);\r\n\t\tcreateEReference(dataChannelEClass, DATA_CHANNEL__DATA_CHANNEL_SINK_CONNECTOR);\r\n\t\tcreateEReference(dataChannelEClass, DATA_CHANNEL__PARTITIONING);\r\n\t\tcreateEReference(dataChannelEClass, DATA_CHANNEL__TIME_GROUPING);\r\n\t\tcreateEReference(dataChannelEClass, DATA_CHANNEL__JOINS);\r\n\t\tcreateEAttribute(dataChannelEClass, DATA_CHANNEL__OUTGOING_DISTRIBUTION);\r\n\t\tcreateEAttribute(dataChannelEClass, DATA_CHANNEL__SCHEDULING);\r\n\t\tcreateEAttribute(dataChannelEClass, DATA_CHANNEL__PUT_POLICY);\r\n\t}", "public FeatureTypeSchema_Impl() {\r\n schema = XMLTools.create();\r\n }", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tmaturityModelEClass = createEClass(MATURITY_MODEL);\n\t\tcreateEAttribute(maturityModelEClass, MATURITY_MODEL__NAME);\n\t\tcreateEAttribute(maturityModelEClass, MATURITY_MODEL__VERSION);\n\t\tcreateEAttribute(maturityModelEClass, MATURITY_MODEL__RELEASE_DATE);\n\t\tcreateEAttribute(maturityModelEClass, MATURITY_MODEL__AUTHOR);\n\t\tcreateEAttribute(maturityModelEClass, MATURITY_MODEL__DESCRIPTION);\n\t\tcreateEAttribute(maturityModelEClass, MATURITY_MODEL__ACRONYM);\n\t\tcreateEAttribute(maturityModelEClass, MATURITY_MODEL__URL);\n\t\tcreateEReference(maturityModelEClass, MATURITY_MODEL__ORGANIZES);\n\t\tcreateEReference(maturityModelEClass, MATURITY_MODEL__EVOLVES_INTO);\n\n\t\tprocessAreaEClass = createEClass(PROCESS_AREA);\n\t\tcreateEAttribute(processAreaEClass, PROCESS_AREA__NAME);\n\t\tcreateEAttribute(processAreaEClass, PROCESS_AREA__SHORT_DESCRIPTION);\n\t\tcreateEAttribute(processAreaEClass, PROCESS_AREA__MAIN_DESCRIPTION);\n\t\tcreateEAttribute(processAreaEClass, PROCESS_AREA__ACRONYM);\n\t\tcreateEReference(processAreaEClass, PROCESS_AREA__DEFINES);\n\t\tcreateEReference(processAreaEClass, PROCESS_AREA__IMPLEMENTS);\n\n\t\tspecificPracticeEClass = createEClass(SPECIFIC_PRACTICE);\n\t\tcreateEAttribute(specificPracticeEClass, SPECIFIC_PRACTICE__NAME);\n\t\tcreateEAttribute(specificPracticeEClass, SPECIFIC_PRACTICE__DESCRIPTION);\n\t\tcreateEAttribute(specificPracticeEClass, SPECIFIC_PRACTICE__ACRONYM);\n\t\tcreateEAttribute(specificPracticeEClass, SPECIFIC_PRACTICE__COMPLEMENTARY_DESCRIPTION);\n\n\t\tmaturityLevelEClass = createEClass(MATURITY_LEVEL);\n\t\tcreateEAttribute(maturityLevelEClass, MATURITY_LEVEL__NAME);\n\t\tcreateEAttribute(maturityLevelEClass, MATURITY_LEVEL__DESCRIPTION);\n\t\tcreateEAttribute(maturityLevelEClass, MATURITY_LEVEL__ACRONYM);\n\t\tcreateEReference(maturityLevelEClass, MATURITY_LEVEL__EVOLVES_INTO);\n\n\t\tgenericPracticeEClass = createEClass(GENERIC_PRACTICE);\n\t\tcreateEAttribute(genericPracticeEClass, GENERIC_PRACTICE__NAME);\n\t\tcreateEAttribute(genericPracticeEClass, GENERIC_PRACTICE__DESCRIPTION);\n\t\tcreateEAttribute(genericPracticeEClass, GENERIC_PRACTICE__ACRONYM);\n\t\tcreateEAttribute(genericPracticeEClass, GENERIC_PRACTICE__COMPLEMENTARY_DESCRIPTION);\n\t\tcreateEReference(genericPracticeEClass, GENERIC_PRACTICE__DIVIDED);\n\n\t\tgpSubPracticeEClass = createEClass(GP_SUB_PRACTICE);\n\t\tcreateEAttribute(gpSubPracticeEClass, GP_SUB_PRACTICE__NAME);\n\t\tcreateEAttribute(gpSubPracticeEClass, GP_SUB_PRACTICE__DESCRIPTION);\n\t\tcreateEAttribute(gpSubPracticeEClass, GP_SUB_PRACTICE__ACRONYM);\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\tldprojectEClass = createEClass(LDPROJECT);\n\t\tcreateEAttribute(ldprojectEClass, LDPROJECT__NAME);\n\t\tcreateEAttribute(ldprojectEClass, LDPROJECT__LIFECYCLE);\n\t\tcreateEAttribute(ldprojectEClass, LDPROJECT__ROBUSTNESS);\n\t\tcreateEOperation(ldprojectEClass, LDPROJECT___PUBLISH);\n\t\tcreateEOperation(ldprojectEClass, LDPROJECT___UNPUBLISH);\n\t\tcreateEOperation(ldprojectEClass, LDPROJECT___UPDATE);\n\n\t\tlddatabaselinkEClass = createEClass(LDDATABASELINK);\n\t\tcreateEAttribute(lddatabaselinkEClass, LDDATABASELINK__DATABASE);\n\t\tcreateEAttribute(lddatabaselinkEClass, LDDATABASELINK__PORT);\n\n\t\tldprojectlinkEClass = createEClass(LDPROJECTLINK);\n\n\t\tldnodeEClass = createEClass(LDNODE);\n\t\tcreateEAttribute(ldnodeEClass, LDNODE__NAME);\n\t\tcreateEAttribute(ldnodeEClass, LDNODE__MONGO_HOSTS);\n\t\tcreateEAttribute(ldnodeEClass, LDNODE__MAIN_PROJECT);\n\t\tcreateEAttribute(ldnodeEClass, LDNODE__ANALYTICS_READ_PREFERENCE);\n\n\t\t// Create enums\n\t\tlifecycleEEnum = createEEnum(LIFECYCLE);\n\t\trobustnessEEnum = createEEnum(ROBUSTNESS);\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\tontologicalStructureEClass = createEClass(ONTOLOGICAL_STRUCTURE);\n\t\tcreateEReference(ontologicalStructureEClass, ONTOLOGICAL_STRUCTURE__ONTOLOGICAL_CONCEPTS);\n\t\tcreateEReference(ontologicalStructureEClass, ONTOLOGICAL_STRUCTURE__CONDITIONS);\n\t\tcreateEReference(ontologicalStructureEClass, ONTOLOGICAL_STRUCTURE__PROPERTIES);\n\n\t\tontologicalConceptEClass = createEClass(ONTOLOGICAL_CONCEPT);\n\t\tcreateEAttribute(ontologicalConceptEClass, ONTOLOGICAL_CONCEPT__LABEL);\n\t\tcreateEAttribute(ontologicalConceptEClass, ONTOLOGICAL_CONCEPT__URI);\n\n\t\tconditionEClass = createEClass(CONDITION);\n\t\tcreateEAttribute(conditionEClass, CONDITION__LABEL);\n\n\t\tlogicalConditionEClass = createEClass(LOGICAL_CONDITION);\n\n\t\tnaturalLangConditionEClass = createEClass(NATURAL_LANG_CONDITION);\n\t\tcreateEAttribute(naturalLangConditionEClass, NATURAL_LANG_CONDITION__STATEMENT);\n\n\t\tmathConditionEClass = createEClass(MATH_CONDITION);\n\n\t\tnegformulaEClass = createEClass(NEGFORMULA);\n\t\tcreateEReference(negformulaEClass, NEGFORMULA__CONDITION_STATEMENT);\n\n\t\toRformulaEClass = createEClass(ORFORMULA);\n\t\tcreateEReference(oRformulaEClass, ORFORMULA__LEFT_CONDITION_STATEMENT);\n\t\tcreateEReference(oRformulaEClass, ORFORMULA__RIGHT_CONDITION_STATEMENT);\n\n\t\tanDformulaEClass = createEClass(AN_DFORMULA);\n\t\tcreateEReference(anDformulaEClass, AN_DFORMULA__LEFT_CONDITION_STATEMENT);\n\t\tcreateEReference(anDformulaEClass, AN_DFORMULA__RIGHT_CONDITION_STATEMENT);\n\n\t\tequalFormulaEClass = createEClass(EQUAL_FORMULA);\n\t\tcreateEReference(equalFormulaEClass, EQUAL_FORMULA__LEFT_CONDITION_STATEMENT);\n\t\tcreateEReference(equalFormulaEClass, EQUAL_FORMULA__RIGHT_CONDITION_STATEMENT);\n\n\t\tmoreEqformulaEClass = createEClass(MORE_EQFORMULA);\n\t\tcreateEReference(moreEqformulaEClass, MORE_EQFORMULA__LEFT_CONDITION_STATEMENT);\n\t\tcreateEReference(moreEqformulaEClass, MORE_EQFORMULA__RIGHT_CONDITION_STATEMENT);\n\n\t\tlessformulaEClass = createEClass(LESSFORMULA);\n\t\tcreateEReference(lessformulaEClass, LESSFORMULA__LEFT_CONDITION_STATEMENT);\n\t\tcreateEReference(lessformulaEClass, LESSFORMULA__RIGHT_CONDITION_STATEMENT);\n\n\t\tpropertyEClass = createEClass(PROPERTY);\n\t\tcreateEAttribute(propertyEClass, PROPERTY__LABEL);\n\n\t\tnumberPropertyEClass = createEClass(NUMBER_PROPERTY);\n\t\tcreateEAttribute(numberPropertyEClass, NUMBER_PROPERTY__VALUE);\n\n\t\tbooleanPropertyEClass = createEClass(BOOLEAN_PROPERTY);\n\t\tcreateEAttribute(booleanPropertyEClass, BOOLEAN_PROPERTY__VALUE);\n\n\t\tstringPropertyEClass = createEClass(STRING_PROPERTY);\n\t\tcreateEAttribute(stringPropertyEClass, STRING_PROPERTY__VALUE);\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 createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tinstructionEClass = createEClass(INSTRUCTION);\n\n\t\tnamedElementEClass = createEClass(NAMED_ELEMENT);\n\t\tcreateEAttribute(namedElementEClass, NAMED_ELEMENT__NAME);\n\n\t\tgoForwardEClass = createEClass(GO_FORWARD);\n\t\tcreateEAttribute(goForwardEClass, GO_FORWARD__CM);\n\t\tcreateEAttribute(goForwardEClass, GO_FORWARD__INFINITE);\n\n\t\tgoBackwardEClass = createEClass(GO_BACKWARD);\n\t\tcreateEAttribute(goBackwardEClass, GO_BACKWARD__CM);\n\t\tcreateEAttribute(goBackwardEClass, GO_BACKWARD__INFINITE);\n\n\t\tbeginEClass = createEClass(BEGIN);\n\n\t\trotateEClass = createEClass(ROTATE);\n\t\tcreateEAttribute(rotateEClass, ROTATE__DEGREES);\n\t\tcreateEAttribute(rotateEClass, ROTATE__RANDOM);\n\n\t\treleaseEClass = createEClass(RELEASE);\n\n\t\tactionEClass = createEClass(ACTION);\n\n\t\tblockEClass = createEClass(BLOCK);\n\n\t\tendEClass = createEClass(END);\n\n\t\tchoreographyEClass = createEClass(CHOREOGRAPHY);\n\t\tcreateEReference(choreographyEClass, CHOREOGRAPHY__INSTRUCTIONS);\n\t\tcreateEReference(choreographyEClass, CHOREOGRAPHY__EDGE_INSTRUCTIONS);\n\n\t\tedgeInstructionEClass = createEClass(EDGE_INSTRUCTION);\n\t\tcreateEReference(edgeInstructionEClass, EDGE_INSTRUCTION__SOURCE);\n\t\tcreateEReference(edgeInstructionEClass, EDGE_INSTRUCTION__TARGET);\n\n\t\tgrabEClass = createEClass(GRAB);\n\t}", "public ClassModelDao() {\n super(ClassModel.CLASS_MODEL, com.platform.chorus.db.tables.pojos.ClassModel.class);\n }", "public Map<String, AClassDecl> basicClasses() {\n\t\tLinkedList<PFeature> featList;\n\t\tLinkedList<PFormal> formalList;\n\t\tPFeature pf;\n\t\t\n\t\tfeatList = new LinkedList<PFeature>();\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"abort\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"type_name\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\n\t\tfeatList.add(pf);\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"copy\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"SELF_TYPE\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\n\t\tfeatList.add(pf);\n\t\t\n\t\tAClassDecl ObjectClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tnew TTypeId(\"_no_class\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\t\t\n\t\t// The IO class inherits from Object. Its methods are\n\t\t// out_string(Str) : SELF_TYPE writes a string to the output\n\t\t// out_int(Int) : SELF_TYPE \" an int \" \" \"\n\t\t// in_string() : Str reads a string from the input\n\t\t// in_int() : Int \" an int \" \" \"\n\t\tfeatList = new LinkedList<PFeature>();\n\t\t\n\t\tformalList = new LinkedList<PFormal>();\t\t\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"String\")));\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"out_string\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"SELF_TYPE\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tformalList = new LinkedList<PFormal>();\t\t\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"Int\")));\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"out_int\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"SELF_TYPE\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tformalList = new LinkedList<PFormal>();\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"in_string\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"in_int\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"Int\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tAClassDecl IOClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"IO\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\n\n\t\t// The Int class has no methods and only a single attribute, the\n\t\t// \"val\" for the integer.\n\t\tfeatList = new LinkedList<PFeature>();\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_val\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tAClassDecl IntClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"Int\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\n\t\t// Bool also has only the \"val\" slot.\n\t\tfeatList = new LinkedList<PFeature>();\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_val\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tAClassDecl BoolClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"Bool\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\n\t\t// The class Str has a number of slots and operations:\n\t\t// val the length of the string\n\t\t// str_field the string itself\n\t\t// length() : Int returns length of the string\n\t\t// concat(arg: Str) : Str performs string concatenation\n\t\t// substr(arg: Int, arg2: Int): Str substring selection\n\t\tfeatList = new LinkedList<PFeature>();\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_val\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_str_field\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"length\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"Int\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\n\t\tfeatList.add(pf);\t\t\n\n\t\tformalList = new LinkedList<PFormal>();\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"String\")));\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"concat\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tformalList = new LinkedList<PFormal>();\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"Int\")));\n\t\tformalList.add(new AFormal(new TObjectId(\"arg2\"), new TTypeId(\"Int\")));\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"substr\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\t\n\t\tAClassDecl StringClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\t\t\n\n\t\t/*\n\t\t * Do something with Object_class, IO_class, Int_class, Bool_class, and\n\t\t * Str_class here \n\t\t * \n\t\t */\n\n\t\tMap<String, AClassDecl> map = new TreeMap<String, AClassDecl>();\n\t\t\t\tOBJECT = new Klass();\n\t\t\t\tOBJECT.name = \"Object\";\n\t\t\t\tOBJECT.parent = null;\n\t\t\t\tOBJECT.methods = null;\n\t\t \t\tOBJECT.vars = null;\n\t\t \t\t\n\t\t \t\tIO = new Klass();\n\t\t \t\tIO.name = \"IO\";\n\t\t \t\tIO.parent = OBJECT;\n\n\t\t \t\t\n\t\t \t\tINT = new Klass();\n\t\t \t\tINT.name = \"Int\";\n\t\t \t\tINT.parent = OBJECT;\n\n\t\t \t\t\n\t\t \t\tBOOL = new Klass();\n\t\t \t\tBOOL.name = \"Bool\";\n\t\t \t\tBOOL.parent = OBJECT;\n\n\t\t\t\t\n\t\t \t\tSTR = new Klass();\n\t\t\t\tSTR.name =\"String\";\n\t\t\t\tSTR.parent = OBJECT;\n\n\t\t\t\t\n\t\t\t\tERROR = new Klass();\n\t\t\t\tERROR.name = \"ERROR\";\n\t\t\t\tERROR.parent = OBJECT;\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tVOID = new Klass();\n\t\t\t\tVOID.name = \"VOID\";\n\t\t\t\tVOID.parent = OBJECT;\n\n\t\t\t\tklasses.put(\"Object\", OBJECT);\n\t\t\t\tklasses.put(\"IO\", IO);\n\t\t\t\tklasses.put(\"Int\", INT);\n\t\t\t\tklasses.put(\"Bool\", BOOL);\n\t\t\t klasses.put(\"String\", STR);\n\t\t\t\t\n\t\tmap.put(\"Object\", ObjectClass);\n\t\tmap.put(\"IO\", IOClass);\n\t\tmap.put(\"Int\", IntClass);\n\t\tmap.put(\"Bool\", BoolClass);\n\t\tmap.put(\"String\", StringClass);\n\t\t\n\t\treturn map;\n\t\t\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tstateEClass.getESuperTypes().add(this.getEndPoint());\n\t\tconnectorEClass.getESuperTypes().add(this.getEndPoint());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(stateEClass, State.class, \"State\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getState_Name(), ecorePackage.getEString(), \"Name\", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getState_Invariant(), ecorePackage.getEString(), \"Invariant\", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getState_Initial(), ecorePackage.getEBoolean(), \"Initial\", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getState_Urgent(), ecorePackage.getEBoolean(), \"Urgent\", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getState_Committed(), ecorePackage.getEBoolean(), \"Committed\", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(connectorEClass, Connector.class, \"Connector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getConnector_Name(), ecorePackage.getEString(), \"Name\", null, 0, 1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getConnector_Diagram(), this.getDiagram(), this.getDiagram_Connectors(), \"diagram\", null, 1, 1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(diagramEClass, Diagram.class, \"Diagram\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDiagram_Name(), ecorePackage.getEString(), \"Name\", null, 0, 1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDiagram_Connectors(), this.getConnector(), this.getConnector_Diagram(), \"connectors\", null, 0, -1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDiagram_States(), this.getState(), null, \"states\", null, 0, -1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDiagram_Subdiagrams(), this.getDiagram(), null, \"subdiagrams\", null, 0, -1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDiagram_Edges(), this.getEdge(), null, \"edges\", null, 0, -1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getDiagram_IsParallel(), ecorePackage.getEBoolean(), \"IsParallel\", null, 0, 1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(edgeEClass, Edge.class, \"Edge\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEdge_Start(), this.getEndPoint(), this.getEndPoint_OutgoingEdges(), \"start\", null, 1, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEdge_End(), this.getEndPoint(), null, \"end\", null, 1, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEdge_EReference0(), this.getDiagram(), null, \"EReference0\", null, 0, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getEdge_Select(), ecorePackage.getEString(), \"Select\", null, 0, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getEdge_Guard(), ecorePackage.getEString(), \"Guard\", null, 0, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getEdge_Sync(), ecorePackage.getEString(), \"Sync\", null, 0, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getEdge_Update(), ecorePackage.getEString(), \"Update\", null, 0, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getEdge_Comments(), ecorePackage.getEString(), \"Comments\", null, 0, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(endPointEClass, EndPoint.class, \"EndPoint\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEndPoint_OutgoingEdges(), this.getEdge(), this.getEdge_Start(), \"outgoingEdges\", null, 0, -1, EndPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\talVarRefEClass.getESuperTypes().add(this.getArith());\n\t\tarithLitEClass.getESuperTypes().add(this.getArith());\n\t\tarithOpEClass.getESuperTypes().add(this.getArith());\n\t\tarithPlusEClass.getESuperTypes().add(this.getArithOp());\n\t\tarithMinusEClass.getESuperTypes().add(this.getArithOp());\n\t\tprintEClass.getESuperTypes().add(this.getStmt());\n\t\tassignEClass.getESuperTypes().add(this.getStmt());\n\t\tifStmtEClass.getESuperTypes().add(this.getStmt());\n\t\trandRangeEClass.getESuperTypes().add(this.getArith());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(blockEClass, Block.class, \"Block\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBlock_Stmts(), this.getStmt(), null, \"stmts\", null, 0, -1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(stmtEClass, Stmt.class, \"Stmt\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(arithEClass, Arith.class, \"Arith\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(alVarRefEClass, ALVarRef.class, \"ALVarRef\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getALVarRef_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ALVarRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(arithLitEClass, ArithLit.class, \"ArithLit\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getArithLit_Val(), ecorePackage.getEInt(), \"val\", null, 0, 1, ArithLit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(arithOpEClass, ArithOp.class, \"ArithOp\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getArithOp_Lhs(), this.getArith(), null, \"lhs\", null, 0, 1, ArithOp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArithOp_Rhs(), this.getArith(), null, \"rhs\", null, 0, 1, ArithOp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(arithPlusEClass, ArithPlus.class, \"ArithPlus\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(arithMinusEClass, ArithMinus.class, \"ArithMinus\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(printEClass, Print.class, \"Print\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPrint_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Print.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(assignEClass, Assign.class, \"Assign\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAssign_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Assign.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAssign_Val(), this.getArith(), null, \"val\", null, 1, 1, Assign.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ifStmtEClass, IfStmt.class, \"IfStmt\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getIfStmt_IfBranch(), this.getAssign(), null, \"ifBranch\", null, 1, 1, IfStmt.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIfStmt_ElseBranch(), this.getAssign(), null, \"elseBranch\", null, 0, 1, IfStmt.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIfStmt_Test(), this.getEqualityTest(), null, \"test\", null, 1, 1, IfStmt.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(randRangeEClass, RandRange.class, \"RandRange\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getRandRange_Min(), ecorePackage.getEInt(), \"min\", null, 0, 1, RandRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRandRange_Max(), ecorePackage.getEInt(), \"max\", null, 0, 1, RandRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(equalityTestEClass, EqualityTest.class, \"EqualityTest\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEqualityTest_Lhs(), this.getArith(), null, \"lhs\", null, 1, 1, EqualityTest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEqualityTest_Rhs(), this.getArith(), null, \"rhs\", null, 1, 1, EqualityTest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "@Override\n\tpublic String typeKey() {\n\t return \"class\";\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\ttaskEClass = createEClass(TASK);\n\t\tcreateEAttribute(taskEClass, TASK__TASK_ID);\n\t\tcreateEAttribute(taskEClass, TASK__NAME);\n\t\tcreateEReference(taskEClass, TASK__SUBTASKS);\n\t\tcreateEAttribute(taskEClass, TASK__DEADLINE);\n\n\t\tperiodicTaskEClass = createEClass(PERIODIC_TASK);\n\t\tcreateEAttribute(periodicTaskEClass, PERIODIC_TASK__PERIOD);\n\t\tcreateEAttribute(periodicTaskEClass, PERIODIC_TASK__OFFSET);\n\n\t\taperiodicTaskEClass = createEClass(APERIODIC_TASK);\n\t\tcreateEReference(aperiodicTaskEClass, APERIODIC_TASK__INTERARRIVAL_DISTRIBUTION);\n\n\t\tsubtaskEClass = createEClass(SUBTASK);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__NAME);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__PRIORITY);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__RET_ANCHOR_USED);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__ACTIVATION_SYNCHRONOUS);\n\t\tcreateEReference(subtaskEClass, SUBTASK__EXEC_TIME_DISTRIBUTION);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__BYPASS);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__DOWNSAMPLING_FACTOR);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__CALLING_THREAD_PRIORITY);\n\t\tcreateEReference(subtaskEClass, SUBTASK__MUTEXES);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__PIN_ID);\n\n\t\tdistributionEClass = createEClass(DISTRIBUTION);\n\n\t\tconstantEClass = createEClass(CONSTANT);\n\t\tcreateEAttribute(constantEClass, CONSTANT__VALUE);\n\n\t\texponentialEClass = createEClass(EXPONENTIAL);\n\t\tcreateEAttribute(exponentialEClass, EXPONENTIAL__MEAN);\n\n\t\tuniformEClass = createEClass(UNIFORM);\n\t\tcreateEAttribute(uniformEClass, UNIFORM__MAX);\n\t\tcreateEAttribute(uniformEClass, UNIFORM__MIN);\n\n\t\tunknownEClass = createEClass(UNKNOWN);\n\t\tcreateEAttribute(unknownEClass, UNKNOWN__MEAN);\n\t\tcreateEAttribute(unknownEClass, UNKNOWN__MIN);\n\t\tcreateEAttribute(unknownEClass, UNKNOWN__MAX);\n\n\t\tnormalEClass = createEClass(NORMAL);\n\t\tcreateEAttribute(normalEClass, NORMAL__MEAN);\n\t\tcreateEAttribute(normalEClass, NORMAL__STD_DEV);\n\n\t\tperformanceModelEClass = createEClass(PERFORMANCE_MODEL);\n\t\tcreateEReference(performanceModelEClass, PERFORMANCE_MODEL__TASKS);\n\t\tcreateEAttribute(performanceModelEClass, PERFORMANCE_MODEL__NAME);\n\t\tcreateEReference(performanceModelEClass, PERFORMANCE_MODEL__MUTEXES);\n\t\tcreateEAttribute(performanceModelEClass, PERFORMANCE_MODEL__SOURCE_FILE);\n\n\t\tssTaskEClass = createEClass(SS_TASK);\n\t\tcreateEAttribute(ssTaskEClass, SS_TASK__BUDGET);\n\t\tcreateEAttribute(ssTaskEClass, SS_TASK__REPLENISHMENT_PERIOD);\n\t\tcreateEAttribute(ssTaskEClass, SS_TASK__BACKGROUND_PRIORITY);\n\n\t\tmutexEClass = createEClass(MUTEX);\n\t\tcreateEAttribute(mutexEClass, MUTEX__NAME);\n\t}", "@ProviderType\npublic interface LichChiTietModel\n\textends BaseModel<LichChiTiet>, GroupedModel, ShardedModel {\n\n\t/*\n\t * NOTE FOR DEVELOPERS:\n\t *\n\t * Never modify or reference this interface directly. All methods that expect a lich chi tiet model instance should use the {@link LichChiTiet} interface instead.\n\t */\n\n\t/**\n\t * Returns the primary key of this lich chi tiet.\n\t *\n\t * @return the primary key of this lich chi tiet\n\t */\n\tpublic long getPrimaryKey();\n\n\t/**\n\t * Sets the primary key of this lich chi tiet.\n\t *\n\t * @param primaryKey the primary key of this lich chi tiet\n\t */\n\tpublic void setPrimaryKey(long primaryKey);\n\n\t/**\n\t * Returns the lich chi tiet ID of this lich chi tiet.\n\t *\n\t * @return the lich chi tiet ID of this lich chi tiet\n\t */\n\tpublic long getLichChiTietId();\n\n\t/**\n\t * Sets the lich chi tiet ID of this lich chi tiet.\n\t *\n\t * @param lichChiTietId the lich chi tiet ID of this lich chi tiet\n\t */\n\tpublic void setLichChiTietId(long lichChiTietId);\n\n\t/**\n\t * Returns the group ID of this lich chi tiet.\n\t *\n\t * @return the group ID of this lich chi tiet\n\t */\n\t@Override\n\tpublic long getGroupId();\n\n\t/**\n\t * Sets the group ID of this lich chi tiet.\n\t *\n\t * @param groupId the group ID of this lich chi tiet\n\t */\n\t@Override\n\tpublic void setGroupId(long groupId);\n\n\t/**\n\t * Returns the language of this lich chi tiet.\n\t *\n\t * @return the language of this lich chi tiet\n\t */\n\t@AutoEscape\n\tpublic String getLanguage();\n\n\t/**\n\t * Sets the language of this lich chi tiet.\n\t *\n\t * @param language the language of this lich chi tiet\n\t */\n\tpublic void setLanguage(String language);\n\n\t/**\n\t * Returns the company ID of this lich chi tiet.\n\t *\n\t * @return the company ID of this lich chi tiet\n\t */\n\t@Override\n\tpublic long getCompanyId();\n\n\t/**\n\t * Sets the company ID of this lich chi tiet.\n\t *\n\t * @param companyId the company ID of this lich chi tiet\n\t */\n\t@Override\n\tpublic void setCompanyId(long companyId);\n\n\t/**\n\t * Returns the user ID of this lich chi tiet.\n\t *\n\t * @return the user ID of this lich chi tiet\n\t */\n\t@Override\n\tpublic long getUserId();\n\n\t/**\n\t * Sets the user ID of this lich chi tiet.\n\t *\n\t * @param userId the user ID of this lich chi tiet\n\t */\n\t@Override\n\tpublic void setUserId(long userId);\n\n\t/**\n\t * Returns the user uuid of this lich chi tiet.\n\t *\n\t * @return the user uuid of this lich chi tiet\n\t */\n\t@Override\n\tpublic String getUserUuid();\n\n\t/**\n\t * Sets the user uuid of this lich chi tiet.\n\t *\n\t * @param userUuid the user uuid of this lich chi tiet\n\t */\n\t@Override\n\tpublic void setUserUuid(String userUuid);\n\n\t/**\n\t * Returns the user name of this lich chi tiet.\n\t *\n\t * @return the user name of this lich chi tiet\n\t */\n\t@AutoEscape\n\t@Override\n\tpublic String getUserName();\n\n\t/**\n\t * Sets the user name of this lich chi tiet.\n\t *\n\t * @param userName the user name of this lich chi tiet\n\t */\n\t@Override\n\tpublic void setUserName(String userName);\n\n\t/**\n\t * Returns the create date of this lich chi tiet.\n\t *\n\t * @return the create date of this lich chi tiet\n\t */\n\t@Override\n\tpublic Date getCreateDate();\n\n\t/**\n\t * Sets the create date of this lich chi tiet.\n\t *\n\t * @param createDate the create date of this lich chi tiet\n\t */\n\t@Override\n\tpublic void setCreateDate(Date createDate);\n\n\t/**\n\t * Returns the created by user of this lich chi tiet.\n\t *\n\t * @return the created by user of this lich chi tiet\n\t */\n\tpublic long getCreatedByUser();\n\n\t/**\n\t * Sets the created by user of this lich chi tiet.\n\t *\n\t * @param createdByUser the created by user of this lich chi tiet\n\t */\n\tpublic void setCreatedByUser(long createdByUser);\n\n\t/**\n\t * Returns the modified date of this lich chi tiet.\n\t *\n\t * @return the modified date of this lich chi tiet\n\t */\n\t@Override\n\tpublic Date getModifiedDate();\n\n\t/**\n\t * Sets the modified date of this lich chi tiet.\n\t *\n\t * @param modifiedDate the modified date of this lich chi tiet\n\t */\n\t@Override\n\tpublic void setModifiedDate(Date modifiedDate);\n\n\t/**\n\t * Returns the modified by user of this lich chi tiet.\n\t *\n\t * @return the modified by user of this lich chi tiet\n\t */\n\tpublic long getModifiedByUser();\n\n\t/**\n\t * Sets the modified by user of this lich chi tiet.\n\t *\n\t * @param modifiedByUser the modified by user of this lich chi tiet\n\t */\n\tpublic void setModifiedByUser(long modifiedByUser);\n\n\t/**\n\t * Returns the gio bat dau of this lich chi tiet.\n\t *\n\t * @return the gio bat dau of this lich chi tiet\n\t */\n\tpublic Date getGioBatDau();\n\n\t/**\n\t * Sets the gio bat dau of this lich chi tiet.\n\t *\n\t * @param gioBatDau the gio bat dau of this lich chi tiet\n\t */\n\tpublic void setGioBatDau(Date gioBatDau);\n\n\t/**\n\t * Returns the mo ta of this lich chi tiet.\n\t *\n\t * @return the mo ta of this lich chi tiet\n\t */\n\t@AutoEscape\n\tpublic String getMoTa();\n\n\t/**\n\t * Sets the mo ta of this lich chi tiet.\n\t *\n\t * @param moTa the mo ta of this lich chi tiet\n\t */\n\tpublic void setMoTa(String moTa);\n\n\t/**\n\t * Returns the nguoi tham du of this lich chi tiet.\n\t *\n\t * @return the nguoi tham du of this lich chi tiet\n\t */\n\t@AutoEscape\n\tpublic String getNguoiThamDu();\n\n\t/**\n\t * Sets the nguoi tham du of this lich chi tiet.\n\t *\n\t * @param nguoiThamDu the nguoi tham du of this lich chi tiet\n\t */\n\tpublic void setNguoiThamDu(String nguoiThamDu);\n\n\t/**\n\t * Returns the nguoi chu tri of this lich chi tiet.\n\t *\n\t * @return the nguoi chu tri of this lich chi tiet\n\t */\n\t@AutoEscape\n\tpublic String getNguoiChuTri();\n\n\t/**\n\t * Sets the nguoi chu tri of this lich chi tiet.\n\t *\n\t * @param nguoiChuTri the nguoi chu tri of this lich chi tiet\n\t */\n\tpublic void setNguoiChuTri(String nguoiChuTri);\n\n\t/**\n\t * Returns the selected date of this lich chi tiet.\n\t *\n\t * @return the selected date of this lich chi tiet\n\t */\n\tpublic Date getSelectedDate();\n\n\t/**\n\t * Sets the selected date of this lich chi tiet.\n\t *\n\t * @param selectedDate the selected date of this lich chi tiet\n\t */\n\tpublic void setSelectedDate(Date selectedDate);\n\n\t/**\n\t * Returns the trangthai chi tiet of this lich chi tiet.\n\t *\n\t * @return the trangthai chi tiet of this lich chi tiet\n\t */\n\tpublic int getTrangthaiChiTiet();\n\n\t/**\n\t * Sets the trangthai chi tiet of this lich chi tiet.\n\t *\n\t * @param trangthaiChiTiet the trangthai chi tiet of this lich chi tiet\n\t */\n\tpublic void setTrangthaiChiTiet(int trangthaiChiTiet);\n\n\t/**\n\t * Returns the lich cong tac ID of this lich chi tiet.\n\t *\n\t * @return the lich cong tac ID of this lich chi tiet\n\t */\n\tpublic long getLichCongTacId();\n\n\t/**\n\t * Sets the lich cong tac ID of this lich chi tiet.\n\t *\n\t * @param lichCongTacId the lich cong tac ID of this lich chi tiet\n\t */\n\tpublic void setLichCongTacId(long lichCongTacId);\n\n\t/**\n\t * Returns the address of this lich chi tiet.\n\t *\n\t * @return the address of this lich chi tiet\n\t */\n\t@AutoEscape\n\tpublic String getAddress();\n\n\t/**\n\t * Sets the address of this lich chi tiet.\n\t *\n\t * @param address the address of this lich chi tiet\n\t */\n\tpublic void setAddress(String address);\n\n\t/**\n\t * Returns the note of this lich chi tiet.\n\t *\n\t * @return the note of this lich chi tiet\n\t */\n\t@AutoEscape\n\tpublic String getNote();\n\n\t/**\n\t * Sets the note of this lich chi tiet.\n\t *\n\t * @param note the note of this lich chi tiet\n\t */\n\tpublic void setNote(String note);\n\n\t/**\n\t * Returns the lydo tra ve of this lich chi tiet.\n\t *\n\t * @return the lydo tra ve of this lich chi tiet\n\t */\n\t@AutoEscape\n\tpublic String getLydoTraVe();\n\n\t/**\n\t * Sets the lydo tra ve of this lich chi tiet.\n\t *\n\t * @param lydoTraVe the lydo tra ve of this lich chi tiet\n\t */\n\tpublic void setLydoTraVe(String lydoTraVe);\n\n\t/**\n\t * Returns the organization ID of this lich chi tiet.\n\t *\n\t * @return the organization ID of this lich chi tiet\n\t */\n\tpublic long getOrganizationId();\n\n\t/**\n\t * Sets the organization ID of this lich chi tiet.\n\t *\n\t * @param organizationId the organization ID of this lich chi tiet\n\t */\n\tpublic void setOrganizationId(long organizationId);\n\n}", "public interface ModelConstants {\n \n // elements\n @Deprecated\n public final static String ACQUISITION_STRATEGY = \"acquisition-strategy\";\n \n public final static String DATASOURCE = \"datasource\";\n public final static String HISTORY_LEVEL = \"history-level\";\n public final static String JOB_ACQUISITION = \"job-acquisition\";\n public final static String JOB_ACQUISITIONS = \"job-acquisitions\";\n public final static String JOB_EXECUTOR = \"job-executor\";\n public final static String PROCESS_ENGINE = \"process-engine\";\n public final static String PROCESS_ENGINES = \"process-engines\";\n public final static String PROPERTY = \"property\";\n public final static String PROPERTIES = \"properties\";\n public final static String CONFIGURATION = \"configuration\";\n\n public final static String PLUGINS = \"plugins\";\n public final static String PLUGIN = \"plugin\";\n public final static String PLUGIN_CLASS = \"class\";\n \n // attributes\n public final static String DEFAULT = \"default\";\n public final static String NAME = \"name\";\n public final static String THREAD_POOL_NAME = \"thread-pool-name\";\n /** The name of our subsystem within the model. */\n public static final String SUBSYSTEM_NAME = \"camunda-bpm-platform\";\n \n}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tCorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\n\t\tObjectsPackage theObjectsPackage = (ObjectsPackage)EPackage.Registry.INSTANCE.getEPackage(ObjectsPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\treadCsvFileEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tprintEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\twriteCsvFileEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\texcludeColumnsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tselectColumnsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tassertTablesMatchEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\twriteLinesEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\treadLinesEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tselectRowsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\texcludeRowsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tasTableDataEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\treadPropertiesEClass.getESuperTypes().add(theCorePackage.getCommand());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(readCsvFileEClass, ReadCsvFile.class, \"ReadCsvFile\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getReadCsvFile_Uri(), ecorePackage.getEString(), \"uri\", null, 0, 1, ReadCsvFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(printEClass, Print.class, \"Print\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPrint_Input(), theEcorePackage.getEObject(), null, \"input\", null, 0, -1, Print.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(writeCsvFileEClass, WriteCsvFile.class, \"WriteCsvFile\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getWriteCsvFile_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, WriteCsvFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWriteCsvFile_Uri(), theEcorePackage.getEString(), \"uri\", null, 0, 1, WriteCsvFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(excludeColumnsEClass, ExcludeColumns.class, \"ExcludeColumns\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getExcludeColumns_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, ExcludeColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeColumns_Columns(), theEcorePackage.getEString(), \"columns\", null, 0, -1, ExcludeColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(selectColumnsEClass, SelectColumns.class, \"SelectColumns\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSelectColumns_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, SelectColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectColumns_Columns(), theEcorePackage.getEString(), \"columns\", null, 0, -1, SelectColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(assertTablesMatchEClass, AssertTablesMatch.class, \"AssertTablesMatch\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAssertTablesMatch_Left(), theObjectsPackage.getTable(), null, \"left\", null, 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAssertTablesMatch_Right(), theObjectsPackage.getTable(), null, \"right\", null, 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAssertTablesMatch_IgnoreColumnOrder(), theEcorePackage.getEBoolean(), \"ignoreColumnOrder\", \"false\", 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAssertTablesMatch_IgnoreMissingColumns(), this.getIgnoreColumnsMode(), \"ignoreMissingColumns\", \"NONE\", 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(writeLinesEClass, WriteLines.class, \"WriteLines\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getWriteLines_Uri(), theEcorePackage.getEString(), \"uri\", null, 0, 1, WriteLines.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWriteLines_Append(), theEcorePackage.getEBoolean(), \"append\", \"false\", 0, 1, WriteLines.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(readLinesEClass, ReadLines.class, \"ReadLines\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getReadLines_Uri(), theEcorePackage.getEString(), \"uri\", null, 1, 1, ReadLines.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(selectRowsEClass, SelectRows.class, \"SelectRows\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSelectRows_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectRows_Column(), theEcorePackage.getEString(), \"column\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectRows_Value(), theEcorePackage.getEString(), \"value\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectRows_Match(), this.getRowMatchMode(), \"match\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(excludeRowsEClass, ExcludeRows.class, \"ExcludeRows\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getExcludeRows_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeRows_Column(), theEcorePackage.getEString(), \"column\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeRows_Value(), theEcorePackage.getEString(), \"value\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeRows_Match(), this.getRowMatchMode(), \"match\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(asTableDataEClass, AsTableData.class, \"AsTableData\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAsTableData_Input(), theEcorePackage.getEObject(), null, \"input\", null, 0, -1, AsTableData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(readPropertiesEClass, ReadProperties.class, \"ReadProperties\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getReadProperties_Uri(), ecorePackage.getEString(), \"uri\", null, 0, 1, ReadProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(ignoreColumnsModeEEnum, IgnoreColumnsMode.class, \"IgnoreColumnsMode\");\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.NONE);\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.LEFT);\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.RIGHT);\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.BOTH);\n\n\t\tinitEEnum(rowMatchModeEEnum, RowMatchMode.class, \"RowMatchMode\");\n\t\taddEEnumLiteral(rowMatchModeEEnum, RowMatchMode.EXACT);\n\t\taddEEnumLiteral(rowMatchModeEEnum, RowMatchMode.GLOB);\n\t\taddEEnumLiteral(rowMatchModeEEnum, RowMatchMode.REGEXP);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/ecl/docs\n\t\tcreateDocsAnnotations();\n\t\t// http://www.eclipse.org/ecl/internal\n\t\tcreateInternalAnnotations();\n\t\t// http://www.eclipse.org/ecl/input\n\t\tcreateInputAnnotations();\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}" ]
[ "0.6520589", "0.6064371", "0.60479885", "0.6019442", "0.5996662", "0.5954759", "0.59531903", "0.5933314", "0.5918253", "0.59102905", "0.5901044", "0.5899082", "0.5875612", "0.58523774", "0.58457637", "0.583782", "0.5829964", "0.5825108", "0.5811178", "0.58085793", "0.5808574", "0.5802004", "0.5792275", "0.5789309", "0.5787922", "0.5768186", "0.576741", "0.5765983", "0.5757048", "0.5740839", "0.5739523", "0.5734441", "0.5731084", "0.57306796", "0.57281053", "0.571966", "0.5705924", "0.5700846", "0.5696683", "0.5696445", "0.5686651", "0.5676657", "0.56658185", "0.56631505", "0.56623864", "0.5658519", "0.5651754", "0.56447715", "0.5644259", "0.5643185", "0.5640506", "0.56386775", "0.5636393", "0.56336373", "0.56310236", "0.5630557", "0.562185", "0.561598", "0.5615461", "0.5607301", "0.5576166", "0.5573745", "0.5573244", "0.55678385", "0.5560554", "0.55552876", "0.554735", "0.55466175", "0.5545214", "0.55382633", "0.5533616", "0.5527155", "0.5523642", "0.5522542", "0.5522518", "0.5516297", "0.5503522", "0.54985696", "0.5490539", "0.54832083", "0.54810655", "0.5478853", "0.5470976", "0.54698056", "0.5469056", "0.5452263", "0.544929", "0.5447988", "0.54413545", "0.54386944", "0.5437224", "0.5429876", "0.5422874", "0.5421566", "0.5414267", "0.5406587", "0.54032266", "0.54012764", "0.53980654", "0.539371", "0.539153" ]
0.0
-1
Returns the factory that creates the instances of the model.
Demo1Factory getDemo1Factory();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ModelsFactory getModelsFactory();", "public ObjectifyFactory factory() {\n return ofy().factory();\n }", "TestModelFactory getTestModelFactory();", "BehaviouralModelFactory getBehaviouralModelFactory();", "public static Factory factory() {\n return ext_dbf::new;\n }", "public ValueFactory<K, V> getFactory()\n {\n return factory;\n }", "public static Factory factory() {\n return ext_h::new;\n }", "public OBStoreFactory getFactory();", "public static SqliteModelFactory init()\n {\n try\n {\n SqliteModelFactory theSqliteModelFactory = (SqliteModelFactory)EPackage.Registry.INSTANCE.getEFactory(SqliteModelPackage.eNS_URI);\n if (theSqliteModelFactory != null)\n {\n return theSqliteModelFactory;\n }\n }\n catch (Exception exception)\n {\n EcorePlugin.INSTANCE.log(exception);\n }\n return new SqliteModelFactoryImpl();\n }", "@SuppressWarnings(\"unchecked\")\n\tprivate static XmlEntityObjectFactory getFactory() {\n\t\tif (factory == null) {\n\t\t\tfactory = new XmlEntityObjectFactory();\n\t\t\ttry {\n\t\t\t\tClass<IXmlEntityResolverLoader> loaderClass = (Class<IXmlEntityResolverLoader>) Class\n\t\t\t\t\t\t.forName(defaulEntityResolverLoaderClassName);\n\t\t\t\tIXmlEntityResolverLoader loader;\n\t\t\t\tloader = loaderClass.newInstance();\n\t\t\t\tloader.loadTo(factory);\n\t\t\t} catch (Exception ex) {\n\t\t\t\tthrow new UnexpectedRuntimeException(ex);\n\t\t\t}\n\t\t}\n\t\treturn factory;\n\t}", "InstanceModel createInstanceOfInstanceModel();", "public static Factory factory() {\n return ext_accdt::new;\n }", "public static ParsedmodelFactory init() {\n\t\ttry {\n\t\t\tParsedmodelFactory theParsedmodelFactory = (ParsedmodelFactory)EPackage.Registry.INSTANCE.getEFactory(\"http://parsedmetadata/1.0\"); \n\t\t\tif (theParsedmodelFactory != null) {\n\t\t\t\treturn theParsedmodelFactory;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new ParsedmodelFactoryImpl();\n\t}", "public static UsermodelFactory init() {\r\n\t\ttry {\r\n\t\t\tUsermodelFactory theUsermodelFactory = (UsermodelFactory)EPackage.Registry.INSTANCE.getEFactory(UsermodelPackage.eNS_URI);\r\n\t\t\tif (theUsermodelFactory != null) {\r\n\t\t\t\treturn theUsermodelFactory;\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception exception) {\r\n\t\t\tEcorePlugin.INSTANCE.log(exception);\r\n\t\t}\r\n\t\treturn new UsermodelFactoryImpl();\r\n\t}", "public interface ConfigModelFactory\n{\n\t/**\n\t * Create an instance of the <code>ConfigModel</code>\n\t *\n\t * @return an instance of the configuration model\n\t */\n\tConfigModel createInstanceOfConfigModel();\n\n\t/**\n\t * Create an instance of the <code>InstanceModel</code>\n\t *\n\t * @return an instance of the instance model\n\t */\n\tInstanceModel createInstanceOfInstanceModel();\n\n\t/**\n\t * Create an instance of the <code>CsticModel</code>\n\t *\n\t * @return an instance of the characteristic model\n\t */\n\tCsticModel createInstanceOfCsticModel();\n\n\t/**\n\t * Create an instance of the <code>CsticValueModel</code>\n\t *\n\t * @param valueType\n\t * The containing Cstic value type\n\t * @return an instance of the characteristic value model\n\t */\n\tCsticValueModel createInstanceOfCsticValueModel(int valueType);\n\n\t/**\n\t * Create an instance of the <code>CsticGroupModel</code>\n\t *\n\t * @return an instance of the characteristic group model\n\t */\n\tCsticGroupModel createInstanceOfCsticGroupModel();\n\n\n\t/**\n\t * Create an instance of the <code>PriceModel</code>\n\t *\n\t * @return an instance of the price model\n\t */\n\tPriceModel createInstanceOfPriceModel();\n\n\t/**\n\t * Create an instance of the <code>SolvableConflictModel</code>\n\t *\n\t * @return an instance of the Solvable Conflict Model\n\t */\n\tSolvableConflictModel createInstanceOfSolvableConflictModel();\n\n\t/**\n\t * Create an instance of the <code>ConflictingAssumptionModel</code>\n\t *\n\t * @return an instance of the Conflicting Assumption Model\n\t */\n\tConflictingAssumptionModel createInstanceOfConflictingAssumptionModel();\n\n\t/**\n\t * Create an instance of the <code>PriceModel</code>\n\t *\n\t * @return an instance of the price model\n\t */\n\tPriceModel getZeroPriceModel();\n\n\t/**\n\t * Create an instance of the <code>PriceSummaryModel</code>\n\t *\n\t * @return an instance of the price summary model\n\t */\n\tPriceSummaryModel createInstanceOfPriceSummaryModel();\n\n\t/**\n\t * @return a builder to construct {@link ProductConfigMessage} objects\n\t */\n\tdefault ProductConfigMessageBuilder createProductConfigMessageBuilder()\n\t{\n\t\treturn new ProductConfigMessageBuilder();\n\t}\n\n\t/**\n\t * Create an instance of the <code>ProductConfigMessage</code><br>\n\t * uses the <code>DEFAULT</code> ProductConfigMessageSourceSubType\n\t *\n\t * @param message\n\t * localized message\n\t * @param key\n\t * message key, should be unique together with message source\n\t * @param severity\n\t * message severity\n\t * @param source\n\t * message source, should be unique together with message key\n\t * @return a message instance\n\t * @deprecated since 18.08.0 - use {@link ProductConfigMessageBuilder} instead\n\t */\n\t@Deprecated(since = \"1808\", forRemoval=true)\n\tdefault ProductConfigMessage createInstanceOfProductConfigMessage(final String message, final String key,\n\t\t\tfinal ProductConfigMessageSeverity severity, final ProductConfigMessageSource source)\n\t{\n\t\treturn createInstanceOfProductConfigMessage(message, key, severity, source, ProductConfigMessageSourceSubType.DEFAULT);\n\t}\n\n\t/**\n\t * Create an instance of the <code>ProductConfigMessage</code><br>\n\t *\n\t * @param message\n\t * localized message\n\t * @param key\n\t * message key, should be unique together with message source\n\t * @param severity\n\t * message severity\n\t * @param source\n\t * message source, should be unique together with message key\n\t * @param subType\n\t * optional sub type of the message source\n\t * @return a message instance\n\t * @deprecated since 18.08.0 - use {@link ProductConfigMessageBuilder} instead\n\t */\n\t@Deprecated(since = \"1808\", forRemoval=true)\n\tProductConfigMessage createInstanceOfProductConfigMessage(String message, String key, ProductConfigMessageSeverity severity,\n\t\t\tProductConfigMessageSource source, ProductConfigMessageSourceSubType subType);\n\n\n\t/**\n\t * Create an instance of the <code>VariantConditionModel</code>\n\t *\n\t * @return an instance of the variant condition model\n\t */\n\tVariantConditionModel createInstanceOfVariantConditionModel();\n\n\t/**\n\t * @return class name of the {@link PriceSummaryModel} implementation\n\t */\n\tString getTargetClassNamePriceSummaryModel();\n\n\n\t/**\n\t * @return class name of the {@link PriceModel} implementation\n\t */\n\tString getTargetClassNamePriceModel();\n\n\t/**\n\t * @return class name of the {@link CsticGroupModel} implementation\n\t */\n\tString getTargetClassNameCsticGroupModel();\n\n\t/**\n\t * @return class name of the {@link CsticValueModel} implementation\n\t */\n\tString getTargetClassNameCsticValueModel();\n\n\t/**\n\t * @return class name of the {@link CsticModel} implementation\n\t */\n\tString getTargetClassNameCsticModel();\n\n\t/**\n\t * @return class name of the {@link InstanceModel} implementation\n\t */\n\tString getTargetClassNameInstanceModel();\n\n\t/**\n\t * @return class name of the {@link ConfigModel} implementation\n\t */\n\tString getTargetClassNameConfigModel();\n\n\t/**\n\t * @return class name of the {@link SolvableConflictModel} implementation\n\t */\n\tString getTargetClassNameSolvableConflictModel();\n\n\t/**\n\t * @return class name of the {@link ConflictingAssumptionModel} implementation\n\t */\n\tString getTargetClassNameConflictingAssumptionModel();\n\n\t/**\n\t * @return class name of the {@link VariantConditionModel} implementation\n\t */\n\tString getTargetClassNameVariantConditionModel();\n}", "public static Factory factory() {\n return text::new;\n }", "public static PetrinetmodelFactory init() {\r\n\t\ttry {\r\n\t\t\tPetrinetmodelFactory thePetrinetmodelFactory = (PetrinetmodelFactory)EPackage.Registry.INSTANCE.getEFactory(PetrinetmodelPackage.eNS_URI);\r\n\t\t\tif (thePetrinetmodelFactory != null) {\r\n\t\t\t\treturn thePetrinetmodelFactory;\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception exception) {\r\n\t\t\tEcorePlugin.INSTANCE.log(exception);\r\n\t\t}\r\n\t\treturn new PetrinetmodelFactoryImpl();\r\n\t}", "public static final Factory<Edge> getFactory() {\r\n\t\treturn new Factory<Edge> () {\r\n\t\t\tprivate int nextId = 0;\r\n\t\t\tpublic Edge create() {\r\n\t\t\t\treturn new Edge(nextId++);\r\n\t\t\t}\r\n\t\t};\r\n\t}", "public Factory getFactory()\r\n {\r\n if( m_factory != null ) return m_factory;\r\n m_factory = FactoryHelper.narrow( m_primary );\r\n return m_factory;\r\n }", "public static Factory factory() {\n return Document_print::new;\n }", "public static StaticFactoryInsteadOfConstructors create(){\n return new StaticFactoryInsteadOfConstructors();\n }", "interface Factory {\r\n /**\r\n * Create an instance of an agenda view model with the given saved\r\n * instance state.\r\n *\r\n * @param savedInstanceState previously saved state of the view model\r\n * @return the created agenda view model\r\n */\r\n AgendaViewModel create(Bundle savedInstanceState);\r\n }", "public static QuizFactory getFactoryInstance(){\n\t\tif (defQuizFactory == null)\n\t\t\tdefQuizFactory = new DefaultQuizFactory();\n\t\t\n\t\treturn defQuizFactory;\n\t}", "private ModelFactory _getModelFactory(Class<?> type) {\n \tif (_typeCache.containsKey(type))\r\n \t{\r\n \t\treturn _typeCache.get(type);\r\n \t} else\r\n \t{\r\n \t\tIterator<Class<?>> iterator = _registeredModelFactories.keySet().iterator();\r\n \t\t\r\n \t\tModelFactory modelFactory = null;\r\n \t\t\r\n \t\t//loop through all registered model types to find a modelFactory\r\n \t\twhile (iterator.hasNext())\r\n \t\t{\r\n \t\t\tClass<?> targetType = iterator.next();\r\n \t\t\t\r\n \t\t\t//check if the object is eligible for wrapping by the current registration \r\n \t\t\tif (targetType.isAssignableFrom(type))\r\n \t\t\t{\r\n \t\t\t\tmodelFactory = _registeredModelFactories.get(targetType);\r\n \t\t\t\t\r\n \t\t\t\tbreak;\r\n \t\t\t}\r\n \t\t}\r\n \t\t\r\n \t\t//add the type to the cache and wrap the object\r\n \t\t_typeCache.put(type, modelFactory);\r\n \t\treturn modelFactory;\r\n \t}\r\n\t\t\r\n\t}", "ArchitecturalModelFactory getArchitecturalModelFactory();", "public static MoneyFactory getInstance() {\n\t\treturn factory;\n\t}", "@objid (\"0078ca26-5a20-10c8-842f-001ec947cd2a\")\n GenericFactory getGenericFactory();", "public static SerializerFactory getInstance() {\r\n return INSTANCE;\r\n }", "public abstract ProductFactory getFactory();", "public static BookFactory getInstance()\r\n {\r\n \r\n if(bookFactoryInstance == null)\r\n {\r\n bookFactoryInstance = new BookFactory();\r\n }\r\n \r\n return bookFactoryInstance;\r\n }", "Factory<? extends T> buildPersonFactory(String type);", "public static StaticFactoryInsteadOfConstructors newInstance() {\n return new StaticFactoryInsteadOfConstructors();\n }", "@NotNull\n public static <E> CollectionFactory<E, ?, MutableArray<E>> factory() {\n return (Factory<E>) FACTORY;\n }", "protected Object buildFactory() throws DescriptorException {\n if (this.getFactoryClass() == null) {\n return null;\n }\n\n // If there is a factory class specified but no factory method name,\n // instantiate the factory using the default constructor\n if (this.getFactoryMethodName() == null) {\n return this.buildFactoryUsingDefaultConstructor();\n }\n\n // If both the factory class and the factory method name have been specified,\n // instantiate the factory by invoking the static factory method\n return this.buildFactoryUsingStaticMethod();\n }", "public static <E> @NotNull CollectionFactory<E, ?, MutableArray<E>> factory() {\n return (Factory<E>) FACTORY;\n }", "public CreationWithParamsFactory getCreationFactory(Class aClass) {\n\t\treturn new CreationWithParamsFactory(aClass);\n\t}", "PlanningFactory getFactory();", "public interface DebuggerModelFactory\n\t\textends ExtensionPoint, ConfigurableFactory<DebuggerObjectModel> {\n\n\t/**\n\t * Get the priority for selecting this factory by default for the given program\n\t * \n\t * <p>\n\t * A default factory is selected when the current factory and the last successful factory are\n\t * incompatible with the current program, or if this is the very first time connecting. Of those\n\t * factories compatible with the current program, the one with the highest priority (larger\n\t * numerical value) is selected. If none are compatible, then the current selection is left as\n\t * is.\n\t * \n\t * <p>\n\t * Note that negative priorities imply the factory is not compatible with the given program or\n\t * local system.\n\t * \n\t * @param program the current program, or null\n\t * @return the priority, higher values mean higher priority\n\t */\n\tdefault int getPriority(Program program) {\n\t\treturn 0;\n\t}\n\n\t/**\n\t * Check if this factory is compatible with the local system and given program.\n\t * \n\t * <p>\n\t * <b>WARNING:</b> Implementations should not likely override this method. If one does, it must\n\t * behave in the same manner as given in this default implementation: If\n\t * {@link #getPriority(Program)} would return a non-negative result for the program, then this\n\t * factory is compatible with that program. If negative, this factory is not compatible.\n\t * \n\t * @param program the current program, or null\n\t * @return true if compatible\n\t */\n\tdefault boolean isCompatible(Program program) {\n\t\treturn getPriority(program) >= 0;\n\t}\n}", "Class<?> getFactoryClass();", "public interface Factory<T> {\n\n /**\n * Returns an instance of the required type. The implementation determines whether or not a new or cached\n * instance is created every time this method is called.\n *\n * @return an instance of the required type.\n */\n T getInstance();\n}", "TransformFactory getFactory();", "public static VersionFactory getInstance() {\n\t\treturn SingletonHolder.versionFactory;\n\t}", "GramaticaFactory getGramaticaFactory();", "BusinessEntityFactory getBusinessEntityFactory();", "public ParsedmodelFactoryImpl() {\n\t\tsuper();\n\t}", "public interface Factory<T> {\n T create();\n}", "public static ControlFactory init() {\n\t\ttry {\n\t\t\tControlFactory theControlFactory = (ControlFactory)EPackage.Registry.INSTANCE.getEFactory(\"http://opaeum.org/uimetamodel/control/1.0\"); \n\t\t\tif (theControlFactory != null) {\n\t\t\t\treturn theControlFactory;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new ControlFactoryImpl();\n\t}", "public static EditorFactory init() {\n\t\ttry {\n\t\t\tEditorFactory theEditorFactory = (EditorFactory)EPackage.Registry.INSTANCE.getEFactory(\"http://opaeum.org/uimetamodel/editor/1.0\"); \n\t\t\tif (theEditorFactory != null) {\n\t\t\t\treturn theEditorFactory;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new EditorFactoryImpl();\n\t}", "public static IInputFactory getInputFactory() {\n\n return m_InputFactory;\n\n }", "default Factory<T> toFactory() {\n throw new UnsupportedOperationException();\n }", "public static Factory factory() {\n return ext_xspf::new;\n }", "public interface Factory {\r\n}", "public Factory() {\n this(getInternalClient());\n }", "QuestionnaireFactory getQuestionnaireFactory();", "public SqliteModelFactoryImpl()\n {\n super();\n }", "public OpenapiAdapterFactory() {\n\t\tif (modelPackage == null) {\n\t\t\tmodelPackage = OpenapiPackage.eINSTANCE;\n\t\t}\n\t}", "public static EntityFactory init() {\n\t\ttry {\n\t\t\tEntityFactory theEntityFactory = (EntityFactory)EPackage.Registry.INSTANCE.getEFactory(EntityPackage.eNS_URI);\n\t\t\tif (theEntityFactory != null) {\n\t\t\t\treturn theEntityFactory;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new EntityFactoryImpl();\n\t}", "public Object run(ModelFactory factory);", "opmodelFactory getopmodelFactory();", "public interface Factory {\n Product create();\n}", "@Override\n\tpublic FMLRTVirtualModelInstanceModelFactory makeModelFactory(FMLRTVirtualModelInstanceResource resource,\n\t\t\tTechnologyContextManager<FMLRTTechnologyAdapter> technologyContextManager) throws ModelDefinitionException {\n\t\treturn new FMLRTVirtualModelInstanceModelFactory(resource,\n\t\t\t\ttechnologyContextManager.getTechnologyAdapter().getServiceManager().getEditingContext(),\n\t\t\t\ttechnologyContextManager.getTechnologyAdapter().getServiceManager().getTechnologyAdapterService());\n\t}", "public static ModelSearchDirectoryScopeFactory getInstance()\n {\n return instance == null ? instance = new ModelSearchDirectoryScopeFactory() : instance;\n }", "static DataFrameFactory factory() {\n return DataFrameFactory.getInstance();\n }", "public static ResultFactory init() {\n\t\ttry {\n\t\t\tResultFactory theResultFactory = (ResultFactory)EPackage.Registry.INSTANCE.getEFactory(\"http://www.eclipselabs.org/emftriple/result\"); \n\t\t\tif (theResultFactory != null) {\n\t\t\t\treturn theResultFactory;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new ResultFactoryImpl();\n\t}", "FactoryBean getFactoryBean();", "private EntityFactory() {}", "GamesFactory getGamesFactory();", "public interface ModelFactory <ModelObject> {\n public void createElement(ModelObject object);\n}", "public static DaoFactory getInstance(){\n\t\tif(daoFactory==null){\n\t\t\tdaoFactory = new DaoFactory();\n\t\t}\n\t\treturn daoFactory;\n\t}", "public interface InstanceFactory {\n\n\t<T> T getInstance(Class<T> type);\n}", "public UsermodelFactoryImpl() {\r\n\t\tsuper();\r\n\t}", "public Factory() {\n\t\tclassMap = new TreeMap<String,Class<T> >();\n\t}", "@Produces @IWSBean\n public ServiceFactory produceServiceFactory() {\n return new ServiceFactory(iwsEntityManager, notifications, settings);\n }", "StoriesFactory getStoriesFactory();", "GamifiedmodellingobjectmodelFactory getGamifiedmodellingobjectmodelFactory();", "public static ViewFactory getFactory() {\r\n return new ViewFactory() {\r\n @Override\r\n public boolean canDisplay(CellRenderer renderer) {\r\n return renderer instanceof SwingCellRenderer;\r\n }\r\n\r\n @Override\r\n public View getView(CellRenderer renderer) {\r\n return new SwingView((SwingCellRenderer)renderer);\r\n }\r\n };\r\n }", "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "public static synchronized ANSSRegionsFactory getFactory() {\n return getFactory(true);\n }", "public static ContaCapitalCadastroDaoFactory getInstance() {\n\t\treturn factory;\n\t}", "public static MystFactory init()\r\n {\r\n try\r\n {\r\n MystFactory theMystFactory = (MystFactory)EPackage.Registry.INSTANCE.getEFactory(MystPackage.eNS_URI);\r\n if (theMystFactory != null)\r\n {\r\n return theMystFactory;\r\n }\r\n }\r\n catch (Exception exception)\r\n {\r\n EcorePlugin.INSTANCE.log(exception);\r\n }\r\n return new MystFactoryImpl();\r\n }", "public static AutomatizacionrevisionFactory init() {\r\n\t\ttry {\r\n\t\t\tAutomatizacionrevisionFactory theAutomatizacionrevisionFactory = (AutomatizacionrevisionFactory)EPackage.Registry.INSTANCE.getEFactory(AutomatizacionrevisionPackage.eNS_URI);\r\n\t\t\tif (theAutomatizacionrevisionFactory != null) {\r\n\t\t\t\treturn theAutomatizacionrevisionFactory;\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception exception) {\r\n\t\t\tEcorePlugin.INSTANCE.log(exception);\r\n\t\t}\r\n\t\treturn new AutomatizacionrevisionFactoryImpl();\r\n\t}", "public RulesAdapterFactory()\n {\n if (modelPackage == null)\n {\n modelPackage = RulesPackage.eINSTANCE;\n }\n }", "MakeflowFactory getMakeflowFactory();", "public final Method getFactoryMethod() {\n\treturn factoryMethod;\n }", "QuestionarioFactory getQuestionarioFactory();", "public Factory() {\n\t\tsuper();\n\t}", "public static BackendFactory getInstance() {\n return INSTANCE;\n }", "EisModel createEisModel();", "Factory getFactory()\n {\n return configfile.factory;\n }", "public static PedidoFactory init() {\n\t\ttry {\n\t\t\tPedidoFactory thePedidoFactory = (PedidoFactory) EPackage.Registry.INSTANCE\n\t\t\t\t\t.getEFactory(PedidoPackage.eNS_URI);\n\t\t\tif (thePedidoFactory != null) {\n\t\t\t\treturn thePedidoFactory;\n\t\t\t}\n\t\t} catch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new PedidoFactoryImpl();\n\t}", "public static FieldOfActivityAnnotationsFactory init() {\n\t\ttry {\n\t\t\tFieldOfActivityAnnotationsFactory theFieldOfActivityAnnotationsFactory = (FieldOfActivityAnnotationsFactory)EPackage.Registry.INSTANCE.getEFactory(FieldOfActivityAnnotationsPackage.eNS_URI);\n\t\t\tif (theFieldOfActivityAnnotationsFactory != null) {\n\t\t\t\treturn theFieldOfActivityAnnotationsFactory;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new FieldOfActivityAnnotationsFactoryImpl();\n\t}", "public static ProyectoFactory init() {\r\n\t\ttry {\r\n\t\t\tProyectoFactory theProyectoFactory = (ProyectoFactory)EPackage.Registry.INSTANCE.getEFactory(ProyectoPackage.eNS_URI);\r\n\t\t\tif (theProyectoFactory != null) {\r\n\t\t\t\treturn theProyectoFactory;\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception exception) {\r\n\t\t\tEcorePlugin.INSTANCE.log(exception);\r\n\t\t}\r\n\t\treturn new ProyectoFactoryImpl();\r\n\t}", "public static SerializerFactory createFactory(Class factory, \n Class javaType, \n QName xmlType) {\n if (factory == null) {\n return null;\n }\n\n try {\n if (factory == BeanSerializerFactory.class) {\n return new BeanSerializerFactory(javaType, xmlType);\n } else if (factory == SimpleSerializerFactory.class) {\n return new SimpleSerializerFactory(javaType, xmlType);\n } else if (factory == EnumSerializerFactory.class) {\n return new EnumSerializerFactory(javaType, xmlType);\n } else if (factory == ElementSerializerFactory.class) {\n return new ElementSerializerFactory();\n } else if (factory == SimpleListSerializerFactory.class) {\n return new SimpleListSerializerFactory(javaType, xmlType);\n }\n } catch (Exception e) {\n if (log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n return null;\n }\n\n SerializerFactory sf = null;\n try {\n Method method = \n factory.getMethod(\"create\", CLASS_QNAME_CLASS);\n sf = (SerializerFactory) \n method.invoke(null, \n new Object[] {javaType, xmlType});\n } catch (NoSuchMethodException e) {\n if(log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n } catch (IllegalAccessException e) {\n if(log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n } catch (InvocationTargetException e) {\n if(log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n }\n\n if (sf == null) {\n try {\n Constructor constructor = \n factory.getConstructor(CLASS_QNAME_CLASS);\n sf = (SerializerFactory) \n constructor.newInstance(\n new Object[] {javaType, xmlType});\n } catch (NoSuchMethodException e) {\n if(log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n } catch (InstantiationException e) {\n if(log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n } catch (IllegalAccessException e) {\n if(log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n } catch (InvocationTargetException e) {\n if(log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n }\n }\n \n if (sf == null) {\n try {\n sf = (SerializerFactory) factory.newInstance();\n } catch (InstantiationException e) {\n } catch (IllegalAccessException e) {}\n }\n return sf;\n }", "public static BehaviourFactory init() {\n\t\ttry {\n\t\t\tBehaviourFactory theBehaviourFactory = (BehaviourFactory)EPackage.Registry.INSTANCE.getEFactory(BehaviourPackage.eNS_URI);\n\t\t\tif (theBehaviourFactory != null) {\n\t\t\t\treturn theBehaviourFactory;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new BehaviourFactoryImpl();\n\t}" ]
[ "0.7365279", "0.7147646", "0.7042554", "0.66732574", "0.66433585", "0.6542524", "0.6426967", "0.6378293", "0.63225335", "0.62815636", "0.6185782", "0.61756575", "0.6168043", "0.6150566", "0.61496305", "0.61323225", "0.6131665", "0.6126879", "0.61266255", "0.6124763", "0.611574", "0.6080062", "0.6079072", "0.6069701", "0.606106", "0.60432273", "0.6040082", "0.602699", "0.599846", "0.59656143", "0.5965121", "0.59528726", "0.5941645", "0.5922013", "0.5916958", "0.59091014", "0.5882913", "0.58559376", "0.5853658", "0.5838183", "0.58344126", "0.58279663", "0.58176357", "0.5797083", "0.578828", "0.5774533", "0.57581764", "0.57578504", "0.5749145", "0.57395446", "0.5737685", "0.57305205", "0.57303464", "0.5721073", "0.5719083", "0.5717248", "0.5716616", "0.5715852", "0.5712433", "0.56975406", "0.5696553", "0.56871223", "0.5685736", "0.56819576", "0.56808263", "0.56795985", "0.5677477", "0.56679773", "0.56661683", "0.5663626", "0.5662717", "0.56469303", "0.5644459", "0.564329", "0.5627701", "0.5623939", "0.56228966", "0.56228966", "0.56228966", "0.56228966", "0.56228966", "0.56228966", "0.56228966", "0.5619918", "0.56169754", "0.56132245", "0.56032956", "0.55978554", "0.5588169", "0.5582233", "0.5580262", "0.5578471", "0.5572285", "0.55701214", "0.55632585", "0.55620843", "0.5550349", "0.5545473", "0.5541844", "0.5540196" ]
0.5840914
39
Defines literals for the meta objects that represent each class, each feature of each class, each enum, and each data type
interface Literals { /** * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.ModelImpl <em>Model</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.ModelImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getModel() * @generated */ EClass MODEL = eINSTANCE.getModel(); /** * The meta object literal for the '<em><b>Categories</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference MODEL__CATEGORIES = eINSTANCE.getModel_Categories(); /** * The meta object literal for the '<em><b>Rule</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference MODEL__RULE = eINSTANCE.getModel_Rule(); /** * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.CategoryImpl <em>Category</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.CategoryImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getCategory() * @generated */ EClass CATEGORY = eINSTANCE.getCategory(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute CATEGORY__NAME = eINSTANCE.getCategory_Name(); /** * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.RuleImpl <em>Rule</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.RuleImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getRule() * @generated */ EClass RULE = eINSTANCE.getRule(); /** * The meta object literal for the '<em><b>First</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference RULE__FIRST = eINSTANCE.getRule_First(); /** * The meta object literal for the '<em><b>Next</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference RULE__NEXT = eINSTANCE.getRule_Next(); /** * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.RuleExpressionImpl <em>Rule Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.RuleExpressionImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getRuleExpression() * @generated */ EClass RULE_EXPRESSION = eINSTANCE.getRuleExpression(); /** * The meta object literal for the '<em><b>Test</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference RULE_EXPRESSION__TEST = eINSTANCE.getRuleExpression_Test(); /** * The meta object literal for the '<em><b>Ratio</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference RULE_EXPRESSION__RATIO = eINSTANCE.getRuleExpression_Ratio(); /** * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.TestExpressionImpl <em>Test Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.TestExpressionImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getTestExpression() * @generated */ EClass TEST_EXPRESSION = eINSTANCE.getTestExpression(); /** * The meta object literal for the '<em><b>Category</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference TEST_EXPRESSION__CATEGORY = eINSTANCE.getTestExpression_Category(); /** * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.RatioExpressionImpl <em>Ratio Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.RatioExpressionImpl * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getRatioExpression() * @generated */ EClass RATIO_EXPRESSION = eINSTANCE.getRatioExpression(); /** * The meta object literal for the '<em><b>Ratio</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute RATIO_EXPRESSION__RATIO = eINSTANCE.getRatioExpression_Ratio(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void generateCoreTypes() {\n\t\tvoidDt = new VoidDataType(progDataTypes);\n\t\tArrayList<TypeMap> typeList = new ArrayList<>();\n\t\ttypeList.add(new TypeMap(DataType.DEFAULT, \"undefined\", \"unknown\", false, false));\n\n\t\tfor (DataType dt : Undefined.getUndefinedDataTypes()) {\n\t\t\ttypeList.add(new TypeMap(displayLanguage, dt, \"unknown\", false, false));\n\t\t}\n\t\tfor (DataType dt : AbstractIntegerDataType.getSignedDataTypes(progDataTypes)) {\n\t\t\ttypeList.add(\n\t\t\t\tnew TypeMap(displayLanguage, dt.clone(progDataTypes), \"int\", false, false));\n\t\t}\n\t\tfor (DataType dt : AbstractIntegerDataType.getUnsignedDataTypes(progDataTypes)) {\n\t\t\ttypeList.add(\n\t\t\t\tnew TypeMap(displayLanguage, dt.clone(progDataTypes), \"uint\", false, false));\n\t\t}\n\t\tfor (DataType dt : AbstractFloatDataType.getFloatDataTypes(progDataTypes)) {\n\t\t\ttypeList.add(new TypeMap(displayLanguage, dt, \"float\", false, false));\n\t\t}\n\n\t\ttypeList.add(new TypeMap(DataType.DEFAULT, \"code\", \"code\", false, false));\n\n\t\t// Set \"char\" datatype\n\t\tDataType charDataType = new CharDataType(progDataTypes);\n\n\t\tString charMetatype = null;\n\t\tboolean isChar = false;\n\t\tboolean isUtf = false;\n\t\tif (charDataType instanceof CharDataType && ((CharDataType) charDataType).isSigned()) {\n\t\t\tcharMetatype = \"int\";\n\t\t}\n\t\telse {\n\t\t\tcharMetatype = \"uint\";\n\t\t}\n\t\tif (charDataType.getLength() == 1) {\n\t\t\tisChar = true;\n\t\t}\n\t\telse {\n\t\t\tisUtf = true;\n\t\t}\n\t\ttypeList.add(new TypeMap(displayLanguage, charDataType, charMetatype, isChar, isUtf));\n\n\t\t// Set up the \"wchar_t\" datatype\n\t\tWideCharDataType wideDataType = new WideCharDataType(progDataTypes);\n\t\ttypeList.add(new TypeMap(displayLanguage, wideDataType, \"int\", false, true));\n\n\t\tif (wideDataType.getLength() != 2) {\n\t\t\ttypeList.add(new TypeMap(displayLanguage, new WideChar16DataType(progDataTypes), \"int\",\n\t\t\t\tfalse, true));\n\t\t}\n\t\tif (wideDataType.getLength() != 4) {\n\t\t\ttypeList.add(new TypeMap(displayLanguage, new WideChar32DataType(progDataTypes), \"int\",\n\t\t\t\tfalse, true));\n\t\t}\n\n\t\tDataType boolDataType = new BooleanDataType(progDataTypes);\n\t\ttypeList.add(new TypeMap(displayLanguage, boolDataType, \"bool\", false, false));\n\n\t\tcoreBuiltin = new TypeMap[typeList.size()];\n\t\ttypeList.toArray(coreBuiltin);\n\t}", "public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}", "private void fillEmbeddedTypes() {\n List<String> otherClassesNames = new ArrayList<>(PRIMITIVE_TYPES);\n otherClassesNames.add(\"[]\");\n otherClassesNames.add(\"...\");\n\n List<TypeConstructor> otherClasses = new ArrayList<>();\n for (String type : otherClassesNames) {\n Classifier classifier = new Classifier(type, Language.JAVA, \"\", null, new ArrayList<MemberEntity>(), \"\");\n otherClasses.add(classifier);\n QualifiedName name = new QualifiedName(OTHER_PACKAGE, type);\n classes.put(name, classifier);\n parameters.put(name, new ParametersDescription());\n superTypes.put(name, new ArrayList<JavaType>());\n createClassMaps(name);\n }\n\n PackageEntity otherPackage = new PackageEntity(OTHER_PACKAGE, Language.JAVA, otherClasses,\n new ArrayList<MemberEntity>(), new ArrayList<PackageEntity>(), \"\", null);\n packages.put(OTHER_PACKAGE, otherPackage);\n\n for (TypeConstructor otherClass : otherClasses) {\n otherClass.setContainingPackage(otherPackage);\n }\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.TestObjectImpl <em>Test Object</em>}\n\t\t * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestObjectImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getTestObject()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST_OBJECT = eINSTANCE.getTestObject();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Number</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__NUMBER = eINSTANCE.getTestObject_Number();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>D</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__D = eINSTANCE.getTestObject_D();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>F</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__F = eINSTANCE.getTestObject_F();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Date</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__DATE = eINSTANCE.getTestObject_Date();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Text</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__TEXT = eINSTANCE.getTestObject_Text();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parent</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_OBJECT__PARENT = eINSTANCE.getTestObject_Parent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>B</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__B = eINSTANCE.getTestObject_B();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ac</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__AC = eINSTANCE.getTestObject_Ac();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Unit</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__UNIT = eINSTANCE.getTestObject_Unit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Time Unit</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__TIME_UNIT = eINSTANCE.getTestObject_TimeUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Byte</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__BYTE = eINSTANCE.getTestObject_Byte();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Short</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__SHORT = eINSTANCE.getTestObject_Short();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Long</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__LONG = eINSTANCE.getTestObject_Long();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Big Decimal</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__BIG_DECIMAL = eINSTANCE.getTestObject_BigDecimal();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Big Integer</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__BIG_INTEGER = eINSTANCE.getTestObject_BigInteger();\n\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.SubTestObjectImpl\n\t\t * <em>Sub Test Object</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.SubTestObjectImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getSubTestObject()\n\t\t * @generated\n\t\t */\n\t\tEClass SUB_TEST_OBJECT = eINSTANCE.getSubTestObject();\n\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.TestContainerImpl\n\t\t * <em>Test Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestContainerImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getTestContainer()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST_CONTAINER = eINSTANCE.getTestContainer();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Children</b></em>' reference list feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_CONTAINER__CHILDREN = eINSTANCE.getTestContainer_Children();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Current</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_CONTAINER__CURRENT = eINSTANCE.getTestContainer_Current();\n\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.AmountAndCurrencyImpl\n\t\t * <em>Amount And Currency</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.AmountAndCurrencyImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getAmountAndCurrency()\n\t\t * @generated\n\t\t */\n\t\tEClass AMOUNT_AND_CURRENCY = eINSTANCE.getAmountAndCurrency();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Amount</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute AMOUNT_AND_CURRENCY__AMOUNT = eINSTANCE.getAmountAndCurrency_Amount();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Currency</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute AMOUNT_AND_CURRENCY__CURRENCY = eINSTANCE.getAmountAndCurrency_Currency();\n\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.TestGridImpl <em>Test Grid</em>}'\n\t\t * class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestGridImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getTestGrid()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST_GRID = eINSTANCE.getTestGrid();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Columns</b></em>' reference list feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID__COLUMNS = eINSTANCE.getTestGrid_Columns();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rows</b></em>' reference list feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID__ROWS = eINSTANCE.getTestGrid_Rows();\n\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.TestGridColumnImpl\n\t\t * <em>Test Grid Column</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestGridColumnImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getTestGridColumn()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST_GRID_COLUMN = eINSTANCE.getTestGridColumn();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Grid</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID_COLUMN__GRID = eINSTANCE.getTestGridColumn_Grid();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_GRID_COLUMN__NAME = eINSTANCE.getTestGridColumn_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Cells</b></em>' reference list feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID_COLUMN__CELLS = eINSTANCE.getTestGridColumn_Cells();\n\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.TestGridRowImpl\n\t\t * <em>Test Grid Row</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestGridRowImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getTestGridRow()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST_GRID_ROW = eINSTANCE.getTestGridRow();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Grid</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID_ROW__GRID = eINSTANCE.getTestGridRow_Grid();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Number</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_GRID_ROW__NUMBER = eINSTANCE.getTestGridRow_Number();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Cells</b></em>' reference list feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID_ROW__CELLS = eINSTANCE.getTestGridRow_Cells();\n\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.TestGridCellImpl\n\t\t * <em>Test Grid Cell</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestGridCellImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getTestGridCell()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST_GRID_CELL = eINSTANCE.getTestGridCell();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Details</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_GRID_CELL__DETAILS = eINSTANCE.getTestGridCell_Details();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Price</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_GRID_CELL__PRICE = eINSTANCE.getTestGridCell_Price();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Column</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID_CELL__COLUMN = eINSTANCE.getTestGridCell_Column();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Row</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID_CELL__ROW = eINSTANCE.getTestGridCell_Row();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.rcpcompany.uibinding.tests.model.WeightUnit\n\t\t * <em>Weight Unit</em>}' enum. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.WeightUnit\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getWeightUnit()\n\t\t * @generated\n\t\t */\n\t\tEEnum WEIGHT_UNIT = eINSTANCE.getWeightUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.rcpcompany.uibinding.tests.model.TimeUnit\n\t\t * <em>Time Unit</em>}' enum. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.TimeUnit\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getTimeUnit()\n\t\t * @generated\n\t\t */\n\t\tEEnum TIME_UNIT = eINSTANCE.getTimeUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>EDate</em>' data type. <!-- begin-user-doc --> <!--\n\t\t * end-user-doc -->\n\t\t * \n\t\t * @see java.util.Date\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getEDate()\n\t\t * @generated\n\t\t */\n\t\tEDataType EDATE = eINSTANCE.getEDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>EBig Decimal</em>' data type. <!-- begin-user-doc\n\t\t * --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see java.math.BigDecimal\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getEBigDecimal()\n\t\t * @generated\n\t\t */\n\t\tEDataType EBIG_DECIMAL = eINSTANCE.getEBigDecimal();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>EBig Integer</em>' data type. <!-- begin-user-doc\n\t\t * --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see java.math.BigInteger\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getEBigInteger()\n\t\t * @generated\n\t\t */\n\t\tEDataType EBIG_INTEGER = eINSTANCE.getEBigInteger();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Amount And Currency Struct</em>' data type. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.AmountAndCurrencyOld\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getAmountAndCurrencyStruct()\n\t\t * @generated\n\t\t */\n\t\tEDataType AMOUNT_AND_CURRENCY_STRUCT = eINSTANCE.getAmountAndCurrencyStruct();\n\n\t}", "private void setupPrimitiveTypes()\n {\n primitiveTypes.add(INTEGER_TYPE);\n primitiveTypes.add(FLOAT_TYPE);\n primitiveTypes.add(DOUBLE_TYPE);\n primitiveTypes.add(STRING_TYPE);\n primitiveTypes.add(BOOL_TYPE);\n primitiveTypes.add(TIMESTAMP_TYPE);\n }", "interface Literals\n {\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureModelImpl <em>Feature Model</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureModelImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureModel()\n * @generated\n */\n EClass FEATURE_MODEL = eINSTANCE.getFeatureModel();\n\n /**\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE_MODEL__ID = eINSTANCE.getFeatureModel_Id();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE_MODEL__NAME = eINSTANCE.getFeatureModel_Name();\n\n /**\n * The meta object literal for the '<em><b>Features</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_MODEL__FEATURES = eINSTANCE.getFeatureModel_Features();\n\n /**\n * The meta object literal for the '<em><b>Primitives</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_MODEL__PRIMITIVES = eINSTANCE.getFeatureModel_Primitives();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureModelPrimitiveImpl <em>Feature Model Primitive</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureModelPrimitiveImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureModelPrimitive()\n * @generated\n */\n EClass FEATURE_MODEL_PRIMITIVE = eINSTANCE.getFeatureModelPrimitive();\n\n /**\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE_MODEL_PRIMITIVE__ID = eINSTANCE.getFeatureModelPrimitive_Id();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE_MODEL_PRIMITIVE__NAME = eINSTANCE.getFeatureModelPrimitive_Name();\n\n /**\n * The meta object literal for the '<em><b>Configuration Source</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE_MODEL_PRIMITIVE__CONFIGURATION_SOURCE = eINSTANCE.getFeatureModelPrimitive_ConfigurationSource();\n\n /**\n * The meta object literal for the '<em><b>Explanations</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_MODEL_PRIMITIVE__EXPLANATIONS = eINSTANCE.getFeatureModelPrimitive_Explanations();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasSubfeatureImpl <em>Feature Has Subfeature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasSubfeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureHasSubfeature()\n * @generated\n */\n EClass FEATURE_HAS_SUBFEATURE = eINSTANCE.getFeatureHasSubfeature();\n\n /**\n * The meta object literal for the '<em><b>Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_HAS_SUBFEATURE__PARENT = eINSTANCE.getFeatureHasSubfeature_Parent();\n\n /**\n * The meta object literal for the '<em><b>Subfeature</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_HAS_SUBFEATURE__SUBFEATURE = eINSTANCE.getFeatureHasSubfeature_Subfeature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.UndirectedRelationshipImpl <em>Undirected Relationship</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.UndirectedRelationshipImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getUndirectedRelationship()\n * @generated\n */\n EClass UNDIRECTED_RELATIONSHIP = eINSTANCE.getUndirectedRelationship();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.DirectedRelationshipImpl <em>Directed Relationship</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.DirectedRelationshipImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getDirectedRelationship()\n * @generated\n */\n EClass DIRECTED_RELATIONSHIP = eINSTANCE.getDirectedRelationship();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureGroupImpl <em>Feature Group</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureGroupImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureGroup()\n * @generated\n */\n EClass FEATURE_GROUP = eINSTANCE.getFeatureGroup();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureImpl <em>Feature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeature()\n * @generated\n */\n EClass FEATURE = eINSTANCE.getFeature();\n\n /**\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE__ID = eINSTANCE.getFeature_Id();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE__NAME = eINSTANCE.getFeature_Name();\n\n /**\n * The meta object literal for the '<em><b>Group Has Parent</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__GROUP_HAS_PARENT = eINSTANCE.getFeature_GroupHasParent();\n\n /**\n * The meta object literal for the '<em><b>Group Has Child</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__GROUP_HAS_CHILD = eINSTANCE.getFeature_GroupHasChild();\n\n /**\n * The meta object literal for the '<em><b>Feature Has Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__FEATURE_HAS_PARENT = eINSTANCE.getFeature_FeatureHasParent();\n\n /**\n * The meta object literal for the '<em><b>Feature Has Subfeature</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__FEATURE_HAS_SUBFEATURE = eINSTANCE.getFeature_FeatureHasSubfeature();\n\n /**\n * The meta object literal for the '<em><b>Selected Feature</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__SELECTED_FEATURE = eINSTANCE.getFeature_SelectedFeature();\n\n /**\n * The meta object literal for the '<em><b>Eliminated Feature</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__ELIMINATED_FEATURE = eINSTANCE.getFeature_EliminatedFeature();\n\n /**\n * The meta object literal for the '<em><b>Undirected Relationships</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__UNDIRECTED_RELATIONSHIPS = eINSTANCE.getFeature_UndirectedRelationships();\n\n /**\n * The meta object literal for the '<em><b>Incoming Directed Relationships</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__INCOMING_DIRECTED_RELATIONSHIPS = eINSTANCE.getFeature_IncomingDirectedRelationships();\n\n /**\n * The meta object literal for the '<em><b>Outgoing Directed Relationships</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__OUTGOING_DIRECTED_RELATIONSHIPS = eINSTANCE.getFeature_OutgoingDirectedRelationships();\n\n /**\n * The meta object literal for the '<em><b>Feature Is Root</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__FEATURE_IS_ROOT = eINSTANCE.getFeature_FeatureIsRoot();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasParentImpl <em>Group Has Parent</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasParentImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getGroupHasParent()\n * @generated\n */\n EClass GROUP_HAS_PARENT = eINSTANCE.getGroupHasParent();\n\n /**\n * The meta object literal for the '<em><b>Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_PARENT__PARENT = eINSTANCE.getGroupHasParent_Parent();\n\n /**\n * The meta object literal for the '<em><b>Group</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_PARENT__GROUP = eINSTANCE.getGroupHasParent_Group();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasChildImpl <em>Group Has Child</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasChildImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getGroupHasChild()\n * @generated\n */\n EClass GROUP_HAS_CHILD = eINSTANCE.getGroupHasChild();\n\n /**\n * The meta object literal for the '<em><b>Child</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_CHILD__CHILD = eINSTANCE.getGroupHasChild_Child();\n\n /**\n * The meta object literal for the '<em><b>Group</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_CHILD__GROUP = eINSTANCE.getGroupHasChild_Group();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.SelectedFeatureImpl <em>Selected Feature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.SelectedFeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getSelectedFeature()\n * @generated\n */\n EClass SELECTED_FEATURE = eINSTANCE.getSelectedFeature();\n\n /**\n * The meta object literal for the '<em><b>Feature</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SELECTED_FEATURE__FEATURE = eINSTANCE.getSelectedFeature_Feature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.EliminatedFeatureImpl <em>Eliminated Feature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.EliminatedFeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getEliminatedFeature()\n * @generated\n */\n EClass ELIMINATED_FEATURE = eINSTANCE.getEliminatedFeature();\n\n /**\n * The meta object literal for the '<em><b>Feature</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ELIMINATED_FEATURE__FEATURE = eINSTANCE.getEliminatedFeature_Feature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureIsRootImpl <em>Feature Is Root</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureIsRootImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureIsRoot()\n * @generated\n */\n EClass FEATURE_IS_ROOT = eINSTANCE.getFeatureIsRoot();\n\n /**\n * The meta object literal for the '<em><b>Feature</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_IS_ROOT__FEATURE = eINSTANCE.getFeatureIsRoot_Feature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.ExplanationImpl <em>Explanation</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.ExplanationImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getExplanation()\n * @generated\n */\n EClass EXPLANATION = eINSTANCE.getExplanation();\n\n /**\n * The meta object literal for the '<em><b>Primitives</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EXPLANATION__PRIMITIVES = eINSTANCE.getExplanation_Primitives();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasMaxImpl <em>Group Has Max</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasMaxImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getGroupHasMax()\n * @generated\n */\n EClass GROUP_HAS_MAX = eINSTANCE.getGroupHasMax();\n\n /**\n * The meta object literal for the '<em><b>Max</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute GROUP_HAS_MAX__MAX = eINSTANCE.getGroupHasMax_Max();\n\n /**\n * The meta object literal for the '<em><b>Group</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_MAX__GROUP = eINSTANCE.getGroupHasMax_Group();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasMinImpl <em>Group Has Min</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasMinImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getGroupHasMin()\n * @generated\n */\n EClass GROUP_HAS_MIN = eINSTANCE.getGroupHasMin();\n\n /**\n * The meta object literal for the '<em><b>Min</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute GROUP_HAS_MIN__MIN = eINSTANCE.getGroupHasMin_Min();\n\n /**\n * The meta object literal for the '<em><b>Group</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_MIN__GROUP = eINSTANCE.getGroupHasMin_Group();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.AlternativeGroupImpl <em>Alternative Group</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.AlternativeGroupImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getAlternativeGroup()\n * @generated\n */\n EClass ALTERNATIVE_GROUP = eINSTANCE.getAlternativeGroup();\n\n /**\n * The meta object literal for the '<em><b>Group Has Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALTERNATIVE_GROUP__GROUP_HAS_PARENT = eINSTANCE.getAlternativeGroup_GroupHasParent();\n\n /**\n * The meta object literal for the '<em><b>Group Has Child</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALTERNATIVE_GROUP__GROUP_HAS_CHILD = eINSTANCE.getAlternativeGroup_GroupHasChild();\n\n /**\n * The meta object literal for the '<em><b>Group Has Max</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALTERNATIVE_GROUP__GROUP_HAS_MAX = eINSTANCE.getAlternativeGroup_GroupHasMax();\n\n /**\n * The meta object literal for the '<em><b>Group Has Min</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALTERNATIVE_GROUP__GROUP_HAS_MIN = eINSTANCE.getAlternativeGroup_GroupHasMin();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.OrGroupImpl <em>Or Group</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.OrGroupImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getOrGroup()\n * @generated\n */\n EClass OR_GROUP = eINSTANCE.getOrGroup();\n\n /**\n * The meta object literal for the '<em><b>Group Has Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OR_GROUP__GROUP_HAS_PARENT = eINSTANCE.getOrGroup_GroupHasParent();\n\n /**\n * The meta object literal for the '<em><b>Group Has Child</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OR_GROUP__GROUP_HAS_CHILD = eINSTANCE.getOrGroup_GroupHasChild();\n\n /**\n * The meta object literal for the '<em><b>Group Has Max</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OR_GROUP__GROUP_HAS_MAX = eINSTANCE.getOrGroup_GroupHasMax();\n\n /**\n * The meta object literal for the '<em><b>Group Has Min</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OR_GROUP__GROUP_HAS_MIN = eINSTANCE.getOrGroup_GroupHasMin();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasOptionalSubfeatureImpl <em>Feature Has Optional Subfeature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasOptionalSubfeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureHasOptionalSubfeature()\n * @generated\n */\n EClass FEATURE_HAS_OPTIONAL_SUBFEATURE = eINSTANCE.getFeatureHasOptionalSubfeature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasMandatorySubfeatureImpl <em>Feature Has Mandatory Subfeature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasMandatorySubfeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureHasMandatorySubfeature()\n * @generated\n */\n EClass FEATURE_HAS_MANDATORY_SUBFEATURE = eINSTANCE.getFeatureHasMandatorySubfeature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.MutualExclusiveImpl <em>Mutual Exclusive</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.MutualExclusiveImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getMutualExclusive()\n * @generated\n */\n EClass MUTUAL_EXCLUSIVE = eINSTANCE.getMutualExclusive();\n\n /**\n * The meta object literal for the '<em><b>Related Features</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MUTUAL_EXCLUSIVE__RELATED_FEATURES = eINSTANCE.getMutualExclusive_RelatedFeatures();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.CustomUndirectedRelationshipImpl <em>Custom Undirected Relationship</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.CustomUndirectedRelationshipImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getCustomUndirectedRelationship()\n * @generated\n */\n EClass CUSTOM_UNDIRECTED_RELATIONSHIP = eINSTANCE.getCustomUndirectedRelationship();\n\n /**\n * The meta object literal for the '<em><b>Stereotype</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CUSTOM_UNDIRECTED_RELATIONSHIP__STEREOTYPE = eINSTANCE.getCustomUndirectedRelationship_Stereotype();\n\n /**\n * The meta object literal for the '<em><b>Related Features</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CUSTOM_UNDIRECTED_RELATIONSHIP__RELATED_FEATURES = eINSTANCE.getCustomUndirectedRelationship_RelatedFeatures();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.RequiresImpl <em>Requires</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.RequiresImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getRequires()\n * @generated\n */\n EClass REQUIRES = eINSTANCE.getRequires();\n\n /**\n * The meta object literal for the '<em><b>Sources</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference REQUIRES__SOURCES = eINSTANCE.getRequires_Sources();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference REQUIRES__TARGETS = eINSTANCE.getRequires_Targets();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.TemporalOrderingSequentialImpl <em>Temporal Ordering Sequential</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.TemporalOrderingSequentialImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getTemporalOrderingSequential()\n * @generated\n */\n EClass TEMPORAL_ORDERING_SEQUENTIAL = eINSTANCE.getTemporalOrderingSequential();\n\n /**\n * The meta object literal for the '<em><b>Sources</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference TEMPORAL_ORDERING_SEQUENTIAL__SOURCES = eINSTANCE.getTemporalOrderingSequential_Sources();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference TEMPORAL_ORDERING_SEQUENTIAL__TARGETS = eINSTANCE.getTemporalOrderingSequential_Targets();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.CustomDirectedRelationshipImpl <em>Custom Directed Relationship</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.CustomDirectedRelationshipImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getCustomDirectedRelationship()\n * @generated\n */\n EClass CUSTOM_DIRECTED_RELATIONSHIP = eINSTANCE.getCustomDirectedRelationship();\n\n /**\n * The meta object literal for the '<em><b>Stereotype</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CUSTOM_DIRECTED_RELATIONSHIP__STEREOTYPE = eINSTANCE.getCustomDirectedRelationship_Stereotype();\n\n /**\n * The meta object literal for the '<em><b>Sources</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CUSTOM_DIRECTED_RELATIONSHIP__SOURCES = eINSTANCE.getCustomDirectedRelationship_Sources();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CUSTOM_DIRECTED_RELATIONSHIP__TARGETS = eINSTANCE.getCustomDirectedRelationship_Targets();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.AutoCompleteImpl <em>Auto Complete</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.AutoCompleteImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getAutoComplete()\n * @generated\n */\n EClass AUTO_COMPLETE = eINSTANCE.getAutoComplete();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.ConfigurationSource <em>Configuration Source</em>}' enum.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.ConfigurationSource\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getConfigurationSource()\n * @generated\n */\n EEnum CONFIGURATION_SOURCE = eINSTANCE.getConfigurationSource();\n\n }", "public interface Literals {\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.BagTypeImpl <em>Bag Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.BagTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getBagType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass BAG_TYPE = eINSTANCE.getBagType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.TupleTypeImpl <em>Tuple Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TupleTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getTupleType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass TUPLE_TYPE = eINSTANCE.getTupleType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Library</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference TUPLE_TYPE__OCL_LIBRARY = eINSTANCE\n\t\t\t\t.getTupleType_OclLibrary();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.CollectionTypeImpl <em>Collection Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.CollectionTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getCollectionType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass COLLECTION_TYPE = eINSTANCE\n\t\t\t\t.getCollectionType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Element Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference COLLECTION_TYPE__ELEMENT_TYPE = eINSTANCE\n\t\t\t\t.getCollectionType_ElementType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Library</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference COLLECTION_TYPE__OCL_LIBRARY = eINSTANCE\n\t\t\t\t.getCollectionType_OclLibrary();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Kind</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EAttribute COLLECTION_TYPE__KIND = eINSTANCE\n\t\t\t\t.getCollectionType_Kind();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.InvalidTypeImpl <em>Invalid Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.InvalidTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getInvalidType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass INVALID_TYPE = eINSTANCE.getInvalidType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Library</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference INVALID_TYPE__OCL_LIBRARY = eINSTANCE\n\t\t\t\t.getInvalidType_OclLibrary();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.OrderedSetTypeImpl <em>Ordered Set Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.OrderedSetTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getOrderedSetType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass ORDERED_SET_TYPE = eINSTANCE\n\t\t\t\t.getOrderedSetType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.SequenceTypeImpl <em>Sequence Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.SequenceTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getSequenceType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass SEQUENCE_TYPE = eINSTANCE.getSequenceType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.SetTypeImpl <em>Set Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.SetTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getSetType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass SET_TYPE = eINSTANCE.getSetType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.VoidTypeImpl <em>Void Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.VoidTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getVoidType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass VOID_TYPE = eINSTANCE.getVoidType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Library</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference VOID_TYPE__OCL_LIBRARY = eINSTANCE\n\t\t\t\t.getVoidType_OclLibrary();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.TypeTypeImpl <em>Type Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypeTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getTypeType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass TYPE_TYPE = eINSTANCE.getTypeType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Represented Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference TYPE_TYPE__REPRESENTED_TYPE = eINSTANCE\n\t\t\t\t.getTypeType_RepresentedType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.OclLibraryImpl <em>Ocl Library</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.OclLibraryImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getOclLibrary()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass OCL_LIBRARY = eINSTANCE.getOclLibrary();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Void</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_VOID = eINSTANCE\n\t\t\t\t.getOclLibrary_OclVoid();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Any</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_ANY = eINSTANCE\n\t\t\t\t.getOclLibrary_OclAny();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Collection</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_COLLECTION = eINSTANCE\n\t\t\t\t.getOclLibrary_OclCollection();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Sequence</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_SEQUENCE = eINSTANCE\n\t\t\t\t.getOclLibrary_OclSequence();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Bag</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_BAG = eINSTANCE\n\t\t\t\t.getOclLibrary_OclBag();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Set</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_SET = eINSTANCE\n\t\t\t\t.getOclLibrary_OclSet();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Ordered Set</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_ORDERED_SET = eINSTANCE\n\t\t\t\t.getOclLibrary_OclOrderedSet();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Tuple</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_TUPLE = eINSTANCE\n\t\t\t\t.getOclLibrary_OclTuple();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.AnyTypeImpl <em>Any Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.AnyTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getAnyType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass ANY_TYPE = eINSTANCE.getAnyType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Boolean</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_BOOLEAN = eINSTANCE\n\t\t\t\t.getOclLibrary_OclBoolean();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl String</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_STRING = eINSTANCE\n\t\t\t\t.getOclLibrary_OclString();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Integer</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_INTEGER = eINSTANCE\n\t\t\t\t.getOclLibrary_OclInteger();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Real</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_REAL = eINSTANCE\n\t\t\t\t.getOclLibrary_OclReal();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Invalid</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_INVALID = eINSTANCE\n\t\t\t\t.getOclLibrary_OclInvalid();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Type</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_TYPE = eINSTANCE\n\t\t\t\t.getOclLibrary_OclType();\n\n\t}", "interface Literals {\n\t\t/**\n * The meta object literal for the '{@link org.switchyard.tools.models.switchyard1_0.bean.impl.BeanImplementationTypeImpl <em>Implementation Type</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.switchyard.tools.models.switchyard1_0.bean.impl.BeanImplementationTypeImpl\n * @see org.switchyard.tools.models.switchyard1_0.bean.impl.BeanPackageImpl#getBeanImplementationType()\n * @generated\n */\n\t\tEClass BEAN_IMPLEMENTATION_TYPE = eINSTANCE.getBeanImplementationType();\n\n\t\t/**\n * The meta object literal for the '<em><b>Class</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEAttribute BEAN_IMPLEMENTATION_TYPE__CLASS = eINSTANCE.getBeanImplementationType_Class();\n\n\t\t/**\n * The meta object literal for the '{@link org.switchyard.tools.models.switchyard1_0.bean.impl.DocumentRootImpl <em>Document Root</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.switchyard.tools.models.switchyard1_0.bean.impl.DocumentRootImpl\n * @see org.switchyard.tools.models.switchyard1_0.bean.impl.BeanPackageImpl#getDocumentRoot()\n * @generated\n */\n\t\tEClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();\n\n\t\t/**\n * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();\n\n\t\t/**\n * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap();\n\n\t\t/**\n * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation();\n\n\t\t/**\n * The meta object literal for the '<em><b>Implementation Bean</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference DOCUMENT_ROOT__IMPLEMENTATION_BEAN = eINSTANCE.getDocumentRoot_ImplementationBean();\n\n\t}", "public LiteralRegistry() {\n addEntry(new Entry(SkriptPattern.parse(\"biome[s]\"), BiomeRegistry.Entry.class));\n addEntry(new Entry(SkriptPattern.parse(\"boolean[s]\"), boolean.class));\n addEntry(new Entry(SkriptPattern.parse(\"cat[ ](type|race)[s]\"), CatType.class));\n addEntry(new Entry(SkriptPattern.parse(\"click[ ]type[s]\"), ClickType.class));\n addEntry(new Entry(SkriptPattern.parse(\"colo[u]r[s]\"), Color.class));\n addEntry(new Entry(SkriptPattern.parse(\"damage[ ]cause[s]\"), DamageCause.class));\n addEntry(new Entry(SkriptPattern.parse(\"enchantment[s]\"), Enchantment.class));\n addEntry(new Entry(SkriptPattern.parse(\"experience[ ][point[s]]\"), Experience.class));\n addEntry(new Entry(SkriptPattern.parse(\"firework[ ]type[s]\"), FireworkType.class));\n addEntry(new Entry(SkriptPattern.parse(\"game[ ]mode[s]\"), GameMode.class));\n addEntry(new Entry(SkriptPattern.parse(\"[panda] gene[s]\"), Gene.class));\n addEntry(new Entry(SkriptPattern.parse(\"inventory[ ]action[s]\"), InventoryAction.class));\n addEntry(new Entry(SkriptPattern.parse(\"inventory[ ]type[s]\"), InventoryTypeRegistry.Entry.class));\n addEntry(new Entry(SkriptPattern.parse(\"(item[ ]type[s]|items|materials)\"), ItemType.class));\n addEntry(new Entry(SkriptPattern.parse(\"(item|material)\"), Item.class));\n addEntry(new Entry(SkriptPattern.parse(\"num[ber][s]\"), Number.class));\n addEntry(new Entry(SkriptPattern.parse(\"resource[ ]pack[ ]state[s]\"), ResourcePackStatus.class));\n addEntry(new Entry(SkriptPattern.parse(\"sound[ ]categor(y|ies)\"), SoundCategory.class));\n addEntry(new Entry(SkriptPattern.parse(\"spawn[ing][ ]reason[s]\"), SpawnReason.class));\n addEntry(new Entry(SkriptPattern.parse(\"potion[[ ]effect][ ]type[s]\"), StatusEffectType.class));\n addEntry(new Entry(SkriptPattern.parse(\"(text|string)[s]\"), Text.class));\n addEntry(new Entry(SkriptPattern.parse(\"teleport[ ](cause|reason|type)[s]\"), TeleportCause.class));\n addEntry(new Entry(SkriptPattern.parse(\"time[s]\"), Time.class));\n addEntry(new Entry(SkriptPattern.parse(\"(time[ ]period|duration)[s]\"), TimePeriod.class));\n addEntry(new Entry(SkriptPattern.parse(\"time[ ]span[s]\"), TimeSpan.class));\n addEntry(new Entry(SkriptPattern.parse(\"(tree[ ]type|tree)[s]\"), TreeType.class));\n addEntry(new Entry(SkriptPattern.parse(\"visual effect\"), VisualEffectRegistry.Entry.class));\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link gov.nasa.jpl.imce.oml.oti.provenance.impl.OML2OTIProvenanceImpl <em>OML2OTI Provenance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see gov.nasa.jpl.imce.oml.oti.provenance.impl.OML2OTIProvenanceImpl\n\t\t * @see gov.nasa.jpl.imce.oml.oti.provenance.impl.ProvenancePackageImpl#getOML2OTIProvenance()\n\t\t * @generated\n\t\t */\n\t\tEClass OML2OTI_PROVENANCE = eINSTANCE.getOML2OTIProvenance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Oml UUID</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OML2OTI_PROVENANCE__OML_UUID = eINSTANCE.getOML2OTIProvenance_OmlUUID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Oml IRI</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OML2OTI_PROVENANCE__OML_IRI = eINSTANCE.getOML2OTIProvenance_OmlIRI();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Oti ID</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OML2OTI_PROVENANCE__OTI_ID = eINSTANCE.getOML2OTIProvenance_OtiID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Oti URL</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OML2OTI_PROVENANCE__OTI_URL = eINSTANCE.getOML2OTIProvenance_OtiURL();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Oti UUID</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OML2OTI_PROVENANCE__OTI_UUID = eINSTANCE.getOML2OTIProvenance_OtiUUID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Explanation</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OML2OTI_PROVENANCE__EXPLANATION = eINSTANCE.getOML2OTIProvenance_Explanation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>UUID</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see java.lang.String\n\t\t * @see gov.nasa.jpl.imce.oml.oti.provenance.impl.ProvenancePackageImpl#getUUID()\n\t\t * @generated\n\t\t */\n\t\tEDataType UUID = eINSTANCE.getUUID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>OML IRI</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see java.lang.String\n\t\t * @see gov.nasa.jpl.imce.oml.oti.provenance.impl.ProvenancePackageImpl#getOML_IRI()\n\t\t * @generated\n\t\t */\n\t\tEDataType OML_IRI = eINSTANCE.getOML_IRI();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>OTI TOOL SPECIFIC ID</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see java.lang.String\n\t\t * @see gov.nasa.jpl.imce.oml.oti.provenance.impl.ProvenancePackageImpl#getOTI_TOOL_SPECIFIC_ID()\n\t\t * @generated\n\t\t */\n\t\tEDataType OTI_TOOL_SPECIFIC_ID = eINSTANCE.getOTI_TOOL_SPECIFIC_ID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>OTI TOOL SPECIFIC UUID</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see java.lang.String\n\t\t * @see gov.nasa.jpl.imce.oml.oti.provenance.impl.ProvenancePackageImpl#getOTI_TOOL_SPECIFIC_UUID()\n\t\t * @generated\n\t\t */\n\t\tEDataType OTI_TOOL_SPECIFIC_UUID = eINSTANCE.getOTI_TOOL_SPECIFIC_UUID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>OTI TOOL SPECIFIC URL</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see java.lang.String\n\t\t * @see gov.nasa.jpl.imce.oml.oti.provenance.impl.ProvenancePackageImpl#getOTI_TOOL_SPECIFIC_URL()\n\t\t * @generated\n\t\t */\n\t\tEDataType OTI_TOOL_SPECIFIC_URL = eINSTANCE.getOTI_TOOL_SPECIFIC_URL();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentImpl <em>Content</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContent()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT = eINSTANCE.getContent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT__CONTENT_ID = eINSTANCE.getContent_ContentId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Character Set</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__CHARACTER_SET = eINSTANCE.getContent_CharacterSet();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Child Branch Count</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT__CHILD_BRANCH_COUNT = eINSTANCE.getContent_ChildBranchCount();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Child Leaf Count</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT__CHILD_LEAF_COUNT = eINSTANCE.getContent_ChildLeafCount();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Attributes</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__CONTENT_ATTRIBUTES = eINSTANCE.getContent_ContentAttributes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Keywords</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__CONTENT_KEYWORDS = eINSTANCE.getContent_ContentKeywords();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Meta Datas</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__CONTENT_META_DATAS = eINSTANCE.getContent_ContentMetaDatas();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT__CONTENT_NAME = eINSTANCE.getContent_ContentName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Purposes</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__CONTENT_PURPOSES = eINSTANCE.getContent_ContentPurposes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Revisions</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__CONTENT_REVISIONS = eINSTANCE.getContent_ContentRevisions();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__CONTENT_TYPE = eINSTANCE.getContent_ContentType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Created By User Login</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__CREATED_BY_USER_LOGIN = eINSTANCE.getContent_CreatedByUserLogin();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Created Date</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT__CREATED_DATE = eINSTANCE.getContent_CreatedDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Custom Method</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__CUSTOM_METHOD = eINSTANCE.getContent_CustomMethod();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Data Resource</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__DATA_RESOURCE = eINSTANCE.getContent_DataResource();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Data Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__DATA_SOURCE = eINSTANCE.getContent_DataSource();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Decorator Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__DECORATOR_CONTENT = eINSTANCE.getContent_DecoratorContent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT__DESCRIPTION = eINSTANCE.getContent_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From Comm Event Content Assocs</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__FROM_COMM_EVENT_CONTENT_ASSOCS = eINSTANCE.getContent_FromCommEventContentAssocs();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Instance Of Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__INSTANCE_OF_CONTENT = eINSTANCE.getContent_InstanceOfContent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Last Modified By User Login</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__LAST_MODIFIED_BY_USER_LOGIN = eINSTANCE.getContent_LastModifiedByUserLogin();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Last Modified Date</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT__LAST_MODIFIED_DATE = eINSTANCE.getContent_LastModifiedDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Locale String</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT__LOCALE_STRING = eINSTANCE.getContent_LocaleString();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Mime Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__MIME_TYPE = eINSTANCE.getContent_MimeType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Owner Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__OWNER_CONTENT = eINSTANCE.getContent_OwnerContent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Privilege Enum</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__PRIVILEGE_ENUM = eINSTANCE.getContent_PrivilegeEnum();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Service Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT__SERVICE_NAME = eINSTANCE.getContent_ServiceName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Status</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__STATUS = eINSTANCE.getContent_Status();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Template Data Resource</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__TEMPLATE_DATA_RESOURCE = eINSTANCE.getContent_TemplateDataResource();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentApprovalImpl <em>Approval</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentApprovalImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentApproval()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_APPROVAL = eINSTANCE.getContentApproval();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Approval Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_APPROVAL__CONTENT_APPROVAL_ID = eINSTANCE.getContentApproval_ContentApprovalId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Approval Date</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_APPROVAL__APPROVAL_DATE = eINSTANCE.getContentApproval_ApprovalDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Approval Status</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_APPROVAL__APPROVAL_STATUS = eINSTANCE.getContentApproval_ApprovalStatus();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Comments</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_APPROVAL__COMMENTS = eINSTANCE.getContentApproval_Comments();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_APPROVAL__CONTENT = eINSTANCE.getContentApproval_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Revision Seq Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_APPROVAL__CONTENT_REVISION_SEQ_ID = eINSTANCE.getContentApproval_ContentRevisionSeqId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Party</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_APPROVAL__PARTY = eINSTANCE.getContentApproval_Party();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Role Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_APPROVAL__ROLE_TYPE = eINSTANCE.getContentApproval_RoleType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sequence Num</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_APPROVAL__SEQUENCE_NUM = eINSTANCE.getContentApproval_SequenceNum();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentAssocImpl <em>Assoc</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentAssocImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentAssoc()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_ASSOC = eINSTANCE.getContentAssoc();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ASSOC__CONTENT = eINSTANCE.getContentAssoc_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Id To</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ASSOC__CONTENT_ID_TO = eINSTANCE.getContentAssoc_ContentIdTo();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Assoc Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ASSOC__CONTENT_ASSOC_TYPE = eINSTANCE.getContentAssoc_ContentAssocType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From Date</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ASSOC__FROM_DATE = eINSTANCE.getContentAssoc_FromDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Assoc Predicate</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ASSOC__CONTENT_ASSOC_PREDICATE = eINSTANCE.getContentAssoc_ContentAssocPredicate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Created By User Login</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ASSOC__CREATED_BY_USER_LOGIN = eINSTANCE.getContentAssoc_CreatedByUserLogin();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Created Date</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ASSOC__CREATED_DATE = eINSTANCE.getContentAssoc_CreatedDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Data Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ASSOC__DATA_SOURCE = eINSTANCE.getContentAssoc_DataSource();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Last Modified By User Login</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ASSOC__LAST_MODIFIED_BY_USER_LOGIN = eINSTANCE.getContentAssoc_LastModifiedByUserLogin();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Last Modified Date</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ASSOC__LAST_MODIFIED_DATE = eINSTANCE.getContentAssoc_LastModifiedDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Left Coordinate</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ASSOC__LEFT_COORDINATE = eINSTANCE.getContentAssoc_LeftCoordinate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Map Key</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ASSOC__MAP_KEY = eINSTANCE.getContentAssoc_MapKey();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sequence Num</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ASSOC__SEQUENCE_NUM = eINSTANCE.getContentAssoc_SequenceNum();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Thru Date</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ASSOC__THRU_DATE = eINSTANCE.getContentAssoc_ThruDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Upper Coordinate</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ASSOC__UPPER_COORDINATE = eINSTANCE.getContentAssoc_UpperCoordinate();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentAssocPredicateImpl <em>Assoc Predicate</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentAssocPredicateImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentAssocPredicate()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_ASSOC_PREDICATE = eINSTANCE.getContentAssocPredicate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Assoc Predicate Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ASSOC_PREDICATE__CONTENT_ASSOC_PREDICATE_ID = eINSTANCE.getContentAssocPredicate_ContentAssocPredicateId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ASSOC_PREDICATE__DESCRIPTION = eINSTANCE.getContentAssocPredicate_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentAssocTypeImpl <em>Assoc Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentAssocTypeImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentAssocType()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_ASSOC_TYPE = eINSTANCE.getContentAssocType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Assoc Type Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ASSOC_TYPE__CONTENT_ASSOC_TYPE_ID = eINSTANCE.getContentAssocType_ContentAssocTypeId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ASSOC_TYPE__DESCRIPTION = eINSTANCE.getContentAssocType_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentAttributeImpl <em>Attribute</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentAttributeImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentAttribute()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_ATTRIBUTE = eINSTANCE.getContentAttribute();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ATTRIBUTE__CONTENT = eINSTANCE.getContentAttribute_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Attr Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ATTRIBUTE__ATTR_NAME = eINSTANCE.getContentAttribute_AttrName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Attr Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ATTRIBUTE__ATTR_DESCRIPTION = eINSTANCE.getContentAttribute_AttrDescription();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Attr Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ATTRIBUTE__ATTR_VALUE = eINSTANCE.getContentAttribute_AttrValue();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentKeywordImpl <em>Keyword</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentKeywordImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentKeyword()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_KEYWORD = eINSTANCE.getContentKeyword();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_KEYWORD__CONTENT = eINSTANCE.getContentKeyword_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Keyword</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_KEYWORD__KEYWORD = eINSTANCE.getContentKeyword_Keyword();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Relevancy Weight</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_KEYWORD__RELEVANCY_WEIGHT = eINSTANCE.getContentKeyword_RelevancyWeight();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentMetaDataImpl <em>Meta Data</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentMetaDataImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentMetaData()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_META_DATA = eINSTANCE.getContentMetaData();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_META_DATA__CONTENT = eINSTANCE.getContentMetaData_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Meta Data Predicate</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_META_DATA__META_DATA_PREDICATE = eINSTANCE.getContentMetaData_MetaDataPredicate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Data Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_META_DATA__DATA_SOURCE = eINSTANCE.getContentMetaData_DataSource();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Meta Data Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_META_DATA__META_DATA_VALUE = eINSTANCE.getContentMetaData_MetaDataValue();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentOperationImpl <em>Operation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentOperationImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentOperation()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_OPERATION = eINSTANCE.getContentOperation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Operation Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_OPERATION__CONTENT_OPERATION_ID = eINSTANCE.getContentOperation_ContentOperationId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_OPERATION__DESCRIPTION = eINSTANCE.getContentOperation_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentPurposeImpl <em>Purpose</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPurposeImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentPurpose()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_PURPOSE = eINSTANCE.getContentPurpose();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_PURPOSE__CONTENT = eINSTANCE.getContentPurpose_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Purpose Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_PURPOSE__CONTENT_PURPOSE_TYPE = eINSTANCE.getContentPurpose_ContentPurposeType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sequence Num</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_PURPOSE__SEQUENCE_NUM = eINSTANCE.getContentPurpose_SequenceNum();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentPurposeOperationImpl <em>Purpose Operation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPurposeOperationImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentPurposeOperation()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_PURPOSE_OPERATION = eINSTANCE.getContentPurposeOperation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Purpose Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_PURPOSE_OPERATION__CONTENT_PURPOSE_TYPE = eINSTANCE.getContentPurposeOperation_ContentPurposeType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Operation</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_PURPOSE_OPERATION__CONTENT_OPERATION = eINSTANCE.getContentPurposeOperation_ContentOperation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Role Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_PURPOSE_OPERATION__ROLE_TYPE = eINSTANCE.getContentPurposeOperation_RoleType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Status</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_PURPOSE_OPERATION__STATUS = eINSTANCE.getContentPurposeOperation_Status();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Privilege Enum</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_PURPOSE_OPERATION__PRIVILEGE_ENUM = eINSTANCE.getContentPurposeOperation_PrivilegeEnum();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentPurposeTypeImpl <em>Purpose Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPurposeTypeImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentPurposeType()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_PURPOSE_TYPE = eINSTANCE.getContentPurposeType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Purpose Type Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_PURPOSE_TYPE__CONTENT_PURPOSE_TYPE_ID = eINSTANCE.getContentPurposeType_ContentPurposeTypeId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_PURPOSE_TYPE__DESCRIPTION = eINSTANCE.getContentPurposeType_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentRevisionImpl <em>Revision</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentRevisionImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentRevision()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_REVISION = eINSTANCE.getContentRevision();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_REVISION__CONTENT = eINSTANCE.getContentRevision_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Revision Seq Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_REVISION__CONTENT_REVISION_SEQ_ID = eINSTANCE.getContentRevision_ContentRevisionSeqId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Comments</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_REVISION__COMMENTS = eINSTANCE.getContentRevision_Comments();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Committed By Party</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_REVISION__COMMITTED_BY_PARTY = eINSTANCE.getContentRevision_CommittedByParty();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentRevisionItemImpl <em>Revision Item</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentRevisionItemImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentRevisionItem()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_REVISION_ITEM = eINSTANCE.getContentRevisionItem();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_REVISION_ITEM__CONTENT_ID = eINSTANCE.getContentRevisionItem_ContentId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Revision Seq Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_REVISION_ITEM__CONTENT_REVISION_SEQ_ID = eINSTANCE.getContentRevisionItem_ContentRevisionSeqId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Item Content Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_REVISION_ITEM__ITEM_CONTENT_ID = eINSTANCE.getContentRevisionItem_ItemContentId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>New Data Resource</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_REVISION_ITEM__NEW_DATA_RESOURCE = eINSTANCE.getContentRevisionItem_NewDataResource();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Old Data Resource</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_REVISION_ITEM__OLD_DATA_RESOURCE = eINSTANCE.getContentRevisionItem_OldDataResource();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentRoleImpl <em>Role</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentRoleImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentRole()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_ROLE = eINSTANCE.getContentRole();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ROLE__CONTENT = eINSTANCE.getContentRole_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Party</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ROLE__PARTY = eINSTANCE.getContentRole_Party();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Role Type Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ROLE__ROLE_TYPE_ID = eINSTANCE.getContentRole_RoleTypeId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From Date</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ROLE__FROM_DATE = eINSTANCE.getContentRole_FromDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Thru Date</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_ROLE__THRU_DATE = eINSTANCE.getContentRole_ThruDate();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentSearchConstraintImpl <em>Search Constraint</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentSearchConstraintImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentSearchConstraint()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_SEARCH_CONSTRAINT = eINSTANCE.getContentSearchConstraint();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Search Result</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_SEARCH_CONSTRAINT__CONTENT_SEARCH_RESULT = eINSTANCE.getContentSearchConstraint_ContentSearchResult();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Constraint Seq Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_CONSTRAINT__CONSTRAINT_SEQ_ID = eINSTANCE.getContentSearchConstraint_ConstraintSeqId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Any Prefix</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_CONSTRAINT__ANY_PREFIX = eINSTANCE.getContentSearchConstraint_AnyPrefix();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Any Suffix</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_CONSTRAINT__ANY_SUFFIX = eINSTANCE.getContentSearchConstraint_AnySuffix();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Constraint Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_CONSTRAINT__CONSTRAINT_NAME = eINSTANCE.getContentSearchConstraint_ConstraintName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>High Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_CONSTRAINT__HIGH_VALUE = eINSTANCE.getContentSearchConstraint_HighValue();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Include Sub Categories</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_CONSTRAINT__INCLUDE_SUB_CATEGORIES = eINSTANCE.getContentSearchConstraint_IncludeSubCategories();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Info String</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_CONSTRAINT__INFO_STRING = eINSTANCE.getContentSearchConstraint_InfoString();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is And</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_CONSTRAINT__IS_AND = eINSTANCE.getContentSearchConstraint_IsAnd();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Low Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_CONSTRAINT__LOW_VALUE = eINSTANCE.getContentSearchConstraint_LowValue();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Remove Stems</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_CONSTRAINT__REMOVE_STEMS = eINSTANCE.getContentSearchConstraint_RemoveStems();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentSearchResultImpl <em>Search Result</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentSearchResultImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentSearchResult()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_SEARCH_RESULT = eINSTANCE.getContentSearchResult();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Search Result Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_RESULT__CONTENT_SEARCH_RESULT_ID = eINSTANCE.getContentSearchResult_ContentSearchResultId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Search Constraints</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_SEARCH_RESULT__CONTENT_SEARCH_CONSTRAINTS = eINSTANCE.getContentSearchResult_ContentSearchConstraints();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is Ascending</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_RESULT__IS_ASCENDING = eINSTANCE.getContentSearchResult_IsAscending();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Num Results</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_RESULT__NUM_RESULTS = eINSTANCE.getContentSearchResult_NumResults();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Order By Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_RESULT__ORDER_BY_NAME = eINSTANCE.getContentSearchResult_OrderByName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Search Date</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_RESULT__SEARCH_DATE = eINSTANCE.getContentSearchResult_SearchDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Seconds Total</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_RESULT__SECONDS_TOTAL = eINSTANCE.getContentSearchResult_SecondsTotal();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Visit Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_SEARCH_RESULT__VISIT_ID = eINSTANCE.getContentSearchResult_VisitId();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentTypeImpl <em>Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentTypeImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentType()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_TYPE = eINSTANCE.getContentType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Type Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_TYPE__CONTENT_TYPE_ID = eINSTANCE.getContentType_ContentTypeId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Type Attrs</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_TYPE__CONTENT_TYPE_ATTRS = eINSTANCE.getContentType_ContentTypeAttrs();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_TYPE__DESCRIPTION = eINSTANCE.getContentType_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Has Table</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_TYPE__HAS_TABLE = eINSTANCE.getContentType_HasTable();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parent Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_TYPE__PARENT_TYPE = eINSTANCE.getContentType_ParentType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentTypeAttrImpl <em>Type Attr</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentTypeAttrImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentTypeAttr()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_TYPE_ATTR = eINSTANCE.getContentTypeAttr();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_TYPE_ATTR__CONTENT_TYPE = eINSTANCE.getContentTypeAttr_ContentType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Attr Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_TYPE_ATTR__ATTR_NAME = eINSTANCE.getContentTypeAttr_AttrName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTENT_TYPE_ATTR__DESCRIPTION = eINSTANCE.getContentTypeAttr_Description();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNACCMetricImpl <em>HNACC Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNACCMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNACCMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNACC_METRIC = eINSTANCE.getHNACCMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HGetter Setter Smells</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HNACC_METRIC__HGETTER_SETTER_SMELLS = eINSTANCE.getHNACCMetric_HGetterSetterSmells();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HNumber Of Getters Metric</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HNACC_METRIC__HNUMBER_OF_GETTERS_METRIC = eINSTANCE.getHNACCMetric_HNumberOfGettersMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HNumber Of Setters Metric</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HNACC_METRIC__HNUMBER_OF_SETTERS_METRIC = eINSTANCE.getHNACCMetric_HNumberOfSettersMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HNumber Of Methods Metric</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HNACC_METRIC__HNUMBER_OF_METHODS_METRIC = eINSTANCE.getHNACCMetric_HNumberOfMethodsMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HLCOM5MetricImpl <em>HLCOM5 Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HLCOM5MetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHLCOM5Metric()\n\t\t * @generated\n\t\t */\n\t\tEClass HLCOM5_METRIC = eINSTANCE.getHLCOM5Metric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfMembersMetricImpl <em>HNumber Of Members Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfMembersMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNumberOfMembersMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNUMBER_OF_MEMBERS_METRIC = eINSTANCE.getHNumberOfMembersMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfIncommingInvocationsMetricImpl <em>HNumber Of Incomming Invocations Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfIncommingInvocationsMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNumberOfIncommingInvocationsMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNUMBER_OF_INCOMMING_INVOCATIONS_METRIC = eINSTANCE.getHNumberOfIncommingInvocationsMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfOutgoingInvocationsMetricImpl <em>HNumber Of Outgoing Invocations Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfOutgoingInvocationsMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNumberOfOutgoingInvocationsMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNUMBER_OF_OUTGOING_INVOCATIONS_METRIC = eINSTANCE.getHNumberOfOutgoingInvocationsMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HLocalAccessRelationMetricImpl <em>HLocal Access Relation Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HLocalAccessRelationMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHLocalAccessRelationMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HLOCAL_ACCESS_RELATION_METRIC = eINSTANCE.getHLocalAccessRelationMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HLocal Field Accesses</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HLOCAL_ACCESS_RELATION_METRIC__HLOCAL_FIELD_ACCESSES = eINSTANCE\n\t\t\t\t.getHLocalAccessRelationMetric_HLocalFieldAccesses();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HLocal Method Accesses</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HLOCAL_ACCESS_RELATION_METRIC__HLOCAL_METHOD_ACCESSES = eINSTANCE\n\t\t\t\t.getHLocalAccessRelationMetric_HLocalMethodAccesses();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HInvocationRelationImpl <em>HInvocation Relation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HInvocationRelationImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHInvocationRelation()\n\t\t * @generated\n\t\t */\n\t\tEClass HINVOCATION_RELATION = eINSTANCE.getHInvocationRelation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HNumber Of Outgoing Invocations Metric</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HINVOCATION_RELATION__HNUMBER_OF_OUTGOING_INVOCATIONS_METRIC = eINSTANCE\n\t\t\t\t.getHInvocationRelation_HNumberOfOutgoingInvocationsMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HNumber Of Incomming Invocations Metric</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HINVOCATION_RELATION__HNUMBER_OF_INCOMMING_INVOCATIONS_METRIC = eINSTANCE\n\t\t\t\t.getHInvocationRelation_HNumberOfIncommingInvocationsMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfChildMetricImpl <em>HNumber Of Child Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfChildMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNumberOfChildMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNUMBER_OF_CHILD_METRIC = eINSTANCE.getHNumberOfChildMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfGettersMetricImpl <em>HNumber Of Getters Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfGettersMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNumberOfGettersMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNUMBER_OF_GETTERS_METRIC = eINSTANCE.getHNumberOfGettersMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfSettersMetricImpl <em>HNumber Of Setters Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfSettersMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNumberOfSettersMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNUMBER_OF_SETTERS_METRIC = eINSTANCE.getHNumberOfSettersMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfMethodsMetricImpl <em>HNumber Of Methods Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfMethodsMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNumberOfMethodsMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNUMBER_OF_METHODS_METRIC = eINSTANCE.getHNumberOfMethodsMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HAverageOverloadingInClassMetricImpl <em>HAverage Overloading In Class Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HAverageOverloadingInClassMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHAverageOverloadingInClassMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HAVERAGE_OVERLOADING_IN_CLASS_METRIC = eINSTANCE.getHAverageOverloadingInClassMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HAverageParametersMetricImpl <em>HAverage Parameters Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HAverageParametersMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHAverageParametersMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HAVERAGE_PARAMETERS_METRIC = eINSTANCE.getHAverageParametersMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HLocalMethodAccessesMetricImpl <em>HLocal Method Accesses Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HLocalMethodAccessesMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHLocalMethodAccessesMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HLOCAL_METHOD_ACCESSES_METRIC = eINSTANCE.getHLocalMethodAccessesMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HLocalFieldAccessesMetricImpl <em>HLocal Field Accesses Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HLocalFieldAccessesMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHLocalFieldAccessesMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HLOCAL_FIELD_ACCESSES_METRIC = eINSTANCE.getHLocalFieldAccessesMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HDepthOfInheritanceMetricImpl <em>HDepth Of Inheritance Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HDepthOfInheritanceMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHDepthOfInheritanceMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HDEPTH_OF_INHERITANCE_METRIC = eINSTANCE.getHDepthOfInheritanceMetric();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link blogdsl.impl.BlogImpl <em>Blog</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blogdsl.impl.BlogImpl\n\t\t * @see blogdsl.impl.BlogdslPackageImpl#getBlog()\n\t\t * @generated\n\t\t */\n\t\tEClass BLOG = eINSTANCE.getBlog();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Author</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute BLOG__AUTHOR = eINSTANCE.getBlog_Author();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Author Email</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute BLOG__AUTHOR_EMAIL = eINSTANCE.getBlog_AuthorEmail();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Posts</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference BLOG__POSTS = eINSTANCE.getBlog_Posts();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blogdsl.impl.PostImpl <em>Post</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blogdsl.impl.PostImpl\n\t\t * @see blogdsl.impl.BlogdslPackageImpl#getPost()\n\t\t * @generated\n\t\t */\n\t\tEClass POST = eINSTANCE.getPost();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Title</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute POST__TITLE = eINSTANCE.getPost_Title();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Short Title</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute POST__SHORT_TITLE = eINSTANCE.getPost_ShortTitle();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Published Date</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute POST__PUBLISHED_DATE = eINSTANCE.getPost_PublishedDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Categories</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute POST__CATEGORIES = eINSTANCE.getPost_Categories();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference POST__CONTENT = eINSTANCE.getPost_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blogdsl.impl.ContentImpl <em>Content</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blogdsl.impl.ContentImpl\n\t\t * @see blogdsl.impl.BlogdslPackageImpl#getContent()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT = eINSTANCE.getContent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blogdsl.impl.ParagraphImpl <em>Paragraph</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blogdsl.impl.ParagraphImpl\n\t\t * @see blogdsl.impl.BlogdslPackageImpl#getParagraph()\n\t\t * @generated\n\t\t */\n\t\tEClass PARAGRAPH = eINSTANCE.getParagraph();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Markdown Content</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute PARAGRAPH__MARKDOWN_CONTENT = eINSTANCE.getParagraph_MarkdownContent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blogdsl.impl.ImageImpl <em>Image</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blogdsl.impl.ImageImpl\n\t\t * @see blogdsl.impl.BlogdslPackageImpl#getImage()\n\t\t * @generated\n\t\t */\n\t\tEClass IMAGE = eINSTANCE.getImage();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>File URL</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMAGE__FILE_URL = eINSTANCE.getImage_FileURL();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Caption</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMAGE__CAPTION = eINSTANCE.getImage_Caption();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.ScenarioImpl <em>Scenario</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.ScenarioImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getScenario()\n\t\t * @generated\n\t\t */\n\t\tEClass SCENARIO = eINSTANCE.getScenario();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SCENARIO__NAME = eINSTANCE.getScenario_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Actors</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SCENARIO__ACTORS = eINSTANCE.getScenario_Actors();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>SUT</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SCENARIO__SUT = eINSTANCE.getScenario_SUT();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.RoadSegmentImpl <em>Road Segment</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.RoadSegmentImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getRoadSegment()\n\t\t * @generated\n\t\t */\n\t\tEClass ROAD_SEGMENT = eINSTANCE.getRoadSegment();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Roadcomponents</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROAD_SEGMENT__ROADCOMPONENTS = eINSTANCE.getRoadSegment_Roadcomponents();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Signs</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROAD_SEGMENT__SIGNS = eINSTANCE.getRoadSegment_Signs();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ROAD_SEGMENT__NAME = eINSTANCE.getRoadSegment_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Left Neighbor Of Neighbor</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROAD_SEGMENT__LEFT_NEIGHBOR_OF_NEIGHBOR = eINSTANCE.getRoadSegment_LeftNeighborOfNeighbor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Right Neighbor Of Neighbor</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROAD_SEGMENT__RIGHT_NEIGHBOR_OF_NEIGHBOR = eINSTANCE.getRoadSegment_RightNeighborOfNeighbor();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.ActorImpl <em>Actor</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.ActorImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getActor()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTOR = eINSTANCE.getActor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ACTOR__TYPE = eINSTANCE.getActor_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ACTOR__NAME = eINSTANCE.getActor_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Action</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ACTOR__ACTION = eINSTANCE.getActor_Action();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.TrackSegmentImpl <em>Track Segment</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.TrackSegmentImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getTrackSegment()\n\t\t * @generated\n\t\t */\n\t\tEClass TRACK_SEGMENT = eINSTANCE.getTrackSegment();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Roadsegments</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRACK_SEGMENT__ROADSEGMENTS = eINSTANCE.getTrackSegment_Roadsegments();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TRACK_SEGMENT__NAME = eINSTANCE.getTrackSegment_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Scenarios</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRACK_SEGMENT__SCENARIOS = eINSTANCE.getTrackSegment_Scenarios();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.RoadComponentImpl <em>Road Component</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.RoadComponentImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getRoadComponent()\n\t\t * @generated\n\t\t */\n\t\tEClass ROAD_COMPONENT = eINSTANCE.getRoadComponent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ROAD_COMPONENT__NAME = eINSTANCE.getRoadComponent_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Left Lane</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROAD_COMPONENT__LEFT_LANE = eINSTANCE.getRoadComponent_LeftLane();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Right Lane</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROAD_COMPONENT__RIGHT_LANE = eINSTANCE.getRoadComponent_RightLane();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.LaneImpl <em>Lane</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.LaneImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getLane()\n\t\t * @generated\n\t\t */\n\t\tEClass LANE = eINSTANCE.getLane();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From Lanes</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference LANE__FROM_LANES = eINSTANCE.getLane_FromLanes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To Lanes</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference LANE__TO_LANES = eINSTANCE.getLane_ToLanes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Straight</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute LANE__STRAIGHT = eINSTANCE.getLane_Straight();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.SidewalkImpl <em>Sidewalk</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.SidewalkImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getSidewalk()\n\t\t * @generated\n\t\t */\n\t\tEClass SIDEWALK = eINSTANCE.getSidewalk();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.ActionImpl <em>Action</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.ActionImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getAction()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTION = eINSTANCE.getAction();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Start Position</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ACTION__START_POSITION = eINSTANCE.getAction_StartPosition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>End Position</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ACTION__END_POSITION = eINSTANCE.getAction_EndPosition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ACTION__NAME = eINSTANCE.getAction_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.SignImpl <em>Sign</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.SignImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getSign()\n\t\t * @generated\n\t\t */\n\t\tEClass SIGN = eINSTANCE.getSign();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SIGN__NAME = eINSTANCE.getSign_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>For Road Component</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SIGN__FOR_ROAD_COMPONENT = eINSTANCE.getSign_ForRoadComponent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.CrosswalkImpl <em>Crosswalk</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.CrosswalkImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getCrosswalk()\n\t\t * @generated\n\t\t */\n\t\tEClass CROSSWALK = eINSTANCE.getCrosswalk();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.StopSignImpl <em>Stop Sign</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.StopSignImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getStopSign()\n\t\t * @generated\n\t\t */\n\t\tEClass STOP_SIGN = eINSTANCE.getStopSign();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.GiveWaySignImpl <em>Give Way Sign</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.GiveWaySignImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getGiveWaySign()\n\t\t * @generated\n\t\t */\n\t\tEClass GIVE_WAY_SIGN = eINSTANCE.getGiveWaySign();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.ActorType <em>Actor Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.ActorType\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getActorType()\n\t\t * @generated\n\t\t */\n\t\tEEnum ACTOR_TYPE = eINSTANCE.getActorType();\n\n\t}", "interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link language.business.businessEntity.impl.BusinessEntityImpl <em>Business Entity</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see language.business.businessEntity.impl.BusinessEntityImpl\r\n\t\t * @see language.business.businessEntity.impl.BusinessEntityPackageImpl#getBusinessEntity()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass BUSINESS_ENTITY = eINSTANCE.getBusinessEntity();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link language.business.businessEntity.impl.OrganisationImpl <em>Organisation</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see language.business.businessEntity.impl.OrganisationImpl\r\n\t\t * @see language.business.businessEntity.impl.BusinessEntityPackageImpl#getOrganisation()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ORGANISATION = eINSTANCE.getOrganisation();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link language.business.businessEntity.impl.PersonImpl <em>Person</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see language.business.businessEntity.impl.PersonImpl\r\n\t\t * @see language.business.businessEntity.impl.BusinessEntityPackageImpl#getPerson()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass PERSON = eINSTANCE.getPerson();\r\n\r\n\t}", "public Map<String, AClassDecl> basicClasses() {\n\t\tLinkedList<PFeature> featList;\n\t\tLinkedList<PFormal> formalList;\n\t\tPFeature pf;\n\t\t\n\t\tfeatList = new LinkedList<PFeature>();\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"abort\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"type_name\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\n\t\tfeatList.add(pf);\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"copy\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"SELF_TYPE\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\n\t\tfeatList.add(pf);\n\t\t\n\t\tAClassDecl ObjectClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tnew TTypeId(\"_no_class\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\t\t\n\t\t// The IO class inherits from Object. Its methods are\n\t\t// out_string(Str) : SELF_TYPE writes a string to the output\n\t\t// out_int(Int) : SELF_TYPE \" an int \" \" \"\n\t\t// in_string() : Str reads a string from the input\n\t\t// in_int() : Int \" an int \" \" \"\n\t\tfeatList = new LinkedList<PFeature>();\n\t\t\n\t\tformalList = new LinkedList<PFormal>();\t\t\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"String\")));\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"out_string\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"SELF_TYPE\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tformalList = new LinkedList<PFormal>();\t\t\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"Int\")));\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"out_int\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"SELF_TYPE\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tformalList = new LinkedList<PFormal>();\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"in_string\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"in_int\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"Int\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tAClassDecl IOClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"IO\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\n\n\t\t// The Int class has no methods and only a single attribute, the\n\t\t// \"val\" for the integer.\n\t\tfeatList = new LinkedList<PFeature>();\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_val\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tAClassDecl IntClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"Int\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\n\t\t// Bool also has only the \"val\" slot.\n\t\tfeatList = new LinkedList<PFeature>();\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_val\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tAClassDecl BoolClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"Bool\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\n\t\t// The class Str has a number of slots and operations:\n\t\t// val the length of the string\n\t\t// str_field the string itself\n\t\t// length() : Int returns length of the string\n\t\t// concat(arg: Str) : Str performs string concatenation\n\t\t// substr(arg: Int, arg2: Int): Str substring selection\n\t\tfeatList = new LinkedList<PFeature>();\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_val\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_str_field\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"length\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"Int\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\n\t\tfeatList.add(pf);\t\t\n\n\t\tformalList = new LinkedList<PFormal>();\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"String\")));\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"concat\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tformalList = new LinkedList<PFormal>();\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"Int\")));\n\t\tformalList.add(new AFormal(new TObjectId(\"arg2\"), new TTypeId(\"Int\")));\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"substr\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\t\n\t\tAClassDecl StringClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\t\t\n\n\t\t/*\n\t\t * Do something with Object_class, IO_class, Int_class, Bool_class, and\n\t\t * Str_class here \n\t\t * \n\t\t */\n\n\t\tMap<String, AClassDecl> map = new TreeMap<String, AClassDecl>();\n\t\t\t\tOBJECT = new Klass();\n\t\t\t\tOBJECT.name = \"Object\";\n\t\t\t\tOBJECT.parent = null;\n\t\t\t\tOBJECT.methods = null;\n\t\t \t\tOBJECT.vars = null;\n\t\t \t\t\n\t\t \t\tIO = new Klass();\n\t\t \t\tIO.name = \"IO\";\n\t\t \t\tIO.parent = OBJECT;\n\n\t\t \t\t\n\t\t \t\tINT = new Klass();\n\t\t \t\tINT.name = \"Int\";\n\t\t \t\tINT.parent = OBJECT;\n\n\t\t \t\t\n\t\t \t\tBOOL = new Klass();\n\t\t \t\tBOOL.name = \"Bool\";\n\t\t \t\tBOOL.parent = OBJECT;\n\n\t\t\t\t\n\t\t \t\tSTR = new Klass();\n\t\t\t\tSTR.name =\"String\";\n\t\t\t\tSTR.parent = OBJECT;\n\n\t\t\t\t\n\t\t\t\tERROR = new Klass();\n\t\t\t\tERROR.name = \"ERROR\";\n\t\t\t\tERROR.parent = OBJECT;\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tVOID = new Klass();\n\t\t\t\tVOID.name = \"VOID\";\n\t\t\t\tVOID.parent = OBJECT;\n\n\t\t\t\tklasses.put(\"Object\", OBJECT);\n\t\t\t\tklasses.put(\"IO\", IO);\n\t\t\t\tklasses.put(\"Int\", INT);\n\t\t\t\tklasses.put(\"Bool\", BOOL);\n\t\t\t klasses.put(\"String\", STR);\n\t\t\t\t\n\t\tmap.put(\"Object\", ObjectClass);\n\t\tmap.put(\"IO\", IOClass);\n\t\tmap.put(\"Int\", IntClass);\n\t\tmap.put(\"Bool\", BoolClass);\n\t\tmap.put(\"String\", StringClass);\n\t\t\n\t\treturn map;\n\t\t\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link com.misc.common.moplaf.serialize.impl.SerializableImpl <em>Serializable</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.misc.common.moplaf.serialize.impl.SerializableImpl\n\t\t * @see com.misc.common.moplaf.serialize.impl.SerializePackageImpl#getSerializable()\n\t\t * @generated\n\t\t */\n\t\tEClass SERIALIZABLE = eINSTANCE.getSerializable();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERIALIZABLE__NAME = eINSTANCE.getSerializable_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Scheme</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERIALIZABLE__SCHEME = eINSTANCE.getSerializable_Scheme();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Selected Objects</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SERIALIZABLE__SELECTED_OBJECTS = eINSTANCE.getSerializable_SelectedObjects();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.misc.common.moplaf.serialize.impl.DeserializableImpl <em>Deserializable</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.misc.common.moplaf.serialize.impl.DeserializableImpl\n\t\t * @see com.misc.common.moplaf.serialize.impl.SerializePackageImpl#getDeserializable()\n\t\t * @generated\n\t\t */\n\t\tEClass DESERIALIZABLE = eINSTANCE.getDeserializable();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DESERIALIZABLE__NAME = eINSTANCE.getDeserializable_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Scheme</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DESERIALIZABLE__SCHEME = eINSTANCE.getDeserializable_Scheme();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Owned Objects</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DESERIALIZABLE__OWNED_OBJECTS = eINSTANCE.getDeserializable_OwnedObjects();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.smbt.ezlemur.impl.LemurOscCmdImpl <em>Lemur Osc Cmd</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.smbt.ezlemur.impl.LemurOscCmdImpl\n\t\t * @see net.sf.smbt.ezlemur.impl.EzlemurPackageImpl#getLemurOscCmd()\n\t\t * @generated\n\t\t */\n\t\tEClass LEMUR_OSC_CMD = eINSTANCE.getLemurOscCmd();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.smbt.ezlemur.impl.LemurMidiCmdImpl <em>Lemur Midi Cmd</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.smbt.ezlemur.impl.LemurMidiCmdImpl\n\t\t * @see net.sf.smbt.ezlemur.impl.EzlemurPackageImpl#getLemurMidiCmd()\n\t\t * @generated\n\t\t */\n\t\tEClass LEMUR_MIDI_CMD = eINSTANCE.getLemurMidiCmd();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.smbt.ezlemur.impl.LemurDmxCmdImpl <em>Lemur Dmx Cmd</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.smbt.ezlemur.impl.LemurDmxCmdImpl\n\t\t * @see net.sf.smbt.ezlemur.impl.EzlemurPackageImpl#getLemurDmxCmd()\n\t\t * @generated\n\t\t */\n\t\tEClass LEMUR_DMX_CMD = eINSTANCE.getLemurDmxCmd();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.smbt.ezlemur.impl.AbstractLemurOscCmdImpl <em>Abstract Lemur Osc Cmd</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.smbt.ezlemur.impl.AbstractLemurOscCmdImpl\n\t\t * @see net.sf.smbt.ezlemur.impl.EzlemurPackageImpl#getAbstractLemurOscCmd()\n\t\t * @generated\n\t\t */\n\t\tEClass ABSTRACT_LEMUR_OSC_CMD = eINSTANCE.getAbstractLemurOscCmd();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ABSTRACT_LEMUR_OSC_CMD__TARGET = eINSTANCE.getAbstractLemurOscCmd_Target();\n\n\t}", "interface Literals {\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.AvailableKeysTypeImpl <em>Available Keys Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.AvailableKeysTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getAvailableKeysType()\r\n * @generated\r\n */\r\n EClass AVAILABLE_KEYS_TYPE = eINSTANCE.getAvailableKeysType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Key</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute AVAILABLE_KEYS_TYPE__KEY = eINSTANCE.getAvailableKeysType_Key();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.AxisSubsetTypeImpl <em>Axis Subset Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.AxisSubsetTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getAxisSubsetType()\r\n * @generated\r\n */\r\n EClass AXIS_SUBSET_TYPE = eINSTANCE.getAxisSubsetType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute AXIS_SUBSET_TYPE__IDENTIFIER = eINSTANCE.getAxisSubsetType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Key</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute AXIS_SUBSET_TYPE__KEY = eINSTANCE.getAxisSubsetType_Key();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.AxisTypeImpl <em>Axis Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.AxisTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getAxisType()\r\n * @generated\r\n */\r\n EClass AXIS_TYPE = eINSTANCE.getAxisType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Available Keys</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference AXIS_TYPE__AVAILABLE_KEYS = eINSTANCE.getAxisType_AvailableKeys();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Meaning</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference AXIS_TYPE__MEANING = eINSTANCE.getAxisType_Meaning();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Data Type</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference AXIS_TYPE__DATA_TYPE = eINSTANCE.getAxisType_DataType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>UOM</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference AXIS_TYPE__UOM = eINSTANCE.getAxisType_UOM();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Reference System</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference AXIS_TYPE__REFERENCE_SYSTEM = eINSTANCE.getAxisType_ReferenceSystem();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Metadata</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference AXIS_TYPE__METADATA = eINSTANCE.getAxisType_Metadata();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute AXIS_TYPE__IDENTIFIER = eINSTANCE.getAxisType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.CapabilitiesTypeImpl <em>Capabilities Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.CapabilitiesTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getCapabilitiesType()\r\n * @generated\r\n */\r\n EClass CAPABILITIES_TYPE = eINSTANCE.getCapabilitiesType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Contents</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CAPABILITIES_TYPE__CONTENTS = eINSTANCE.getCapabilitiesType_Contents();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.ContentsTypeImpl <em>Contents Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.ContentsTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getContentsType()\r\n * @generated\r\n */\r\n EClass CONTENTS_TYPE = eINSTANCE.getContentsType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverage Summary</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CONTENTS_TYPE__COVERAGE_SUMMARY = eINSTANCE.getContentsType_CoverageSummary();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Supported CRS</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute CONTENTS_TYPE__SUPPORTED_CRS = eINSTANCE.getContentsType_SupportedCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Supported Format</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute CONTENTS_TYPE__SUPPORTED_FORMAT = eINSTANCE.getContentsType_SupportedFormat();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Other Source</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CONTENTS_TYPE__OTHER_SOURCE = eINSTANCE.getContentsType_OtherSource();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.CoverageDescriptionsTypeImpl <em>Coverage Descriptions Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.CoverageDescriptionsTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getCoverageDescriptionsType()\r\n * @generated\r\n */\r\n EClass COVERAGE_DESCRIPTIONS_TYPE = eINSTANCE.getCoverageDescriptionsType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverage Description</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_DESCRIPTIONS_TYPE__COVERAGE_DESCRIPTION = eINSTANCE.getCoverageDescriptionsType_CoverageDescription();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.CoverageDescriptionTypeImpl <em>Coverage Description Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.CoverageDescriptionTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getCoverageDescriptionType()\r\n * @generated\r\n */\r\n EClass COVERAGE_DESCRIPTION_TYPE = eINSTANCE.getCoverageDescriptionType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute COVERAGE_DESCRIPTION_TYPE__IDENTIFIER = eINSTANCE.getCoverageDescriptionType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Metadata</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_DESCRIPTION_TYPE__METADATA = eINSTANCE.getCoverageDescriptionType_Metadata();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Domain</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_DESCRIPTION_TYPE__DOMAIN = eINSTANCE.getCoverageDescriptionType_Domain();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Range</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_DESCRIPTION_TYPE__RANGE = eINSTANCE.getCoverageDescriptionType_Range();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Supported CRS</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute COVERAGE_DESCRIPTION_TYPE__SUPPORTED_CRS = eINSTANCE.getCoverageDescriptionType_SupportedCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Supported Format</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute COVERAGE_DESCRIPTION_TYPE__SUPPORTED_FORMAT = eINSTANCE.getCoverageDescriptionType_SupportedFormat();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.CoverageDomainTypeImpl <em>Coverage Domain Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.CoverageDomainTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getCoverageDomainType()\r\n * @generated\r\n */\r\n EClass COVERAGE_DOMAIN_TYPE = eINSTANCE.getCoverageDomainType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Spatial Domain</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_DOMAIN_TYPE__SPATIAL_DOMAIN = eINSTANCE.getCoverageDomainType_SpatialDomain();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Temporal Domain</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_DOMAIN_TYPE__TEMPORAL_DOMAIN = eINSTANCE.getCoverageDomainType_TemporalDomain();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.CoveragesTypeImpl <em>Coverages Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.CoveragesTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getCoveragesType()\r\n * @generated\r\n */\r\n EClass COVERAGES_TYPE = eINSTANCE.getCoveragesType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverage</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGES_TYPE__COVERAGE = eINSTANCE.getCoveragesType_Coverage();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.CoverageSummaryTypeImpl <em>Coverage Summary Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.CoverageSummaryTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getCoverageSummaryType()\r\n * @generated\r\n */\r\n EClass COVERAGE_SUMMARY_TYPE = eINSTANCE.getCoverageSummaryType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Metadata</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_SUMMARY_TYPE__METADATA = eINSTANCE.getCoverageSummaryType_Metadata();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>WGS84 Bounding Box</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_SUMMARY_TYPE__WGS84_BOUNDING_BOX = eINSTANCE.getCoverageSummaryType_WGS84BoundingBox();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Supported CRS</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute COVERAGE_SUMMARY_TYPE__SUPPORTED_CRS = eINSTANCE.getCoverageSummaryType_SupportedCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Supported Format</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute COVERAGE_SUMMARY_TYPE__SUPPORTED_FORMAT = eINSTANCE.getCoverageSummaryType_SupportedFormat();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverage Summary</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_SUMMARY_TYPE__COVERAGE_SUMMARY = eINSTANCE.getCoverageSummaryType_CoverageSummary();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute COVERAGE_SUMMARY_TYPE__IDENTIFIER = eINSTANCE.getCoverageSummaryType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier1</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute COVERAGE_SUMMARY_TYPE__IDENTIFIER1 = eINSTANCE.getCoverageSummaryType_Identifier1();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.DescribeCoverageTypeImpl <em>Describe Coverage Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.DescribeCoverageTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getDescribeCoverageType()\r\n * @generated\r\n */\r\n EClass DESCRIBE_COVERAGE_TYPE = eINSTANCE.getDescribeCoverageType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DESCRIBE_COVERAGE_TYPE__IDENTIFIER = eINSTANCE.getDescribeCoverageType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.DocumentRootImpl <em>Document Root</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.DocumentRootImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getDocumentRoot()\r\n * @generated\r\n */\r\n EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Available Keys</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__AVAILABLE_KEYS = eINSTANCE.getDocumentRoot_AvailableKeys();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Axis Subset</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__AXIS_SUBSET = eINSTANCE.getDocumentRoot_AxisSubset();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Capabilities</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__CAPABILITIES = eINSTANCE.getDocumentRoot_Capabilities();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Contents</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__CONTENTS = eINSTANCE.getDocumentRoot_Contents();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverage</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__COVERAGE = eINSTANCE.getDocumentRoot_Coverage();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverage Descriptions</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__COVERAGE_DESCRIPTIONS = eINSTANCE.getDocumentRoot_CoverageDescriptions();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverages</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__COVERAGES = eINSTANCE.getDocumentRoot_Coverages();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverage Summary</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__COVERAGE_SUMMARY = eINSTANCE.getDocumentRoot_CoverageSummary();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Describe Coverage</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__DESCRIBE_COVERAGE = eINSTANCE.getDocumentRoot_DescribeCoverage();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Get Capabilities</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__GET_CAPABILITIES = eINSTANCE.getDocumentRoot_GetCapabilities();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Get Coverage</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__GET_COVERAGE = eINSTANCE.getDocumentRoot_GetCoverage();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Base CRS</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOCUMENT_ROOT__GRID_BASE_CRS = eINSTANCE.getDocumentRoot_GridBaseCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid CRS</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__GRID_CRS = eINSTANCE.getDocumentRoot_GridCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid CS</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOCUMENT_ROOT__GRID_CS = eINSTANCE.getDocumentRoot_GridCS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Offsets</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOCUMENT_ROOT__GRID_OFFSETS = eINSTANCE.getDocumentRoot_GridOffsets();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Origin</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOCUMENT_ROOT__GRID_ORIGIN = eINSTANCE.getDocumentRoot_GridOrigin();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Type</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOCUMENT_ROOT__GRID_TYPE = eINSTANCE.getDocumentRoot_GridType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOCUMENT_ROOT__IDENTIFIER = eINSTANCE.getDocumentRoot_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Interpolation Methods</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__INTERPOLATION_METHODS = eINSTANCE.getDocumentRoot_InterpolationMethods();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Temporal Domain</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__TEMPORAL_DOMAIN = eINSTANCE.getDocumentRoot_TemporalDomain();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Temporal Subset</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__TEMPORAL_SUBSET = eINSTANCE.getDocumentRoot_TemporalSubset();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.DomainSubsetTypeImpl <em>Domain Subset Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.DomainSubsetTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getDomainSubsetType()\r\n * @generated\r\n */\r\n EClass DOMAIN_SUBSET_TYPE = eINSTANCE.getDomainSubsetType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Bounding Box Group</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOMAIN_SUBSET_TYPE__BOUNDING_BOX_GROUP = eINSTANCE.getDomainSubsetType_BoundingBoxGroup();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Bounding Box</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOMAIN_SUBSET_TYPE__BOUNDING_BOX = eINSTANCE.getDomainSubsetType_BoundingBox();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Temporal Subset</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOMAIN_SUBSET_TYPE__TEMPORAL_SUBSET = eINSTANCE.getDomainSubsetType_TemporalSubset();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.FieldSubsetTypeImpl <em>Field Subset Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.FieldSubsetTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getFieldSubsetType()\r\n * @generated\r\n */\r\n EClass FIELD_SUBSET_TYPE = eINSTANCE.getFieldSubsetType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference FIELD_SUBSET_TYPE__IDENTIFIER = eINSTANCE.getFieldSubsetType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Interpolation Type</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute FIELD_SUBSET_TYPE__INTERPOLATION_TYPE = eINSTANCE.getFieldSubsetType_InterpolationType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Axis Subset</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference FIELD_SUBSET_TYPE__AXIS_SUBSET = eINSTANCE.getFieldSubsetType_AxisSubset();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.FieldTypeImpl <em>Field Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.FieldTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getFieldType()\r\n * @generated\r\n */\r\n EClass FIELD_TYPE = eINSTANCE.getFieldType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute FIELD_TYPE__IDENTIFIER = eINSTANCE.getFieldType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Definition</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference FIELD_TYPE__DEFINITION = eINSTANCE.getFieldType_Definition();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Null Value</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference FIELD_TYPE__NULL_VALUE = eINSTANCE.getFieldType_NullValue();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Interpolation Methods</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference FIELD_TYPE__INTERPOLATION_METHODS = eINSTANCE.getFieldType_InterpolationMethods();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Axis</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference FIELD_TYPE__AXIS = eINSTANCE.getFieldType_Axis();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.GetCapabilitiesTypeImpl <em>Get Capabilities Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.GetCapabilitiesTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getGetCapabilitiesType()\r\n * @generated\r\n */\r\n EClass GET_CAPABILITIES_TYPE = eINSTANCE.getGetCapabilitiesType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Service</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GET_CAPABILITIES_TYPE__SERVICE = eINSTANCE.getGetCapabilitiesType_Service();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.GetCoverageTypeImpl <em>Get Coverage Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.GetCoverageTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getGetCoverageType()\r\n * @generated\r\n */\r\n EClass GET_COVERAGE_TYPE = eINSTANCE.getGetCoverageType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference GET_COVERAGE_TYPE__IDENTIFIER = eINSTANCE.getGetCoverageType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Domain Subset</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference GET_COVERAGE_TYPE__DOMAIN_SUBSET = eINSTANCE.getGetCoverageType_DomainSubset();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Range Subset</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference GET_COVERAGE_TYPE__RANGE_SUBSET = eINSTANCE.getGetCoverageType_RangeSubset();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Output</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference GET_COVERAGE_TYPE__OUTPUT = eINSTANCE.getGetCoverageType_Output();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.GridCrsTypeImpl <em>Grid Crs Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.GridCrsTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getGridCrsType()\r\n * @generated\r\n */\r\n EClass GRID_CRS_TYPE = eINSTANCE.getGridCrsType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Srs Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GRID_CRS_TYPE__SRS_NAME = eINSTANCE.getGridCrsType_SrsName();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Base CRS</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GRID_CRS_TYPE__GRID_BASE_CRS = eINSTANCE.getGridCrsType_GridBaseCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Type</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GRID_CRS_TYPE__GRID_TYPE = eINSTANCE.getGridCrsType_GridType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Origin</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GRID_CRS_TYPE__GRID_ORIGIN = eINSTANCE.getGridCrsType_GridOrigin();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Offsets</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GRID_CRS_TYPE__GRID_OFFSETS = eINSTANCE.getGridCrsType_GridOffsets();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid CS</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GRID_CRS_TYPE__GRID_CS = eINSTANCE.getGridCrsType_GridCS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GRID_CRS_TYPE__ID = eINSTANCE.getGridCrsType_Id();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.ImageCRSRefTypeImpl <em>Image CRS Ref Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.ImageCRSRefTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getImageCRSRefType()\r\n * @generated\r\n */\r\n EClass IMAGE_CRS_REF_TYPE = eINSTANCE.getImageCRSRefType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Image CRS</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute IMAGE_CRS_REF_TYPE__IMAGE_CRS = eINSTANCE.getImageCRSRefType_ImageCRS();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.InterpolationMethodBaseTypeImpl <em>Interpolation Method Base Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.InterpolationMethodBaseTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getInterpolationMethodBaseType()\r\n * @generated\r\n */\r\n EClass INTERPOLATION_METHOD_BASE_TYPE = eINSTANCE.getInterpolationMethodBaseType();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.InterpolationMethodsTypeImpl <em>Interpolation Methods Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.InterpolationMethodsTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getInterpolationMethodsType()\r\n * @generated\r\n */\r\n EClass INTERPOLATION_METHODS_TYPE = eINSTANCE.getInterpolationMethodsType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Interpolation Method</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference INTERPOLATION_METHODS_TYPE__INTERPOLATION_METHOD = eINSTANCE.getInterpolationMethodsType_InterpolationMethod();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Default</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute INTERPOLATION_METHODS_TYPE__DEFAULT = eINSTANCE.getInterpolationMethodsType_Default();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.InterpolationMethodTypeImpl <em>Interpolation Method Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.InterpolationMethodTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getInterpolationMethodType()\r\n * @generated\r\n */\r\n EClass INTERPOLATION_METHOD_TYPE = eINSTANCE.getInterpolationMethodType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Null Resistance</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute INTERPOLATION_METHOD_TYPE__NULL_RESISTANCE = eINSTANCE.getInterpolationMethodType_NullResistance();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.OutputTypeImpl <em>Output Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.OutputTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getOutputType()\r\n * @generated\r\n */\r\n EClass OUTPUT_TYPE = eINSTANCE.getOutputType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid CRS</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference OUTPUT_TYPE__GRID_CRS = eINSTANCE.getOutputType_GridCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Format</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute OUTPUT_TYPE__FORMAT = eINSTANCE.getOutputType_Format();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Store</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute OUTPUT_TYPE__STORE = eINSTANCE.getOutputType_Store();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.RangeSubsetTypeImpl <em>Range Subset Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.RangeSubsetTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getRangeSubsetType()\r\n * @generated\r\n */\r\n EClass RANGE_SUBSET_TYPE = eINSTANCE.getRangeSubsetType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Field Subset</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference RANGE_SUBSET_TYPE__FIELD_SUBSET = eINSTANCE.getRangeSubsetType_FieldSubset();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.RangeTypeImpl <em>Range Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.RangeTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getRangeType()\r\n * @generated\r\n */\r\n EClass RANGE_TYPE = eINSTANCE.getRangeType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Field</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference RANGE_TYPE__FIELD = eINSTANCE.getRangeType_Field();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.RequestBaseTypeImpl <em>Request Base Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.RequestBaseTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getRequestBaseType()\r\n * @generated\r\n */\r\n EClass REQUEST_BASE_TYPE = eINSTANCE.getRequestBaseType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Service</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute REQUEST_BASE_TYPE__SERVICE = eINSTANCE.getRequestBaseType_Service();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Version</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute REQUEST_BASE_TYPE__VERSION = eINSTANCE.getRequestBaseType_Version();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Base Url</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute REQUEST_BASE_TYPE__BASE_URL = eINSTANCE.getRequestBaseType_BaseUrl();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.SpatialDomainTypeImpl <em>Spatial Domain Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.SpatialDomainTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getSpatialDomainType()\r\n * @generated\r\n */\r\n EClass SPATIAL_DOMAIN_TYPE = eINSTANCE.getSpatialDomainType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Bounding Box Group</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute SPATIAL_DOMAIN_TYPE__BOUNDING_BOX_GROUP = eINSTANCE.getSpatialDomainType_BoundingBoxGroup();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Bounding Box</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference SPATIAL_DOMAIN_TYPE__BOUNDING_BOX = eINSTANCE.getSpatialDomainType_BoundingBox();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid CRS</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference SPATIAL_DOMAIN_TYPE__GRID_CRS = eINSTANCE.getSpatialDomainType_GridCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Transformation</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute SPATIAL_DOMAIN_TYPE__TRANSFORMATION = eINSTANCE.getSpatialDomainType_Transformation();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Image CRS</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference SPATIAL_DOMAIN_TYPE__IMAGE_CRS = eINSTANCE.getSpatialDomainType_ImageCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Polygon</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute SPATIAL_DOMAIN_TYPE__POLYGON = eINSTANCE.getSpatialDomainType_Polygon();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.TimePeriodTypeImpl <em>Time Period Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.TimePeriodTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getTimePeriodType()\r\n * @generated\r\n */\r\n EClass TIME_PERIOD_TYPE = eINSTANCE.getTimePeriodType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Begin Position</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute TIME_PERIOD_TYPE__BEGIN_POSITION = eINSTANCE.getTimePeriodType_BeginPosition();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>End Position</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute TIME_PERIOD_TYPE__END_POSITION = eINSTANCE.getTimePeriodType_EndPosition();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Time Resolution</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute TIME_PERIOD_TYPE__TIME_RESOLUTION = eINSTANCE.getTimePeriodType_TimeResolution();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Frame</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute TIME_PERIOD_TYPE__FRAME = eINSTANCE.getTimePeriodType_Frame();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.TimeSequenceTypeImpl <em>Time Sequence Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.TimeSequenceTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getTimeSequenceType()\r\n * @generated\r\n */\r\n EClass TIME_SEQUENCE_TYPE = eINSTANCE.getTimeSequenceType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Group</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute TIME_SEQUENCE_TYPE__GROUP = eINSTANCE.getTimeSequenceType_Group();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Time Position</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute TIME_SEQUENCE_TYPE__TIME_POSITION = eINSTANCE.getTimeSequenceType_TimePosition();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Time Period</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference TIME_SEQUENCE_TYPE__TIME_PERIOD = eINSTANCE.getTimeSequenceType_TimePeriod();\r\n\r\n /**\r\n * The meta object literal for the '<em>Identifier Type</em>' data type.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see java.lang.String\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getIdentifierType()\r\n * @generated\r\n */\r\n EDataType IDENTIFIER_TYPE = eINSTANCE.getIdentifierType();\r\n\r\n /**\r\n * The meta object literal for the '<em>Interpolation Method Base Type Base</em>' data type.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see java.lang.String\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getInterpolationMethodBaseTypeBase()\r\n * @generated\r\n */\r\n EDataType INTERPOLATION_METHOD_BASE_TYPE_BASE = eINSTANCE.getInterpolationMethodBaseTypeBase();\r\n\r\n /**\r\n * The meta object literal for the '<em>Time Duration Type</em>' data type.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see java.lang.Object\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getTimeDurationType()\r\n * @generated\r\n */\r\n EDataType TIME_DURATION_TYPE = eINSTANCE.getTimeDurationType();\r\n\r\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link codegen.impl.MapEnrtyImpl <em>Map Enrty</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see codegen.impl.MapEnrtyImpl\n\t\t * @see codegen.impl.CodegenPackageImpl#getMapEnrty()\n\t\t * @generated\n\t\t */\n\t\tEClass MAP_ENRTY = eINSTANCE.getMapEnrty();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Key</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute MAP_ENRTY__KEY = eINSTANCE.getMapEnrty_Key();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute MAP_ENRTY__VALUE = eINSTANCE.getMapEnrty_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link codegen.impl.EntityImpl <em>Entity</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see codegen.impl.EntityImpl\n\t\t * @see codegen.impl.CodegenPackageImpl#getEntity()\n\t\t * @generated\n\t\t */\n\t\tEClass ENTITY = eINSTANCE.getEntity();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ENTITY__NAME = eINSTANCE.getEntity_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ENTITY__ATTRIBUTES = eINSTANCE.getEntity_Attributes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Context</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ENTITY__CONTEXT = eINSTANCE.getEntity_Context();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ref Entity</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ENTITY__REF_ENTITY = eINSTANCE.getEntity_RefEntity();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source Column</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ENTITY__SOURCE_COLUMN = eINSTANCE.getEntity_SourceColumn();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Destination</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ENTITY__DESTINATION = eINSTANCE.getEntity_Destination();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link codegen.impl.AttributeImpl <em>Attribute</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see codegen.impl.AttributeImpl\n\t\t * @see codegen.impl.CodegenPackageImpl#getAttribute()\n\t\t * @generated\n\t\t */\n\t\tEClass ATTRIBUTE = eINSTANCE.getAttribute();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ATTRIBUTE__NAME = eINSTANCE.getAttribute_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ATTRIBUTE__TYPE = eINSTANCE.getAttribute_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is Primary Key</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ATTRIBUTE__IS_PRIMARY_KEY = eINSTANCE.getAttribute_IsPrimaryKey();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Context</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ATTRIBUTE__CONTEXT = eINSTANCE.getAttribute_Context();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link codegen.impl.ContextImpl <em>Context</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see codegen.impl.ContextImpl\n\t\t * @see codegen.impl.CodegenPackageImpl#getContext()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTEXT = eINSTANCE.getContext();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Key</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTEXT__KEY = eINSTANCE.getContext_Key();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONTEXT__VALUE = eINSTANCE.getContext_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link codegen.impl.ViewModelImpl <em>View Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see codegen.impl.ViewModelImpl\n\t\t * @see codegen.impl.CodegenPackageImpl#getViewModel()\n\t\t * @generated\n\t\t */\n\t\tEClass VIEW_MODEL = eINSTANCE.getViewModel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Context</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VIEW_MODEL__CONTEXT = eINSTANCE.getViewModel_Context();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>ID</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VIEW_MODEL__ID = eINSTANCE.getViewModel_ID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Entities</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VIEW_MODEL__ENTITIES = eINSTANCE.getViewModel_Entities();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Values</b></em>' map feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VIEW_MODEL__VALUES = eINSTANCE.getViewModel_Values();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Master</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VIEW_MODEL__MASTER = eINSTANCE.getViewModel_Master();\n\n\t}", "interface Literals\n {\n /**\n * The meta object literal for the '{@link com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.InfrastructureImpl <em>Infrastructure</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.InfrastructureImpl\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.GoatInfrastructurePackageImpl#getInfrastructure()\n * @generated\n */\n EClass INFRASTRUCTURE = eINSTANCE.getInfrastructure();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute INFRASTRUCTURE__NAME = eINSTANCE.getInfrastructure_Name();\n\n /**\n * The meta object literal for the '{@link com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.SingleServerImpl <em>Single Server</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.SingleServerImpl\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.GoatInfrastructurePackageImpl#getSingleServer()\n * @generated\n */\n EClass SINGLE_SERVER = eINSTANCE.getSingleServer();\n\n /**\n * The meta object literal for the '<em><b>Server</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute SINGLE_SERVER__SERVER = eINSTANCE.getSingleServer_Server();\n\n /**\n * The meta object literal for the '<em><b>Timeout</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute SINGLE_SERVER__TIMEOUT = eINSTANCE.getSingleServer_Timeout();\n\n /**\n * The meta object literal for the '{@link com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.ClusterImpl <em>Cluster</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.ClusterImpl\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.GoatInfrastructurePackageImpl#getCluster()\n * @generated\n */\n EClass CLUSTER = eINSTANCE.getCluster();\n\n /**\n * The meta object literal for the '<em><b>Message queue</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CLUSTER__MESSAGE_QUEUE = eINSTANCE.getCluster_Message_queue();\n\n /**\n * The meta object literal for the '<em><b>Registration</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CLUSTER__REGISTRATION = eINSTANCE.getCluster_Registration();\n\n /**\n * The meta object literal for the '<em><b>Mid assigner</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CLUSTER__MID_ASSIGNER = eINSTANCE.getCluster_Mid_assigner();\n\n /**\n * The meta object literal for the '<em><b>Nodes</b></em>' attribute list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CLUSTER__NODES = eINSTANCE.getCluster_Nodes();\n\n /**\n * The meta object literal for the '{@link com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.RingImpl <em>Ring</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.RingImpl\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.GoatInfrastructurePackageImpl#getRing()\n * @generated\n */\n EClass RING = eINSTANCE.getRing();\n\n /**\n * The meta object literal for the '<em><b>Registration</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute RING__REGISTRATION = eINSTANCE.getRing_Registration();\n\n /**\n * The meta object literal for the '<em><b>Mid assigner</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute RING__MID_ASSIGNER = eINSTANCE.getRing_Mid_assigner();\n\n /**\n * The meta object literal for the '<em><b>Nodes</b></em>' attribute list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute RING__NODES = eINSTANCE.getRing_Nodes();\n\n /**\n * The meta object literal for the '{@link com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.TreeImpl <em>Tree</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.TreeImpl\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.GoatInfrastructurePackageImpl#getTree()\n * @generated\n */\n EClass TREE = eINSTANCE.getTree();\n\n /**\n * The meta object literal for the '<em><b>Registration</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute TREE__REGISTRATION = eINSTANCE.getTree_Registration();\n\n /**\n * The meta object literal for the '<em><b>Root</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference TREE__ROOT = eINSTANCE.getTree_Root();\n\n /**\n * The meta object literal for the '{@link com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.TreeNodeImpl <em>Tree Node</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.TreeNodeImpl\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.GoatInfrastructurePackageImpl#getTreeNode()\n * @generated\n */\n EClass TREE_NODE = eINSTANCE.getTreeNode();\n\n /**\n * The meta object literal for the '<em><b>Address</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute TREE_NODE__ADDRESS = eINSTANCE.getTreeNode_Address();\n\n /**\n * The meta object literal for the '<em><b>Children</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference TREE_NODE__CHILDREN = eINSTANCE.getTreeNode_Children();\n\n }", "interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link br.org.cursomde.exemplo2.questionario.impl.QuestionarioImpl <em>Questionario</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see br.org.cursomde.exemplo2.questionario.impl.QuestionarioImpl\r\n\t\t * @see br.org.cursomde.exemplo2.questionario.impl.QuestionarioPackageImpl#getQuestionario()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass QUESTIONARIO = eINSTANCE.getQuestionario();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Titulo</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute QUESTIONARIO__TITULO = eINSTANCE.getQuestionario_Titulo();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Descricao</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute QUESTIONARIO__DESCRICAO = eINSTANCE.getQuestionario_Descricao();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Tempo</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute QUESTIONARIO__TEMPO = eINSTANCE.getQuestionario_Tempo();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Perguntas</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference QUESTIONARIO__PERGUNTAS = eINSTANCE.getQuestionario_Perguntas();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link br.org.cursomde.exemplo2.questionario.impl.ItemImpl <em>Item</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see br.org.cursomde.exemplo2.questionario.impl.ItemImpl\r\n\t\t * @see br.org.cursomde.exemplo2.questionario.impl.QuestionarioPackageImpl#getItem()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ITEM = eINSTANCE.getItem();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Inicio</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ITEM__INICIO = eINSTANCE.getItem_Inicio();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Fim</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ITEM__FIM = eINSTANCE.getItem_Fim();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Mensagem</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ITEM__MENSAGEM = eINSTANCE.getItem_Mensagem();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Alternativas</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ITEM__ALTERNATIVAS = eINSTANCE.getItem_Alternativas();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link br.org.cursomde.exemplo2.questionario.impl.RespostaImpl <em>Resposta</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see br.org.cursomde.exemplo2.questionario.impl.RespostaImpl\r\n\t\t * @see br.org.cursomde.exemplo2.questionario.impl.QuestionarioPackageImpl#getResposta()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass RESPOSTA = eINSTANCE.getResposta();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Proxima Pergunta</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference RESPOSTA__PROXIMA_PERGUNTA = eINSTANCE.getResposta_ProximaPergunta();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Texto</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute RESPOSTA__TEXTO = eINSTANCE.getResposta_Texto();\r\n\r\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.keyValuePairImpl <em>key Value Pair</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.keyValuePairImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getkeyValuePair()\n\t\t * @generated\n\t\t */\n\t\tEClass KEY_VALUE_PAIR = eINSTANCE.getkeyValuePair();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Key</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute KEY_VALUE_PAIR__KEY = eINSTANCE.getkeyValuePair_Key();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute KEY_VALUE_PAIR__VALUE = eINSTANCE.getkeyValuePair_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.InstanceBaseImpl <em>Instance Base</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.InstanceBaseImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getInstanceBase()\n\t\t * @generated\n\t\t */\n\t\tEClass INSTANCE_BASE = eINSTANCE.getInstanceBase();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Properties</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference INSTANCE_BASE__PROPERTIES = eINSTANCE.getInstanceBase_Properties();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute INSTANCE_BASE__ID = eINSTANCE.getInstanceBase_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference INSTANCE_BASE__TYPE = eINSTANCE.getInstanceBase_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.NodeInstanceImpl <em>Node Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.NodeInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getNodeInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass NODE_INSTANCE = eINSTANCE.getNodeInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Constraints</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute NODE_INSTANCE__CONSTRAINTS = eINSTANCE.getNodeInstance_Constraints();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Incoming Links</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference NODE_INSTANCE__INCOMING_LINKS = eINSTANCE.getNodeInstance_IncomingLinks();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Outgoing Links</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference NODE_INSTANCE__OUTGOING_LINKS = eINSTANCE.getNodeInstance_OutgoingLinks();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.LinkInstanceImpl <em>Link Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.LinkInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getLinkInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass LINK_INSTANCE = eINSTANCE.getLinkInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Bendpoints</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute LINK_INSTANCE__BENDPOINTS = eINSTANCE.getLinkInstance_Bendpoints();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference LINK_INSTANCE__TARGET = eINSTANCE.getLinkInstance_Target();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference LINK_INSTANCE__SOURCE = eINSTANCE.getLinkInstance_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Container</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference LINK_INSTANCE__CONTAINER = eINSTANCE.getLinkInstance_Container();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.ContainerInstanceImpl <em>Container Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.ContainerInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getContainerInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTAINER_INSTANCE = eINSTANCE.getContainerInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nodes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTAINER_INSTANCE__NODES = eINSTANCE.getContainerInstance_Nodes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Links</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTAINER_INSTANCE__LINKS = eINSTANCE.getContainerInstance_Links();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.ThingInstanceImpl <em>Thing Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.ThingInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getThingInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass THING_INSTANCE = eINSTANCE.getThingInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.TypeDescriptorImpl <em>Type Descriptor</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.TypeDescriptorImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getTypeDescriptor()\n\t\t * @generated\n\t\t */\n\t\tEClass TYPE_DESCRIPTOR = eINSTANCE.getTypeDescriptor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TYPE_DESCRIPTOR__ID = eINSTANCE.getTypeDescriptor_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TYPE_DESCRIPTOR__NAME = eINSTANCE.getTypeDescriptor_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Properties</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TYPE_DESCRIPTOR__PROPERTIES = eINSTANCE.getTypeDescriptor_Properties();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parents</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TYPE_DESCRIPTOR__PARENTS = eINSTANCE.getTypeDescriptor_Parents();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Children</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TYPE_DESCRIPTOR__CHILDREN = eINSTANCE.getTypeDescriptor_Children();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.PropertyDescriptorImpl <em>Property Descriptor</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.PropertyDescriptorImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getPropertyDescriptor()\n\t\t * @generated\n\t\t */\n\t\tEClass PROPERTY_DESCRIPTOR = eINSTANCE.getPropertyDescriptor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute PROPERTY_DESCRIPTOR__NAME = eINSTANCE.getPropertyDescriptor_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute PROPERTY_DESCRIPTOR__TYPE = eINSTANCE.getPropertyDescriptor_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute PROPERTY_DESCRIPTOR__ID = eINSTANCE.getPropertyDescriptor_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.OPmodelHolderImpl <em>OPmodel Holder</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.OPmodelHolderImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getOPmodelHolder()\n\t\t * @generated\n\t\t */\n\t\tEClass OPMODEL_HOLDER = eINSTANCE.getOPmodelHolder();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Container</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMODEL_HOLDER__CONTAINER = eINSTANCE.getOPmodelHolder_Container();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Meta Definition</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMODEL_HOLDER__META_DEFINITION = eINSTANCE.getOPmodelHolder_MetaDefinition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Next Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OPMODEL_HOLDER__NEXT_ID = eINSTANCE.getOPmodelHolder_NextId();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.OPmetaDefinitionImpl <em>OPmeta Definition</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.OPmetaDefinitionImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getOPmetaDefinition()\n\t\t * @generated\n\t\t */\n\t\tEClass OPMETA_DEFINITION = eINSTANCE.getOPmetaDefinition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Types</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMETA_DEFINITION__TYPES = eINSTANCE.getOPmetaDefinition_Types();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nodes</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMETA_DEFINITION__NODES = eINSTANCE.getOPmetaDefinition_Nodes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Containers</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMETA_DEFINITION__CONTAINERS = eINSTANCE.getOPmetaDefinition_Containers();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Links</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMETA_DEFINITION__LINKS = eINSTANCE.getOPmetaDefinition_Links();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Properties</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMETA_DEFINITION__PROPERTIES = eINSTANCE.getOPmetaDefinition_Properties();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Link Validation Rules</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMETA_DEFINITION__LINK_VALIDATION_RULES = eINSTANCE.getOPmetaDefinition_LinkValidationRules();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Containment Validation Rules</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMETA_DEFINITION__CONTAINMENT_VALIDATION_RULES = eINSTANCE.getOPmetaDefinition_ContainmentValidationRules();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.PropertyInstanceImpl <em>Property Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.PropertyInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getPropertyInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass PROPERTY_INSTANCE = eINSTANCE.getPropertyInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Descriptor</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PROPERTY_INSTANCE__DESCRIPTOR = eINSTANCE.getPropertyInstance_Descriptor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute PROPERTY_INSTANCE__VALUE = eINSTANCE.getPropertyInstance_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.PropertyIntInstanceImpl <em>Property Int Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.PropertyIntInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getPropertyIntInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass PROPERTY_INT_INSTANCE = eINSTANCE.getPropertyIntInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.PropertyFloatInstanceImpl <em>Property Float Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.PropertyFloatInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getPropertyFloatInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass PROPERTY_FLOAT_INSTANCE = eINSTANCE.getPropertyFloatInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.PropertyBooleanInstanceImpl <em>Property Boolean Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.PropertyBooleanInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getPropertyBooleanInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass PROPERTY_BOOLEAN_INSTANCE = eINSTANCE.getPropertyBooleanInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.OPmodelLinkValidationRuleImpl <em>OPmodel Link Validation Rule</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.OPmodelLinkValidationRuleImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getOPmodelLinkValidationRule()\n\t\t * @generated\n\t\t */\n\t\tEClass OPMODEL_LINK_VALIDATION_RULE = eINSTANCE.getOPmodelLinkValidationRule();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Valid</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OPMODEL_LINK_VALIDATION_RULE__VALID = eINSTANCE.getOPmodelLinkValidationRule_Valid();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMODEL_LINK_VALIDATION_RULE__SOURCE_TYPE = eINSTANCE.getOPmodelLinkValidationRule_SourceType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMODEL_LINK_VALIDATION_RULE__TARGET_TYPE = eINSTANCE.getOPmodelLinkValidationRule_TargetType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Link Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMODEL_LINK_VALIDATION_RULE__LINK_TYPE = eINSTANCE.getOPmodelLinkValidationRule_LinkType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.OPmodelContainmentValidationRuleImpl <em>OPmodel Containment Validation Rule</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.OPmodelContainmentValidationRuleImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getOPmodelContainmentValidationRule()\n\t\t * @generated\n\t\t */\n\t\tEClass OPMODEL_CONTAINMENT_VALIDATION_RULE = eINSTANCE.getOPmodelContainmentValidationRule();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Valid</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute OPMODEL_CONTAINMENT_VALIDATION_RULE__VALID = eINSTANCE.getOPmodelContainmentValidationRule_Valid();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Container Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMODEL_CONTAINMENT_VALIDATION_RULE__CONTAINER_TYPE = eINSTANCE.getOPmodelContainmentValidationRule_ContainerType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Node Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMODEL_CONTAINMENT_VALIDATION_RULE__NODE_TYPE = eINSTANCE.getOPmodelContainmentValidationRule_NodeType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.propertyType <em>property Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.propertyType\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getpropertyType()\n\t\t * @generated\n\t\t */\n\t\tEEnum PROPERTY_TYPE = eINSTANCE.getpropertyType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Rectangle</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.draw2d.geometry.Rectangle\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getRectangle()\n\t\t * @generated\n\t\t */\n\t\tEDataType RECTANGLE = eINSTANCE.getRectangle();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Point</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.draw2d.geometry.Point\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getPoint()\n\t\t * @generated\n\t\t */\n\t\tEDataType POINT = eINSTANCE.getPoint();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.occiware.cloudwatch.impl.JmxImpl <em>Jmx</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.occiware.cloudwatch.impl.JmxImpl\n\t\t * @see org.occiware.cloudwatch.impl.CloudwatchPackageImpl#getJmx()\n\t\t * @generated\n\t\t */\n\t\tEClass JMX = eINSTANCE.getJmx();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Node Url</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute JMX__NODE_URL = eINSTANCE.getJmx_NodeUrl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Credentials Path</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute JMX__CREDENTIALS_PATH = eINSTANCE.getJmx_CredentialsPath();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.occiware.cloudwatch.impl.CloudautomationmetricImpl <em>Cloudautomationmetric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.occiware.cloudwatch.impl.CloudautomationmetricImpl\n\t\t * @see org.occiware.cloudwatch.impl.CloudwatchPackageImpl#getCloudautomationmetric()\n\t\t * @generated\n\t\t */\n\t\tEClass CLOUDAUTOMATIONMETRIC = eINSTANCE.getCloudautomationmetric();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Metric Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CLOUDAUTOMATIONMETRIC__METRIC_NAME = eINSTANCE.getCloudautomationmetric_MetricName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Metric</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CLOUDAUTOMATIONMETRIC__METRIC = eINSTANCE.getCloudautomationmetric_Metric();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Applies Constraint</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation CLOUDAUTOMATIONMETRIC___APPLIES_CONSTRAINT__DIAGNOSTICCHAIN_MAP_1 = eINSTANCE.getCloudautomationmetric__AppliesConstraint__DiagnosticChain_Map_1();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Applies Constraint</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation CLOUDAUTOMATIONMETRIC___APPLIES_CONSTRAINT__DIAGNOSTICCHAIN_MAP = eINSTANCE.getCloudautomationmetric__AppliesConstraint__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.occiware.cloudwatch.impl.ActionpublisherImpl <em>Actionpublisher</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.occiware.cloudwatch.impl.ActionpublisherImpl\n\t\t * @see org.occiware.cloudwatch.impl.CloudwatchPackageImpl#getActionpublisher()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTIONPUBLISHER = eINSTANCE.getActionpublisher();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Action Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ACTIONPUBLISHER__ACTION_NAME = eINSTANCE.getActionpublisher_ActionName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Applies Constraint</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation ACTIONPUBLISHER___APPLIES_CONSTRAINT__DIAGNOSTICCHAIN_MAP_1 = eINSTANCE.getActionpublisher__AppliesConstraint__DiagnosticChain_Map_1();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Applies Constraint</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation ACTIONPUBLISHER___APPLIES_CONSTRAINT__DIAGNOSTICCHAIN_MAP = eINSTANCE.getActionpublisher__AppliesConstraint__DiagnosticChain_Map();\n\n\t}", "protected static MetaData createMetaDataFromObject(Object o) {\n MetaData metaData = new MetaData(); \r\n \tString className = o.getClass().getName();\r\n \tif(className.indexOf(\"ChestOpen\")>=0){\r\n \t\tmetaData.add(\"TypeInfo\", \"ChestOpen\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\treturn metaData;\r\n \t}\r\n \tif(className.indexOf(\"ChestCreated\")>=0){\r\n \t\tmetaData.add(\"TypeInfo\", \"ChestCreate\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\treturn metaData;\r\n \t}\r\n \tif(className.indexOf(\"ChestClosed\")>=0){\r\n \t\tmetaData.add(\"TypeInfo\", \"ChestClosed\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.OPTIONAL_PROPERTY);\r\n \t\treturn metaData;\r\n \t}\r\n \tif(className.indexOf(\"HealingScript\")>=0) {\r\n \t\tmetaData.add(\"TypeInfo\", \"HealingScript\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \treturn metaData;\r\n } if(className.indexOf(\"AddEffectScript\")>=0){\r\n \t\tmetaData.add(\"TypeInfo\", \"AddEffectScript\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Effect\", \"Poison\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"TargetProperty\", \"Target\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Chance\", new Integer(100),null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.OPTIONAL_PROPERTY);\r\n \t\treturn metaData;\r\n \t}\r\n/*\tTO DO: modify to current version\r\n \r\n \tif(className.indexOf(\"Effect\")>=0){\r\n \t\tmetaData.add(\"TypeInfo\", \"TemporaryEffect\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Time\", new Integer(2000), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Modifier\", Modifier.simple(\"dummy\",-1), null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Stat\", \"MoveSpeed\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Bonus\", new Integer(2000), null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Multiplier\", new Integer(100), null, MetaDataEntry.ANY_VALUE, MetaDataEntry.OPTIONAL_PROPERTY);\r\n \t\tmetaData.add(\"TargetProperty\", \"Target\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Chance\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.OPTIONAL_PROPERTY);\r\n \t\treturn metaData;\r\n \t}*/\r\n \tif(className.indexOf(\"Modifier\")>=0) {\r\n \t\tmetaData.add(\"TypeInfo\", \"SimpleModifier\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Stat\", new String(), null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Bonus\", new Integer(0), null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Multiplier\", new Integer(0), null, MetaDataEntry.ANY_VALUE, MetaDataEntry.OPTIONAL_PROPERTY);\r\n \t\treturn metaData;\r\n \t}\r\n \tif(className.indexOf(\"Personality\")>=0) {\r\n \t\tmetaData.add(\"TypeInfo\", \"Personality\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Type\", new Integer(0), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"SubType\", new Integer(0), new Integer[]{new Integer(0), new Integer(1), new Integer(2), new Integer(3), new Integer(4), new Integer(5), new Integer(6), new Integer(7), new Integer(8)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"State\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.OPTIONAL_PROPERTY);\r\n \t\treturn metaData;\r\n \t}\r\n \treturn null;\r\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link fr.ffontenoy.e4.help.model.help.impl.DefaultTocImpl <em>Toc</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see fr.ffontenoy.e4.help.model.help.impl.DefaultTocImpl\n\t\t * @see fr.ffontenoy.e4.help.model.help.impl.DefaultHelpPackageImpl#getToc()\n\t\t * @generated\n\t\t */\n\t\tEClass TOC = eINSTANCE.getToc();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Label</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TOC__LABEL = eINSTANCE.getToc_Label();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Items</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TOC__ITEMS = eINSTANCE.getToc_Items();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link fr.ffontenoy.e4.help.model.help.impl.DefaultTocItemImpl <em>Toc Item</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see fr.ffontenoy.e4.help.model.help.impl.DefaultTocItemImpl\n\t\t * @see fr.ffontenoy.e4.help.model.help.impl.DefaultHelpPackageImpl#getTocItem()\n\t\t * @generated\n\t\t */\n\t\tEClass TOC_ITEM = eINSTANCE.getTocItem();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TOC_ITEM__ID = eINSTANCE.getTocItem_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Label</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TOC_ITEM__LABEL = eINSTANCE.getTocItem_Label();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Href</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TOC_ITEM__HREF = eINSTANCE.getTocItem_Href();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sub Items</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TOC_ITEM__SUB_ITEMS = eINSTANCE.getTocItem_SubItems();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link net.certware.verification.checklist.impl.CategoryImpl <em>Category</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.certware.verification.checklist.impl.CategoryImpl\n\t\t * @see net.certware.verification.checklist.impl.ChecklistPackageImpl#getCategory()\n\t\t * @generated\n\t\t */\n\t\tEClass CATEGORY = eINSTANCE.getCategory();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CATEGORY__NAME = eINSTANCE.getCategory_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Items</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CATEGORY__ITEMS = eINSTANCE.getCategory_Items();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Comment</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CATEGORY__COMMENT = eINSTANCE.getCategory_Comment();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.certware.verification.checklist.impl.ItemImpl <em>Item</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.certware.verification.checklist.impl.ItemImpl\n\t\t * @see net.certware.verification.checklist.impl.ChecklistPackageImpl#getItem()\n\t\t * @generated\n\t\t */\n\t\tEClass ITEM = eINSTANCE.getItem();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ITEM__IDENTIFIER = eINSTANCE.getItem_Identifier();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ITEM__DESCRIPTION = eINSTANCE.getItem_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Reference</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ITEM__REFERENCE = eINSTANCE.getItem_Reference();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Result</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ITEM__RESULT = eINSTANCE.getItem_Result();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Comment</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ITEM__COMMENT = eINSTANCE.getItem_Comment();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.certware.verification.checklist.impl.ChecklistImpl <em>Checklist</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.certware.verification.checklist.impl.ChecklistImpl\n\t\t * @see net.certware.verification.checklist.impl.ChecklistPackageImpl#getChecklist()\n\t\t * @generated\n\t\t */\n\t\tEClass CHECKLIST = eINSTANCE.getChecklist();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CHECKLIST__NAME = eINSTANCE.getChecklist_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Version</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CHECKLIST__VERSION = eINSTANCE.getChecklist_Version();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Categories</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CHECKLIST__CATEGORIES = eINSTANCE.getChecklist_Categories();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Comment</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CHECKLIST__COMMENT = eINSTANCE.getChecklist_Comment();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.certware.verification.checklist.Choices <em>Choices</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.certware.verification.checklist.Choices\n\t\t * @see net.certware.verification.checklist.impl.ChecklistPackageImpl#getChoices()\n\t\t * @generated\n\t\t */\n\t\tEEnum CHOICES = eINSTANCE.getChoices();\n\n\t}", "public interface Data {\n String DATABASE = \"Database\";\n String ONLINE = \"Online\";\n\n @StringDef({DATABASE, ONLINE})\n @interface Type{}\n\n int DATABASE_ID = 0;\n int ONLINE_ID = 1;\n @IntDef({DATABASE_ID, ONLINE_ID})\n @interface Id{}\n}", "public interface MetaVisitor\n{\n void atomicType(SequenceType node, QName name, SequenceType baseType);\n\n void atomicUrType(SequenceType node);\n\n void attributeType(SequenceType node, QName name, SequenceType type);\n\n void choiceType(SequenceType node, SequenceType lhs, SequenceType rhs);\n\n void commentType(SequenceType node);\n\n void complexType(SequenceType node, QName name, SequenceType baseType);\n\n void complexUrType(SequenceType node);\n\n void concatType(SequenceType node, SequenceType lhs, SequenceType rhs);\n\n void documentType(SequenceType node, SequenceType contentType);\n\n void elementType(SequenceType node, QName name, SequenceType type, boolean nillable);\n\n void emptyType(SequenceType node);\n\n void interleaveType(SequenceType node, SequenceType lhs, SequenceType rhs);\n\n void multiplyType(SequenceType node, SequenceType argument, Quantifier multiplier);\n\n void namespaceType(SequenceType node);\n\n void noneType(SequenceType node);\n\n void processingInstructionType(SequenceType node, String name);\n\n void schemaAttributeType(SequenceType node, QName name);\n\n void schemaElementType(SequenceType type, QName name);\n\n void simpleUrType(SequenceType node);\n\n void textType(SequenceType node);\n}", "public interface Interpretation<ConstantName,Constant,ConceptName,Concept,AttributeName,Attribute, DataTypeName, DataType> {\n\n /** maps constant names to constants\n *\n * @param constantName the applicationName to be mapped to a constant.\n * @return the default value (the applicationName itself)*/\n default Constant getConstant(ConstantName constantName) {return (Constant) constantName;}\n\n /** put the applicationName-constant tuple into the interpretation.\n *\n * @param constantName the applicationName of the concept\n * @param constant the actual concept\n */\n default void putConstant(ConstantName constantName, Constant constant) {};\n\n /** maps concept names to concepts\n *\n * @param conceptName the applicationName to be mapped to a concept\n * @return the default value (the applicationName itself)*/\n default Concept getConcept(ConceptName conceptName) {return (Concept) conceptName;}\n\n /** put the applicationName-concept tuple into the interpretation.\n *\n * @param name the applicationName of the concept\n * @param concept the actual concept\n */\n default void putConcept(ConceptName name, Concept concept) {};\n\n /** maps attribute names to attributes.\n *\n * @param attributeName the applicationName of an attribute\n * @return the default value (the applicationName itself)*/\n default Attribute getAttribute(AttributeName attributeName) {return (Attribute) attributeName;}\n\n /** inserts the (identifier, attribute)-pair into the interpretation.\n *\n * @param name the identifier of the attribute\n * @param attribute the attribute.\n */\n default void putAttribute(ConceptName name, Attribute attribute) {};\n\n /** maps data type names to data types\n *\n * @param id the identifier for a data type\n * @return the default value (the applicationName itself)*/\n default DataType getDataType(DataTypeName id) {return (DataType)this;}\n\n /** inserts a data type into the interpretation\n *\n * @param id the identifier for the data type\n * @param dataType the datatype itself.\n */\n default void putDataType(DataTypeName id, DataType dataType) {}\n\n\n\n}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link NeoEpsilon.impl.ShelfImpl <em>Shelf</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see NeoEpsilon.impl.ShelfImpl\n\t\t * @see NeoEpsilon.impl.NeoEpsilonPackageImpl#getShelf()\n\t\t * @generated\n\t\t */\n\t\tEClass SHELF = eINSTANCE.getShelf();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SHELF__NAME = eINSTANCE.getShelf_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Boxes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SHELF__BOXES = eINSTANCE.getShelf_Boxes();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link NeoEpsilon.impl.BoxImpl <em>Box</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see NeoEpsilon.impl.BoxImpl\n\t\t * @see NeoEpsilon.impl.NeoEpsilonPackageImpl#getBox()\n\t\t * @generated\n\t\t */\n\t\tEClass BOX = eINSTANCE.getBox();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute BOX__NAME = eINSTANCE.getBox_Name();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.TestImpl <em>Test</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.TestImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getTest()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST = eINSTANCE.getTest();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Uses</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TEST__USES = eINSTANCE.getTest_Uses();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Contains</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TEST__CONTAINS = eINSTANCE.getTest_Contains();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.ClassAnnotationImpl <em>Class Annotation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.ClassAnnotationImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getClassAnnotation()\n\t\t * @generated\n\t\t */\n\t\tEClass CLASS_ANNOTATION = eINSTANCE.getClassAnnotation();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.JUAssertionImpl <em>JU Assertion</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.JUAssertionImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getJUAssertion()\n\t\t * @generated\n\t\t */\n\t\tEClass JU_ASSERTION = eINSTANCE.getJUAssertion();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.FixtureImpl <em>Fixture</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.FixtureImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getFixture()\n\t\t * @generated\n\t\t */\n\t\tEClass FIXTURE = eINSTANCE.getFixture();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is Used By</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FIXTURE__IS_USED_BY = eINSTANCE.getFixture_IsUsedBy();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>After</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FIXTURE__AFTER = eINSTANCE.getFixture_After();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Before</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FIXTURE__BEFORE = eINSTANCE.getFixture_Before();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Set Up</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FIXTURE__SET_UP = eINSTANCE.getFixture_SetUp();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.SetupImpl <em>Setup</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.SetupImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getSetup()\n\t\t * @generated\n\t\t */\n\t\tEClass SETUP = eINSTANCE.getSetup();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.MethodImpl <em>Method</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.MethodImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getMethod()\n\t\t * @generated\n\t\t */\n\t\tEClass METHOD = eINSTANCE.getMethod();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Annotation</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference METHOD__ANNOTATION = eINSTANCE.getMethod_Annotation();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.JUAnnotationImpl <em>JU Annotation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.JUAnnotationImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getJUAnnotation()\n\t\t * @generated\n\t\t */\n\t\tEClass JU_ANNOTATION = eINSTANCE.getJUAnnotation();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.MethodAnnotationImpl <em>Method Annotation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.MethodAnnotationImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getMethodAnnotation()\n\t\t * @generated\n\t\t */\n\t\tEClass METHOD_ANNOTATION = eINSTANCE.getMethodAnnotation();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.TestAnnotationImpl <em>Test Annotation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.TestAnnotationImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getTestAnnotation()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST_ANNOTATION = eINSTANCE.getTestAnnotation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Expected Exception</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TEST_ANNOTATION__EXPECTED_EXCEPTION = eINSTANCE.getTestAnnotation_ExpectedException();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.BeforeImpl <em>Before</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.BeforeImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getBefore()\n\t\t * @generated\n\t\t */\n\t\tEClass BEFORE = eINSTANCE.getBefore();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.AfterImpl <em>After</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.AfterImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getAfter()\n\t\t * @generated\n\t\t */\n\t\tEClass AFTER = eINSTANCE.getAfter();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.SuiteImpl <em>Suite</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.SuiteImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getSuite()\n\t\t * @generated\n\t\t */\n\t\tEClass SUITE = eINSTANCE.getSuite();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tests</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SUITE__TESTS = eINSTANCE.getSuite_Tests();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.JUClassImpl <em>JU Class</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.JUClassImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getJUClass()\n\t\t * @generated\n\t\t */\n\t\tEClass JU_CLASS = eINSTANCE.getJUClass();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Methods</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference JU_CLASS__METHODS = eINSTANCE.getJUClass_Methods();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Fixture</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference JU_CLASS__FIXTURE = eINSTANCE.getJUClass_Fixture();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.RunnerImpl <em>Runner</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.RunnerImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getRunner()\n\t\t * @generated\n\t\t */\n\t\tEClass RUNNER = eINSTANCE.getRunner();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Runs</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference RUNNER__RUNS = eINSTANCE.getRunner_Runs();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.RootImpl <em>Root</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.RootImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getRoot()\n\t\t * @generated\n\t\t */\n\t\tEClass ROOT = eINSTANCE.getRoot();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Runners</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROOT__RUNNERS = eINSTANCE.getRoot_Runners();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Classes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROOT__CLASSES = eINSTANCE.getRoot_Classes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Annotations</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROOT__ANNOTATIONS = eINSTANCE.getRoot_Annotations();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Setup</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROOT__SETUP = eINSTANCE.getRoot_Setup();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.NamedElementImpl <em>Named Element</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.NamedElementImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getNamedElement()\n\t\t * @generated\n\t\t */\n\t\tEClass NAMED_ELEMENT = eINSTANCE.getNamedElement();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute NAMED_ELEMENT__NAME = eINSTANCE.getNamedElement_Name();\n\n\t}", "private void installBasicClasses() {\n \tAbstractSymbol filename \n \t = AbstractTable.stringtable.addString(\"<basic class>\");\n \t\n \t// The following demonstrates how to create dummy parse trees to\n \t// refer to basic Cool classes. There's no need for method\n \t// bodies -- these are already built into the runtime system.\n \n \t// IMPORTANT: The results of the following expressions are\n \t// stored in local variables. You will want to do something\n \t// with those variables at the end of this method to make this\n \t// code meaningful.\n \n \t// The Object class has no parent class. Its methods are\n \t// cool_abort() : Object aborts the program\n \t// type_name() : Str returns a string representation \n \t// of class name\n \t// copy() : SELF_TYPE returns a copy of the object\n \n \tclass_c Object_class = \n \t new class_c(0, \n \t\t TreeConstants.Object_, \n \t\t TreeConstants.No_class,\n \t\t new Features(0)\n \t\t\t .appendElement(new method(0, \n \t\t\t\t\t TreeConstants.cool_abort, \n \t\t\t\t\t new Formals(0), \n \t\t\t\t\t TreeConstants.Object_, \n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.type_name,\n \t\t\t\t\t new Formals(0),\n \t\t\t\t\t TreeConstants.Str,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.copy,\n \t\t\t\t\t new Formals(0),\n \t\t\t\t\t TreeConstants.SELF_TYPE,\n \t\t\t\t\t new no_expr(0))),\n \t\t filename);\n \t\n \t// The IO class inherits from Object. Its methods are\n \t// out_string(Str) : SELF_TYPE writes a string to the output\n \t// out_int(Int) : SELF_TYPE \" an int \" \" \"\n \t// in_string() : Str reads a string from the input\n \t// in_int() : Int \" an int \" \" \"\n \n \tclass_c IO_class = \n \t new class_c(0,\n \t\t TreeConstants.IO,\n \t\t TreeConstants.Object_,\n \t\t new Features(0)\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.out_string,\n \t\t\t\t\t new Formals(0)\n \t\t\t\t\t\t .appendElement(new formalc(0,\n \t\t\t\t\t\t\t\t TreeConstants.arg,\n \t\t\t\t\t\t\t\t TreeConstants.Str)),\n \t\t\t\t\t TreeConstants.SELF_TYPE,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.out_int,\n \t\t\t\t\t new Formals(0)\n \t\t\t\t\t\t .appendElement(new formalc(0,\n \t\t\t\t\t\t\t\t TreeConstants.arg,\n \t\t\t\t\t\t\t\t TreeConstants.Int)),\n \t\t\t\t\t TreeConstants.SELF_TYPE,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.in_string,\n \t\t\t\t\t new Formals(0),\n \t\t\t\t\t TreeConstants.Str,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.in_int,\n \t\t\t\t\t new Formals(0),\n \t\t\t\t\t TreeConstants.Int,\n \t\t\t\t\t new no_expr(0))),\n \t\t filename);\n \n \t// The Int class has no methods and only a single attribute, the\n \t// \"val\" for the integer.\n \n \tclass_c Int_class = \n \t new class_c(0,\n \t\t TreeConstants.Int,\n \t\t TreeConstants.Object_,\n \t\t new Features(0)\n \t\t\t .appendElement(new attr(0,\n \t\t\t\t\t TreeConstants.val,\n \t\t\t\t\t TreeConstants.prim_slot,\n \t\t\t\t\t new no_expr(0))),\n \t\t filename);\n \n \t// Bool also has only the \"val\" slot.\n \tclass_c Bool_class = \n \t new class_c(0,\n \t\t TreeConstants.Bool,\n \t\t TreeConstants.Object_,\n \t\t new Features(0)\n \t\t\t .appendElement(new attr(0,\n \t\t\t\t\t TreeConstants.val,\n \t\t\t\t\t TreeConstants.prim_slot,\n \t\t\t\t\t new no_expr(0))),\n \t\t filename);\n \n \t// The class Str has a number of slots and operations:\n \t// val the length of the string\n \t// str_field the string itself\n \t// length() : Int returns length of the string\n \t// concat(arg: Str) : Str performs string concatenation\n \t// substr(arg: Int, arg2: Int): Str substring selection\n \n \tclass_c Str_class =\n \t new class_c(0,\n \t\t TreeConstants.Str,\n \t\t TreeConstants.Object_,\n \t\t new Features(0)\n \t\t\t .appendElement(new attr(0,\n \t\t\t\t\t TreeConstants.val,\n \t\t\t\t\t TreeConstants.Int,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new attr(0,\n \t\t\t\t\t TreeConstants.str_field,\n \t\t\t\t\t TreeConstants.prim_slot,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.length,\n \t\t\t\t\t new Formals(0),\n \t\t\t\t\t TreeConstants.Int,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.concat,\n \t\t\t\t\t new Formals(0)\n \t\t\t\t\t\t .appendElement(new formalc(0,\n \t\t\t\t\t\t\t\t TreeConstants.arg, \n \t\t\t\t\t\t\t\t TreeConstants.Str)),\n \t\t\t\t\t TreeConstants.Str,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.substr,\n \t\t\t\t\t new Formals(0)\n \t\t\t\t\t\t .appendElement(new formalc(0,\n \t\t\t\t\t\t\t\t TreeConstants.arg,\n \t\t\t\t\t\t\t\t TreeConstants.Int))\n \t\t\t\t\t\t .appendElement(new formalc(0,\n \t\t\t\t\t\t\t\t TreeConstants.arg2,\n \t\t\t\t\t\t\t\t TreeConstants.Int)),\n \t\t\t\t\t TreeConstants.Str,\n \t\t\t\t\t new no_expr(0))),\n \t\t filename);\n \n \t/* Do somethind with Object_class, IO_class, Int_class,\n Bool_class, and Str_class here */\n nameToClass.put(TreeConstants.Object_.getString(), Object_class);\n nameToClass.put(TreeConstants.IO.getString(), IO_class);\n nameToClass.put(TreeConstants.Int.getString(), Int_class);\n nameToClass.put(TreeConstants.Bool.getString(), Bool_class);\n nameToClass.put(TreeConstants.Str.getString(), Str_class);\n adjacencyList.put(TreeConstants.Object_.getString(), new ArrayList<String>() );\n adjacencyList.put(TreeConstants.IO.getString(), new ArrayList<String>() );\n adjacencyList.put(TreeConstants.Int.getString(), new ArrayList<String>() );\n adjacencyList.put(TreeConstants.Bool.getString(), new ArrayList<String>() );\n adjacencyList.put(TreeConstants.Str.getString(), new ArrayList<String>() );\n // Do the same for other basic classes\n basicClassList = new Classes(0);\n basicClassList.appendElement(Object_class);\n basicClassList.appendElement(IO_class);\n basicClassList.appendElement(Int_class);\n basicClassList.appendElement(Bool_class);\n basicClassList.appendElement(Str_class);\n \n }", "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}", "interface Literals\r\n {\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.ModelImpl <em>Model</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.ModelImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getModel()\r\n * @generated\r\n */\r\n EClass MODEL = eINSTANCE.getModel();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Statements</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference MODEL__STATEMENTS = eINSTANCE.getModel_Statements();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.StatementImpl <em>Statement</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.StatementImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getStatement()\r\n * @generated\r\n */\r\n EClass STATEMENT = eINSTANCE.getStatement();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute STATEMENT__NAME = eINSTANCE.getStatement_Name();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.ClassDeclImpl <em>Class Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.ClassDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getClassDecl()\r\n * @generated\r\n */\r\n EClass CLASS_DECL = eINSTANCE.getClassDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Inherits</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CLASS_DECL__INHERITS = eINSTANCE.getClassDecl_Inherits();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Sections</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CLASS_DECL__SECTIONS = eINSTANCE.getClassDecl_Sections();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.ClassMemberImpl <em>Class Member</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.ClassMemberImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getClassMember()\r\n * @generated\r\n */\r\n EClass CLASS_MEMBER = eINSTANCE.getClassMember();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute CLASS_MEMBER__NAME = eINSTANCE.getClassMember_Name();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.ClassSectionDeclImpl <em>Class Section Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.ClassSectionDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getClassSectionDecl()\r\n * @generated\r\n */\r\n EClass CLASS_SECTION_DECL = eINSTANCE.getClassSectionDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Visibility</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CLASS_SECTION_DECL__VISIBILITY = eINSTANCE.getClassSectionDecl_Visibility();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Members</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CLASS_SECTION_DECL__MEMBERS = eINSTANCE.getClassSectionDecl_Members();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.VisibilityDeclImpl <em>Visibility Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.VisibilityDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getVisibilityDecl()\r\n * @generated\r\n */\r\n EClass VISIBILITY_DECL = eINSTANCE.getVisibilityDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Visibility</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute VISIBILITY_DECL__VISIBILITY = eINSTANCE.getVisibilityDecl_Visibility();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.MethodDeclImpl <em>Method Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.MethodDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getMethodDecl()\r\n * @generated\r\n */\r\n EClass METHOD_DECL = eINSTANCE.getMethodDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Return Type</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute METHOD_DECL__RETURN_TYPE = eINSTANCE.getMethodDecl_ReturnType();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.AttributeDeclImpl <em>Attribute Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.AttributeDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getAttributeDecl()\r\n * @generated\r\n */\r\n EClass ATTRIBUTE_DECL = eINSTANCE.getAttributeDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute ATTRIBUTE_DECL__TYPE = eINSTANCE.getAttributeDecl_Type();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.AssociationDeclImpl <em>Association Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.AssociationDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getAssociationDecl()\r\n * @generated\r\n */\r\n EClass ASSOCIATION_DECL = eINSTANCE.getAssociationDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Type</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference ASSOCIATION_DECL__TYPE = eINSTANCE.getAssociationDecl_Type();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.SequenceDeclImpl <em>Sequence Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.SequenceDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getSequenceDecl()\r\n * @generated\r\n */\r\n EClass SEQUENCE_DECL = eINSTANCE.getSequenceDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Sections</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference SEQUENCE_DECL__SECTIONS = eINSTANCE.getSequenceDecl_Sections();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.SequenceSectionDeclImpl <em>Sequence Section Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.SequenceSectionDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getSequenceSectionDecl()\r\n * @generated\r\n */\r\n EClass SEQUENCE_SECTION_DECL = eINSTANCE.getSequenceSectionDecl();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.ActorSectionDeclImpl <em>Actor Section Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.ActorSectionDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getActorSectionDecl()\r\n * @generated\r\n */\r\n EClass ACTOR_SECTION_DECL = eINSTANCE.getActorSectionDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Actors</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference ACTOR_SECTION_DECL__ACTORS = eINSTANCE.getActorSectionDecl_Actors();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.MessageSectionDeclImpl <em>Message Section Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.MessageSectionDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getMessageSectionDecl()\r\n * @generated\r\n */\r\n EClass MESSAGE_SECTION_DECL = eINSTANCE.getMessageSectionDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Messages</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference MESSAGE_SECTION_DECL__MESSAGES = eINSTANCE.getMessageSectionDecl_Messages();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.ActorDeclImpl <em>Actor Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.ActorDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getActorDecl()\r\n * @generated\r\n */\r\n EClass ACTOR_DECL = eINSTANCE.getActorDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute ACTOR_DECL__NAME = eINSTANCE.getActorDecl_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Class Ref</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference ACTOR_DECL__CLASS_REF = eINSTANCE.getActorDecl_ClassRef();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.MessageDeclImpl <em>Message Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.MessageDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getMessageDecl()\r\n * @generated\r\n */\r\n EClass MESSAGE_DECL = eINSTANCE.getMessageDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute MESSAGE_DECL__NAME = eINSTANCE.getMessageDecl_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Left Op</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference MESSAGE_DECL__LEFT_OP = eINSTANCE.getMessageDecl_LeftOp();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Operator</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute MESSAGE_DECL__OPERATOR = eINSTANCE.getMessageDecl_Operator();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Righ Op</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference MESSAGE_DECL__RIGH_OP = eINSTANCE.getMessageDecl_RighOp();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Method</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference MESSAGE_DECL__METHOD = eINSTANCE.getMessageDecl_Method();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.MessageOperator <em>Message Operator</em>}' enum.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.MessageOperator\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getMessageOperator()\r\n * @generated\r\n */\r\n EEnum MESSAGE_OPERATOR = eINSTANCE.getMessageOperator();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.DataType <em>Data Type</em>}' enum.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.DataType\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getDataType()\r\n * @generated\r\n */\r\n EEnum DATA_TYPE = eINSTANCE.getDataType();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.Visibility <em>Visibility</em>}' enum.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.Visibility\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getVisibility()\r\n * @generated\r\n */\r\n EEnum VISIBILITY = eINSTANCE.getVisibility();\r\n\r\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link rMSAS.architecturalModel.impl.ArchitecturalRefactoringImpl <em>Architectural Refactoring</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see rMSAS.architecturalModel.impl.ArchitecturalRefactoringImpl\n\t\t * @see rMSAS.architecturalModel.impl.ArchitecturalModelPackageImpl#getArchitecturalRefactoring()\n\t\t * @generated\n\t\t */\n\t\tEClass ARCHITECTURAL_REFACTORING = eINSTANCE.getArchitecturalRefactoring();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ARCHITECTURAL_REFACTORING__NAME = eINSTANCE.getArchitecturalRefactoring_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Smell</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ARCHITECTURAL_REFACTORING__SMELL = eINSTANCE.getArchitecturalRefactoring_Smell();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Engine</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ARCHITECTURAL_REFACTORING__ENGINE = eINSTANCE.getArchitecturalRefactoring_Engine();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ARCHITECTURAL_REFACTORING__DESCRIPTION = eINSTANCE.getArchitecturalRefactoring_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Architectural Operation</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ARCHITECTURAL_REFACTORING__ARCHITECTURAL_OPERATION = eINSTANCE.getArchitecturalRefactoring_ArchitecturalOperation();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link rMSAS.architecturalModel.impl.AbstractArchitecturalOperationImpl <em>Abstract Architectural Operation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see rMSAS.architecturalModel.impl.AbstractArchitecturalOperationImpl\n\t\t * @see rMSAS.architecturalModel.impl.ArchitecturalModelPackageImpl#getAbstractArchitecturalOperation()\n\t\t * @generated\n\t\t */\n\t\tEClass ABSTRACT_ARCHITECTURAL_OPERATION = eINSTANCE.getAbstractArchitecturalOperation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ABSTRACT_ARCHITECTURAL_OPERATION__DESCRIPTION = eINSTANCE.getAbstractArchitecturalOperation_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Code Operation</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ABSTRACT_ARCHITECTURAL_OPERATION__CODE_OPERATION = eINSTANCE.getAbstractArchitecturalOperation_CodeOperation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Condition</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ABSTRACT_ARCHITECTURAL_OPERATION__CONDITION = eINSTANCE.getAbstractArchitecturalOperation_Condition();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link rMSAS.architecturalModel.impl.MoveImpl <em>Move</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see rMSAS.architecturalModel.impl.MoveImpl\n\t\t * @see rMSAS.architecturalModel.impl.ArchitecturalModelPackageImpl#getMove()\n\t\t * @generated\n\t\t */\n\t\tEClass MOVE = eINSTANCE.getMove();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MOVE__FROM = eINSTANCE.getMove_From();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MOVE__TO = eINSTANCE.getMove_To();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Abstraction</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MOVE__ABSTRACTION = eINSTANCE.getMove_Abstraction();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link rMSAS.architecturalModel.impl.CreateImpl <em>Create</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see rMSAS.architecturalModel.impl.CreateImpl\n\t\t * @see rMSAS.architecturalModel.impl.ArchitecturalModelPackageImpl#getCreate()\n\t\t * @generated\n\t\t */\n\t\tEClass CREATE = eINSTANCE.getCreate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>In</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CREATE__IN = eINSTANCE.getCreate_In();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Abstraction</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CREATE__ABSTRACTION = eINSTANCE.getCreate_Abstraction();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link rMSAS.architecturalModel.impl.DeleteImpl <em>Delete</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see rMSAS.architecturalModel.impl.DeleteImpl\n\t\t * @see rMSAS.architecturalModel.impl.ArchitecturalModelPackageImpl#getDelete()\n\t\t * @generated\n\t\t */\n\t\tEClass DELETE = eINSTANCE.getDelete();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DELETE__FROM = eINSTANCE.getDelete_From();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Abstraction</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DELETE__ABSTRACTION = eINSTANCE.getDelete_Abstraction();\n\n\t}", "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}", "interface Literals\n {\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.GameImpl <em>Game</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.GameImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getGame()\n * @generated\n */\n EClass GAME = eINSTANCE.getGame();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute GAME__NAME = eINSTANCE.getGame_Name();\n\n /**\n * The meta object literal for the '<em><b>Player</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__PLAYER = eINSTANCE.getGame_Player();\n\n /**\n * The meta object literal for the '<em><b>Places</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__PLACES = eINSTANCE.getGame_Places();\n\n /**\n * The meta object literal for the '<em><b>Knowledge</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__KNOWLEDGE = eINSTANCE.getGame_Knowledge();\n\n /**\n * The meta object literal for the '<em><b>People</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__PEOPLE = eINSTANCE.getGame_People();\n\n /**\n * The meta object literal for the '<em><b>Items</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__ITEMS = eINSTANCE.getGame_Items();\n\n /**\n * The meta object literal for the '<em><b>Path</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__PATH = eINSTANCE.getGame_Path();\n\n /**\n * The meta object literal for the '<em><b>Recipes</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__RECIPES = eINSTANCE.getGame_Recipes();\n\n /**\n * The meta object literal for the '<em><b>Start Place</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__START_PLACE = eINSTANCE.getGame_StartPlace();\n\n /**\n * The meta object literal for the '<em><b>End Place</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__END_PLACE = eINSTANCE.getGame_EndPlace();\n\n /**\n * The meta object literal for the '<em><b>Difficulty</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__DIFFICULTY = eINSTANCE.getGame_Difficulty();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.DifficultyImpl <em>Difficulty</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.DifficultyImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getDifficulty()\n * @generated\n */\n EClass DIFFICULTY = eINSTANCE.getDifficulty();\n\n /**\n * The meta object literal for the '<em><b>Lvl</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute DIFFICULTY__LVL = eINSTANCE.getDifficulty_Lvl();\n\n /**\n * The meta object literal for the '<em><b>Size Max</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute DIFFICULTY__SIZE_MAX = eINSTANCE.getDifficulty_SizeMax();\n\n /**\n * The meta object literal for the '<em><b>Items</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DIFFICULTY__ITEMS = eINSTANCE.getDifficulty_Items();\n\n /**\n * The meta object literal for the '<em><b>Knowledges</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DIFFICULTY__KNOWLEDGES = eINSTANCE.getDifficulty_Knowledges();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.PlayerImpl <em>Player</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.PlayerImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getPlayer()\n * @generated\n */\n EClass PLAYER = eINSTANCE.getPlayer();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PLAYER__NAME = eINSTANCE.getPlayer_Name();\n\n /**\n * The meta object literal for the '<em><b>Items</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PLAYER__ITEMS = eINSTANCE.getPlayer_Items();\n\n /**\n * The meta object literal for the '<em><b>Knowledge</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PLAYER__KNOWLEDGE = eINSTANCE.getPlayer_Knowledge();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.ElementJeuFactImpl <em>Element Jeu Fact</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.ElementJeuFactImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getElementJeuFact()\n * @generated\n */\n EClass ELEMENT_JEU_FACT = eINSTANCE.getElementJeuFact();\n\n /**\n * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ELEMENT_JEU_FACT__DESCRIPTION = eINSTANCE.getElementJeuFact_Description();\n\n /**\n * The meta object literal for the '<em><b>Visible</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ELEMENT_JEU_FACT__VISIBLE = eINSTANCE.getElementJeuFact_Visible();\n\n /**\n * The meta object literal for the '<em><b>Cond</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ELEMENT_JEU_FACT__COND = eINSTANCE.getElementJeuFact_Cond();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.PeopleImpl <em>People</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.PeopleImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getPeople()\n * @generated\n */\n EClass PEOPLE = eINSTANCE.getPeople();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PEOPLE__NAME = eINSTANCE.getPeople_Name();\n\n /**\n * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PEOPLE__DESCRIPTION = eINSTANCE.getPeople_Description();\n\n /**\n * The meta object literal for the '<em><b>Visible</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PEOPLE__VISIBLE = eINSTANCE.getPeople_Visible();\n\n /**\n * The meta object literal for the '<em><b>Conditions Visible</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PEOPLE__CONDITIONS_VISIBLE = eINSTANCE.getPeople_ConditionsVisible();\n\n /**\n * The meta object literal for the '<em><b>Active</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PEOPLE__ACTIVE = eINSTANCE.getPeople_Active();\n\n /**\n * The meta object literal for the '<em><b>Conditions Active</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PEOPLE__CONDITIONS_ACTIVE = eINSTANCE.getPeople_ConditionsActive();\n\n /**\n * The meta object literal for the '<em><b>Is Mandatory</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PEOPLE__IS_MANDATORY = eINSTANCE.getPeople_IsMandatory();\n\n /**\n * The meta object literal for the '<em><b>Interaction</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PEOPLE__INTERACTION = eINSTANCE.getPeople_Interaction();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.PathImpl <em>Path</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.PathImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getPath()\n * @generated\n */\n EClass PATH = eINSTANCE.getPath();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PATH__NAME = eINSTANCE.getPath_Name();\n\n /**\n * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PATH__DESCRIPTION = eINSTANCE.getPath_Description();\n\n /**\n * The meta object literal for the '<em><b>Visible</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PATH__VISIBLE = eINSTANCE.getPath_Visible();\n\n /**\n * The meta object literal for the '<em><b>Condition Visible</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PATH__CONDITION_VISIBLE = eINSTANCE.getPath_ConditionVisible();\n\n /**\n * The meta object literal for the '<em><b>End Place</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PATH__END_PLACE = eINSTANCE.getPath_EndPlace();\n\n /**\n * The meta object literal for the '<em><b>Is Open</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PATH__IS_OPEN = eINSTANCE.getPath_IsOpen();\n\n /**\n * The meta object literal for the '<em><b>Conditions Opening</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PATH__CONDITIONS_OPENING = eINSTANCE.getPath_ConditionsOpening();\n\n /**\n * The meta object literal for the '<em><b>Is Mandatory</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PATH__IS_MANDATORY = eINSTANCE.getPath_IsMandatory();\n\n /**\n * The meta object literal for the '<em><b>Knowledge Given</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PATH__KNOWLEDGE_GIVEN = eINSTANCE.getPath_KnowledgeGiven();\n\n /**\n * The meta object literal for the '<em><b>Items Given</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PATH__ITEMS_GIVEN = eINSTANCE.getPath_ItemsGiven();\n\n /**\n * The meta object literal for the '<em><b>Items Consumed</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PATH__ITEMS_CONSUMED = eINSTANCE.getPath_ItemsConsumed();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.ItemImpl <em>Item</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.ItemImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getItem()\n * @generated\n */\n EClass ITEM = eINSTANCE.getItem();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM__NAME = eINSTANCE.getItem_Name();\n\n /**\n * The meta object literal for the '<em><b>Size</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM__SIZE = eINSTANCE.getItem_Size();\n\n /**\n * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM__DESCRIPTION = eINSTANCE.getItem_Description();\n\n /**\n * The meta object literal for the '<em><b>Visible</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM__VISIBLE = eINSTANCE.getItem_Visible();\n\n /**\n * The meta object literal for the '<em><b>Conditions Visible</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ITEM__CONDITIONS_VISIBLE = eINSTANCE.getItem_ConditionsVisible();\n\n /**\n * The meta object literal for the '<em><b>Active</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM__ACTIVE = eINSTANCE.getItem_Active();\n\n /**\n * The meta object literal for the '<em><b>Conditions Active</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ITEM__CONDITIONS_ACTIVE = eINSTANCE.getItem_ConditionsActive();\n\n /**\n * The meta object literal for the '<em><b>Can Put Down</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM__CAN_PUT_DOWN = eINSTANCE.getItem_CanPutDown();\n\n /**\n * The meta object literal for the '<em><b>Conditions Put Down</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ITEM__CONDITIONS_PUT_DOWN = eINSTANCE.getItem_ConditionsPutDown();\n\n /**\n * The meta object literal for the '<em><b>Conditions Give</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ITEM__CONDITIONS_GIVE = eINSTANCE.getItem_ConditionsGive();\n\n /**\n * The meta object literal for the '<em><b>Conditions Consumed</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ITEM__CONDITIONS_CONSUMED = eINSTANCE.getItem_ConditionsConsumed();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.ItemInSomethingImpl <em>Item In Something</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.ItemInSomethingImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getItemInSomething()\n * @generated\n */\n EClass ITEM_IN_SOMETHING = eINSTANCE.getItemInSomething();\n\n /**\n * The meta object literal for the '<em><b>Item</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ITEM_IN_SOMETHING__ITEM = eINSTANCE.getItemInSomething_Item();\n\n /**\n * The meta object literal for the '<em><b>Quantite</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM_IN_SOMETHING__QUANTITE = eINSTANCE.getItemInSomething_Quantite();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.RecipeImpl <em>Recipe</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.RecipeImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getRecipe()\n * @generated\n */\n EClass RECIPE = eINSTANCE.getRecipe();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute RECIPE__NAME = eINSTANCE.getRecipe_Name();\n\n /**\n * The meta object literal for the '<em><b>Objects Used</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference RECIPE__OBJECTS_USED = eINSTANCE.getRecipe_ObjectsUsed();\n\n /**\n * The meta object literal for the '<em><b>Conditions</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference RECIPE__CONDITIONS = eINSTANCE.getRecipe_Conditions();\n\n /**\n * The meta object literal for the '<em><b>Items Made</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference RECIPE__ITEMS_MADE = eINSTANCE.getRecipe_ItemsMade();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.KnowledgeImpl <em>Knowledge</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.KnowledgeImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getKnowledge()\n * @generated\n */\n EClass KNOWLEDGE = eINSTANCE.getKnowledge();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute KNOWLEDGE__NAME = eINSTANCE.getKnowledge_Name();\n\n /**\n * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute KNOWLEDGE__DESCRIPTION = eINSTANCE.getKnowledge_Description();\n\n /**\n * The meta object literal for the '<em><b>Visible</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute KNOWLEDGE__VISIBLE = eINSTANCE.getKnowledge_Visible();\n\n /**\n * The meta object literal for the '<em><b>Conditions Visible</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference KNOWLEDGE__CONDITIONS_VISIBLE = eINSTANCE.getKnowledge_ConditionsVisible();\n\n /**\n * The meta object literal for the '<em><b>Active</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute KNOWLEDGE__ACTIVE = eINSTANCE.getKnowledge_Active();\n\n /**\n * The meta object literal for the '<em><b>Conditions Active</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference KNOWLEDGE__CONDITIONS_ACTIVE = eINSTANCE.getKnowledge_ConditionsActive();\n\n /**\n * The meta object literal for the '<em><b>Conditions Give</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference KNOWLEDGE__CONDITIONS_GIVE = eINSTANCE.getKnowledge_ConditionsGive();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.PlaceImpl <em>Place</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.PlaceImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getPlace()\n * @generated\n */\n EClass PLACE = eINSTANCE.getPlace();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PLACE__NAME = eINSTANCE.getPlace_Name();\n\n /**\n * The meta object literal for the '<em><b>Knowledges</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PLACE__KNOWLEDGES = eINSTANCE.getPlace_Knowledges();\n\n /**\n * The meta object literal for the '<em><b>People</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PLACE__PEOPLE = eINSTANCE.getPlace_People();\n\n /**\n * The meta object literal for the '<em><b>Paths</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PLACE__PATHS = eINSTANCE.getPlace_Paths();\n\n /**\n * The meta object literal for the '<em><b>Objects</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PLACE__OBJECTS = eINSTANCE.getPlace_Objects();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.ItemInConditionImpl <em>Item In Condition</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.ItemInConditionImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getItemInCondition()\n * @generated\n */\n EClass ITEM_IN_CONDITION = eINSTANCE.getItemInCondition();\n\n /**\n * The meta object literal for the '<em><b>Item</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ITEM_IN_CONDITION__ITEM = eINSTANCE.getItemInCondition_Item();\n\n /**\n * The meta object literal for the '<em><b>Quantity</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM_IN_CONDITION__QUANTITY = eINSTANCE.getItemInCondition_Quantity();\n\n /**\n * The meta object literal for the '<em><b>Must Be Exact</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM_IN_CONDITION__MUST_BE_EXACT = eINSTANCE.getItemInCondition_MustBeExact();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.ConditionImpl <em>Condition</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.ConditionImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getCondition()\n * @generated\n */\n EClass CONDITION = eINSTANCE.getCondition();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CONDITION__NAME = eINSTANCE.getCondition_Name();\n\n /**\n * The meta object literal for the '<em><b>Player</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CONDITION__PLAYER = eINSTANCE.getCondition_Player();\n\n /**\n * The meta object literal for the '<em><b>Know</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CONDITION__KNOW = eINSTANCE.getCondition_Know();\n\n /**\n * The meta object literal for the '<em><b>Item</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CONDITION__ITEM = eINSTANCE.getCondition_Item();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.ActionImpl <em>Action</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.ActionImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getAction()\n * @generated\n */\n EClass ACTION = eINSTANCE.getAction();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ACTION__NAME = eINSTANCE.getAction_Name();\n\n /**\n * The meta object literal for the '<em><b>Val</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ACTION__VAL = eINSTANCE.getAction_Val();\n\n /**\n * The meta object literal for the '<em><b>Inter Suivante</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION__INTER_SUIVANTE = eINSTANCE.getAction_InterSuivante();\n\n /**\n * The meta object literal for the '<em><b>Knowledge Given</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION__KNOWLEDGE_GIVEN = eINSTANCE.getAction_KnowledgeGiven();\n\n /**\n * The meta object literal for the '<em><b>Items Given</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION__ITEMS_GIVEN = eINSTANCE.getAction_ItemsGiven();\n\n /**\n * The meta object literal for the '<em><b>Items Consumed</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION__ITEMS_CONSUMED = eINSTANCE.getAction_ItemsConsumed();\n\n /**\n * The meta object literal for the '<em><b>Conditions Actions Available</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION__CONDITIONS_ACTIONS_AVAILABLE = eINSTANCE.getAction_ConditionsActionsAvailable();\n\n /**\n * The meta object literal for the '<em><b>Game</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION__GAME = eINSTANCE.getAction_Game();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.InteractionImpl <em>Interaction</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.InteractionImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getInteraction()\n * @generated\n */\n EClass INTERACTION = eINSTANCE.getInteraction();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute INTERACTION__NAME = eINSTANCE.getInteraction_Name();\n\n /**\n * The meta object literal for the '<em><b>Prop</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference INTERACTION__PROP = eINSTANCE.getInteraction_Prop();\n\n /**\n * The meta object literal for the '<em><b>Conditions Begin</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference INTERACTION__CONDITIONS_BEGIN = eINSTANCE.getInteraction_ConditionsBegin();\n\n /**\n * The meta object literal for the '<em><b>Conditions End</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference INTERACTION__CONDITIONS_END = eINSTANCE.getInteraction_ConditionsEnd();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.PropositionImpl <em>Proposition</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.PropositionImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getProposition()\n * @generated\n */\n EClass PROPOSITION = eINSTANCE.getProposition();\n\n /**\n * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PROPOSITION__VALUE = eINSTANCE.getProposition_Value();\n\n /**\n * The meta object literal for the '<em><b>Act</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PROPOSITION__ACT = eINSTANCE.getProposition_Act();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.Actions <em>Actions</em>}' enum.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.Actions\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getActions()\n * @generated\n */\n EEnum ACTIONS = eINSTANCE.getActions();\n\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphImpl <em>Gui Graph</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphImpl\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GraphPackageImpl#getGuiGraph()\n\t\t * @generated\n\t\t */\n\t\tEClass GUI_GRAPH = eINSTANCE.getGuiGraph();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nodes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference GUI_GRAPH__NODES = eINSTANCE.getGuiGraph_Nodes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Edges</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference GUI_GRAPH__EDGES = eINSTANCE.getGuiGraph_Edges();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphItemImpl <em>Gui Graph Item</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphItemImpl\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GraphPackageImpl#getGuiGraphItem()\n\t\t * @generated\n\t\t */\n\t\tEClass GUI_GRAPH_ITEM = eINSTANCE.getGuiGraphItem();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GUI_GRAPH_ITEM__NAME = eINSTANCE.getGuiGraphItem_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tooltip</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GUI_GRAPH_ITEM__TOOLTIP = eINSTANCE.getGuiGraphItem_Tooltip();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Url</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GUI_GRAPH_ITEM__URL = eINSTANCE.getGuiGraphItem_Url();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphNodeImpl <em>Gui Graph Node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphNodeImpl\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GraphPackageImpl#getGuiGraphNode()\n\t\t * @generated\n\t\t */\n\t\tEClass GUI_GRAPH_NODE = eINSTANCE.getGuiGraphNode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>X</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GUI_GRAPH_NODE__X = eINSTANCE.getGuiGraphNode_X();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Y</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GUI_GRAPH_NODE__Y = eINSTANCE.getGuiGraphNode_Y();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>H</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GUI_GRAPH_NODE__H = eINSTANCE.getGuiGraphNode_H();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>W</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GUI_GRAPH_NODE__W = eINSTANCE.getGuiGraphNode_W();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphEdgeImpl <em>Gui Graph Edge</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphEdgeImpl\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GraphPackageImpl#getGuiGraphEdge()\n\t\t * @generated\n\t\t */\n\t\tEClass GUI_GRAPH_EDGE = eINSTANCE.getGuiGraphEdge();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>X</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference GUI_GRAPH_EDGE__X = eINSTANCE.getGuiGraphEdge_X();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Y</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference GUI_GRAPH_EDGE__Y = eINSTANCE.getGuiGraphEdge_Y();\n\n\t}", "interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link gamifiedmodellingobjectmodel.impl.ObjectModelImpl <em>Object Model</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.ObjectModelImpl\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.GamifiedmodellingobjectmodelPackageImpl#getObjectModel()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass OBJECT_MODEL = eINSTANCE.getObjectModel();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Objects</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OBJECT_MODEL__OBJECTS = eINSTANCE.getObjectModel_Objects();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Links</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OBJECT_MODEL__LINKS = eINSTANCE.getObjectModel_Links();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link gamifiedmodellingobjectmodel.impl.ObjectImpl <em>Object</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.ObjectImpl\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.GamifiedmodellingobjectmodelPackageImpl#getObject()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass OBJECT = eINSTANCE.getObject();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute OBJECT__NAME = eINSTANCE.getObject_Name();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Identity</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute OBJECT__IDENTITY = eINSTANCE.getObject_Identity();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Class Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute OBJECT__CLASS_NAME = eINSTANCE.getObject_ClassName();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OBJECT__ATTRIBUTES = eINSTANCE.getObject_Attributes();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Operations</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OBJECT__OPERATIONS = eINSTANCE.getObject_Operations();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link gamifiedmodellingobjectmodel.impl.AttributeImpl <em>Attribute</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.AttributeImpl\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.GamifiedmodellingobjectmodelPackageImpl#getAttribute()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ATTRIBUTE = eINSTANCE.getAttribute();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Text</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ATTRIBUTE__TEXT = eINSTANCE.getAttribute_Text();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ATTRIBUTE__NAME = eINSTANCE.getAttribute_Name();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ATTRIBUTE__VALUE = eINSTANCE.getAttribute_Value();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Value Type</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ATTRIBUTE__VALUE_TYPE = eINSTANCE.getAttribute_ValueType();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link gamifiedmodellingobjectmodel.impl.OperationImpl <em>Operation</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.OperationImpl\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.GamifiedmodellingobjectmodelPackageImpl#getOperation()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass OPERATION = eINSTANCE.getOperation();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Text</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute OPERATION__TEXT = eINSTANCE.getOperation_Text();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute OPERATION__NAME = eINSTANCE.getOperation_Name();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link gamifiedmodellingobjectmodel.impl.LinkImpl <em>Link</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.LinkImpl\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.GamifiedmodellingobjectmodelPackageImpl#getLink()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass LINK = eINSTANCE.getLink();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Identity</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute LINK__IDENTITY = eINSTANCE.getLink_Identity();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>From Object</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference LINK__FROM_OBJECT = eINSTANCE.getLink_FromObject();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>To Object</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference LINK__TO_OBJECT = eINSTANCE.getLink_ToObject();\r\n\r\n\t}", "private static HashMap<String, DefinedProperty> initDefinedProperties() {\n\t\tHashMap<String, DefinedProperty> newList = new HashMap<String, DefinedProperty>();\n\t\t// common properties\n\t\taddProperty(newList, \"name\", DefinedPropertyType.STRING, \"\", DefinedProperty.ANY, false, false);\n\t\taddProperty(newList, \"desc\", DefinedPropertyType.STRING, \"\", DefinedProperty.ANY, false, false);\n\t\t// implicit default properties\n\t\taddProperty(newList, \"donttest\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.ANY, false, false);\n\t\taddProperty(newList, \"dontcompare\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.ANY, false, false);\n\t\t// interface properties\n\t\taddProperty(newList, \"use_interface\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET | DefinedProperty.REG |DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"use_new_interface\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.REGSET | DefinedProperty.REG |DefinedProperty.FIELD, false, false);\n\t\t// reg + regset properties\n\t\taddProperty(newList, \"js_superset_check\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"external\", DefinedPropertyType.SPECIAL, null, DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"repcount\", DefinedPropertyType.NUMBER, \"1\", DefinedProperty.REGSET | DefinedProperty.REG, true, false); // hidden\n\t\t// regset only properties\n\t\taddProperty(newList, \"js_macro_name\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET, false, false);\n\t\taddProperty(newList, \"js_macro_mode\", DefinedPropertyType.STRING, \"STANDARD\", DefinedProperty.REGSET, false, false);\n\t\taddProperty(newList, \"js_namespace\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET, false, false);\n\t\taddProperty(newList, \"js_typedef_name\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET, false, false);\n\t\taddProperty(newList, \"js_instance_name\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET, false, false);\n\t\taddProperty(newList, \"js_instance_repeat\", DefinedPropertyType.NUMBER, \"1\", DefinedProperty.REGSET, false, false);\n\t\t// reg only properties\n\t\taddProperty(newList, \"category\", DefinedPropertyType.STRING, \"\", DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"js_attributes\", DefinedPropertyType.STRING, \"false\", DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"aliasedId\", DefinedPropertyType.STRING, \"false\", DefinedProperty.REG, true, false); // hidden\n\t\taddProperty(newList, \"regwidth\", DefinedPropertyType.NUMBER, \"32\", DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"uvmreg_is_mem\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"cppmod_prune\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"uvmreg_prune\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.REG, false, false);\n\t\t// signal properties\n\t\taddProperty(newList, \"cpuif_reset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.SIGNAL, false, false);\n\t\taddProperty(newList, \"field_reset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.SIGNAL, false, false);\n\t\taddProperty(newList, \"activehigh\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.SIGNAL, false, false);\n\t\taddProperty(newList, \"activelow\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.SIGNAL, false, false);\n\t\taddProperty(newList, \"signalwidth\", DefinedPropertyType.NUMBER, \"1\", DefinedProperty.SIGNAL, false, false);\n\t\t// fieldset only properties\n\t\taddProperty(newList, \"fieldstructwidth\", DefinedPropertyType.NUMBER, \"1\", DefinedProperty.FIELDSET, false, false);\n\t\t// field properties\n\t\taddProperty(newList, \"rset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"rclr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"woclr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"woset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"we\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"wel\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"swwe\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"swwel\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"hwset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"hwclr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"swmod\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"swacc\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"sticky\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"stickybit\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"intr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"anded\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"ored\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"xored\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"counter\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"overflow\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"reset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"fieldwidth\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"singlepulse\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"underflow\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"incr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"decr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"incrwidth\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"decrwidth\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"incrvalue\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"decrvalue\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"saturate\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"incrsaturate\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"decrsaturate\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"threshold\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"incrthreshold\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"decrthreshold\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"sw\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"hw\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"precedence\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"encode\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"resetsignal\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"mask\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"enable\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"haltmask\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"haltenable\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"halt\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"next\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"nextposedge\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"nextnegedge\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"maskintrbits\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false); \n\t\taddProperty(newList, \"satoutput\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"sub_category\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"rtl_coverage\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\t\n\t\t// override allowed property set if input type is jspec\n\t\tif (Ordt.hasInputType(Ordt.InputType.JSPEC)) {\n\t\t\tputProperty(newList, \"sub_category\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET | DefinedProperty.REG | DefinedProperty.FIELDSET | DefinedProperty.FIELD, false, false);\n\t\t\tputProperty(newList, \"category\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\t\tputProperty(newList, \"js_attributes\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\t\tputProperty(newList, \"regwidth\", DefinedPropertyType.NUMBER, \"32\", DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\t\tputProperty(newList, \"address\", DefinedPropertyType.NUMBER, null, DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\t\tputProperty(newList, \"arrayidx1\", DefinedPropertyType.NUMBER, null, DefinedProperty.REGSET | DefinedProperty.REG, true, false); // hidden\n\t\t\tputProperty(newList, \"addrinc\", DefinedPropertyType.NUMBER, null, DefinedProperty.REGSET | DefinedProperty.REG, true, false); // hidden\n\t\t}\t\t\n\n\t\treturn newList;\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.UberImpl <em>Uber</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.UberImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getUber()\n\t\t * @generated\n\t\t */\n\t\tEClass UBER = eINSTANCE.getUber();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute UBER__NAME = eINSTANCE.getUber_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Manager</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute UBER__MANAGER = eINSTANCE.getUber_Manager();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Address</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute UBER__ADDRESS = eINSTANCE.getUber_Address();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Customers</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference UBER__CUSTOMERS = eINSTANCE.getUber_Customers();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Riders</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference UBER__RIDERS = eINSTANCE.getUber_Riders();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Routes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference UBER__ROUTES = eINSTANCE.getUber_Routes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Supervisors</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference UBER__SUPERVISORS = eINSTANCE.getUber_Supervisors();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.UserImpl <em>User</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.UserImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getUser()\n\t\t * @generated\n\t\t */\n\t\tEClass USER = eINSTANCE.getUser();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute USER__NAME = eINSTANCE.getUser_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Surname</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute USER__SURNAME = eINSTANCE.getUser_Surname();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Email</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute USER__EMAIL = eINSTANCE.getUser_Email();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Full Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute USER__FULL_NAME = eINSTANCE.getUser_FullName();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.CustomerImpl <em>Customer</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.CustomerImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getCustomer()\n\t\t * @generated\n\t\t */\n\t\tEClass CUSTOMER = eINSTANCE.getCustomer();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Subscription Date</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CUSTOMER__SUBSCRIPTION_DATE = eINSTANCE.getCustomer_SubscriptionDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Expiration Date</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CUSTOMER__EXPIRATION_DATE = eINSTANCE.getCustomer_ExpirationDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Status</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CUSTOMER__STATUS = eINSTANCE.getCustomer_Status();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Routes</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CUSTOMER__ROUTES = eINSTANCE.getCustomer_Routes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Card ID</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CUSTOMER__CARD_ID = eINSTANCE.getCustomer_CardID();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.RiderImpl <em>Rider</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.RiderImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getRider()\n\t\t * @generated\n\t\t */\n\t\tEClass RIDER = eINSTANCE.getRider();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Status</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute RIDER__STATUS = eINSTANCE.getRider_Status();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Location</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference RIDER__LOCATION = eINSTANCE.getRider_Location();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Routes</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference RIDER__ROUTES = eINSTANCE.getRider_Routes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Carried Out Routes</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute RIDER__CARRIED_OUT_ROUTES = eINSTANCE.getRider_CarriedOutRoutes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Score</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute RIDER__SCORE = eINSTANCE.getRider_Score();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Car</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference RIDER__CAR = eINSTANCE.getRider_Car();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Carried Out Customers</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation RIDER___CARRIED_OUT_CUSTOMERS = eINSTANCE.getRider__CarriedOutCustomers();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is Good Employee</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation RIDER___IS_GOOD_EMPLOYEE = eINSTANCE.getRider__IsGoodEmployee();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.GeolocationImpl <em>Geolocation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.GeolocationImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getGeolocation()\n\t\t * @generated\n\t\t */\n\t\tEClass GEOLOCATION = eINSTANCE.getGeolocation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Lat</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GEOLOCATION__LAT = eINSTANCE.getGeolocation_Lat();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Lng</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GEOLOCATION__LNG = eINSTANCE.getGeolocation_Lng();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.RouteImpl <em>Route</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.RouteImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getRoute()\n\t\t * @generated\n\t\t */\n\t\tEClass ROUTE = eINSTANCE.getRoute();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Price</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ROUTE__PRICE = eINSTANCE.getRoute_Price();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Date</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ROUTE__DATE = eINSTANCE.getRoute_Date();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Start Address</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ROUTE__START_ADDRESS = eINSTANCE.getRoute_StartAddress();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>End Address</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ROUTE__END_ADDRESS = eINSTANCE.getRoute_EndAddress();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Feedback</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ROUTE__FEEDBACK = eINSTANCE.getRoute_Feedback();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Status</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ROUTE__STATUS = eINSTANCE.getRoute_Status();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Customer</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROUTE__CUSTOMER = eINSTANCE.getRoute_Customer();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rider</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROUTE__RIDER = eINSTANCE.getRoute_Rider();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Seats</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ROUTE__SEATS = eINSTANCE.getRoute_Seats();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.Identifiable <em>Identifiable</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.Identifiable\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getIdentifiable()\n\t\t * @generated\n\t\t */\n\t\tEClass IDENTIFIABLE = eINSTANCE.getIdentifiable();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IDENTIFIABLE__ID = eINSTANCE.getIdentifiable_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.SupervisorImpl <em>Supervisor</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.SupervisorImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getSupervisor()\n\t\t * @generated\n\t\t */\n\t\tEClass SUPERVISOR = eINSTANCE.getSupervisor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Role</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SUPERVISOR__ROLE = eINSTANCE.getSupervisor_Role();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.CardIDImpl <em>Card ID</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.CardIDImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getCardID()\n\t\t * @generated\n\t\t */\n\t\tEClass CARD_ID = eINSTANCE.getCardID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Path</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CARD_ID__PATH = eINSTANCE.getCardID_Path();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Release Date</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CARD_ID__RELEASE_DATE = eINSTANCE.getCardID_ReleaseDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Institution</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CARD_ID__INSTITUTION = eINSTANCE.getCardID_Institution();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Approved</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CARD_ID__APPROVED = eINSTANCE.getCardID_Approved();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.CarImpl <em>Car</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.CarImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getCar()\n\t\t * @generated\n\t\t */\n\t\tEClass CAR = eINSTANCE.getCar();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Licence Plate</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CAR__LICENCE_PLATE = eINSTANCE.getCar_LicencePlate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Model</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CAR__MODEL = eINSTANCE.getCar_Model();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Color</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CAR__COLOR = eINSTANCE.getCar_Color();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.RiderStatus <em>Rider Status</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.RiderStatus\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getRiderStatus()\n\t\t * @generated\n\t\t */\n\t\tEEnum RIDER_STATUS = eINSTANCE.getRiderStatus();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.RouteStatus <em>Route Status</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.RouteStatus\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getRouteStatus()\n\t\t * @generated\n\t\t */\n\t\tEEnum ROUTE_STATUS = eINSTANCE.getRouteStatus();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.CustomerStatus <em>Customer Status</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.CustomerStatus\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getCustomerStatus()\n\t\t * @generated\n\t\t */\n\t\tEEnum CUSTOMER_STATUS = eINSTANCE.getCustomerStatus();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.RoleSupervisor <em>Role Supervisor</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.RoleSupervisor\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getRoleSupervisor()\n\t\t * @generated\n\t\t */\n\t\tEEnum ROLE_SUPERVISOR = eINSTANCE.getRoleSupervisor();\n\n\t}", "public org.thdl.lex.component.Meta getMeta();", "protected void createExtendedMetaDataAnnotations() {\n\t\tString source = \"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\";\n\t\taddAnnotation\n\t\t (unsignedIntEDataType,\n\t\t source,\n\t\t new String[] {\n\t\t\t \"minInclusive\", \"0\",\n\t\t\t \"maxInclusive\", \"4294967295\"\n\t\t });\n\t\taddAnnotation\n\t\t (unsignedIntegerEDataType,\n\t\t source,\n\t\t new String[] {\n\t\t\t \"minInclusive\", \"0\",\n\t\t\t \"maxInclusive\", \"4294967295\"\n\t\t });\n\t\taddAnnotation\n\t\t (decimalEDataType,\n\t\t source,\n\t\t new String[] {\n\t\t\t \"baseType\", \"http://www.w3.org/2001/XMLSchema#decimal\"\n\t\t });\n\t\taddAnnotation\n\t\t (idEDataType,\n\t\t source,\n\t\t new String[] {\n\t\t\t \"pattern\", \"[a-zA-Z0-9_]([a-zA-Z0-9_\\\\-.$])*\"\n\t\t });\n\t\taddAnnotation\n\t\t (namespaceEDataType,\n\t\t source,\n\t\t new String[] {\n\t\t\t \"pattern\", \"([^\\\\s#])*(#|/)\",\n\t\t\t \"minLength\", \"2\"\n\t\t });\n\t}", "@Override\n\tpublic void registerPrimaryTypes() {\n\t\tobjectType = registerJavaType(getBuilder().getName(), ClassType.CLASS);\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ese.android.model.android.impl.ApplicationImpl <em>Application</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ese.android.model.android.impl.ApplicationImpl\n\t\t * @see org.eclipse.ese.android.model.android.impl.AndroidPackageImpl#getApplication()\n\t\t * @generated\n\t\t */\n\t\tEClass APPLICATION = eINSTANCE.getApplication();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute APPLICATION__NAME = eINSTANCE.getApplication_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Activities</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference APPLICATION__ACTIVITIES = eINSTANCE.getApplication_Activities();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ese.android.model.android.impl.ActivityImpl <em>Activity</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ese.android.model.android.impl.ActivityImpl\n\t\t * @see org.eclipse.ese.android.model.android.impl.AndroidPackageImpl#getActivity()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTIVITY = eINSTANCE.getActivity();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ACTIVITY__NAME = eINSTANCE.getActivity_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Widgets</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ACTIVITY__WIDGETS = eINSTANCE.getActivity_Widgets();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ese.android.model.android.Widget <em>Widget</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ese.android.model.android.Widget\n\t\t * @see org.eclipse.ese.android.model.android.impl.AndroidPackageImpl#getWidget()\n\t\t * @generated\n\t\t */\n\t\tEClass WIDGET = eINSTANCE.getWidget();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute WIDGET__NAME = eINSTANCE.getWidget_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ese.android.model.android.impl.TextImpl <em>Text</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ese.android.model.android.impl.TextImpl\n\t\t * @see org.eclipse.ese.android.model.android.impl.AndroidPackageImpl#getText()\n\t\t * @generated\n\t\t */\n\t\tEClass TEXT = eINSTANCE.getText();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ese.android.model.android.impl.SpinnerImpl <em>Spinner</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ese.android.model.android.impl.SpinnerImpl\n\t\t * @see org.eclipse.ese.android.model.android.impl.AndroidPackageImpl#getSpinner()\n\t\t * @generated\n\t\t */\n\t\tEClass SPINNER = eINSTANCE.getSpinner();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ese.android.model.android.impl.LinkImpl <em>Link</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ese.android.model.android.impl.LinkImpl\n\t\t * @see org.eclipse.ese.android.model.android.impl.AndroidPackageImpl#getLink()\n\t\t * @generated\n\t\t */\n\t\tEClass LINK = eINSTANCE.getLink();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Activity</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference LINK__ACTIVITY = eINSTANCE.getLink_Activity();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.UseCaseImpl <em>Use Case</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UseCaseImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getUseCase()\n\t\t * @generated\n\t\t */\n\t\tEClass USE_CASE = eINSTANCE.getUseCase();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute USE_CASE__NAME = eINSTANCE.getUseCase_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute USE_CASE__DESCRIPTION = eINSTANCE.getUseCase_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Context</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference USE_CASE__CONTEXT = eINSTANCE.getUseCase_Context();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Secondary Actors</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference USE_CASE__SECONDARY_ACTORS = eINSTANCE.getUseCase_SecondaryActors();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Primary Actor</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference USE_CASE__PRIMARY_ACTOR = eINSTANCE.getUseCase_PrimaryActor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Flows</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference USE_CASE__FLOWS = eINSTANCE.getUseCase_Flows();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parent</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference USE_CASE__PARENT = eINSTANCE.getUseCase_Parent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.ContextImpl <em>Context</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.ContextImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getContext()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTEXT = eINSTANCE.getContext();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Preconditions</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTEXT__PRECONDITIONS = eINSTANCE.getContext_Preconditions();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Postconditions</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTEXT__POSTCONDITIONS = eINSTANCE.getContext_Postconditions();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.UseCaseModelImpl <em>Use Case Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UseCaseModelImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getUseCaseModel()\n\t\t * @generated\n\t\t */\n\t\tEClass USE_CASE_MODEL = eINSTANCE.getUseCaseModel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute USE_CASE_MODEL__DESCRIPTION = eINSTANCE.getUseCaseModel_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute USE_CASE_MODEL__NAME = eINSTANCE.getUseCaseModel_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Actors</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference USE_CASE_MODEL__ACTORS = eINSTANCE.getUseCaseModel_Actors();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Use Cases</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference USE_CASE_MODEL__USE_CASES = eINSTANCE.getUseCaseModel_UseCases();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Aspects</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference USE_CASE_MODEL__ASPECTS = eINSTANCE.getUseCaseModel_Aspects();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.ActorImpl <em>Actor</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.ActorImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getActor()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTOR = eINSTANCE.getActor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ACTOR__NAME = eINSTANCE.getActor_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ACTOR__DESCRIPTION = eINSTANCE.getActor_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ACTOR__TYPE = eINSTANCE.getActor_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.FlowImpl <em>Flow</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.FlowImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getFlow()\n\t\t * @generated\n\t\t */\n\t\tEClass FLOW = eINSTANCE.getFlow();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FLOW__NAME = eINSTANCE.getFlow_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Events</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FLOW__EVENTS = eINSTANCE.getFlow_Events();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Use Case</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FLOW__USE_CASE = eINSTANCE.getFlow_UseCase();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parent Flow</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FLOW__PARENT_FLOW = eINSTANCE.getFlow_ParentFlow();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Return Event</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FLOW__RETURN_EVENT = eINSTANCE.getFlow_ReturnEvent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.EventImpl <em>Event</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.EventImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getEvent()\n\t\t * @generated\n\t\t */\n\t\tEClass EVENT = eINSTANCE.getEvent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Detail</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EVENT__DETAIL = eINSTANCE.getEvent_Detail();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Number</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EVENT__NUMBER = eINSTANCE.getEvent_Number();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Event Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EVENT__EVENT_ID = eINSTANCE.getEvent_EventId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Affected By Join Point</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EVENT__AFFECTED_BY_JOIN_POINT = eINSTANCE.getEvent_AffectedByJoinPoint();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.FunctionalEventImpl <em>Functional Event</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.FunctionalEventImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getFunctionalEvent()\n\t\t * @generated\n\t\t */\n\t\tEClass FUNCTIONAL_EVENT = eINSTANCE.getFunctionalEvent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Joint Points</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FUNCTIONAL_EVENT__JOINT_POINTS = eINSTANCE.getFunctionalEvent_JointPoints();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FUNCTIONAL_EVENT__TYPE = eINSTANCE.getFunctionalEvent_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Subject</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FUNCTIONAL_EVENT__SUBJECT = eINSTANCE.getFunctionalEvent_Subject();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Other Actors</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FUNCTIONAL_EVENT__OTHER_ACTORS = eINSTANCE.getFunctionalEvent_OtherActors();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Exceptions</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FUNCTIONAL_EVENT__EXCEPTIONS = eINSTANCE.getFunctionalEvent_Exceptions();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Action Classes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FUNCTIONAL_EVENT__ACTION_CLASSES = eINSTANCE.getFunctionalEvent_ActionClasses();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.ExtensionPointImpl <em>Extension Point</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.ExtensionPointImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getExtensionPoint()\n\t\t * @generated\n\t\t */\n\t\tEClass EXTENSION_POINT = eINSTANCE.getExtensionPoint();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Condition</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EXTENSION_POINT__CONDITION = eINSTANCE.getExtensionPoint_Condition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Extended Use Cases</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EXTENSION_POINT__EXTENDED_USE_CASES = eINSTANCE.getExtensionPoint_ExtendedUseCases();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.InclusionCallImpl <em>Inclusion Call</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.InclusionCallImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getInclusionCall()\n\t\t * @generated\n\t\t */\n\t\tEClass INCLUSION_CALL = eINSTANCE.getInclusionCall();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Included Use Cases</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference INCLUSION_CALL__INCLUDED_USE_CASES = eINSTANCE.getInclusionCall_IncludedUseCases();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.JointPointImpl <em>Joint Point</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.JointPointImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getJointPoint()\n\t\t * @generated\n\t\t */\n\t\tEClass JOINT_POINT = eINSTANCE.getJointPoint();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Impact Words</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute JOINT_POINT__IMPACT_WORDS = eINSTANCE.getJointPoint_ImpactWords();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Impact Aspect</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference JOINT_POINT__IMPACT_ASPECT = eINSTANCE.getJointPoint_ImpactAspect();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.ActionClassImpl <em>Action Class</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.ActionClassImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getActionClass()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTION_CLASS = eINSTANCE.getActionClass();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ACTION_CLASS__NAME = eINSTANCE.getActionClass_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Confidence</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ACTION_CLASS__CONFIDENCE = eINSTANCE.getActionClass_Confidence();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ranking</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ACTION_CLASS__RANKING = eINSTANCE.getActionClass_Ranking();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parent</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ACTION_CLASS__PARENT = eINSTANCE.getActionClass_Parent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Childs</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ACTION_CLASS__CHILDS = eINSTANCE.getActionClass_Childs();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Predicate</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ACTION_CLASS__PREDICATE = eINSTANCE.getActionClass_Predicate();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.AspectImpl <em>Aspect</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.AspectImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getAspect()\n\t\t * @generated\n\t\t */\n\t\tEClass ASPECT = eINSTANCE.getAspect();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Cc Names</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ASPECT__CC_NAMES = eINSTANCE.getAspect_CcNames();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.ConditionImpl <em>Condition</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.ConditionImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getCondition()\n\t\t * @generated\n\t\t */\n\t\tEClass CONDITION = eINSTANCE.getCondition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONDITION__NAME = eINSTANCE.getCondition_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONDITION__DESCRIPTION = eINSTANCE.getCondition_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>EReference0</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONDITION__EREFERENCE0 = eINSTANCE.getCondition_EReference0();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.ActorTypeEnum <em>Actor Type Enum</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.ActorTypeEnum\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getActorTypeEnum()\n\t\t * @generated\n\t\t */\n\t\tEEnum ACTOR_TYPE_ENUM = eINSTANCE.getActorTypeEnum();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.EventTypeEnum <em>Event Type Enum</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.EventTypeEnum\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getEventTypeEnum()\n\t\t * @generated\n\t\t */\n\t\tEEnum EVENT_TYPE_ENUM = eINSTANCE.getEventTypeEnum();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.ActionCodeEnum <em>Action Code Enum</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.ActionCodeEnum\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getActionCodeEnum()\n\t\t * @generated\n\t\t */\n\t\tEEnum ACTION_CODE_ENUM = eINSTANCE.getActionCodeEnum();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.scaledl.usageevolution.impl.UsageEvolutionImpl <em>Usage Evolution</em>}' class.\n\t\t * <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * @see org.scaledl.usageevolution.impl.UsageEvolutionImpl\n\t\t * @see org.scaledl.usageevolution.impl.UsageevolutionPackageImpl#getUsageEvolution()\n\t\t * @generated\n\t\t */\n\t\tEClass USAGE_EVOLUTION = eINSTANCE.getUsageEvolution();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Usages</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference USAGE_EVOLUTION__USAGES = eINSTANCE\n\t\t\t\t.getUsageEvolution_Usages();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.scaledl.usageevolution.impl.UsageImpl <em>Usage</em>}' class.\n\t\t * <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * @see org.scaledl.usageevolution.impl.UsageImpl\n\t\t * @see org.scaledl.usageevolution.impl.UsageevolutionPackageImpl#getUsage()\n\t\t * @generated\n\t\t */\n\t\tEClass USAGE = eINSTANCE.getUsage();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Load Evolution</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t *\n\t\t * @generated\n\t\t */\n\t\tEReference USAGE__LOAD_EVOLUTION = eINSTANCE.getUsage_LoadEvolution();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Work Evolutions</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference USAGE__WORK_EVOLUTIONS = eINSTANCE.getUsage_WorkEvolutions();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Scenario</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t *\n\t\t * @generated\n\t\t */\n\t\tEReference USAGE__SCENARIO = eINSTANCE.getUsage_Scenario();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Repeating Pattern</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute USAGE__REPEATING_PATTERN = eINSTANCE\n\t\t\t\t.getUsage_RepeatingPattern();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Evolution Step Width</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute USAGE__EVOLUTION_STEP_WIDTH = eINSTANCE\n\t\t\t\t.getUsage_EvolutionStepWidth();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.scaledl.usageevolution.impl.WorkParameterEvolutionImpl <em>Work Parameter Evolution</em>}' class.\n\t\t * <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * @see org.scaledl.usageevolution.impl.WorkParameterEvolutionImpl\n\t\t * @see org.scaledl.usageevolution.impl.UsageevolutionPackageImpl#getWorkParameterEvolution()\n\t\t * @generated\n\t\t */\n\t\tEClass WORK_PARAMETER_EVOLUTION = eINSTANCE.getWorkParameterEvolution();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Evolution</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t *\n\t\t * @generated\n\t\t */\n\t\tEReference WORK_PARAMETER_EVOLUTION__EVOLUTION = eINSTANCE\n\t\t\t\t.getWorkParameterEvolution_Evolution();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Variable Characterisation</b></em>' reference feature.\n\t\t * <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference WORK_PARAMETER_EVOLUTION__VARIABLE_CHARACTERISATION = eINSTANCE\n\t\t\t\t.getWorkParameterEvolution_VariableCharacterisation();\n\n\t}", "interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link cn.edu.pku.sei.ra.wrapping.CommonWrapping.impl.WrappingEObjectImpl <em>Wrapping EObject</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see cn.edu.pku.sei.ra.wrapping.CommonWrapping.impl.WrappingEObjectImpl\r\n\t\t * @see cn.edu.pku.sei.ra.wrapping.CommonWrapping.impl.CommonWrappingPackageImpl#getWrappingEObject()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass WRAPPING_EOBJECT = eINSTANCE.getWrappingEObject();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Waiting Feature</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute WRAPPING_EOBJECT__WAITING_FEATURE = eINSTANCE.getWrappingEObject_WaitingFeature();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Core</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute WRAPPING_EOBJECT__CORE = eINSTANCE.getWrappingEObject_Core();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Newborn</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute WRAPPING_EOBJECT__NEWBORN = eINSTANCE.getWrappingEObject_Newborn();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Dead</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute WRAPPING_EOBJECT__DEAD = eINSTANCE.getWrappingEObject_Dead();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em>EJava List</em>' data type.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see java.util.List\r\n\t\t * @see cn.edu.pku.sei.ra.wrapping.CommonWrapping.impl.CommonWrappingPackageImpl#getEJavaList()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEDataType EJAVA_LIST = eINSTANCE.getEJavaList();\r\n\r\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link easyflow.execution.makeflow.impl.MakeflowImpl <em>Makeflow</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see easyflow.execution.makeflow.impl.MakeflowImpl\n\t\t * @see easyflow.execution.makeflow.impl.MakeflowPackageImpl#getMakeflow()\n\t\t * @generated\n\t\t */\n\t\tEClass MAKEFLOW = eINSTANCE.getMakeflow();\n\n\t}", "interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ModelImpl <em>Model</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ModelImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getModel()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass MODEL = eINSTANCE.getModel();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Package</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference MODEL__PACKAGE = eINSTANCE.getModel_Package();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.PackageImpl <em>Package</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.PackageImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getPackage()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass PACKAGE = eINSTANCE.getPackage();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Block</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference PACKAGE__BLOCK = eINSTANCE.getPackage_Block();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Requirement</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference PACKAGE__REQUIREMENT = eINSTANCE.getPackage_Requirement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.NamedElementImpl <em>Named Element</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.NamedElementImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getNamedElement()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass NAMED_ELEMENT = eINSTANCE.getNamedElement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute NAMED_ELEMENT__NAME = eINSTANCE.getNamedElement_Name();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.OwnedElementImpl <em>Owned Element</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.OwnedElementImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getOwnedElement()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass OWNED_ELEMENT = eINSTANCE.getOwnedElement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Owner</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OWNED_ELEMENT__OWNER = eINSTANCE.getOwnedElement_Owner();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.RequirementImpl <em>Requirement</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.RequirementImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getRequirement()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass REQUIREMENT = eINSTANCE.getRequirement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Satisfied By</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference REQUIREMENT__SATISFIED_BY = eINSTANCE.getRequirement_SatisfiedBy();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Master</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference REQUIREMENT__MASTER = eINSTANCE.getRequirement_Master();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Refines</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference REQUIREMENT__REFINES = eINSTANCE.getRequirement_Refines();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute REQUIREMENT__ID = eINSTANCE.getRequirement_Id();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Text</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute REQUIREMENT__TEXT = eINSTANCE.getRequirement_Text();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Derived</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference REQUIREMENT__DERIVED = eINSTANCE.getRequirement_Derived();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Sub Requirement</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference REQUIREMENT__SUB_REQUIREMENT = eINSTANCE.getRequirement_SubRequirement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute REQUIREMENT__NAME = eINSTANCE.getRequirement_Name();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Derived From</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference REQUIREMENT__DERIVED_FROM = eINSTANCE.getRequirement_DerivedFrom();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Hyperlink</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute REQUIREMENT__HYPERLINK = eINSTANCE.getRequirement_Hyperlink();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.BlockImpl <em>Block</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.BlockImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getBlock()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass BLOCK = eINSTANCE.getBlock();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Part Property</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__PART_PROPERTY = eINSTANCE.getBlock_PartProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Reference Property</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__REFERENCE_PROPERTY = eINSTANCE.getBlock_ReferenceProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Flow Property</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__FLOW_PROPERTY = eINSTANCE.getBlock_FlowProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Value Property</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__VALUE_PROPERTY = eINSTANCE.getBlock_ValueProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Nested Block</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__NESTED_BLOCK = eINSTANCE.getBlock_NestedBlock();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Inherited Block</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__INHERITED_BLOCK = eINSTANCE.getBlock_InheritedBlock();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Satisfy</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__SATISFY = eINSTANCE.getBlock_Satisfy();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Connector</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__CONNECTOR = eINSTANCE.getBlock_Connector();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Internal Block Diagram</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__INTERNAL_BLOCK_DIAGRAM = eINSTANCE.getBlock_InternalBlockDiagram();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Port</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__PORT = eINSTANCE.getBlock_Port();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Proxy Port</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__PROXY_PORT = eINSTANCE.getBlock_ProxyPort();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Full Port</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__FULL_PORT = eINSTANCE.getBlock_FullPort();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.InterfaceBlockImpl <em>Interface Block</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.InterfaceBlockImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getInterfaceBlock()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass INTERFACE_BLOCK = eINSTANCE.getInterfaceBlock();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Flow Property</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference INTERFACE_BLOCK__FLOW_PROPERTY = eINSTANCE.getInterfaceBlock_FlowProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Proxy Port</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference INTERFACE_BLOCK__PROXY_PORT = eINSTANCE.getInterfaceBlock_ProxyPort();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.AssociationBlockImpl <em>Association Block</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.AssociationBlockImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getAssociationBlock()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ASSOCIATION_BLOCK = eINSTANCE.getAssociationBlock();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Member End</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ASSOCIATION_BLOCK__MEMBER_END = eINSTANCE.getAssociationBlock_MemberEnd();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.PropertyImpl <em>Property</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.PropertyImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getProperty()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass PROPERTY = eINSTANCE.getProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Type</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference PROPERTY__TYPE = eINSTANCE.getProperty_Type();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.PartPropertyImpl <em>Part Property</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.PartPropertyImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getPartProperty()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass PART_PROPERTY = eINSTANCE.getPartProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ReferencePropertyImpl <em>Reference Property</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ReferencePropertyImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getReferenceProperty()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass REFERENCE_PROPERTY = eINSTANCE.getReferenceProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Association</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference REFERENCE_PROPERTY__ASSOCIATION = eINSTANCE.getReferenceProperty_Association();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.FlowPropertyImpl <em>Flow Property</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.FlowPropertyImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getFlowProperty()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass FLOW_PROPERTY = eINSTANCE.getFlowProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Direction</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute FLOW_PROPERTY__DIRECTION = eINSTANCE.getFlowProperty_Direction();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ValuePropertyImpl <em>Value Property</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ValuePropertyImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getValueProperty()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass VALUE_PROPERTY = eINSTANCE.getValueProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Default Value</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute VALUE_PROPERTY__DEFAULT_VALUE = eINSTANCE.getValueProperty_DefaultValue();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.MultiplicityElementImpl <em>Multiplicity Element</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.MultiplicityElementImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getMultiplicityElement()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass MULTIPLICITY_ELEMENT = eINSTANCE.getMultiplicityElement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Lower</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute MULTIPLICITY_ELEMENT__LOWER = eINSTANCE.getMultiplicityElement_Lower();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Upper</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute MULTIPLICITY_ELEMENT__UPPER = eINSTANCE.getMultiplicityElement_Upper();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.AssociationImpl <em>Association</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.AssociationImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getAssociation()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ASSOCIATION = eINSTANCE.getAssociation();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.PortImpl <em>Port</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.PortImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getPort()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass PORT = eINSTANCE.getPort();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Is Service</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute PORT__IS_SERVICE = eINSTANCE.getPort_IsService();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Is Behavior</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute PORT__IS_BEHAVIOR = eINSTANCE.getPort_IsBehavior();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Is Conjugated</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute PORT__IS_CONJUGATED = eINSTANCE.getPort_IsConjugated();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ProxyPortImpl <em>Proxy Port</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ProxyPortImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getProxyPort()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass PROXY_PORT = eINSTANCE.getProxyPort();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.FullPortImpl <em>Full Port</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.FullPortImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getFullPort()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass FULL_PORT = eINSTANCE.getFullPort();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ConnectorImpl <em>Connector</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ConnectorImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getConnector()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass CONNECTOR = eINSTANCE.getConnector();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>End</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference CONNECTOR__END = eINSTANCE.getConnector_End();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Type</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference CONNECTOR__TYPE = eINSTANCE.getConnector_Type();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ConnectorEndImpl <em>Connector End</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ConnectorEndImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getConnectorEnd()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass CONNECTOR_END = eINSTANCE.getConnectorEnd();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Role</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference CONNECTOR_END__ROLE = eINSTANCE.getConnectorEnd_Role();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Defining End</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference CONNECTOR_END__DEFINING_END = eINSTANCE.getConnectorEnd_DefiningEnd();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Part With Port</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference CONNECTOR_END__PART_WITH_PORT = eINSTANCE.getConnectorEnd_PartWithPort();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ItemFlowImpl <em>Item Flow</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ItemFlowImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getItemFlow()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ITEM_FLOW = eINSTANCE.getItemFlow();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Item Property</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ITEM_FLOW__ITEM_PROPERTY = eINSTANCE.getItemFlow_ItemProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Information Target</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ITEM_FLOW__INFORMATION_TARGET = eINSTANCE.getItemFlow_InformationTarget();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Information Source</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ITEM_FLOW__INFORMATION_SOURCE = eINSTANCE.getItemFlow_InformationSource();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Realizing Connector</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ITEM_FLOW__REALIZING_CONNECTOR = eINSTANCE.getItemFlow_RealizingConnector();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ValueTypeImpl <em>Value Type</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ValueTypeImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getValueType()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass VALUE_TYPE = eINSTANCE.getValueType();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Unit</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference VALUE_TYPE__UNIT = eINSTANCE.getValueType_Unit();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Quantity Kind</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference VALUE_TYPE__QUANTITY_KIND = eINSTANCE.getValueType_QuantityKind();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.UnitImpl <em>Unit</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.UnitImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getUnit()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass UNIT = eINSTANCE.getUnit();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Symbol</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute UNIT__SYMBOL = eINSTANCE.getUnit_Symbol();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute UNIT__DESCRIPTION = eINSTANCE.getUnit_Description();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Definition URI</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute UNIT__DEFINITION_URI = eINSTANCE.getUnit_DefinitionURI();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Quantity Kind</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference UNIT__QUANTITY_KIND = eINSTANCE.getUnit_QuantityKind();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.QuantityKindImpl <em>Quantity Kind</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.QuantityKindImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getQuantityKind()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass QUANTITY_KIND = eINSTANCE.getQuantityKind();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Symbol</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute QUANTITY_KIND__SYMBOL = eINSTANCE.getQuantityKind_Symbol();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute QUANTITY_KIND__DESCRIPTION = eINSTANCE.getQuantityKind_Description();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Definition URI</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute QUANTITY_KIND__DEFINITION_URI = eINSTANCE.getQuantityKind_DefinitionURI();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.TypeImpl <em>Type</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.TypeImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getType()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass TYPE = eINSTANCE.getType();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.BlockDiagramImpl <em>Block Diagram</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.BlockDiagramImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getBlockDiagram()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass BLOCK_DIAGRAM = eINSTANCE.getBlockDiagram();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.InternalBlockDiagramImpl <em>Internal Block Diagram</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.InternalBlockDiagramImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getInternalBlockDiagram()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass INTERNAL_BLOCK_DIAGRAM = eINSTANCE.getInternalBlockDiagram();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.FlowDirection <em>Flow Direction</em>}' enum.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.FlowDirection\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getFlowDirection()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEEnum FLOW_DIRECTION = eINSTANCE.getFlowDirection();\r\n\r\n\t}", "interface Literals\n\t{\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.VariabilityModelImpl <em>Variability Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.VariabilityModelImpl\n\t\t * @see models.impl.ModelsPackageImpl#getVariabilityModel()\n\t\t * @generated\n\t\t */\n\t\tEClass VARIABILITY_MODEL = eINSTANCE.getVariabilityModel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Spl</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VARIABILITY_MODEL__SPL = eINSTANCE.getVariabilityModel_Spl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Features</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VARIABILITY_MODEL__FEATURES = eINSTANCE.getVariabilityModel_Features();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.BuildModelImpl <em>Build Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.BuildModelImpl\n\t\t * @see models.impl.ModelsPackageImpl#getBuildModel()\n\t\t * @generated\n\t\t */\n\t\tEClass BUILD_MODEL = eINSTANCE.getBuildModel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Spl</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference BUILD_MODEL__SPL = eINSTANCE.getBuildModel_Spl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Features</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference BUILD_MODEL__FEATURES = eINSTANCE.getBuildModel_Features();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Symbols</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference BUILD_MODEL__SYMBOLS = eINSTANCE.getBuildModel_Symbols();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.ImplementationModelImpl <em>Implementation Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.ImplementationModelImpl\n\t\t * @see models.impl.ModelsPackageImpl#getImplementationModel()\n\t\t * @generated\n\t\t */\n\t\tEClass IMPLEMENTATION_MODEL = eINSTANCE.getImplementationModel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Spl</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference IMPLEMENTATION_MODEL__SPL = eINSTANCE.getImplementationModel_Spl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value Features</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference IMPLEMENTATION_MODEL__VALUE_FEATURES = eINSTANCE.getImplementationModel_ValueFeatures();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Constants</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference IMPLEMENTATION_MODEL__CONSTANTS = eINSTANCE.getImplementationModel_Constants();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Blocks</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference IMPLEMENTATION_MODEL__BLOCKS = eINSTANCE.getImplementationModel_Blocks();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>File name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMPLEMENTATION_MODEL__FILE_NAME = eINSTANCE.getImplementationModel_File_name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Chane</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMPLEMENTATION_MODEL__CHANE = eINSTANCE.getImplementationModel_Chane();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.SPLImpl <em>SPL</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.SPLImpl\n\t\t * @see models.impl.ModelsPackageImpl#getSPL()\n\t\t * @generated\n\t\t */\n\t\tEClass SPL = eINSTANCE.getSPL();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Revision</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SPL__REVISION = eINSTANCE.getSPL_Revision();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Variabilitymodel</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SPL__VARIABILITYMODEL = eINSTANCE.getSPL_Variabilitymodel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Buildmodel</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SPL__BUILDMODEL = eINSTANCE.getSPL_Buildmodel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Implementationmodel</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SPL__IMPLEMENTATIONMODEL = eINSTANCE.getSPL_Implementationmodel();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.VariabilityModelEntityImpl <em>Variability Model Entity</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.VariabilityModelEntityImpl\n\t\t * @see models.impl.ModelsPackageImpl#getVariabilityModelEntity()\n\t\t * @generated\n\t\t */\n\t\tEClass VARIABILITY_MODEL_ENTITY = eINSTANCE.getVariabilityModelEntity();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VARIABILITY_MODEL_ENTITY__ID = eINSTANCE.getVariabilityModelEntity_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Flags</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VARIABILITY_MODEL_ENTITY__FLAGS = eINSTANCE.getVariabilityModelEntity_Flags();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VARIABILITY_MODEL_ENTITY__TYPE = eINSTANCE.getVariabilityModelEntity_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Prompt</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VARIABILITY_MODEL_ENTITY__PROMPT = eINSTANCE.getVariabilityModelEntity_Prompt();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Default Values</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VARIABILITY_MODEL_ENTITY__DEFAULT_VALUES = eINSTANCE.getVariabilityModelEntity_DefaultValues();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Selects</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VARIABILITY_MODEL_ENTITY__SELECTS = eINSTANCE.getVariabilityModelEntity_Selects();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Prompt Condition</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VARIABILITY_MODEL_ENTITY__PROMPT_CONDITION = eINSTANCE.getVariabilityModelEntity_PromptCondition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Presence Condition</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VARIABILITY_MODEL_ENTITY__PRESENCE_CONDITION = eINSTANCE.getVariabilityModelEntity_PresenceCondition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Depends</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VARIABILITY_MODEL_ENTITY__DEPENDS = eINSTANCE.getVariabilityModelEntity_Depends();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>External</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VARIABILITY_MODEL_ENTITY__EXTERNAL = eINSTANCE.getVariabilityModelEntity_External();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.FeatureImpl <em>Feature</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.FeatureImpl\n\t\t * @see models.impl.ModelsPackageImpl#getFeature()\n\t\t * @generated\n\t\t */\n\t\tEClass FEATURE = eINSTANCE.getFeature();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FEATURE__NAME = eINSTANCE.getFeature_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.ChoiceImpl <em>Choice</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.ChoiceImpl\n\t\t * @see models.impl.ModelsPackageImpl#getChoice()\n\t\t * @generated\n\t\t */\n\t\tEClass CHOICE = eINSTANCE.getChoice();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.DefaultValueImpl <em>Default Value</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.DefaultValueImpl\n\t\t * @see models.impl.ModelsPackageImpl#getDefaultValue()\n\t\t * @generated\n\t\t */\n\t\tEClass DEFAULT_VALUE = eINSTANCE.getDefaultValue();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DEFAULT_VALUE__VALUE = eINSTANCE.getDefaultValue_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Condition</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DEFAULT_VALUE__CONDITION = eINSTANCE.getDefaultValue_Condition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Order</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DEFAULT_VALUE__ORDER = eINSTANCE.getDefaultValue_Order();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DEFAULT_VALUE__ID = eINSTANCE.getDefaultValue_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.SelectImpl <em>Select</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.SelectImpl\n\t\t * @see models.impl.ModelsPackageImpl#getSelect()\n\t\t * @generated\n\t\t */\n\t\tEClass SELECT = eINSTANCE.getSelect();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SELECT__TARGET = eINSTANCE.getSelect_Target();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Condition</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SELECT__CONDITION = eINSTANCE.getSelect_Condition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SELECT__ID = eINSTANCE.getSelect_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.MappedFeatureImpl <em>Mapped Feature</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.MappedFeatureImpl\n\t\t * @see models.impl.ModelsPackageImpl#getMappedFeature()\n\t\t * @generated\n\t\t */\n\t\tEClass MAPPED_FEATURE = eINSTANCE.getMappedFeature();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Targets</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MAPPED_FEATURE__TARGETS = eINSTANCE.getMappedFeature_Targets();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Feature Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute MAPPED_FEATURE__FEATURE_NAME = eINSTANCE.getMappedFeature_FeatureName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute MAPPED_FEATURE__ID = eINSTANCE.getMappedFeature_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.CompilationTargetImpl <em>Compilation Target</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.CompilationTargetImpl\n\t\t * @see models.impl.ModelsPackageImpl#getCompilationTarget()\n\t\t * @generated\n\t\t */\n\t\tEClass COMPILATION_TARGET = eINSTANCE.getCompilationTarget();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute COMPILATION_TARGET__TARGET_NAME = eINSTANCE.getCompilationTarget_TargetName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute COMPILATION_TARGET__TARGET_TYPE = eINSTANCE.getCompilationTarget_TargetType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute COMPILATION_TARGET__ID = eINSTANCE.getCompilationTarget_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Mapped To Symbol</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute COMPILATION_TARGET__MAPPED_TO_SYMBOL = eINSTANCE.getCompilationTarget_MappedToSymbol();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.MakeSymbolImpl <em>Make Symbol</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.MakeSymbolImpl\n\t\t * @see models.impl.ModelsPackageImpl#getMakeSymbol()\n\t\t * @generated\n\t\t */\n\t\tEClass MAKE_SYMBOL = eINSTANCE.getMakeSymbol();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute MAKE_SYMBOL__NAME = eINSTANCE.getMakeSymbol_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Targets</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MAKE_SYMBOL__TARGETS = eINSTANCE.getMakeSymbol_Targets();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.ReferencedValueFeatureImpl <em>Referenced Value Feature</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.ReferencedValueFeatureImpl\n\t\t * @see models.impl.ModelsPackageImpl#getReferencedValueFeature()\n\t\t * @generated\n\t\t */\n\t\tEClass REFERENCED_VALUE_FEATURE = eINSTANCE.getReferencedValueFeature();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute REFERENCED_VALUE_FEATURE__NAME = eINSTANCE.getReferencedValueFeature_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.ConditionalBlockImpl <em>Conditional Block</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.ConditionalBlockImpl\n\t\t * @see models.impl.ModelsPackageImpl#getConditionalBlock()\n\t\t * @generated\n\t\t */\n\t\tEClass CONDITIONAL_BLOCK = eINSTANCE.getConditionalBlock();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Start</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONDITIONAL_BLOCK__START = eINSTANCE.getConditionalBlock_Start();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>End</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONDITIONAL_BLOCK__END = eINSTANCE.getConditionalBlock_End();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Condition</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONDITIONAL_BLOCK__CONDITION = eINSTANCE.getConditionalBlock_Condition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value Features</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONDITIONAL_BLOCK__VALUE_FEATURES = eINSTANCE.getConditionalBlock_ValueFeatures();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Touched</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONDITIONAL_BLOCK__TOUCHED = eINSTANCE.getConditionalBlock_Touched();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Expression</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONDITIONAL_BLOCK__EXPRESSION = eINSTANCE.getConditionalBlock_Expression();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Lines</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONDITIONAL_BLOCK__LINES = eINSTANCE.getConditionalBlock_Lines();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Edited By</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONDITIONAL_BLOCK__EDITED_BY = eINSTANCE.getConditionalBlock_EditedBy();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.FeatureConstantImpl <em>Feature Constant</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.FeatureConstantImpl\n\t\t * @see models.impl.ModelsPackageImpl#getFeatureConstant()\n\t\t * @generated\n\t\t */\n\t\tEClass FEATURE_CONSTANT = eINSTANCE.getFeatureConstant();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FEATURE_CONSTANT__NAME = eINSTANCE.getFeatureConstant_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.ImplementationLineImpl <em>Implementation Line</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.ImplementationLineImpl\n\t\t * @see models.impl.ModelsPackageImpl#getImplementationLine()\n\t\t * @generated\n\t\t */\n\t\tEClass IMPLEMENTATION_LINE = eINSTANCE.getImplementationLine();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Line</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMPLEMENTATION_LINE__LINE = eINSTANCE.getImplementationLine_Line();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.CodeEditImpl <em>Code Edit</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.CodeEditImpl\n\t\t * @see models.impl.ModelsPackageImpl#getCodeEdit()\n\t\t * @generated\n\t\t */\n\t\tEClass CODE_EDIT = eINSTANCE.getCodeEdit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rem idx</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CODE_EDIT__REM_IDX = eINSTANCE.getCodeEdit_Rem_idx();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Add idx</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CODE_EDIT__ADD_IDX = eINSTANCE.getCodeEdit_Add_idx();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rem size</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CODE_EDIT__REM_SIZE = eINSTANCE.getCodeEdit_Rem_size();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Add size</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CODE_EDIT__ADD_SIZE = eINSTANCE.getCodeEdit_Add_size();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Diff</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CODE_EDIT__DIFF = eINSTANCE.getCodeEdit_Diff();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.VariabilityTypes <em>Variability Types</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.VariabilityTypes\n\t\t * @see models.impl.ModelsPackageImpl#getVariabilityTypes()\n\t\t * @generated\n\t\t */\n\t\tEEnum VARIABILITY_TYPES = eINSTANCE.getVariabilityTypes();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.CompilationTargetType <em>Compilation Target Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.CompilationTargetType\n\t\t * @see models.impl.ModelsPackageImpl#getCompilationTargetType()\n\t\t * @generated\n\t\t */\n\t\tEEnum COMPILATION_TARGET_TYPE = eINSTANCE.getCompilationTargetType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.ChangeType <em>Change Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.ChangeType\n\t\t * @see models.impl.ModelsPackageImpl#getChangeType()\n\t\t * @generated\n\t\t */\n\t\tEEnum CHANGE_TYPE = eINSTANCE.getChangeType();\n\n\t}", "public interface LuaTokenTypes extends LuaDocElementTypes {\n //IFileElementType FILE = new IFileElementType(Language.findInstance(LuaLanguage.class));\n /**\n * Wrong token. Use for debugger needs\n */\n IElementType WRONG = TokenType.BAD_CHARACTER;\n\n\n /* **************************************************************************************************\n * Whitespaces & NewLines\n * ****************************************************************************************************/\n\n IElementType NL_BEFORE_LONGSTRING = new LuaElementType(\"newline after longstring stert bracket\");\n IElementType WS = TokenType.WHITE_SPACE;\n IElementType NEWLINE = new LuaElementType(\"new line\");\n\n TokenSet WHITE_SPACES_SET = TokenSet.create(WS, NEWLINE, TokenType.WHITE_SPACE, LDOC_WHITESPACE, NL_BEFORE_LONGSTRING);\n\n /* **************************************************************************************************\n * Comments\n * ****************************************************************************************************/\n\n IElementType SHEBANG = new LuaElementType(\"shebang - should ignore\");\n\n IElementType LONGCOMMENT = new LuaElementType(\"long comment\");\n IElementType SHORTCOMMENT = new LuaElementType(\"short comment\");\n\n IElementType LONGCOMMENT_BEGIN = new LuaElementType(\"long comment start bracket\");\n IElementType LONGCOMMENT_END = new LuaElementType(\"long comment end bracket\");\n\n TokenSet COMMENT_SET = TokenSet.create(SHORTCOMMENT, LONGCOMMENT, SHEBANG, LUADOC_COMMENT, LONGCOMMENT_BEGIN,\n LONGCOMMENT_END);\n\n TokenSet COMMENT_AND_WHITESPACE_SET = TokenSet.orSet(COMMENT_SET, WHITE_SPACES_SET);\n /* **************************************************************************************************\n * Identifiers\n * ****************************************************************************************************/\n\n IElementType NAME = new LuaElementType(\"identifier\");\n\n /* **************************************************************************************************\n * Integers & floats\n * ****************************************************************************************************/\n\n IElementType NUMBER = new LuaElementType(\"number\");\n\n /* **************************************************************************************************\n * Strings & regular expressions\n * ****************************************************************************************************/\n\n IElementType STRING = new LuaElementType(\"string\");\n IElementType LONGSTRING = new LuaElementType(\"long string\");\n\n IElementType LONGSTRING_BEGIN = new LuaElementType(\"long string start bracket\");\n IElementType LONGSTRING_END = new LuaElementType(\"long string end bracket\");\n\n\n\n TokenSet STRING_LITERAL_SET = TokenSet.create(STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n\n IElementType UNTERMINATED_STRING = new LuaElementType(\"unterminated string\");\n\n\n /* **************************************************************************************************\n * Common tokens: operators, braces etc.\n * ****************************************************************************************************/\n\n\n IElementType DIV = new LuaElementType(\"/\");\n IElementType MULT = new LuaElementType(\"*\");\n IElementType LPAREN = new LuaElementType(\"(\");\n IElementType RPAREN = new LuaElementType(\")\");\n IElementType LBRACK = new LuaElementType(\"[\");\n IElementType RBRACK = new LuaElementType(\"]\");\n IElementType LCURLY = new LuaElementType(\"{\");\n IElementType RCURLY = new LuaElementType(\"}\");\n IElementType COLON = new LuaElementType(\":\");\n IElementType COMMA = new LuaElementType(\",\");\n IElementType DOT = new LuaElementType(\".\");\n IElementType ASSIGN = new LuaElementType(\"=\");\n IElementType SEMI = new LuaElementType(\";\");\n IElementType EQ = new LuaElementType(\"==\");\n IElementType NE = new LuaElementType(\"~=\");\n IElementType PLUS = new LuaElementType(\"+\");\n IElementType MINUS = new LuaElementType(\"-\");\n IElementType GE = new LuaElementType(\">=\");\n IElementType GT = new LuaElementType(\">\");\n IElementType EXP = new LuaElementType(\"^\");\n IElementType LE = new LuaElementType(\"<=\");\n IElementType LT = new LuaElementType(\"<\");\n IElementType ELLIPSIS = new LuaElementType(\"...\");\n IElementType CONCAT = new LuaElementType(\"..\");\n IElementType GETN = new LuaElementType(\"#\");\n IElementType MOD = new LuaElementType(\"%\");\n\n /* **************************************************************************************************\n * Keywords\n * ****************************************************************************************************/\n\n\n IElementType IF = new LuaElementType(\"if\");\n IElementType ELSE = new LuaElementType(\"else\");\n IElementType ELSEIF = new LuaElementType(\"elseif\");\n IElementType WHILE = new LuaElementType(\"while\");\n IElementType WITH = new LuaElementType(\"with\");\n\n IElementType THEN = new LuaElementType(\"then\");\n IElementType FOR = new LuaElementType(\"for\");\n IElementType IN = new LuaElementType(\"in\");\n IElementType RETURN = new LuaElementType(\"return\");\n IElementType BREAK = new LuaElementType(\"break\");\n\n IElementType CONTINUE = new LuaElementType(\"continue\");\n IElementType TRUE = new LuaElementType(\"true\");\n IElementType FALSE = new LuaElementType(\"false\");\n IElementType NIL = new LuaElementType(\"nil\");\n IElementType FUNCTION = new LuaElementType(\"function\");\n\n IElementType DO = new LuaElementType(\"do\");\n IElementType NOT = new LuaElementType(\"not\");\n IElementType AND = new LuaElementType(\"and\");\n IElementType OR = new LuaElementType(\"or\");\n IElementType LOCAL = new LuaElementType(\"local\");\n\n IElementType REPEAT = new LuaElementType(\"repeat\");\n IElementType UNTIL = new LuaElementType(\"until\");\n IElementType END = new LuaElementType(\"end\");\n\n /*\n IElementType MODULE = new LuaElementType(\"module\");\n IElementType REQUIRE = new LuaElementType(\"require\");\n */\n\n\n\n TokenSet KEYWORDS = TokenSet.create(DO, FUNCTION, NOT, AND, OR,\n WITH, IF, THEN, ELSEIF, THEN, ELSE,\n WHILE, FOR, IN, RETURN, BREAK,\n CONTINUE, LOCAL,\n REPEAT, UNTIL, END/*, MODULE, REQUIRE */);\n\n TokenSet BRACES = TokenSet.create(LCURLY, RCURLY);\n TokenSet PARENS = TokenSet.create(LPAREN, RPAREN);\n TokenSet BRACKS = TokenSet.create(LBRACK, RBRACK);\n\n TokenSet BAD_INPUT = TokenSet.create(WRONG, UNTERMINATED_STRING);\n \n TokenSet DEFINED_CONSTANTS = TokenSet.create(NIL, TRUE, FALSE);\n\n TokenSet UNARY_OP_SET = TokenSet.create(MINUS, GETN);\n\n TokenSet BINARY_OP_SET = TokenSet.create(\n MINUS, PLUS, DIV, MULT, EXP, MOD,\n CONCAT);\n\n TokenSet BLOCK_OPEN_SET = TokenSet.create(THEN, RPAREN, DO, ELSE, ELSEIF);\n TokenSet BLOCK_CLOSE_SET = TokenSet.create(END, ELSE, ELSEIF, UNTIL);\n\n TokenSet COMPARE_OPS = TokenSet.create(EQ, GE, GT, LT, LE, NE);\n TokenSet LOGICAL_OPS = TokenSet.create(AND, OR, NOT);\n TokenSet ARITHMETIC_OPS = TokenSet.create(MINUS, PLUS, DIV, EXP, MOD);\n\n TokenSet TABLE_ACCESS = TokenSet.create(DOT, COLON, LBRACK);\n\n TokenSet LITERALS_SET = TokenSet.create(NUMBER, NIL, TRUE, FALSE, STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n TokenSet IDENTIFIERS_SET = TokenSet.create(NAME);\n\n TokenSet WHITE_SPACES_OR_COMMENTS = TokenSet.orSet(WHITE_SPACES_SET, COMMENT_SET);\n\n TokenSet OPERATORS_SET = TokenSet.orSet(BINARY_OP_SET, UNARY_OP_SET, COMPARE_OPS, TokenSet.create(ASSIGN));\n}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.impl.ProcessInstImpl <em>Process Inst</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.impl.ProcessInstImpl\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getProcessInst()\n\t\t * @generated\n\t\t */\n\t\tEClass PROCESS_INST = eINSTANCE.getProcessInst();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Process Def</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PROCESS_INST__PROCESS_DEF = eINSTANCE.getProcessInst_ProcessDef();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tokens</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PROCESS_INST__TOKENS = eINSTANCE.getProcessInst_Tokens();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Flow Nodes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PROCESS_INST__FLOW_NODES = eINSTANCE.getProcessInst_FlowNodes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Setup Process Instance</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation PROCESS_INST___SETUP_PROCESS_INSTANCE = eINSTANCE.getProcessInst__SetupProcessInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.impl.FlowNodeInstImpl <em>Flow Node Inst</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.impl.FlowNodeInstImpl\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getFlowNodeInst()\n\t\t * @generated\n\t\t */\n\t\tEClass FLOW_NODE_INST = eINSTANCE.getFlowNodeInst();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Node Def</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FLOW_NODE_INST__NODE_DEF = eINSTANCE.getFlowNodeInst_NodeDef();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Status</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FLOW_NODE_INST__STATUS = eINSTANCE.getFlowNodeInst_Status();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Next</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FLOW_NODE_INST__NEXT = eINSTANCE.getFlowNodeInst_Next();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>EOperation0</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation FLOW_NODE_INST___EOPERATION0 = eINSTANCE.getFlowNodeInst__EOperation0();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.impl.ActivityInstImpl <em>Activity Inst</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.impl.ActivityInstImpl\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getActivityInst()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTIVITY_INST = eINSTANCE.getActivityInst();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Inputs</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ACTIVITY_INST__INPUTS = eINSTANCE.getActivityInst_Inputs();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Outputs</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ACTIVITY_INST__OUTPUTS = eINSTANCE.getActivityInst_Outputs();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Preconditions</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ACTIVITY_INST__PRECONDITIONS = eINSTANCE.getActivityInst_Preconditions();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Postconditions</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ACTIVITY_INST__POSTCONDITIONS = eINSTANCE.getActivityInst_Postconditions();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.impl.EventInstImpl <em>Event Inst</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.impl.EventInstImpl\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getEventInst()\n\t\t * @generated\n\t\t */\n\t\tEClass EVENT_INST = eINSTANCE.getEventInst();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.impl.SplitInstImpl <em>Split Inst</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.impl.SplitInstImpl\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getSplitInst()\n\t\t * @generated\n\t\t */\n\t\tEClass SPLIT_INST = eINSTANCE.getSplitInst();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Branches</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SPLIT_INST__BRANCHES = eINSTANCE.getSplitInst_Branches();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.impl.BranchInstImpl <em>Branch Inst</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.impl.BranchInstImpl\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getBranchInst()\n\t\t * @generated\n\t\t */\n\t\tEClass BRANCH_INST = eINSTANCE.getBranchInst();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Branch Def</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference BRANCH_INST__BRANCH_DEF = eINSTANCE.getBranchInst_BranchDef();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.impl.ConstraintInstImpl <em>Constraint Inst</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.impl.ConstraintInstImpl\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getConstraintInst()\n\t\t * @generated\n\t\t */\n\t\tEClass CONSTRAINT_INST = eINSTANCE.getConstraintInst();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Extension</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONSTRAINT_INST__EXTENSION = eINSTANCE.getConstraintInst_Extension();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Constraint Def</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONSTRAINT_INST__CONSTRAINT_DEF = eINSTANCE.getConstraintInst_ConstraintDef();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.FlowNodeStatusType <em>Flow Node Status Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.FlowNodeStatusType\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getFlowNodeStatusType()\n\t\t * @generated\n\t\t */\n\t\tEEnum FLOW_NODE_STATUS_TYPE = eINSTANCE.getFlowNodeStatusType();\n\n\t}", "public void defineMetadataTypes(Properties properties) throws ThinklabException {\r\n\t\t\r\n\t\tfor (Object p : properties.keySet()) {\r\n\t\t\t\r\n\t\t\tif (p.toString().startsWith(KBOX_METADATA_PREFIX)) {\r\n\t\t\t\tString cid = properties.getProperty(p.toString());\r\n\t\t\t\t\r\n\t\t\t\tString[] ss = p.toString().split(\"\\\\.\");\r\n\t\t\t\tString metadataName = ss[ss.length - 1];\r\n\t\t\t\t\r\n\t\t\t\tIConcept cc = KnowledgeManager.get().requireConcept(cid);\r\n\t\t\t\tmetadataTypes.put(metadataName, cc);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "interface Literals\n {\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.AndroidAppProjectImpl <em>Android App Project</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.AndroidAppProjectImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getAndroidAppProject()\n * @generated\n */\n EClass ANDROID_APP_PROJECT = eINSTANCE.getAndroidAppProject();\n\n /**\n * The meta object literal for the '<em><b>Applications</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ANDROID_APP_PROJECT__APPLICATIONS = eINSTANCE.getAndroidAppProject_Applications();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationImpl <em>Application</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplication()\n * @generated\n */\n EClass APPLICATION = eINSTANCE.getApplication();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute APPLICATION__NAME = eINSTANCE.getApplication_Name();\n\n /**\n * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference APPLICATION__ATTRIBUTES = eINSTANCE.getApplication_Attributes();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationAttributeImpl <em>Application Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationAttribute()\n * @generated\n */\n EClass APPLICATION_ATTRIBUTE = eINSTANCE.getApplicationAttribute();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationMinSdkImpl <em>Application Min Sdk</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationMinSdkImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationMinSdk()\n * @generated\n */\n EClass APPLICATION_MIN_SDK = eINSTANCE.getApplicationMinSdk();\n\n /**\n * The meta object literal for the '<em><b>Min Sdk</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute APPLICATION_MIN_SDK__MIN_SDK = eINSTANCE.getApplicationMinSdk_MinSdk();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationTargetSdkImpl <em>Application Target Sdk</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationTargetSdkImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationTargetSdk()\n * @generated\n */\n EClass APPLICATION_TARGET_SDK = eINSTANCE.getApplicationTargetSdk();\n\n /**\n * The meta object literal for the '<em><b>Target Sdk</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute APPLICATION_TARGET_SDK__TARGET_SDK = eINSTANCE.getApplicationTargetSdk_TargetSdk();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationCompileSdkImpl <em>Application Compile Sdk</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationCompileSdkImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationCompileSdk()\n * @generated\n */\n EClass APPLICATION_COMPILE_SDK = eINSTANCE.getApplicationCompileSdk();\n\n /**\n * The meta object literal for the '<em><b>Compile Sdk</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute APPLICATION_COMPILE_SDK__COMPILE_SDK = eINSTANCE.getApplicationCompileSdk_CompileSdk();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationPermissionListImpl <em>Application Permission List</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationPermissionListImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationPermissionList()\n * @generated\n */\n EClass APPLICATION_PERMISSION_LIST = eINSTANCE.getApplicationPermissionList();\n\n /**\n * The meta object literal for the '<em><b>Permissions</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference APPLICATION_PERMISSION_LIST__PERMISSIONS = eINSTANCE.getApplicationPermissionList_Permissions();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationElementListImpl <em>Application Element List</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationElementListImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationElementList()\n * @generated\n */\n EClass APPLICATION_ELEMENT_LIST = eINSTANCE.getApplicationElementList();\n\n /**\n * The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference APPLICATION_ELEMENT_LIST__ELEMENTS = eINSTANCE.getApplicationElementList_Elements();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationMainActivityImpl <em>Application Main Activity</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationMainActivityImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationMainActivity()\n * @generated\n */\n EClass APPLICATION_MAIN_ACTIVITY = eINSTANCE.getApplicationMainActivity();\n\n /**\n * The meta object literal for the '<em><b>Launcher Activity</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference APPLICATION_MAIN_ACTIVITY__LAUNCHER_ACTIVITY = eINSTANCE.getApplicationMainActivity_LauncherActivity();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.PermissionImpl <em>Permission</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.PermissionImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getPermission()\n * @generated\n */\n EClass PERMISSION = eINSTANCE.getPermission();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PERMISSION__NAME = eINSTANCE.getPermission_Name();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationElementImpl <em>Application Element</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationElementImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationElement()\n * @generated\n */\n EClass APPLICATION_ELEMENT = eINSTANCE.getApplicationElement();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute APPLICATION_ELEMENT__NAME = eINSTANCE.getApplicationElement_Name();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ActivityImpl <em>Activity</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ActivityImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getActivity()\n * @generated\n */\n EClass ACTIVITY = eINSTANCE.getActivity();\n\n /**\n * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTIVITY__ATTRIBUTES = eINSTANCE.getActivity_Attributes();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverImpl <em>Broadcast Receiver</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getBroadcastReceiver()\n * @generated\n */\n EClass BROADCAST_RECEIVER = eINSTANCE.getBroadcastReceiver();\n\n /**\n * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference BROADCAST_RECEIVER__ATTRIBUTES = eINSTANCE.getBroadcastReceiver_Attributes();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ServiceImpl <em>Service</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ServiceImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getService()\n * @generated\n */\n EClass SERVICE = eINSTANCE.getService();\n\n /**\n * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SERVICE__ATTRIBUTES = eINSTANCE.getService_Attributes();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ActivityAttributeImpl <em>Activity Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ActivityAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getActivityAttribute()\n * @generated\n */\n EClass ACTIVITY_ATTRIBUTE = eINSTANCE.getActivityAttribute();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverAttributeImpl <em>Broadcast Receiver Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getBroadcastReceiverAttribute()\n * @generated\n */\n EClass BROADCAST_RECEIVER_ATTRIBUTE = eINSTANCE.getBroadcastReceiverAttribute();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ServiceAttributeImpl <em>Service Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ServiceAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getServiceAttribute()\n * @generated\n */\n EClass SERVICE_ATTRIBUTE = eINSTANCE.getServiceAttribute();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ElementEnabledAttributeImpl <em>Element Enabled Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ElementEnabledAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getElementEnabledAttribute()\n * @generated\n */\n EClass ELEMENT_ENABLED_ATTRIBUTE = eINSTANCE.getElementEnabledAttribute();\n\n /**\n * The meta object literal for the '<em><b>Enabled</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ELEMENT_ENABLED_ATTRIBUTE__ENABLED = eINSTANCE.getElementEnabledAttribute_Enabled();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ElementExportedAttributeImpl <em>Element Exported Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ElementExportedAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getElementExportedAttribute()\n * @generated\n */\n EClass ELEMENT_EXPORTED_ATTRIBUTE = eINSTANCE.getElementExportedAttribute();\n\n /**\n * The meta object literal for the '<em><b>Exported</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ELEMENT_EXPORTED_ATTRIBUTE__EXPORTED = eINSTANCE.getElementExportedAttribute_Exported();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ElementLabelAttributeImpl <em>Element Label Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ElementLabelAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getElementLabelAttribute()\n * @generated\n */\n EClass ELEMENT_LABEL_ATTRIBUTE = eINSTANCE.getElementLabelAttribute();\n\n /**\n * The meta object literal for the '<em><b>Title</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ELEMENT_LABEL_ATTRIBUTE__TITLE = eINSTANCE.getElementLabelAttribute_Title();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ElementIntentListImpl <em>Element Intent List</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ElementIntentListImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getElementIntentList()\n * @generated\n */\n EClass ELEMENT_INTENT_LIST = eINSTANCE.getElementIntentList();\n\n /**\n * The meta object literal for the '<em><b>Intents</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ELEMENT_INTENT_LIST__INTENTS = eINSTANCE.getElementIntentList_Intents();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.IntentImpl <em>Intent</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.IntentImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getIntent()\n * @generated\n */\n EClass INTENT = eINSTANCE.getIntent();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute INTENT__NAME = eINSTANCE.getIntent_Name();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ActivityParentAttributeImpl <em>Activity Parent Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ActivityParentAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getActivityParentAttribute()\n * @generated\n */\n EClass ACTIVITY_PARENT_ATTRIBUTE = eINSTANCE.getActivityParentAttribute();\n\n /**\n * The meta object literal for the '<em><b>Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTIVITY_PARENT_ATTRIBUTE__PARENT = eINSTANCE.getActivityParentAttribute_Parent();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ActivityLayoutAttributeImpl <em>Activity Layout Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ActivityLayoutAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getActivityLayoutAttribute()\n * @generated\n */\n EClass ACTIVITY_LAYOUT_ATTRIBUTE = eINSTANCE.getActivityLayoutAttribute();\n\n /**\n * The meta object literal for the '<em><b>Layout Elements</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTIVITY_LAYOUT_ATTRIBUTE__LAYOUT_ELEMENTS = eINSTANCE.getActivityLayoutAttribute_LayoutElements();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.LayoutElementImpl <em>Layout Element</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.LayoutElementImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getLayoutElement()\n * @generated\n */\n EClass LAYOUT_ELEMENT = eINSTANCE.getLayoutElement();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ButtonImpl <em>Button</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ButtonImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getButton()\n * @generated\n */\n EClass BUTTON = eINSTANCE.getButton();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute BUTTON__NAME = eINSTANCE.getButton_Name();\n\n /**\n * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference BUTTON__ATTRIBUTES = eINSTANCE.getButton_Attributes();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ButtonAttributeImpl <em>Button Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ButtonAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getButtonAttribute()\n * @generated\n */\n EClass BUTTON_ATTRIBUTE = eINSTANCE.getButtonAttribute();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ButtonLabelAttributeImpl <em>Button Label Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ButtonLabelAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getButtonLabelAttribute()\n * @generated\n */\n EClass BUTTON_LABEL_ATTRIBUTE = eINSTANCE.getButtonLabelAttribute();\n\n /**\n * The meta object literal for the '<em><b>Title</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute BUTTON_LABEL_ATTRIBUTE__TITLE = eINSTANCE.getButtonLabelAttribute_Title();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ButtonActionAttributeImpl <em>Button Action Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ButtonActionAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getButtonActionAttribute()\n * @generated\n */\n EClass BUTTON_ACTION_ATTRIBUTE = eINSTANCE.getButtonActionAttribute();\n\n /**\n * The meta object literal for the '<em><b>Action</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference BUTTON_ACTION_ATTRIBUTE__ACTION = eINSTANCE.getButtonActionAttribute_Action();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.SpacerImpl <em>Spacer</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.SpacerImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getSpacer()\n * @generated\n */\n EClass SPACER = eINSTANCE.getSpacer();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.TextImpl <em>Text</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.TextImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getText()\n * @generated\n */\n EClass TEXT = eINSTANCE.getText();\n\n /**\n * The meta object literal for the '<em><b>Text</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute TEXT__TEXT = eINSTANCE.getText_Text();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.LayoutElementClickActionImpl <em>Layout Element Click Action</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.LayoutElementClickActionImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getLayoutElementClickAction()\n * @generated\n */\n EClass LAYOUT_ELEMENT_CLICK_ACTION = eINSTANCE.getLayoutElementClickAction();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverActionAttributeImpl <em>Broadcast Receiver Action Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverActionAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getBroadcastReceiverActionAttribute()\n * @generated\n */\n EClass BROADCAST_RECEIVER_ACTION_ATTRIBUTE = eINSTANCE.getBroadcastReceiverActionAttribute();\n\n /**\n * The meta object literal for the '<em><b>Action</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference BROADCAST_RECEIVER_ACTION_ATTRIBUTE__ACTION = eINSTANCE.getBroadcastReceiverActionAttribute_Action();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverActionImpl <em>Broadcast Receiver Action</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverActionImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getBroadcastReceiverAction()\n * @generated\n */\n EClass BROADCAST_RECEIVER_ACTION = eINSTANCE.getBroadcastReceiverAction();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ActionShowToastImpl <em>Action Show Toast</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ActionShowToastImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getActionShowToast()\n * @generated\n */\n EClass ACTION_SHOW_TOAST = eINSTANCE.getActionShowToast();\n\n /**\n * The meta object literal for the '<em><b>Toast Text</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ACTION_SHOW_TOAST__TOAST_TEXT = eINSTANCE.getActionShowToast_ToastText();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ActionStartActivityImpl <em>Action Start Activity</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ActionStartActivityImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getActionStartActivity()\n * @generated\n */\n EClass ACTION_START_ACTIVITY = eINSTANCE.getActionStartActivity();\n\n /**\n * The meta object literal for the '<em><b>Activity</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION_START_ACTIVITY__ACTIVITY = eINSTANCE.getActionStartActivity_Activity();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ActionStartServiceImpl <em>Action Start Service</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ActionStartServiceImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getActionStartService()\n * @generated\n */\n EClass ACTION_START_SERVICE = eINSTANCE.getActionStartService();\n\n /**\n * The meta object literal for the '<em><b>Service</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION_START_SERVICE__SERVICE = eINSTANCE.getActionStartService_Service();\n\n }", "public interface Literals\r\n {\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.Product <em>Product</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.Product\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getProduct()\r\n * @generated\r\n */\r\n public static final EClass PRODUCT = eINSTANCE.getProduct();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Price</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute PRODUCT__PRICE = eINSTANCE.getProduct_Price();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute PRODUCT__NAME = eINSTANCE.getProduct_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute PRODUCT__ID = eINSTANCE.getProduct_Id();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Producer</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference PRODUCT__PRODUCER = eINSTANCE.getProduct_Producer();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Wishlists</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference PRODUCT__WISHLISTS = eINSTANCE.getProduct_Wishlists();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Offered By</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference PRODUCT__OFFERED_BY = eINSTANCE.getProduct_OfferedBy();\r\n\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.Customer <em>Customer</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.Customer\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getCustomer()\r\n * @generated\r\n */\r\n public static final EClass CUSTOMER = eINSTANCE.getCustomer();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>All Bought Products</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference CUSTOMER__ALL_BOUGHT_PRODUCTS = eINSTANCE.getCustomer_AllBoughtProducts();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute CUSTOMER__NAME = eINSTANCE.getCustomer_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Age</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute CUSTOMER__AGE = eINSTANCE.getCustomer_Age();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute CUSTOMER__ID = eINSTANCE.getCustomer_Id();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Wishlists</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference CUSTOMER__WISHLISTS = eINSTANCE.getCustomer_Wishlists();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Username</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute CUSTOMER__USERNAME = eINSTANCE.getCustomer_Username();\r\n\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.Producer <em>Producer</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.Producer\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getProducer()\r\n * @generated\r\n */\r\n public static final EClass PRODUCER = eINSTANCE.getProducer();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute PRODUCER__ID = eINSTANCE.getProducer_Id();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute PRODUCER__NAME = eINSTANCE.getProducer_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Products</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference PRODUCER__PRODUCTS = eINSTANCE.getProducer_Products();\r\n\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.Store <em>Store</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.Store\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getStore()\r\n * @generated\r\n */\r\n public static final EClass STORE = eINSTANCE.getStore();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Customers</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference STORE__CUSTOMERS = eINSTANCE.getStore_Customers();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Products</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference STORE__PRODUCTS = eINSTANCE.getStore_Products();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Producers</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference STORE__PRODUCERS = eINSTANCE.getStore_Producers();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Sellers</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference STORE__SELLERS = eINSTANCE.getStore_Sellers();\r\n\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.Book <em>Book</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.Book\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getBook()\r\n * @generated\r\n */\r\n public static final EClass BOOK = eINSTANCE.getBook();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Author</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute BOOK__AUTHOR = eINSTANCE.getBook_Author();\r\n\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.DVD <em>DVD</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.DVD\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getDVD()\r\n * @generated\r\n */\r\n public static final EClass DVD = eINSTANCE.getDVD();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Interpret</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute DVD__INTERPRET = eINSTANCE.getDVD_Interpret();\r\n\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.Wishlist <em>Wishlist</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.Wishlist\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getWishlist()\r\n * @generated\r\n */\r\n public static final EClass WISHLIST = eINSTANCE.getWishlist();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Products</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference WISHLIST__PRODUCTS = eINSTANCE.getWishlist_Products();\r\n\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.Seller <em>Seller</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.Seller\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getSeller()\r\n * @generated\r\n */\r\n public static final EClass SELLER = eINSTANCE.getSeller();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute SELLER__NAME = eINSTANCE.getSeller_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute SELLER__ID = eINSTANCE.getSeller_Id();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Username</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute SELLER__USERNAME = eINSTANCE.getSeller_Username();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>All Products To Sell</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference SELLER__ALL_PRODUCTS_TO_SELL = eINSTANCE.getSeller_AllProductsToSell();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>EReference0</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference SELLER__EREFERENCE0 = eINSTANCE.getSeller_EReference0();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Sold Products</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference SELLER__SOLD_PRODUCTS = eINSTANCE.getSeller_SoldProducts();\r\n\r\n }", "interface Literals\n {\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.DocumentoImpl <em>Documento</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.DocumentoImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getDocumento()\n * @generated\n */\n EClass DOCUMENTO = eINSTANCE.getDocumento();\n\n /**\n * The meta object literal for the '<em><b>Path Modelo</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute DOCUMENTO__PATH_MODELO = eINSTANCE.getDocumento_PathModelo();\n\n /**\n * The meta object literal for the '<em><b>Path Ocl</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute DOCUMENTO__PATH_OCL = eINSTANCE.getDocumento_PathOcl();\n\n /**\n * The meta object literal for the '<em><b>Oraciones</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DOCUMENTO__ORACIONES = eINSTANCE.getDocumento_Oraciones();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.OracionImpl <em>Oracion</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.OracionImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getOracion()\n * @generated\n */\n EClass ORACION = eINSTANCE.getOracion();\n\n /**\n * The meta object literal for the '<em><b>Contenido</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ORACION__CONTENIDO = eINSTANCE.getOracion_Contenido();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.SimpleImpl <em>Simple</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.SimpleImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getSimple()\n * @generated\n */\n EClass SIMPLE = eINSTANCE.getSimple();\n\n /**\n * The meta object literal for the '<em><b>Determinante</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SIMPLE__DETERMINANTE = eINSTANCE.getSimple_Determinante();\n\n /**\n * The meta object literal for the '<em><b>Atributo</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SIMPLE__ATRIBUTO = eINSTANCE.getSimple_Atributo();\n\n /**\n * The meta object literal for the '<em><b>Sintagma</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SIMPLE__SINTAGMA = eINSTANCE.getSimple_Sintagma();\n\n /**\n * The meta object literal for the '<em><b>Contexto</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SIMPLE__CONTEXTO = eINSTANCE.getSimple_Contexto();\n\n /**\n * The meta object literal for the '<em><b>Obligacion</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SIMPLE__OBLIGACION = eINSTANCE.getSimple_Obligacion();\n\n /**\n * The meta object literal for the '<em><b>Operacion</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SIMPLE__OPERACION = eINSTANCE.getSimple_Operacion();\n\n /**\n * The meta object literal for the '<em><b>Literal</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute SIMPLE__LITERAL = eINSTANCE.getSimple_Literal();\n\n /**\n * The meta object literal for the '<em><b>Fin Oracion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute SIMPLE__FIN_ORACION = eINSTANCE.getSimple_FinOracion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.DeterminanteImpl <em>Determinante</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.DeterminanteImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getDeterminante()\n * @generated\n */\n EClass DETERMINANTE = eINSTANCE.getDeterminante();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute DETERMINANTE__DESCRIPCION = eINSTANCE.getDeterminante_Descripcion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.AtributoImpl <em>Atributo</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.AtributoImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getAtributo()\n * @generated\n */\n EClass ATRIBUTO = eINSTANCE.getAtributo();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ATRIBUTO__NAME = eINSTANCE.getAtributo_Name();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.SintagmaPreposicionalImpl <em>Sintagma Preposicional</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.SintagmaPreposicionalImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getSintagmaPreposicional()\n * @generated\n */\n EClass SINTAGMA_PREPOSICIONAL = eINSTANCE.getSintagmaPreposicional();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute SINTAGMA_PREPOSICIONAL__DESCRIPCION = eINSTANCE.getSintagmaPreposicional_Descripcion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.ObligacionImpl <em>Obligacion</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.ObligacionImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getObligacion()\n * @generated\n */\n EClass OBLIGACION = eINSTANCE.getObligacion();\n\n /**\n * The meta object literal for the '<em><b>Negacion</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OBLIGACION__NEGACION = eINSTANCE.getObligacion_Negacion();\n\n /**\n * The meta object literal for the '<em><b>Obligacion Deber</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OBLIGACION__OBLIGACION_DEBER = eINSTANCE.getObligacion_ObligacionDeber();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.ObligacionDeberImpl <em>Obligacion Deber</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.ObligacionDeberImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getObligacionDeber()\n * @generated\n */\n EClass OBLIGACION_DEBER = eINSTANCE.getObligacionDeber();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OBLIGACION_DEBER__DESCRIPCION = eINSTANCE.getObligacionDeber_Descripcion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.NegacionImpl <em>Negacion</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.NegacionImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getNegacion()\n * @generated\n */\n EClass NEGACION = eINSTANCE.getNegacion();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute NEGACION__DESCRIPCION = eINSTANCE.getNegacion_Descripcion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.OperacionImpl <em>Operacion</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.OperacionImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getOperacion()\n * @generated\n */\n EClass OPERACION = eINSTANCE.getOperacion();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OPERACION__DESCRIPCION = eINSTANCE.getOperacion_Descripcion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.ClaseImpl <em>Clase</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.ClaseImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getClase()\n * @generated\n */\n EClass CLASE = eINSTANCE.getClase();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CLASE__NAME = eINSTANCE.getClase_Name();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.CompuestaImpl <em>Compuesta</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.CompuestaImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getCompuesta()\n * @generated\n */\n EClass COMPUESTA = eINSTANCE.getCompuesta();\n\n /**\n * The meta object literal for the '<em><b>Simple Inicial</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPUESTA__SIMPLE_INICIAL = eINSTANCE.getCompuesta_SimpleInicial();\n\n /**\n * The meta object literal for the '<em><b>Nexo</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPUESTA__NEXO = eINSTANCE.getCompuesta_Nexo();\n\n /**\n * The meta object literal for the '<em><b>Simple Final</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPUESTA__SIMPLE_FINAL = eINSTANCE.getCompuesta_SimpleFinal();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.NexoImpl <em>Nexo</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.NexoImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getNexo()\n * @generated\n */\n EClass NEXO = eINSTANCE.getNexo();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute NEXO__DESCRIPCION = eINSTANCE.getNexo_Descripcion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.ComplejaImpl <em>Compleja</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.ComplejaImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getCompleja()\n * @generated\n */\n EClass COMPLEJA = eINSTANCE.getCompleja();\n\n /**\n * The meta object literal for the '<em><b>Determinante</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__DETERMINANTE = eINSTANCE.getCompleja_Determinante();\n\n /**\n * The meta object literal for the '<em><b>Atr</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__ATR = eINSTANCE.getCompleja_Atr();\n\n /**\n * The meta object literal for the '<em><b>Sintagma</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__SINTAGMA = eINSTANCE.getCompleja_Sintagma();\n\n /**\n * The meta object literal for the '<em><b>Contexto</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__CONTEXTO = eINSTANCE.getCompleja_Contexto();\n\n /**\n * The meta object literal for the '<em><b>Conect</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__CONECT = eINSTANCE.getCompleja_Conect();\n\n /**\n * The meta object literal for the '<em><b>Operacion Coleccion</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__OPERACION_COLECCION = eINSTANCE.getCompleja_OperacionColeccion();\n\n /**\n * The meta object literal for the '<em><b>Determinante1</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__DETERMINANTE1 = eINSTANCE.getCompleja_Determinante1();\n\n /**\n * The meta object literal for the '<em><b>Clase</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__CLASE = eINSTANCE.getCompleja_Clase();\n\n /**\n * The meta object literal for the '<em><b>Conect1</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__CONECT1 = eINSTANCE.getCompleja_Conect1();\n\n /**\n * The meta object literal for the '<em><b>Atr1</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__ATR1 = eINSTANCE.getCompleja_Atr1();\n\n /**\n * The meta object literal for the '<em><b>Ope3</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__OPE3 = eINSTANCE.getCompleja_Ope3();\n\n /**\n * The meta object literal for the '<em><b>Lit1</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute COMPLEJA__LIT1 = eINSTANCE.getCompleja_Lit1();\n\n /**\n * The meta object literal for the '<em><b>Atr2</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__ATR2 = eINSTANCE.getCompleja_Atr2();\n\n /**\n * The meta object literal for the '<em><b>Ope4</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__OPE4 = eINSTANCE.getCompleja_Ope4();\n\n /**\n * The meta object literal for the '<em><b>Atr4</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__ATR4 = eINSTANCE.getCompleja_Atr4();\n\n /**\n * The meta object literal for the '<em><b>Ope5</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__OPE5 = eINSTANCE.getCompleja_Ope5();\n\n /**\n * The meta object literal for the '<em><b>Lit2</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute COMPLEJA__LIT2 = eINSTANCE.getCompleja_Lit2();\n\n /**\n * The meta object literal for the '<em><b>Atr5</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__ATR5 = eINSTANCE.getCompleja_Atr5();\n\n /**\n * The meta object literal for the '<em><b>Conec1</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__CONEC1 = eINSTANCE.getCompleja_Conec1();\n\n /**\n * The meta object literal for the '<em><b>Ope Col</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__OPE_COL = eINSTANCE.getCompleja_OpeCol();\n\n /**\n * The meta object literal for the '<em><b>Ope6</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__OPE6 = eINSTANCE.getCompleja_Ope6();\n\n /**\n * The meta object literal for the '<em><b>Lit3</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute COMPLEJA__LIT3 = eINSTANCE.getCompleja_Lit3();\n\n /**\n * The meta object literal for the '<em><b>Atr3</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__ATR3 = eINSTANCE.getCompleja_Atr3();\n\n /**\n * The meta object literal for the '<em><b>Fin Oracion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute COMPLEJA__FIN_ORACION = eINSTANCE.getCompleja_FinOracion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.ConectorImpl <em>Conector</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.ConectorImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getConector()\n * @generated\n */\n EClass CONECTOR = eINSTANCE.getConector();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CONECTOR__DESCRIPCION = eINSTANCE.getConector_Descripcion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.OperacionColeccionImpl <em>Operacion Coleccion</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.OperacionColeccionImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getOperacionColeccion()\n * @generated\n */\n EClass OPERACION_COLECCION = eINSTANCE.getOperacionColeccion();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OPERACION_COLECCION__DESCRIPCION = eINSTANCE.getOperacionColeccion_Descripcion();\n\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ApplicationImpl <em>Application</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ApplicationImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getApplication()\n\t\t * @generated\n\t\t */\n\t\tEClass APPLICATION = eINSTANCE.getApplication();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Commands</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference APPLICATION__COMMANDS = eINSTANCE.getApplication_Commands();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Components</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference APPLICATION__COMPONENTS = eINSTANCE.getApplication_Components();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Config</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference APPLICATION__CONFIG = eINSTANCE.getApplication_Config();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Context</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference APPLICATION__CONTEXT = eINSTANCE.getApplication_Context();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Hooks</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference APPLICATION__HOOKS = eINSTANCE.getApplication_Hooks();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute APPLICATION__NAME = eINSTANCE.getApplication_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Port</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute APPLICATION__PORT = eINSTANCE.getApplication_Port();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Text</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute APPLICATION__TEXT = eINSTANCE.getApplication_Text();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ApplicationComponentImpl <em>Application Component</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ApplicationComponentImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getApplicationComponent()\n\t\t * @generated\n\t\t */\n\t\tEClass APPLICATION_COMPONENT = eINSTANCE.getApplicationComponent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Config</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference APPLICATION_COMPONENT__CONFIG = eINSTANCE.getApplicationComponent_Config();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Commands</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference APPLICATION_COMPONENT__COMMANDS = eINSTANCE.getApplicationComponent_Commands();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Hooks</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference APPLICATION_COMPONENT__HOOKS = eINSTANCE.getApplicationComponent_Hooks();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Modules</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference APPLICATION_COMPONENT__MODULES = eINSTANCE.getApplicationComponent_Modules();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute APPLICATION_COMPONENT__NAME = eINSTANCE.getApplicationComponent_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ApplicationModuleImpl <em>Application Module</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ApplicationModuleImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getApplicationModule()\n\t\t * @generated\n\t\t */\n\t\tEClass APPLICATION_MODULE = eINSTANCE.getApplicationModule();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute APPLICATION_MODULE__NAME = eINSTANCE.getApplicationModule_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Services</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference APPLICATION_MODULE__SERVICES = eINSTANCE.getApplicationModule_Services();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.QApplicationManager <em>Application Manager</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.QApplicationManager\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getApplicationManager()\n\t\t * @generated\n\t\t */\n\t\tEClass APPLICATION_MANAGER = eINSTANCE.getApplicationManager();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.QBundleManager <em>Bundle Manager</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.QBundleManager\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getBundleManager()\n\t\t * @generated\n\t\t */\n\t\tEClass BUNDLE_MANAGER = eINSTANCE.getBundleManager();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.BundleVisitorImpl <em>Bundle Visitor</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.BundleVisitorImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getBundleVisitor()\n\t\t * @generated\n\t\t */\n\t\tEClass BUNDLE_VISITOR = eINSTANCE.getBundleVisitor();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ConfigImpl <em>Config</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ConfigImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getConfig()\n\t\t * @generated\n\t\t */\n\t\tEClass CONFIG = eINSTANCE.getConfig();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Objects</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONFIG__OBJECTS = eINSTANCE.getConfig_Objects();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.QLogger <em>Logger</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.QLogger\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getLogger()\n\t\t * @generated\n\t\t */\n\t\tEClass LOGGER = eINSTANCE.getLogger();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceCommandProviderImpl <em>Service Command Provider</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceCommandProviderImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceCommandProvider()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_COMMAND_PROVIDER = eINSTANCE.getServiceCommandProvider();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interface Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERVICE_COMMAND_PROVIDER__INTERFACE_NAME = eINSTANCE.getServiceCommandProvider_InterfaceName();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceHookImpl <em>Service Hook</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceHookImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceHook()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_HOOK = eINSTANCE.getServiceHook();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceExecutorImpl <em>Service Executor</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceExecutorImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceExecutor()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_EXECUTOR = eINSTANCE.getServiceExecutor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interface Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERVICE_EXECUTOR__INTERFACE_NAME = eINSTANCE.getServiceExecutor_InterfaceName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Remote Export</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERVICE_EXECUTOR__REMOTE_EXPORT = eINSTANCE.getServiceExecutor_RemoteExport();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceRefImpl <em>Service Ref</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceRefImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceRef()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_REF = eINSTANCE.getServiceRef();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Class Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERVICE_REF__CLASS_NAME = eINSTANCE.getServiceRef_ClassName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Status</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERVICE_REF__STATUS = eINSTANCE.getServiceRef_Status();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceResourceListenerImpl <em>Service Resource Listener</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceResourceListenerImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceResourceListener()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_RESOURCE_LISTENER = eINSTANCE.getServiceResourceListener();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interface Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERVICE_RESOURCE_LISTENER__INTERFACE_NAME = eINSTANCE.getServiceResourceListener_InterfaceName();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceResourceProviderImpl <em>Service Resource Provider</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceResourceProviderImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceResourceProvider()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_RESOURCE_PROVIDER = eINSTANCE.getServiceResourceProvider();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interface Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERVICE_RESOURCE_PROVIDER__INTERFACE_NAME = eINSTANCE.getServiceResourceProvider_InterfaceName();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceRegistryImpl <em>Service Registry</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceRegistryImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceRegistry()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_REGISTRY = eINSTANCE.getServiceRegistry();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Entries</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SERVICE_REGISTRY__ENTRIES = eINSTANCE.getServiceRegistry_Entries();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interface Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERVICE_REGISTRY__INTERFACE_NAME = eINSTANCE.getServiceRegistry_InterfaceName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERVICE_REGISTRY__NAME = eINSTANCE.getServiceRegistry_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceRegistryEntryImpl <em>Service Registry Entry</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceRegistryEntryImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceRegistryEntry()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_REGISTRY_ENTRY = eINSTANCE.getServiceRegistryEntry();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interface Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERVICE_REGISTRY_ENTRY__INTERFACE_NAME = eINSTANCE.getServiceRegistryEntry_InterfaceName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERVICE_REGISTRY_ENTRY__NAME = eINSTANCE.getServiceRegistryEntry_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Vendor</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERVICE_REGISTRY_ENTRY__VENDOR = eINSTANCE.getServiceRegistryEntry_Vendor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Version</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERVICE_REGISTRY_ENTRY__VERSION = eINSTANCE.getServiceRegistryEntry_Version();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceTesterImpl <em>Service Tester</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceTesterImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceTester()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_TESTER = eINSTANCE.getServiceTester();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interface Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERVICE_TESTER__INTERFACE_NAME = eINSTANCE.getServiceTester_InterfaceName();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.ServiceStatus <em>Service Status</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.ServiceStatus\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceStatus()\n\t\t * @generated\n\t\t */\n\t\tEEnum SERVICE_STATUS = eINSTANCE.getServiceStatus();\n\n\t}", "interface Literals\r\n {\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.ConstiuteintsystemDesignImpl <em>Constiuteintsystem Design</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.ConstiuteintsystemDesignImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getConstiuteintsystemDesign()\r\n * @generated\r\n */\r\n EClass CONSTIUTEINTSYSTEM_DESIGN = eINSTANCE.getConstiuteintsystemDesign();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Actions</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CONSTIUTEINTSYSTEM_DESIGN__ACTIONS = eINSTANCE.getConstiuteintsystemDesign_Actions();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Action</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CONSTIUTEINTSYSTEM_DESIGN__ACTION = eINSTANCE.getConstiuteintsystemDesign_Action();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute CONSTIUTEINTSYSTEM_DESIGN__NAME = eINSTANCE.getConstiuteintsystemDesign_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Ports</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CONSTIUTEINTSYSTEM_DESIGN__PORTS = eINSTANCE.getConstiuteintsystemDesign_Ports();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.PortImpl <em>Port</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.PortImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getPort()\r\n * @generated\r\n */\r\n EClass PORT = eINSTANCE.getPort();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute PORT__NAME = eINSTANCE.getPort_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Provides</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference PORT__PROVIDES = eINSTANCE.getPort_Provides();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Requires</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference PORT__REQUIRES = eINSTANCE.getPort_Requires();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.StochasticbehaviorImpl <em>Stochasticbehavior</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.StochasticbehaviorImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getStochasticbehavior()\r\n * @generated\r\n */\r\n EClass STOCHASTICBEHAVIOR = eINSTANCE.getStochasticbehavior();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.StochaticConstriantsImpl <em>Stochatic Constriants</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.StochaticConstriantsImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getStochaticConstriants()\r\n * @generated\r\n */\r\n EClass STOCHATIC_CONSTRIANTS = eINSTANCE.getStochaticConstriants();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Constraint Share Date</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference STOCHATIC_CONSTRIANTS__CONSTRAINT_SHARE_DATE = eINSTANCE.getStochaticConstriants_ConstraintShareDate();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Rate</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference STOCHATIC_CONSTRIANTS__RATE = eINSTANCE.getStochaticConstriants_Rate();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Constraint Data</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference STOCHATIC_CONSTRIANTS__CONSTRAINT_DATA = eINSTANCE.getStochaticConstriants_ConstraintData();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.DatatoinferImpl <em>Datatoinfer</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.DatatoinferImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getDatatoinfer()\r\n * @generated\r\n */\r\n EClass DATATOINFER = eINSTANCE.getDatatoinfer();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.shardataImpl <em>shardata</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.shardataImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getshardata()\r\n * @generated\r\n */\r\n EClass SHARDATA = eINSTANCE.getshardata();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.SystemTranstionsImpl <em>System Transtions</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.SystemTranstionsImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getSystemTranstions()\r\n * @generated\r\n */\r\n EClass SYSTEM_TRANSTIONS = eINSTANCE.getSystemTranstions();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute SYSTEM_TRANSTIONS__NAME = eINSTANCE.getSystemTranstions_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>States</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference SYSTEM_TRANSTIONS__STATES = eINSTANCE.getSystemTranstions_States();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Events</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference SYSTEM_TRANSTIONS__EVENTS = eINSTANCE.getSystemTranstions_Events();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.StateImpl <em>State</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.StateImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getState()\r\n * @generated\r\n */\r\n EClass STATE = eINSTANCE.getState();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute STATE__NAME = eINSTANCE.getState_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Transitions</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference STATE__TRANSITIONS = eINSTANCE.getState_Transitions();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.TransitionImpl <em>Transition</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.TransitionImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getTransition()\r\n * @generated\r\n */\r\n EClass TRANSITION = eINSTANCE.getTransition();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Event</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference TRANSITION__EVENT = eINSTANCE.getTransition_Event();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Rate</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference TRANSITION__RATE = eINSTANCE.getTransition_Rate();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Target</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference TRANSITION__TARGET = eINSTANCE.getTransition_Target();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.OperationImpl <em>Operation</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.OperationImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getOperation()\r\n * @generated\r\n */\r\n EClass OPERATION = eINSTANCE.getOperation();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Recieves</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute OPERATION__RECIEVES = eINSTANCE.getOperation_Recieves();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.ratesImpl <em>rates</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.ratesImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getrates()\r\n * @generated\r\n */\r\n EClass RATES = eINSTANCE.getrates();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Rates</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute RATES__RATES = eINSTANCE.getrates_Rates();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.EventImpl <em>Event</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.EventImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getEvent()\r\n * @generated\r\n */\r\n EClass EVENT = eINSTANCE.getEvent();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute EVENT__NAME = eINSTANCE.getEvent_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Operation</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference EVENT__OPERATION = eINSTANCE.getEvent_Operation();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.requireImpl <em>require</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.requireImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getrequire()\r\n * @generated\r\n */\r\n EClass REQUIRE = eINSTANCE.getrequire();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute REQUIRE__NAME = eINSTANCE.getrequire_Name();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.provideImpl <em>provide</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.provideImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getprovide()\r\n * @generated\r\n */\r\n EClass PROVIDE = eINSTANCE.getprovide();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute PROVIDE__NAME = eINSTANCE.getprovide_Name();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.StochaticBehaviorImpl <em>Stochatic Behavior</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.StochaticBehaviorImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getStochaticBehavior()\r\n * @generated\r\n */\r\n EClass STOCHATIC_BEHAVIOR = eINSTANCE.getStochaticBehavior();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>System Transition</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference STOCHATIC_BEHAVIOR__SYSTEM_TRANSITION = eINSTANCE.getStochaticBehavior_SystemTransition();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Con Constraint</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference STOCHATIC_BEHAVIOR__CON_CONSTRAINT = eINSTANCE.getStochaticBehavior_ConConstraint();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.AskfordataImpl <em>Askfordata</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.AskfordataImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getAskfordata()\r\n * @generated\r\n */\r\n EClass ASKFORDATA = eINSTANCE.getAskfordata();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.TellDataImpl <em>Tell Data</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.TellDataImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getTellData()\r\n * @generated\r\n */\r\n EClass TELL_DATA = eINSTANCE.getTellData();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.operationsImpl <em>operations</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.operationsImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getoperations()\r\n * @generated\r\n */\r\n EClass OPERATIONS = eINSTANCE.getoperations();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Sends</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute OPERATIONS__SENDS = eINSTANCE.getoperations_Sends();\r\n\r\n }", "interface Literals\r\n {\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.QuestionnaireImpl <em>Questionnaire</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnaireImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getQuestionnaire()\r\n * @generated\r\n */\r\n EClass QUESTIONNAIRE = eINSTANCE.getQuestionnaire();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Title</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute QUESTIONNAIRE__TITLE = eINSTANCE.getQuestionnaire_Title();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Groups</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference QUESTIONNAIRE__GROUPS = eINSTANCE.getQuestionnaire_Groups();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.GroupImpl <em>Group</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.GroupImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getGroup()\r\n * @generated\r\n */\r\n EClass GROUP = eINSTANCE.getGroup();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Questions</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference GROUP__QUESTIONS = eINSTANCE.getGroup_Questions();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.QuestionImpl <em>Question</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getQuestion()\r\n * @generated\r\n */\r\n EClass QUESTION = eINSTANCE.getQuestion();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute QUESTION__NAME = eINSTANCE.getQuestion_Name();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.OpenQuestionImpl <em>Open Question</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.OpenQuestionImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getOpenQuestion()\r\n * @generated\r\n */\r\n EClass OPEN_QUESTION = eINSTANCE.getOpenQuestion();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.ClosedQuestionImpl <em>Closed Question</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.ClosedQuestionImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getClosedQuestion()\r\n * @generated\r\n */\r\n EClass CLOSED_QUESTION = eINSTANCE.getClosedQuestion();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Answers</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CLOSED_QUESTION__ANSWERS = eINSTANCE.getClosedQuestion_Answers();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.LikertQuestionImpl <em>Likert Question</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.LikertQuestionImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getLikertQuestion()\r\n * @generated\r\n */\r\n EClass LIKERT_QUESTION = eINSTANCE.getLikertQuestion();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Lower</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute LIKERT_QUESTION__LOWER = eINSTANCE.getLikertQuestion_Lower();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Higher</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute LIKERT_QUESTION__HIGHER = eINSTANCE.getLikertQuestion_Higher();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.AnswersImpl <em>Answers</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.AnswersImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getAnswers()\r\n * @generated\r\n */\r\n EClass ANSWERS = eINSTANCE.getAnswers();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Answers</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference ANSWERS__ANSWERS = eINSTANCE.getAnswers_Answers();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Defanswer</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference ANSWERS__DEFANSWER = eINSTANCE.getAnswers_Defanswer();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.AnswerImpl <em>Answer</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.AnswerImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getAnswer()\r\n * @generated\r\n */\r\n EClass ANSWER = eINSTANCE.getAnswer();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute ANSWER__NAME = eINSTANCE.getAnswer_Name();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.OpenAnswerImpl <em>Open Answer</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.OpenAnswerImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getOpenAnswer()\r\n * @generated\r\n */\r\n EClass OPEN_ANSWER = eINSTANCE.getOpenAnswer();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.ClosedAnswerImpl <em>Closed Answer</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.ClosedAnswerImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getClosedAnswer()\r\n * @generated\r\n */\r\n EClass CLOSED_ANSWER = eINSTANCE.getClosedAnswer();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Id</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CLOSED_ANSWER__ID = eINSTANCE.getClosedAnswer_Id();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.DefAnswerImpl <em>Def Answer</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.DefAnswerImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getDefAnswer()\r\n * @generated\r\n */\r\n EClass DEF_ANSWER = eINSTANCE.getDefAnswer();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Id</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DEF_ANSWER__ID = eINSTANCE.getDefAnswer_Id();\r\n\r\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link pattern.RiskReductionthroughFunctionalityRestriction.impl.Class1Impl <em>Class1</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.Class1Impl\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.RiskReductionthroughFunctionalityRestrictionPackageImpl#getClass1()\n\t\t * @generated\n\t\t */\n\t\tEClass CLASS1 = eINSTANCE.getClass1();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link pattern.RiskReductionthroughFunctionalityRestriction.impl.Goal2Impl <em>Goal2</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.Goal2Impl\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.RiskReductionthroughFunctionalityRestrictionPackageImpl#getGoal2()\n\t\t * @generated\n\t\t */\n\t\tEClass GOAL2 = eINSTANCE.getGoal2();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link pattern.RiskReductionthroughFunctionalityRestriction.impl.Goal3Impl <em>Goal3</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.Goal3Impl\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.RiskReductionthroughFunctionalityRestrictionPackageImpl#getGoal3()\n\t\t * @generated\n\t\t */\n\t\tEClass GOAL3 = eINSTANCE.getGoal3();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link pattern.RiskReductionthroughFunctionalityRestriction.impl.Goal4Impl <em>Goal4</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.Goal4Impl\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.RiskReductionthroughFunctionalityRestrictionPackageImpl#getGoal4()\n\t\t * @generated\n\t\t */\n\t\tEClass GOAL4 = eINSTANCE.getGoal4();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link pattern.RiskReductionthroughFunctionalityRestriction.impl.Class5Impl <em>Class5</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.Class5Impl\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.RiskReductionthroughFunctionalityRestrictionPackageImpl#getClass5()\n\t\t * @generated\n\t\t */\n\t\tEClass CLASS5 = eINSTANCE.getClass5();\n\n\t}", "public VariableMeta getMeta();", "@Override\n public ASTNode visitCoolClass(CoolParser.CoolClassContext ctx) {\n List<FeatureNode> featureNodes = new LinkedList<>();\n for (var feature : ctx.feature()) {\n featureNodes.add((FeatureNode) feature.accept(this));\n }\n\n return new CoolClassNode(\n ctx.CLASS().getSymbol(),\n new IdNode(ctx.id),\n ctx.parentClass == null ? null : new TypeNode(ctx.parentClass),\n featureNodes);\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link RootElement.Task.impl.TaskManagementImpl <em>Management</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see RootElement.Task.impl.TaskManagementImpl\n\t\t * @see RootElement.Task.impl.TaskPackageImpl#getTaskManagement()\n\t\t * @generated\n\t\t */\n\t\tEClass TASK_MANAGEMENT = eINSTANCE.getTaskManagement();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Staff</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TASK_MANAGEMENT__STAFF = eINSTANCE.getTaskManagement_Staff();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Task List</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TASK_MANAGEMENT__TASK_LIST = eINSTANCE.getTaskManagement_TaskList();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Add Task</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation TASK_MANAGEMENT___ADD_TASK__TASK = eINSTANCE.getTaskManagement__AddTask__Task();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Remove Task</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation TASK_MANAGEMENT___REMOVE_TASK__INT = eINSTANCE.getTaskManagement__RemoveTask__int();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link RootElement.Task.impl.TaskImpl <em>Task</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see RootElement.Task.impl.TaskImpl\n\t\t * @see RootElement.Task.impl.TaskPackageImpl#getTask()\n\t\t * @generated\n\t\t */\n\t\tEClass TASK = eINSTANCE.getTask();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TASK__DESCRIPTION = eINSTANCE.getTask_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TASK__ID = eINSTANCE.getTask_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Set Description</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation TASK___SET_DESCRIPTION = eINSTANCE.getTask__SetDescription();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Get ID</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation TASK___GET_ID = eINSTANCE.getTask__GetID();\n\n\t}", "interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link org.eclipse.stem.solvers.rk.impl.RungeKuttaImpl <em>Runge Kutta</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see org.eclipse.stem.solvers.rk.impl.RungeKuttaImpl\r\n\t\t * @see org.eclipse.stem.solvers.rk.impl.RkPackageImpl#getRungeKutta()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass RUNGE_KUTTA = eINSTANCE.getRungeKutta();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Relative Tolerance</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute RUNGE_KUTTA__RELATIVE_TOLERANCE = eINSTANCE.getRungeKutta_RelativeTolerance();\r\n\r\n\t}", "@Test\n public void test01()\n {\n MetaClass.forClass(Class, reflectorFactory)\n }", "public interface AppCDef extends Classification {\n\n public enum DefMeta implements ClassificationMeta {\n ;\n public String classificationName() {\n return name(); // same as definition name\n }\n\n public OptionalThing<? extends Classification> of(Object code) {\n throw new IllegalStateException(\"Unknown definition: \" + this); // basically unreachable\n }\n\n public OptionalThing<? extends Classification> byName(String name) {\n throw new IllegalStateException(\"Unknown definition: \" + this); // basically unreachable\n }\n\n public Classification codeOf(Object code) { // null if not found, old style so use of(code)\n throw new IllegalStateException(\"Unknown definition: \" + this); // basically unreachable\n }\n\n public Classification nameOf(String name) { // null if not found, old style so use byName(name)\n throw new IllegalStateException(\"Unknown definition: \" + this); // basically unreachable\n }\n\n public List<Classification> listAll() {\n throw new IllegalStateException(\"Unknown definition: \" + this); // basically unreachable\n }\n\n public List<Classification> listByGroup(String groupName) { // exception if not found\n throw new IllegalStateException(\"Unknown groupName: \" + groupName + \", \" + this); // basically unreachable\n }\n\n public List<Classification> listOf(Collection<String> codeList) {\n throw new IllegalStateException(\"Unknown definition: \" + this); // basically unreachable\n }\n\n public List<Classification> groupOf(String groupName) { // old style\n throw new IllegalStateException(\"Unknown definition: \" + this); // basically unreachable\n }\n\n public ClassificationCodeType codeType() {\n return ClassificationCodeType.String; // as default\n }\n\n public ClassificationUndefinedHandlingType undefinedHandlingType() {\n return ClassificationUndefinedHandlingType.LOGGING; // as default\n }\n\n public static OptionalThing<AppCDef.DefMeta> find(String classificationName) { // instead of valueOf()\n if (classificationName == null) { throw new IllegalArgumentException(\"The argument 'classificationName' should not be null.\"); }\n return OptionalThing.ofNullable(null, () -> {\n throw new ClassificationNotFoundException(\"Unknown classification: \" + classificationName);\n });\n }\n\n public static AppCDef.DefMeta meta(String classificationName) { // old style so use find(name)\n if (classificationName == null) { throw new IllegalArgumentException(\"The argument 'classificationName' should not be null.\"); }\n throw new IllegalStateException(\"Unknown classification: \" + classificationName);\n }\n\n @SuppressWarnings(\"unused\")\n private String[] xinternalEmptyString() {\n return emptyStrings(); // to suppress 'unused' warning of import statement\n }\n }\n}", "public Token_Type(JCas jcas, Type casType) {\n super(jcas, casType);\n casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());\n\n \n casFeat_tag = jcas.getRequiredFeatureDE(casType, \"tag\", \"uima.cas.String\", featOkTst);\n casFeatCode_tag = (null == casFeat_tag) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_tag).getCode();\n\n \n casFeat_detailedtag = jcas.getRequiredFeatureDE(casType, \"detailedtag\", \"uima.cas.String\", featOkTst);\n casFeatCode_detailedtag = (null == casFeat_detailedtag) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_detailedtag).getCode();\n\n \n casFeat_lemma = jcas.getRequiredFeatureDE(casType, \"lemma\", \"uima.cas.String\", featOkTst);\n casFeatCode_lemma = (null == casFeat_lemma) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_lemma).getCode();\n\n \n casFeat_gerund = jcas.getRequiredFeatureDE(casType, \"gerund\", \"uima.cas.String\", featOkTst);\n casFeatCode_gerund = (null == casFeat_gerund) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_gerund).getCode();\n\n \n casFeat_chunk = jcas.getRequiredFeatureDE(casType, \"chunk\", \"uima.cas.String\", featOkTst);\n casFeatCode_chunk = (null == casFeat_chunk) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_chunk).getCode();\n\n \n casFeat_mltag = jcas.getRequiredFeatureDE(casType, \"mltag\", \"uima.cas.String\", featOkTst);\n casFeatCode_mltag = (null == casFeat_mltag) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_mltag).getCode();\n\n \n casFeat_depid = jcas.getRequiredFeatureDE(casType, \"depid\", \"uima.cas.Integer\", featOkTst);\n casFeatCode_depid = (null == casFeat_depid) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_depid).getCode();\n\n \n casFeat_dephead = jcas.getRequiredFeatureDE(casType, \"dephead\", \"uima.cas.Integer\", featOkTst);\n casFeatCode_dephead = (null == casFeat_dephead) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_dephead).getCode();\n\n \n casFeat_deprel = jcas.getRequiredFeatureDE(casType, \"deprel\", \"uima.cas.String\", featOkTst);\n casFeatCode_deprel = (null == casFeat_deprel) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_deprel).getCode();\n\n \n casFeat_maltdepid = jcas.getRequiredFeatureDE(casType, \"maltdepid\", \"uima.cas.Integer\", featOkTst);\n casFeatCode_maltdepid = (null == casFeat_maltdepid) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_maltdepid).getCode();\n\n \n casFeat_maltdephead = jcas.getRequiredFeatureDE(casType, \"maltdephead\", \"uima.cas.Integer\", featOkTst);\n casFeatCode_maltdephead = (null == casFeat_maltdephead) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_maltdephead).getCode();\n\n \n casFeat_maltdeprel = jcas.getRequiredFeatureDE(casType, \"maltdeprel\", \"uima.cas.String\", featOkTst);\n casFeatCode_maltdeprel = (null == casFeat_maltdeprel) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_maltdeprel).getCode();\n\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link de.uni_stuttgart.iste.cowolf.model.dtmc.impl.DTMCImpl <em>DTMC</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.DTMCImpl\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.DTMCPackageImpl#getDTMC()\n\t\t * @generated\n\t\t */\n\t\tEClass DTMC = eINSTANCE.getDTMC();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DTMC__NAME = eINSTANCE.getDTMC_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>States</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DTMC__STATES = eINSTANCE.getDTMC_States();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Initial State</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DTMC__INITIAL_STATE = eINSTANCE.getDTMC_InitialState();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link de.uni_stuttgart.iste.cowolf.model.dtmc.impl.StateImpl <em>State</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.StateImpl\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.DTMCPackageImpl#getState()\n\t\t * @generated\n\t\t */\n\t\tEClass STATE = eINSTANCE.getState();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute STATE__NAME = eINSTANCE.getState_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Incoming</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference STATE__INCOMING = eINSTANCE.getState_Incoming();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Outgoing</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference STATE__OUTGOING = eINSTANCE.getState_Outgoing();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Labels</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference STATE__LABELS = eINSTANCE.getState_Labels();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link de.uni_stuttgart.iste.cowolf.model.dtmc.impl.TransitionImpl <em>Transition</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.TransitionImpl\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.DTMCPackageImpl#getTransition()\n\t\t * @generated\n\t\t */\n\t\tEClass TRANSITION = eINSTANCE.getTransition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__FROM = eINSTANCE.getTransition_From();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__TO = eINSTANCE.getTransition_To();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Prob</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TRANSITION__PROB = eINSTANCE.getTransition_Prob();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link de.uni_stuttgart.iste.cowolf.model.dtmc.impl.LabelImpl <em>Label</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.LabelImpl\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.DTMCPackageImpl#getLabel()\n\t\t * @generated\n\t\t */\n\t\tEClass LABEL = eINSTANCE.getLabel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute LABEL__NAME = eINSTANCE.getLabel_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>State</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference LABEL__STATE = eINSTANCE.getLabel_State();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.HojaImpl <em>Hoja</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.HojaImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getHoja()\n\t\t * @generated\n\t\t */\n\t\tEClass HOJA = eINSTANCE.getHoja();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ejercicios</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HOJA__EJERCICIOS = eINSTANCE.getHoja_Ejercicios();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Puntuacion</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute HOJA__PUNTUACION = eINSTANCE.getHoja_Puntuacion();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Penalizacion</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute HOJA__PENALIZACION = eINSTANCE.getHoja_Penalizacion();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.EjercicioImpl <em>Ejercicio</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.EjercicioImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getEjercicio()\n\t\t * @generated\n\t\t */\n\t\tEClass EJERCICIO = eINSTANCE.getEjercicio();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Enunciado</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EJERCICIO__ENUNCIADO = eINSTANCE.getEjercicio_Enunciado();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Puntuacion Ej</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EJERCICIO__PUNTUACION_EJ = eINSTANCE.getEjercicio_PuntuacionEj();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Respuesta</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EJERCICIO__RESPUESTA = eINSTANCE.getEjercicio_Respuesta();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Categoria</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EJERCICIO__CATEGORIA = eINSTANCE.getEjercicio_Categoria();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EJERCICIO__NAME = eINSTANCE.getEjercicio_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Order</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EJERCICIO__ORDER = eINSTANCE.getEjercicio_Order();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.RespuestaImpl <em>Respuesta</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.RespuestaImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getRespuesta()\n\t\t * @generated\n\t\t */\n\t\tEClass RESPUESTA = eINSTANCE.getRespuesta();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Correctas</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute RESPUESTA__CORRECTAS = eINSTANCE.getRespuesta_Correctas();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Alternativas</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute RESPUESTA__ALTERNATIVAS = eINSTANCE.getRespuesta_Alternativas();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.RespuestaUnicaImpl <em>Respuesta Unica</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.RespuestaUnicaImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getRespuestaUnica()\n\t\t * @generated\n\t\t */\n\t\tEClass RESPUESTA_UNICA = eINSTANCE.getRespuestaUnica();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.RespuestaMultipleImpl <em>Respuesta Multiple</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.RespuestaMultipleImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getRespuestaMultiple()\n\t\t * @generated\n\t\t */\n\t\tEClass RESPUESTA_MULTIPLE = eINSTANCE.getRespuestaMultiple();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.TextoLibreImpl <em>Texto Libre</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.TextoLibreImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getTextoLibre()\n\t\t * @generated\n\t\t */\n\t\tEClass TEXTO_LIBRE = eINSTANCE.getTextoLibre();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.OrdenacionImpl <em>Ordenacion</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.OrdenacionImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getOrdenacion()\n\t\t * @generated\n\t\t */\n\t\tEClass ORDENACION = eINSTANCE.getOrdenacion();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.ClasicoImpl <em>Clasico</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.ClasicoImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getClasico()\n\t\t * @generated\n\t\t */\n\t\tEClass CLASICO = eINSTANCE.getClasico();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.WizardImpl <em>Wizard</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.WizardImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getWizard()\n\t\t * @generated\n\t\t */\n\t\tEClass WIZARD = eINSTANCE.getWizard();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.WizardAdaptativoImpl <em>Wizard Adaptativo</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.WizardAdaptativoImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getWizardAdaptativo()\n\t\t * @generated\n\t\t */\n\t\tEClass WIZARD_ADAPTATIVO = eINSTANCE.getWizardAdaptativo();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link hu.eltesoft.modelexecution.profile.xumlrt.impl.CallableImpl <em>Callable</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see hu.eltesoft.modelexecution.profile.xumlrt.impl.CallableImpl\n\t\t * @see hu.eltesoft.modelexecution.profile.xumlrt.impl.XUMLRTPackageImpl#getCallable()\n\t\t * @generated\n\t\t */\n\t\tEClass CALLABLE = eINSTANCE.getCallable();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Base Class</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CALLABLE__BASE_CLASS = eINSTANCE.getCallable_Base_Class();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Class Name Is Valid</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation CALLABLE___CLASS_NAME_IS_VALID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getCallable__ClassNameIsValid__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Reception Names Are Valid</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation CALLABLE___RECEPTION_NAMES_ARE_VALID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getCallable__ReceptionNamesAreValid__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link hu.eltesoft.modelexecution.profile.xumlrt.impl.ExternalEntityImpl <em>External Entity</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see hu.eltesoft.modelexecution.profile.xumlrt.impl.ExternalEntityImpl\n\t\t * @see hu.eltesoft.modelexecution.profile.xumlrt.impl.XUMLRTPackageImpl#getExternalEntity()\n\t\t * @generated\n\t\t */\n\t\tEClass EXTERNAL_ENTITY = eINSTANCE.getExternalEntity();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Class</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EXTERNAL_ENTITY__CLASS = eINSTANCE.getExternalEntity_Class();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EXTERNAL_ENTITY__TYPE = eINSTANCE.getExternalEntity_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>External Header Location</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EXTERNAL_ENTITY__EXTERNAL_HEADER_LOCATION = eINSTANCE.getExternalEntity_ExternalHeaderLocation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>External Namespace</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EXTERNAL_ENTITY__EXTERNAL_NAMESPACE = eINSTANCE.getExternalEntity_ExternalNamespace();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Base Class</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EXTERNAL_ENTITY__BASE_CLASS = eINSTANCE.getExternalEntity_Base_Class();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>All Operations Are Static</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___ALL_OPERATIONS_ARE_STATIC__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__AllOperationsAreStatic__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Has No Attributes</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___HAS_NO_ATTRIBUTES__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__HasNoAttributes__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Referenced Class Name Is Valid</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___REFERENCED_CLASS_NAME_IS_VALID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ReferencedClassNameIsValid__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parameters Are Callable Or Primitive</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___PARAMETERS_ARE_CALLABLE_OR_PRIMITIVE__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ParametersAreCallableOrPrimitive__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parameter Directions Are In</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___PARAMETER_DIRECTIONS_ARE_IN__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ParameterDirectionsAreIn__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parameter Names Are Valid</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___PARAMETER_NAMES_ARE_VALID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ParameterNamesAreValid__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parameter Multiplicities Are One</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___PARAMETER_MULTIPLICITIES_ARE_ONE__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ParameterMultiplicitiesAreOne__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Class Must Be Abstract</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___CLASS_MUST_BE_ABSTRACT__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ClassMustBeAbstract__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Class Name Is Valid</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___CLASS_NAME_IS_VALID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ClassNameIsValid__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operation Names Are Valid</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___OPERATION_NAMES_ARE_VALID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__OperationNamesAreValid__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Return Type Is Valid</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___RETURN_TYPE_IS_VALID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ReturnTypeIsValid__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link hu.eltesoft.modelexecution.profile.xumlrt.EntityType <em>Entity Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see hu.eltesoft.modelexecution.profile.xumlrt.EntityType\n\t\t * @see hu.eltesoft.modelexecution.profile.xumlrt.impl.XUMLRTPackageImpl#getEntityType()\n\t\t * @generated\n\t\t */\n\t\tEEnum ENTITY_TYPE = eINSTANCE.getEntityType();\n\n\t}", "public void createPackageContents() {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n calcEClass = createEClass(CALC);\n createEReference(calcEClass, CALC__EXPR);\n\n exprEClass = createEClass(EXPR);\n\n bitShiftExprEClass = createEClass(BIT_SHIFT_EXPR);\n createEReference(bitShiftExprEClass, BIT_SHIFT_EXPR__CHILDREN);\n createEAttribute(bitShiftExprEClass, BIT_SHIFT_EXPR__OPERATORS);\n\n bitShiftExprChildEClass = createEClass(BIT_SHIFT_EXPR_CHILD);\n\n additiveExprEClass = createEClass(ADDITIVE_EXPR);\n createEReference(additiveExprEClass, ADDITIVE_EXPR__CHILDREN);\n createEAttribute(additiveExprEClass, ADDITIVE_EXPR__OPERATORS);\n\n additiveExprChildEClass = createEClass(ADDITIVE_EXPR_CHILD);\n\n multiplicativeExprEClass = createEClass(MULTIPLICATIVE_EXPR);\n createEReference(multiplicativeExprEClass, MULTIPLICATIVE_EXPR__CHILDREN);\n createEAttribute(multiplicativeExprEClass, MULTIPLICATIVE_EXPR__OPERATORS);\n\n multiplicativeExprChildEClass = createEClass(MULTIPLICATIVE_EXPR_CHILD);\n\n numberEClass = createEClass(NUMBER);\n createEAttribute(numberEClass, NUMBER__VALUE);\n\n // Create enums\n bitShiftOpEEnum = createEEnum(BIT_SHIFT_OP);\n additiveOpEEnum = createEEnum(ADDITIVE_OP);\n multiplicativeOpEEnum = createEEnum(MULTIPLICATIVE_OP);\n }", "interface Literals {\n /**\n * The meta object literal for the '{@link bip2.ujf.verimag.bip.component.atom.AtomInternalExternalPortDeclaration <em>Internal External Port Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see bip2.ujf.verimag.bip.component.atom.AtomInternalExternalPortDeclaration\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomPackageImpl#getAtomInternalExternalPortDeclaration()\n * @generated\n */\n EClass ATOM_INTERNAL_EXTERNAL_PORT_DECLARATION = eINSTANCE\n .getAtomInternalExternalPortDeclaration();\n\n /**\n * The meta object literal for the '{@link bip2.ujf.verimag.bip.component.atom.impl.AtomInternalPortDeclarationImpl <em>Internal Port Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomInternalPortDeclarationImpl\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomPackageImpl#getAtomInternalPortDeclaration()\n * @generated\n */\n EClass ATOM_INTERNAL_PORT_DECLARATION = eINSTANCE\n .getAtomInternalPortDeclaration();\n\n /**\n * The meta object literal for the '{@link bip2.ujf.verimag.bip.component.atom.impl.AtomExternalPortDeclarationImpl <em>External Port Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomExternalPortDeclarationImpl\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomPackageImpl#getAtomExternalPortDeclaration()\n * @generated\n */\n EClass ATOM_EXTERNAL_PORT_DECLARATION = eINSTANCE\n .getAtomExternalPortDeclaration();\n\n /**\n * The meta object literal for the '<em><b>Backend Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ATOM_EXTERNAL_PORT_DECLARATION__BACKEND_NAME = eINSTANCE\n .getAtomExternalPortDeclaration_BackendName();\n\n /**\n * The meta object literal for the '<em><b>Policy</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ATOM_EXTERNAL_PORT_DECLARATION__POLICY = eINSTANCE\n .getAtomExternalPortDeclaration_Policy();\n\n /**\n * The meta object literal for the '{@link bip2.ujf.verimag.bip.component.atom.impl.AtomInternalDataDeclarationImpl <em>Internal Data Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomInternalDataDeclarationImpl\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomPackageImpl#getAtomInternalDataDeclaration()\n * @generated\n */\n EClass ATOM_INTERNAL_DATA_DECLARATION = eINSTANCE\n .getAtomInternalDataDeclaration();\n\n /**\n * The meta object literal for the '<em><b>Exported</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ATOM_INTERNAL_DATA_DECLARATION__EXPORTED = eINSTANCE\n .getAtomInternalDataDeclaration_Exported();\n\n /**\n * The meta object literal for the '{@link bip2.ujf.verimag.bip.component.atom.impl.AtomExportPortDeclarationImpl <em>Export Port Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomExportPortDeclarationImpl\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomPackageImpl#getAtomExportPortDeclaration()\n * @generated\n */\n EClass ATOM_EXPORT_PORT_DECLARATION = eINSTANCE\n .getAtomExportPortDeclaration();\n\n /**\n * The meta object literal for the '<em><b>Port Declaration References</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ATOM_EXPORT_PORT_DECLARATION__PORT_DECLARATION_REFERENCES = eINSTANCE\n .getAtomExportPortDeclaration_PortDeclarationReferences();\n\n /**\n * The meta object literal for the '{@link bip2.ujf.verimag.bip.component.atom.EventConsumptionPolicy <em>Event Consumption Policy</em>}' enum.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see bip2.ujf.verimag.bip.component.atom.EventConsumptionPolicy\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomPackageImpl#getEventConsumptionPolicy()\n * @generated\n */\n EEnum EVENT_CONSUMPTION_POLICY = eINSTANCE.getEventConsumptionPolicy();\n\n }", "public void testSpecialNames() throws MPXJException {\n TaskManager taskManager = getTaskManager();\n CustomPropertyDefinition col1 = taskManager.getCustomPropertyManager().createDefinition(\n CustomPropertyManager.PropertyTypeEncoder.encodeFieldType(String.class), \"Text1\", null);\n CustomPropertyDefinition col2 = taskManager.getCustomPropertyManager().createDefinition(\n CustomPropertyManager.PropertyTypeEncoder.encodeFieldType(Boolean.class), \"Flag2\", null);\n CustomPropertyDefinition col3 = taskManager.getCustomPropertyManager().createDefinition(\n CustomPropertyManager.PropertyTypeEncoder.encodeFieldType(Integer.class), \"Number3\", null);\n CustomPropertyDefinition col4 = taskManager.getCustomPropertyManager().createDefinition(\n CustomPropertyManager.PropertyTypeEncoder.encodeFieldType(Double.class), \"Number4\", null);\n CustomPropertyDefinition col5 = taskManager.getCustomPropertyManager().createDefinition(\n CustomPropertyManager.PropertyTypeEncoder.encodeFieldType(GanttCalendar.class), \"Date5\", null);\n CustomPropertyDefinition col6 = taskManager.getCustomPropertyManager().createDefinition(\n CustomPropertyManager.PropertyTypeEncoder.encodeFieldType(Integer.class), \"Cost6\", null);\n\n Map<CustomPropertyDefinition, FieldType> mapping = CustomPropertyMapping.buildMapping(taskManager);\n assertEquals(TaskField.TEXT1, mapping.get(col1));\n assertEquals(TaskField.FLAG2, mapping.get(col2));\n assertEquals(TaskField.NUMBER3, mapping.get(col3));\n assertEquals(TaskField.NUMBER4, mapping.get(col4));\n assertEquals(TaskField.DATE5, mapping.get(col5));\n assertEquals(TaskField.COST6, mapping.get(col6));\n }", "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\tbagTypeEClass = createEClass(BAG_TYPE);\n\n\t\ttupleTypeEClass = createEClass(TUPLE_TYPE);\n\t\tcreateEReference(tupleTypeEClass, TUPLE_TYPE__OCL_LIBRARY);\n\n\t\tcollectionTypeEClass = createEClass(COLLECTION_TYPE);\n\t\tcreateEReference(collectionTypeEClass, COLLECTION_TYPE__ELEMENT_TYPE);\n\t\tcreateEReference(collectionTypeEClass, COLLECTION_TYPE__OCL_LIBRARY);\n\t\tcreateEAttribute(collectionTypeEClass, COLLECTION_TYPE__KIND);\n\n\t\tinvalidTypeEClass = createEClass(INVALID_TYPE);\n\t\tcreateEReference(invalidTypeEClass, INVALID_TYPE__OCL_LIBRARY);\n\n\t\torderedSetTypeEClass = createEClass(ORDERED_SET_TYPE);\n\n\t\tsequenceTypeEClass = createEClass(SEQUENCE_TYPE);\n\n\t\tsetTypeEClass = createEClass(SET_TYPE);\n\n\t\tvoidTypeEClass = createEClass(VOID_TYPE);\n\t\tcreateEReference(voidTypeEClass, VOID_TYPE__OCL_LIBRARY);\n\n\t\ttypeTypeEClass = createEClass(TYPE_TYPE);\n\t\tcreateEReference(typeTypeEClass, TYPE_TYPE__REPRESENTED_TYPE);\n\n\t\toclLibraryEClass = createEClass(OCL_LIBRARY);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_BOOLEAN);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_STRING);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_INTEGER);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_REAL);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_ANY);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_VOID);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_INVALID);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_TYPE);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_COLLECTION);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_SEQUENCE);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_BAG);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_SET);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_ORDERED_SET);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_TUPLE);\n\n\t\tanyTypeEClass = createEClass(ANY_TYPE);\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link com.misc.touse.moplaf.solver.tousesolverlp.impl.FolderImpl <em>Folder</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.misc.touse.moplaf.solver.tousesolverlp.impl.FolderImpl\n\t\t * @see com.misc.touse.moplaf.solver.tousesolverlp.impl.ToUseSolverLpPackageImpl#getFolder()\n\t\t * @generated\n\t\t */\n\t\tEClass FOLDER = eINSTANCE.getFolder();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sub Folders</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FOLDER__SUB_FOLDERS = eINSTANCE.getFolder_SubFolders();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Generators</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FOLDER__GENERATORS = eINSTANCE.getFolder_Generators();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FOLDER__NAME = eINSTANCE.getFolder_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.misc.touse.moplaf.solver.tousesolverlp.impl.ToUseGeneratorImpl <em>To Use Generator</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.misc.touse.moplaf.solver.tousesolverlp.impl.ToUseGeneratorImpl\n\t\t * @see com.misc.touse.moplaf.solver.tousesolverlp.impl.ToUseSolverLpPackageImpl#getToUseGenerator()\n\t\t * @generated\n\t\t */\n\t\tEClass TO_USE_GENERATOR = eINSTANCE.getToUseGenerator();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Root Tuples</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TO_USE_GENERATOR__ROOT_TUPLES = eINSTANCE.getToUseGenerator_RootTuples();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Solvers</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TO_USE_GENERATOR__SOLVERS = eINSTANCE.getToUseGenerator_Solvers();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.misc.touse.moplaf.solver.tousesolverlp.impl.ToUseTupleImpl <em>To Use Tuple</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.misc.touse.moplaf.solver.tousesolverlp.impl.ToUseTupleImpl\n\t\t * @see com.misc.touse.moplaf.solver.tousesolverlp.impl.ToUseSolverLpPackageImpl#getToUseTuple()\n\t\t * @generated\n\t\t */\n\t\tEClass TO_USE_TUPLE = eINSTANCE.getToUseTuple();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Child Tuples</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TO_USE_TUPLE__CHILD_TUPLES = eINSTANCE.getToUseTuple_ChildTuples();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To Use Vars</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TO_USE_TUPLE__TO_USE_VARS = eINSTANCE.getToUseTuple_ToUseVars();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To Use Cons</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TO_USE_TUPLE__TO_USE_CONS = eINSTANCE.getToUseTuple_ToUseCons();\n\n\t}", "interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link it.eng.spagobi.meta.model.behavioural.impl.BehaviouralModelImpl <em>Behavioural Model</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see it.eng.spagobi.meta.model.behavioural.impl.BehaviouralModelImpl\r\n\t\t * @see it.eng.spagobi.meta.model.behavioural.impl.BehaviouralModelPackageImpl#getBehaviouralModel()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass BEHAVIOURAL_MODEL = eINSTANCE.getBehaviouralModel();\r\n\r\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.ListPluginsImpl <em>List Plugins</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.ListPluginsImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getListPlugins()\n\t\t * @generated\n\t\t */\n\t\tEClass LIST_PLUGINS = eINSTANCE.getListPlugins();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Include Dependencies</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute LIST_PLUGINS__INCLUDE_DEPENDENCIES = eINSTANCE.getListPlugins_IncludeDependencies();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.ListFeaturesImpl <em>List Features</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.ListFeaturesImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getListFeatures()\n\t\t * @generated\n\t\t */\n\t\tEClass LIST_FEATURES = eINSTANCE.getListFeatures();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.ListRepositoriesImpl <em>List Repositories</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.ListRepositoriesImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getListRepositories()\n\t\t * @generated\n\t\t */\n\t\tEClass LIST_REPOSITORIES = eINSTANCE.getListRepositories();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.AddRepositoryImpl <em>Add Repository</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.AddRepositoryImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getAddRepository()\n\t\t * @generated\n\t\t */\n\t\tEClass ADD_REPOSITORY = eINSTANCE.getAddRepository();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Uri</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ADD_REPOSITORY__URI = eINSTANCE.getAddRepository_Uri();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ADD_REPOSITORY__NAME = eINSTANCE.getAddRepository_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.RemoveRepositoryImpl <em>Remove Repository</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.RemoveRepositoryImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getRemoveRepository()\n\t\t * @generated\n\t\t */\n\t\tEClass REMOVE_REPOSITORY = eINSTANCE.getRemoveRepository();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Uri</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute REMOVE_REPOSITORY__URI = eINSTANCE.getRemoveRepository_Uri();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.UpdateFeatureImpl <em>Update Feature</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.UpdateFeatureImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getUpdateFeature()\n\t\t * @generated\n\t\t */\n\t\tEClass UPDATE_FEATURE = eINSTANCE.getUpdateFeature();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute UPDATE_FEATURE__ID = eINSTANCE.getUpdateFeature_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.UpdateAllImpl <em>Update All</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.UpdateAllImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getUpdateAll()\n\t\t * @generated\n\t\t */\n\t\tEClass UPDATE_ALL = eINSTANCE.getUpdateAll();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.SortByImpl <em>Sort By</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.SortByImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getSortBy()\n\t\t * @generated\n\t\t */\n\t\tEClass SORT_BY = eINSTANCE.getSortBy();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Field</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SORT_BY__FIELD = eINSTANCE.getSortBy_Field();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.ListInstallUnitsImpl <em>List Install Units</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.ListInstallUnitsImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getListInstallUnits()\n\t\t * @generated\n\t\t */\n\t\tEClass LIST_INSTALL_UNITS = eINSTANCE.getListInstallUnits();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.GetLogImpl <em>Get Log</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.GetLogImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getGetLog()\n\t\t * @generated\n\t\t */\n\t\tEClass GET_LOG = eINSTANCE.getGetLog();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Levels</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GET_LOG__LEVELS = eINSTANCE.getGetLog_Levels();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Limit</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GET_LOG__LIMIT = eINSTANCE.getGetLog_Limit();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.LogImpl <em>Log</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.LogImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getLog()\n\t\t * @generated\n\t\t */\n\t\tEClass LOG = eINSTANCE.getLog();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Message</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute LOG__MESSAGE = eINSTANCE.getLog_Message();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Severity</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute LOG__SEVERITY = eINSTANCE.getLog_Severity();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Plugin</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute LOG__PLUGIN = eINSTANCE.getLog_Plugin();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.EchoImpl <em>Echo</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.EchoImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getEcho()\n\t\t * @generated\n\t\t */\n\t\tEClass ECHO = eINSTANCE.getEcho();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Str</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ECHO__STR = eINSTANCE.getEcho_Str();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.ClearLogImpl <em>Clear Log</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.ClearLogImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getClearLog()\n\t\t * @generated\n\t\t */\n\t\tEClass CLEAR_LOG = eINSTANCE.getClearLog();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.ListLaunchConfigurationsImpl <em>List Launch Configurations</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.ListLaunchConfigurationsImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getListLaunchConfigurations()\n\t\t * @generated\n\t\t */\n\t\tEClass LIST_LAUNCH_CONFIGURATIONS = eINSTANCE.getListLaunchConfigurations();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.LaunchImpl <em>Launch</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.LaunchImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getLaunch()\n\t\t * @generated\n\t\t */\n\t\tEClass LAUNCH = eINSTANCE.getLaunch();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Mode</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute LAUNCH__MODE = eINSTANCE.getLaunch_Mode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute LAUNCH__NAME = eINSTANCE.getLaunch_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.SubstituteVariablesImpl <em>Substitute Variables</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.SubstituteVariablesImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getSubstituteVariables()\n\t\t * @generated\n\t\t */\n\t\tEClass SUBSTITUTE_VARIABLES = eINSTANCE.getSubstituteVariables();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Expression</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SUBSTITUTE_VARIABLES__EXPRESSION = eINSTANCE.getSubstituteVariables_Expression();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ignore Undefined</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SUBSTITUTE_VARIABLES__IGNORE_UNDEFINED = eINSTANCE.getSubstituteVariables_IgnoreUndefined();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.GetWorkspaceLocationImpl <em>Get Workspace Location</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.GetWorkspaceLocationImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getGetWorkspaceLocation()\n\t\t * @generated\n\t\t */\n\t\tEClass GET_WORKSPACE_LOCATION = eINSTANCE.getGetWorkspaceLocation();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.FindInWorkspaceImpl <em>Find In Workspace</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.FindInWorkspaceImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getFindInWorkspace()\n\t\t * @generated\n\t\t */\n\t\tEClass FIND_IN_WORKSPACE = eINSTANCE.getFindInWorkspace();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Path</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FIND_IN_WORKSPACE__PATH = eINSTANCE.getFindInWorkspace_Path();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>All</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FIND_IN_WORKSPACE__ALL = eINSTANCE.getFindInWorkspace_All();\n\n\t}", "protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }", "public void enableMetaData(QueryEngine qe) {\n\t\tmetaBase = new MetaBase(qe);\n\t\t\n\t\t// Retroactively add facts about the types already declared.\n\t\tfor (Iterator iter = typeConstructorMap.values().iterator(); iter.hasNext();) {\n\t\t\tmetaBase.assertTypeConstructor((TypeConstructor) iter.next());\n\t\t}\n\t}", "@Override\n\tpublic void generate() {\n\t\tJavaObject object = new JavaObject(objectType);\n\n\t\t// Fields\n\t\taddFields(object);\n\n\t\t// Empty constructor\n\t\taddEmptyConstructor(object);\n\n\t\t// Types constructor\n\t\taddTypesConstructor(object);\n\n\t\t// Clone constructor\n\t\taddCloneConstructor(object);\n\n\t\t// Setters\n\t\taddSetters(object);\n\n\t\t// Build!\n\t\taddBuild(object);\n\n\t\t// Done!\n\t\twrite(object);\n\t}", "public AnnotatedTypeBuilder() {\n\t\ttypeAnnotations = new AnnotationBuilder();\n\t\tconstructors = new HashMap<Constructor<?>, AnnotationBuilder>();\n\t\tconstructorParameters = new HashMap<Constructor<?>, Map<Integer, AnnotationBuilder>>();\n\t\tconstructorParameterTypes = new HashMap<Constructor<?>, Map<Integer, Type>>();\n\t\tfields = new HashMap<Field, AnnotationBuilder>();\n\t\tfieldTypes = new HashMap<Field, Type>();\n\t\tmethods = new HashMap<Method, AnnotationBuilder>();\n\t\tmethodParameters = new HashMap<Method, Map<Integer, AnnotationBuilder>>();\n\t\tmethodParameterTypes = new HashMap<Method, Map<Integer, Type>>();\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.IotModelImpl <em>Iot Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.IotModelImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getIotModel()\n\t\t * @generated\n\t\t */\n\t\tEClass IOT_MODEL = eINSTANCE.getIotModel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Imports</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference IOT_MODEL__IMPORTS = eINSTANCE.getIotModel_Imports();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IOT_MODEL__NAME = eINSTANCE.getIotModel_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference IOT_MODEL__CONTENT = eINSTANCE.getIotModel_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ImportImpl <em>Import</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.ImportImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getImport()\n\t\t * @generated\n\t\t */\n\t\tEClass IMPORT = eINSTANCE.getImport();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Imported Namespace</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute IMPORT__IMPORTED_NAMESPACE = eINSTANCE.getImport_ImportedNamespace();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ContentImpl <em>Content</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.ContentImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getContent()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT = eINSTANCE.getContent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.TypeImpl <em>Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.TypeImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getType()\n\t\t * @generated\n\t\t */\n\t\tEClass TYPE = eINSTANCE.getType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute TYPE__NAME = eINSTANCE.getType_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.PrimitiveTypeImpl <em>Primitive Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.PrimitiveTypeImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getPrimitiveType()\n\t\t * @generated\n\t\t */\n\t\tEClass PRIMITIVE_TYPE = eINSTANCE.getPrimitiveType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.DeclaredTypeImpl <em>Declared Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.DeclaredTypeImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDeclaredType()\n\t\t * @generated\n\t\t */\n\t\tEClass DECLARED_TYPE = eINSTANCE.getDeclaredType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.EnumerationImpl <em>Enumeration</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.EnumerationImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getEnumeration()\n\t\t * @generated\n\t\t */\n\t\tEClass ENUMERATION = eINSTANCE.getEnumeration();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Literals</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ENUMERATION__LITERALS = eINSTANCE.getEnumeration_Literals();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.EnumLiteralImpl <em>Enum Literal</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.EnumLiteralImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getEnumLiteral()\n\t\t * @generated\n\t\t */\n\t\tEClass ENUM_LITERAL = eINSTANCE.getEnumLiteral();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ENUM_LITERAL__NAME = eINSTANCE.getEnumLiteral_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.NodeImpl <em>Node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.NodeImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getNode()\n\t\t * @generated\n\t\t */\n\t\tEClass NODE = eINSTANCE.getNode();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.DeviceImpl <em>Device</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.DeviceImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDevice()\n\t\t * @generated\n\t\t */\n\t\tEClass DEVICE = eINSTANCE.getDevice();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Features</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DEVICE__FEATURES = eINSTANCE.getDevice_Features();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.GatewayImpl <em>Gateway</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.GatewayImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getGateway()\n\t\t * @generated\n\t\t */\n\t\tEClass GATEWAY = eINSTANCE.getGateway();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.FeatureImpl <em>Feature</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.FeatureImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getFeature()\n\t\t * @generated\n\t\t */\n\t\tEClass FEATURE = eINSTANCE.getFeature();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FEATURE__NAME = eINSTANCE.getFeature_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.PropertyImpl <em>Property</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.PropertyImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getProperty()\n\t\t * @generated\n\t\t */\n\t\tEClass PROPERTY = eINSTANCE.getProperty();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PROPERTY__VALUE = eINSTANCE.getProperty_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.CapabilityImpl <em>Capability</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.CapabilityImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getCapability()\n\t\t * @generated\n\t\t */\n\t\tEClass CAPABILITY = eINSTANCE.getCapability();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parameters</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CAPABILITY__PARAMETERS = eINSTANCE.getCapability_Parameters();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ActuatingImpl <em>Actuating</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.ActuatingImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getActuating()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTUATING = eINSTANCE.getActuating();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.SensingImpl <em>Sensing</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.SensingImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getSensing()\n\t\t * @generated\n\t\t */\n\t\tEClass SENSING = eINSTANCE.getSensing();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ParameterImpl <em>Parameter</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.ParameterImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getParameter()\n\t\t * @generated\n\t\t */\n\t\tEClass PARAMETER = eINSTANCE.getParameter();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute PARAMETER__NAME = eINSTANCE.getParameter_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PARAMETER__TYPE = eINSTANCE.getParameter_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ConfigurationImpl <em>Configuration</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.ConfigurationImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getConfiguration()\n\t\t * @generated\n\t\t */\n\t\tEClass CONFIGURATION = eINSTANCE.getConfiguration();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Confname</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute CONFIGURATION__CONFNAME = eINSTANCE.getConfiguration_Confname();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nodes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONFIGURATION__NODES = eINSTANCE.getConfiguration_Nodes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Paths</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONFIGURATION__PATHS = eINSTANCE.getConfiguration_Paths();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.NodeInstanceImpl <em>Node Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.NodeInstanceImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getNodeInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass NODE_INSTANCE = eINSTANCE.getNodeInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute NODE_INSTANCE__NAME = eINSTANCE.getNodeInstance_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference NODE_INSTANCE__TYPE = eINSTANCE.getNodeInstance_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.CommunicationPathImpl <em>Communication Path</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.CommunicationPathImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getCommunicationPath()\n\t\t * @generated\n\t\t */\n\t\tEClass COMMUNICATION_PATH = eINSTANCE.getCommunicationPath();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference COMMUNICATION_PATH__SOURCE = eINSTANCE.getCommunicationPath_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Taget</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference COMMUNICATION_PATH__TAGET = eINSTANCE.getCommunicationPath_Taget();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Protocol</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute COMMUNICATION_PATH__PROTOCOL = eINSTANCE.getCommunicationPath_Protocol();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.RuleImpl <em>Rule</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.RuleImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getRule()\n\t\t * @generated\n\t\t */\n\t\tEClass RULE = eINSTANCE.getRule();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute RULE__NAME = eINSTANCE.getRule_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Triggers</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference RULE__TRIGGERS = eINSTANCE.getRule_Triggers();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Reactions</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference RULE__REACTIONS = eINSTANCE.getRule_Reactions();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ExpressionImpl <em>Expression</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.ExpressionImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getExpression()\n\t\t * @generated\n\t\t */\n\t\tEClass EXPRESSION = eINSTANCE.getExpression();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.DelayImpl <em>Delay</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.DelayImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDelay()\n\t\t * @generated\n\t\t */\n\t\tEClass DELAY = eINSTANCE.getDelay();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Time</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DELAY__TIME = eINSTANCE.getDelay_Time();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Unit</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DELAY__UNIT = eINSTANCE.getDelay_Unit();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.NotExpressionImpl <em>Not Expression</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.NotExpressionImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getNotExpression()\n\t\t * @generated\n\t\t */\n\t\tEClass NOT_EXPRESSION = eINSTANCE.getNotExpression();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Event</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference NOT_EXPRESSION__EVENT = eINSTANCE.getNotExpression_Event();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.EventOccurrenceImpl <em>Event Occurrence</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.EventOccurrenceImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getEventOccurrence()\n\t\t * @generated\n\t\t */\n\t\tEClass EVENT_OCCURRENCE = eINSTANCE.getEventOccurrence();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Instance</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EVENT_OCCURRENCE__INSTANCE = eINSTANCE.getEventOccurrence_Instance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Capability</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EVENT_OCCURRENCE__CAPABILITY = eINSTANCE.getEventOccurrence_Capability();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EVENT_OCCURRENCE__ATTRIBUTES = eINSTANCE.getEventOccurrence_Attributes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operator</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute EVENT_OCCURRENCE__OPERATOR = eINSTANCE.getEventOccurrence_Operator();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EVENT_OCCURRENCE__VALUE = eINSTANCE.getEventOccurrence_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ReactionImpl <em>Reaction</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.ReactionImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getReaction()\n\t\t * @generated\n\t\t */\n\t\tEClass REACTION = eINSTANCE.getReaction();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Instance</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference REACTION__INSTANCE = eINSTANCE.getReaction_Instance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Capability</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference REACTION__CAPABILITY = eINSTANCE.getReaction_Capability();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference REACTION__ATTRIBUTES = eINSTANCE.getReaction_Attributes();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.AttributeImpl <em>Attribute</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.AttributeImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getAttribute()\n\t\t * @generated\n\t\t */\n\t\tEClass ATTRIBUTE = eINSTANCE.getAttribute();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ATTRIBUTE__NAME = eINSTANCE.getAttribute_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.AndExpressionImpl <em>And Expression</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.AndExpressionImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getAndExpression()\n\t\t * @generated\n\t\t */\n\t\tEClass AND_EXPRESSION = eINSTANCE.getAndExpression();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Left</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference AND_EXPRESSION__LEFT = eINSTANCE.getAndExpression_Left();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Right</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference AND_EXPRESSION__RIGHT = eINSTANCE.getAndExpression_Right();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.TimingExpressionImpl <em>Timing Expression</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.TimingExpressionImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getTimingExpression()\n\t\t * @generated\n\t\t */\n\t\tEClass TIMING_EXPRESSION = eINSTANCE.getTimingExpression();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Following</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TIMING_EXPRESSION__FOLLOWING = eINSTANCE.getTimingExpression_Following();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Preceding</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TIMING_EXPRESSION__PRECEDING = eINSTANCE.getTimingExpression_Preceding();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.WithinExpressionImpl <em>Within Expression</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.WithinExpressionImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getWithinExpression()\n\t\t * @generated\n\t\t */\n\t\tEClass WITHIN_EXPRESSION = eINSTANCE.getWithinExpression();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Delay</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference WITHIN_EXPRESSION__DELAY = eINSTANCE.getWithinExpression_Delay();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.AfterExpressionImpl <em>After Expression</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.AfterExpressionImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getAfterExpression()\n\t\t * @generated\n\t\t */\n\t\tEClass AFTER_EXPRESSION = eINSTANCE.getAfterExpression();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ValueImpl <em>Value</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.ValueImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getValue()\n\t\t * @generated\n\t\t */\n\t\tEClass VALUE = eINSTANCE.getValue();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.StringConstantImpl <em>String Constant</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.StringConstantImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getStringConstant()\n\t\t * @generated\n\t\t */\n\t\tEClass STRING_CONSTANT = eINSTANCE.getStringConstant();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute STRING_CONSTANT__VALUE = eINSTANCE.getStringConstant_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.IntConstantImpl <em>Int Constant</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.IntConstantImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getIntConstant()\n\t\t * @generated\n\t\t */\n\t\tEClass INT_CONSTANT = eINSTANCE.getIntConstant();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute INT_CONSTANT__VALUE = eINSTANCE.getIntConstant_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.BoolConstantImpl <em>Bool Constant</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.impl.BoolConstantImpl\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getBoolConstant()\n\t\t * @generated\n\t\t */\n\t\tEClass BOOL_CONSTANT = eINSTANCE.getBoolConstant();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute BOOL_CONSTANT__VALUE = eINSTANCE.getBoolConstant_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.DefaultType <em>Default Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.DefaultType\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDefaultType()\n\t\t * @generated\n\t\t */\n\t\tEEnum DEFAULT_TYPE = eINSTANCE.getDefaultType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.Operator <em>Operator</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.Operator\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getOperator()\n\t\t * @generated\n\t\t */\n\t\tEEnum OPERATOR = eINSTANCE.getOperator();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.Protocol <em>Protocol</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.Protocol\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getProtocol()\n\t\t * @generated\n\t\t */\n\t\tEEnum PROTOCOL = eINSTANCE.getProtocol();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link be.unamur.iot.iotdsl.Unit <em>Unit</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see be.unamur.iot.iotdsl.Unit\n\t\t * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getUnit()\n\t\t * @generated\n\t\t */\n\t\tEEnum UNIT = eINSTANCE.getUnit();\n\n\t}", "public static void main(String[] args){\n All_in_One<String> nama = new All_in_One<>();\r\n nama.setManusia(\"Wildan\");\r\n System.out.println(\"Nama Saya: \"+nama.getManusia());\r\n \r\n //Membuat Instance dan Mendefinisikan Tipe Data Integer\r\n All_in_One<Integer> umur = new All_in_One<>();\r\n umur.setManusia(19);\r\n System.out.println(\"Usia Saya: \"+umur.getManusia()+\" Tahun\");\r\n \r\n //Membuat Instance dan Mendefinisikan Tipe Data Boolean\r\n All_in_One<Boolean> kondisi = new All_in_One<>();\r\n kondisi.setManusia(true);\r\n System.out.println(\"Saya Sedang Belajar Java: \"+kondisi.getManusia());\r\n \r\n //Membuat Instance dan Mendefinisikan Tipe Data Float\r\n All_in_One<Float> IPK = new All_in_One<>();\r\n IPK.setManusia(3.5f);\r\n System.out.println(\"Nilai IPK Saya: \"+IPK.getManusia());\r\n \r\n //Membuat Instance dan Mendefinisikan Tipe Data Character\r\n All_in_One<Character> Karakter = new All_in_One<>();\r\n Karakter.setManusia('W');\r\n System.out.println(\"Huruf Awalan Nama Saya Adalah: \"+Karakter.getManusia());\r\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.CFGImpl <em>CFG</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.CFGImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getCFG()\n\t\t * @generated\n\t\t */\n\t\tEClass CFG = eINSTANCE.getCFG();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nodes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CFG__NODES = eINSTANCE.getCFG_Nodes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Start</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CFG__START = eINSTANCE.getCFG_Start();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Arcs</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CFG__ARCS = eINSTANCE.getCFG_Arcs();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.DFGImpl <em>DFG</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.DFGImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDFG()\n\t\t * @generated\n\t\t */\n\t\tEClass DFG = eINSTANCE.getDFG();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG__SOURCE = eINSTANCE.getDFG_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sink</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG__SINK = eINSTANCE.getDFG_Sink();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nodes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG__NODES = eINSTANCE.getDFG_Nodes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Arcs</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG__ARCS = eINSTANCE.getDFG_Arcs();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG__FROM = eINSTANCE.getDFG_From();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG__TO = eINSTANCE.getDFG_To();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.OperationNodeImpl <em>Operation Node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.OperationNodeImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getOperationNode()\n\t\t * @generated\n\t\t */\n\t\tEClass OPERATION_NODE = eINSTANCE.getOperationNode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Precedes</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPERATION_NODE__PRECEDES = eINSTANCE.getOperationNode_Precedes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Succeeds</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPERATION_NODE__SUCCEEDS = eINSTANCE.getOperationNode_Succeeds();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Function</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPERATION_NODE__FUNCTION = eINSTANCE.getOperationNode_Function();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.DFGArcImpl <em>DFG Arc</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.DFGArcImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDFGArc()\n\t\t * @generated\n\t\t */\n\t\tEClass DFG_ARC = eINSTANCE.getDFGArc();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG_ARC__SOURCE = eINSTANCE.getDFGArc_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG_ARC__TARGET = eINSTANCE.getDFGArc_Target();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.SourceImpl <em>Source</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.SourceImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getSource()\n\t\t * @generated\n\t\t */\n\t\tEClass SOURCE = eINSTANCE.getSource();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.SinkImpl <em>Sink</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.SinkImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getSink()\n\t\t * @generated\n\t\t */\n\t\tEClass SINK = eINSTANCE.getSink();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.DFGNodeImpl <em>DFG Node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.DFGNodeImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDFGNode()\n\t\t * @generated\n\t\t */\n\t\tEClass DFG_NODE = eINSTANCE.getDFGNode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG_NODE__TO = eINSTANCE.getDFGNode_To();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG_NODE__FROM = eINSTANCE.getDFGNode_From();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.ComputingImpl <em>Computing</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.ComputingImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getComputing()\n\t\t * @generated\n\t\t */\n\t\tEClass COMPUTING = eINSTANCE.getComputing();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.LoadImpl <em>Load</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.LoadImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getLoad()\n\t\t * @generated\n\t\t */\n\t\tEClass LOAD = eINSTANCE.getLoad();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.StoreImpl <em>Store</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.StoreImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getStore()\n\t\t * @generated\n\t\t */\n\t\tEClass STORE = eINSTANCE.getStore();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.JumpImpl <em>Jump</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.JumpImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getJump()\n\t\t * @generated\n\t\t */\n\t\tEClass JUMP = eINSTANCE.getJump();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference JUMP__SOURCE = eINSTANCE.getJump_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference JUMP__TARGET = eINSTANCE.getJump_Target();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Branch Condition</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute JUMP__BRANCH_CONDITION = eINSTANCE.getJump_BranchCondition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Condition</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference JUMP__CONDITION = eINSTANCE.getJump_Condition();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.DataNodeImpl <em>Data Node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.DataNodeImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDataNode()\n\t\t * @generated\n\t\t */\n\t\tEClass DATA_NODE = eINSTANCE.getDataNode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Definition</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DATA_NODE__DEFINITION = eINSTANCE.getDataNode_Definition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Used</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DATA_NODE__USED = eINSTANCE.getDataNode_Used();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Constant</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DATA_NODE__CONSTANT = eINSTANCE.getDataNode_Constant();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Number Of Bits</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DATA_NODE__NUMBER_OF_BITS = eINSTANCE.getDataNode_NumberOfBits();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DATA_NODE__VALUE = eINSTANCE.getDataNode_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.IntegerImpl <em>Integer</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.IntegerImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getInteger()\n\t\t * @generated\n\t\t */\n\t\tEClass INTEGER = eINSTANCE.getInteger();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Signed</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute INTEGER__SIGNED = eINSTANCE.getInteger_Signed();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.FixedPointImpl <em>Fixed Point</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.FixedPointImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getFixedPoint()\n\t\t * @generated\n\t\t */\n\t\tEClass FIXED_POINT = eINSTANCE.getFixedPoint();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Quantization</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FIXED_POINT__QUANTIZATION = eINSTANCE.getFixedPoint_Quantization();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Overflow</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FIXED_POINT__OVERFLOW = eINSTANCE.getFixedPoint_Overflow();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Wl</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FIXED_POINT__WL = eINSTANCE.getFixedPoint_Wl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Iwl</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FIXED_POINT__IWL = eINSTANCE.getFixedPoint_Iwl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nbits</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FIXED_POINT__NBITS = eINSTANCE.getFixedPoint_Nbits();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.FloatImpl <em>Float</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.FloatImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getFloat()\n\t\t * @generated\n\t\t */\n\t\tEClass FLOAT = eINSTANCE.getFloat();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Standard</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FLOAT__STANDARD = eINSTANCE.getFloat_Standard();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.BooleanImpl <em>Boolean</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.BooleanImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getBoolean()\n\t\t * @generated\n\t\t */\n\t\tEClass BOOLEAN = eINSTANCE.getBoolean();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.PHI_nodeImpl <em>PHI node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.PHI_nodeImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getPHI_node()\n\t\t * @generated\n\t\t */\n\t\tEClass PHI_NODE = eINSTANCE.getPHI_node();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Args</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PHI_NODE__ARGS = eINSTANCE.getPHI_node_Args();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.AnnotationImpl <em>Annotation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.AnnotationImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getAnnotation()\n\t\t * @generated\n\t\t */\n\t\tEClass ANNOTATION = eINSTANCE.getAnnotation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Key</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ANNOTATION__KEY = eINSTANCE.getAnnotation_Key();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ANNOTATION__VALUE = eINSTANCE.getAnnotation_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.AnnotableImpl <em>Annotable</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.AnnotableImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getAnnotable()\n\t\t * @generated\n\t\t */\n\t\tEClass ANNOTABLE = eINSTANCE.getAnnotable();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Annotations</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ANNOTABLE__ANNOTATIONS = eINSTANCE.getAnnotable_Annotations();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.PHI_argImpl <em>PHI arg</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.PHI_argImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getPHI_arg()\n\t\t * @generated\n\t\t */\n\t\tEClass PHI_ARG = eINSTANCE.getPHI_arg();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PHI_ARG__FROM = eINSTANCE.getPHI_arg_From();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Data</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PHI_ARG__DATA = eINSTANCE.getPHI_arg_Data();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.BranchCondition <em>Branch Condition</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.BranchCondition\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getBranchCondition()\n\t\t * @generated\n\t\t */\n\t\tEEnum BRANCH_CONDITION = eINSTANCE.getBranchCondition();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.Quantization <em>Quantization</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.Quantization\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getQuantization()\n\t\t * @generated\n\t\t */\n\t\tEEnum QUANTIZATION = eINSTANCE.getQuantization();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.Overflow <em>Overflow</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.Overflow\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getOverflow()\n\t\t * @generated\n\t\t */\n\t\tEEnum OVERFLOW = eINSTANCE.getOverflow();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.Standard <em>Standard</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.Standard\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getStandard()\n\t\t * @generated\n\t\t */\n\t\tEEnum STANDARD = eINSTANCE.getStandard();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.cmu.attackimpact.impl.NodeImpl <em>Node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.cmu.attackimpact.impl.NodeImpl\n\t\t * @see edu.cmu.attackimpact.impl.AttackImpactPackageImpl#getNode()\n\t\t * @generated\n\t\t */\n\t\tEClass NODE = eINSTANCE.getNode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute NODE__NAME = eINSTANCE.getNode_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute NODE__DESCRIPTION = eINSTANCE.getNode_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Vulnerabilities</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference NODE__VULNERABILITIES = eINSTANCE.getNode_Vulnerabilities();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Propagations</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference NODE__PROPAGATIONS = eINSTANCE.getNode_Propagations();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Related Object</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference NODE__RELATED_OBJECT = eINSTANCE.getNode_RelatedObject();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tags</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute NODE__TAGS = eINSTANCE.getNode_Tags();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Domains</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute NODE__DOMAINS = eINSTANCE.getNode_Domains();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.cmu.attackimpact.impl.VulnerabilityImpl <em>Vulnerability</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.cmu.attackimpact.impl.VulnerabilityImpl\n\t\t * @see edu.cmu.attackimpact.impl.AttackImpactPackageImpl#getVulnerability()\n\t\t * @generated\n\t\t */\n\t\tEClass VULNERABILITY = eINSTANCE.getVulnerability();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VULNERABILITY__NAME = eINSTANCE.getVulnerability_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VULNERABILITY__DESCRIPTION = eINSTANCE.getVulnerability_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Severity</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VULNERABILITY__SEVERITY = eINSTANCE.getVulnerability_Severity();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VULNERABILITY__TYPE = eINSTANCE.getVulnerability_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Propagations</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VULNERABILITY__PROPAGATIONS = eINSTANCE.getVulnerability_Propagations();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tags</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VULNERABILITY__TAGS = eINSTANCE.getVulnerability_Tags();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.cmu.attackimpact.impl.PropagationImpl <em>Propagation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.cmu.attackimpact.impl.PropagationImpl\n\t\t * @see edu.cmu.attackimpact.impl.AttackImpactPackageImpl#getPropagation()\n\t\t * @generated\n\t\t */\n\t\tEClass PROPAGATION = eINSTANCE.getPropagation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Destinations</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PROPAGATION__DESTINATIONS = eINSTANCE.getPropagation_Destinations();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Severity</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute PROPAGATION__SEVERITY = eINSTANCE.getPropagation_Severity();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tags</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute PROPAGATION__TAGS = eINSTANCE.getPropagation_Tags();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute PROPAGATION__TYPE = eINSTANCE.getPropagation_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.cmu.attackimpact.impl.ModelImpl <em>Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.cmu.attackimpact.impl.ModelImpl\n\t\t * @see edu.cmu.attackimpact.impl.AttackImpactPackageImpl#getModel()\n\t\t * @generated\n\t\t */\n\t\tEClass MODEL = eINSTANCE.getModel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute MODEL__NAME = eINSTANCE.getModel_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute MODEL__DESCRIPTION = eINSTANCE.getModel_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nodes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MODEL__NODES = eINSTANCE.getModel_Nodes();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.cmu.attackimpact.vulnerabilityType <em>vulnerability Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.cmu.attackimpact.vulnerabilityType\n\t\t * @see edu.cmu.attackimpact.impl.AttackImpactPackageImpl#getvulnerabilityType()\n\t\t * @generated\n\t\t */\n\t\tEEnum VULNERABILITY_TYPE = eINSTANCE.getvulnerabilityType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.cmu.attackimpact.propagationType <em>propagation Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.cmu.attackimpact.propagationType\n\t\t * @see edu.cmu.attackimpact.impl.AttackImpactPackageImpl#getpropagationType()\n\t\t * @generated\n\t\t */\n\t\tEEnum PROPAGATION_TYPE = eINSTANCE.getpropagationType();\n\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\tblockEClass = createEClass(BLOCK);\n\t\tcreateEReference(blockEClass, BLOCK__STMTS);\n\n\t\tstmtEClass = createEClass(STMT);\n\n\t\tarithEClass = createEClass(ARITH);\n\n\t\talVarRefEClass = createEClass(AL_VAR_REF);\n\t\tcreateEAttribute(alVarRefEClass, AL_VAR_REF__NAME);\n\n\t\tarithLitEClass = createEClass(ARITH_LIT);\n\t\tcreateEAttribute(arithLitEClass, ARITH_LIT__VAL);\n\n\t\tarithOpEClass = createEClass(ARITH_OP);\n\t\tcreateEReference(arithOpEClass, ARITH_OP__LHS);\n\t\tcreateEReference(arithOpEClass, ARITH_OP__RHS);\n\n\t\tarithPlusEClass = createEClass(ARITH_PLUS);\n\n\t\tarithMinusEClass = createEClass(ARITH_MINUS);\n\n\t\tprintEClass = createEClass(PRINT);\n\t\tcreateEAttribute(printEClass, PRINT__NAME);\n\n\t\tassignEClass = createEClass(ASSIGN);\n\t\tcreateEAttribute(assignEClass, ASSIGN__NAME);\n\t\tcreateEReference(assignEClass, ASSIGN__VAL);\n\n\t\tifStmtEClass = createEClass(IF_STMT);\n\t\tcreateEReference(ifStmtEClass, IF_STMT__IF_BRANCH);\n\t\tcreateEReference(ifStmtEClass, IF_STMT__ELSE_BRANCH);\n\t\tcreateEReference(ifStmtEClass, IF_STMT__TEST);\n\n\t\trandRangeEClass = createEClass(RAND_RANGE);\n\t\tcreateEAttribute(randRangeEClass, RAND_RANGE__MIN);\n\t\tcreateEAttribute(randRangeEClass, RAND_RANGE__MAX);\n\n\t\tequalityTestEClass = createEClass(EQUALITY_TEST);\n\t\tcreateEReference(equalityTestEClass, EQUALITY_TEST__LHS);\n\t\tcreateEReference(equalityTestEClass, EQUALITY_TEST__RHS);\n\t}", "public interface Representation // C# has public abstract class\n{\n /// <summary>\n /// Creates a new type object of this representation, and\n /// associates it with the given HOW. Also sets up a new\n /// representation instance if needed.\n /// </summary>\n /// <param name=\"HOW\"></param>\n /// <returns></returns>\n RakudoObject type_object_for(ThreadContext tc, RakudoObject how);\n\n /// <summary>\n /// Creates a new instance based on the type object.\n /// </summary>\n /// <param name=\"WHAT\"></param>\n /// <returns></returns>\n RakudoObject instance_of(ThreadContext tc, RakudoObject what);\n\n /// <summary>\n /// Checks if a given object is defined.\n /// </summary>\n /// <param name=\"Obj\"></param>\n /// <returns></returns>\n boolean defined(ThreadContext tc, RakudoObject obj);\n\n /// <summary>\n /// Gets the current value for an attribute.\n /// </summary>\n /// <param name=\"ClassHandle\"></param>\n /// <param name=\"Name\"></param>\n /// <returns></returns>\n RakudoObject get_attribute(ThreadContext tc, RakudoObject object, RakudoObject classHandle, String name);\n\n /// <summary>\n /// Gets the current value for an attribute, obtained using the\n /// given hint.\n /// </summary>\n /// <param name=\"ClassHandle\"></param>\n /// <param name=\"Name\"></param>\n /// <param name=\"Hint\"></param>\n /// <returns></returns>\n RakudoObject get_attribute_with_hint(ThreadContext tc, RakudoObject object, RakudoObject classHandle, String name, int hint);\n\n /// <summary>\n /// Binds the given value to the specified attribute.\n /// </summary>\n /// <param name=\"ClassHandle\"></param>\n /// <param name=\"Name\"></param>\n /// <param name=\"Value\"></param>\n void bind_attribute(ThreadContext tc, RakudoObject object, RakudoObject classHandle, String name, RakudoObject value);\n\n /// <summary>\n /// Binds the given value to the specified attribute, using the\n /// given hint.\n /// </summary>\n /// <param name=\"ClassHandle\"></param>\n /// <param name=\"Name\"></param>\n /// <param name=\"Hint\"></param>\n /// <param name=\"Value\"></param>\n void bind_attribute_with_hint(ThreadContext tc, RakudoObject object, RakudoObject classHandle, String name, int hint, RakudoObject Value);\n\n /// <summary>\n /// Gets the hint for the given attribute ID.\n /// </summary>\n /// <param name=\"ClassHandle\"></param>\n /// <param name=\"Name\"></param>\n /// <returns></returns>\n int hint_for(ThreadContext tc, RakudoObject classHandle, String name);\n\n /// <summary>\n /// Used with boxing. Sets an integer value, for representations that\n /// can hold one.\n /// </summary>\n /// <param name=\"Object\"></param>\n /// <param name=\"Value\"></param>\n void set_int(ThreadContext tc, RakudoObject classHandle, int Value);\n\n /// <summary>\n /// Used with boxing. Gets an integer value, for representations that\n /// can hold one.\n /// </summary>\n /// <param name=\"Object\"></param>\n /// <param name=\"Value\"></param>\n int get_int(ThreadContext tc, RakudoObject classHandle);\n\n /// <summary>\n /// Used with boxing. Sets a floating point value, for representations that\n /// can hold one.\n /// </summary>\n /// <param name=\"Object\"></param>\n /// <param name=\"Value\"></param>\n void set_num(ThreadContext tc, RakudoObject classHandle, double Value);\n\n /// <summary>\n /// Used with boxing. Gets a floating point value, for representations that\n /// can hold one.\n /// </summary>\n /// <param name=\"Object\"></param>\n /// <param name=\"Value\"></param>\n double get_num(ThreadContext tc, RakudoObject classHandle);\n\n /// <summary>\n /// Used with boxing. Sets a string value, for representations that\n /// can hold one.\n /// </summary>\n /// <param name=\"Object\"></param>\n /// <param name=\"Value\"></param>\n void set_str(ThreadContext tc, RakudoObject classHandle, String Value);\n\n /// <summary>\n /// Used with boxing. Gets a string value, for representations that\n /// can hold one.\n /// </summary>\n /// <param name=\"Object\"></param>\n /// <param name=\"Value\"></param>\n String get_str(ThreadContext tc, RakudoObject classHandle);\n}", "@Override\n public String toString() {\n return metaObject.getType().toString();\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.openecomp.dcae.controller.service.common.vm.manager.impl.CommonVmManagerImpl <em>Common Vm Manager</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.openecomp.dcae.controller.service.common.vm.manager.impl.CommonVmManagerImpl\n\t\t * @see org.openecomp.dcae.controller.service.common.vm.manager.impl.ManagerPackageImpl#getCommonVmManager()\n\t\t * @generated\n\t\t */\n\t\tEClass COMMON_VM_MANAGER = eINSTANCE.getCommonVmManager();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Script</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute COMMON_VM_MANAGER__SCRIPT = eINSTANCE.getCommonVmManager_Script();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Configure Timeout</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute COMMON_VM_MANAGER__CONFIGURE_TIMEOUT = eINSTANCE.getCommonVmManager_ConfigureTimeout();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Test Timeout</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute COMMON_VM_MANAGER__TEST_TIMEOUT = eINSTANCE.getCommonVmManager_TestTimeout();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Suspend Timeout</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute COMMON_VM_MANAGER__SUSPEND_TIMEOUT = eINSTANCE.getCommonVmManager_SuspendTimeout();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Resume Timeout</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute COMMON_VM_MANAGER__RESUME_TIMEOUT = eINSTANCE.getCommonVmManager_ResumeTimeout();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Vm Configuration</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference COMMON_VM_MANAGER__VM_CONFIGURATION = eINSTANCE.getCommonVmManager_VmConfiguration();\n\n\t}", "interface Literals\n {\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.DotLanguageImpl <em>Dot Language</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguageImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getDotLanguage()\n * @generated\n */\n EClass DOT_LANGUAGE = eINSTANCE.getDotLanguage();\n\n /**\n * The meta object literal for the '<em><b>Graphs</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DOT_LANGUAGE__GRAPHS = eINSTANCE.getDotLanguage_Graphs();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.GraphImpl <em>Graph</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.GraphImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getGraph()\n * @generated\n */\n EClass GRAPH = eINSTANCE.getGraph();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute GRAPH__NAME = eINSTANCE.getGraph_Name();\n\n /**\n * The meta object literal for the '<em><b>Statements</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GRAPH__STATEMENTS = eINSTANCE.getGraph_Statements();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.DigraphImpl <em>Digraph</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.DigraphImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getDigraph()\n * @generated\n */\n EClass DIGRAPH = eINSTANCE.getDigraph();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute DIGRAPH__NAME = eINSTANCE.getDigraph_Name();\n\n /**\n * The meta object literal for the '<em><b>Statements</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DIGRAPH__STATEMENTS = eINSTANCE.getDigraph_Statements();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.DirectedStatementImpl <em>Directed Statement</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.DirectedStatementImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getDirectedStatement()\n * @generated\n */\n EClass DIRECTED_STATEMENT = eINSTANCE.getDirectedStatement();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.UndirectedStatementImpl <em>Undirected Statement</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.UndirectedStatementImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getUndirectedStatement()\n * @generated\n */\n EClass UNDIRECTED_STATEMENT = eINSTANCE.getUndirectedStatement();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.NodeDeclarationImpl <em>Node Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.NodeDeclarationImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getNodeDeclaration()\n * @generated\n */\n EClass NODE_DECLARATION = eINSTANCE.getNodeDeclaration();\n\n /**\n * The meta object literal for the '<em><b>Node Name</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference NODE_DECLARATION__NODE_NAME = eINSTANCE.getNodeDeclaration_NodeName();\n\n /**\n * The meta object literal for the '<em><b>Optional Attributes</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference NODE_DECLARATION__OPTIONAL_ATTRIBUTES = eINSTANCE.getNodeDeclaration_OptionalAttributes();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.NodeIdImpl <em>Node Id</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.NodeIdImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getNodeId()\n * @generated\n */\n EClass NODE_ID = eINSTANCE.getNodeId();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute NODE_ID__NAME = eINSTANCE.getNodeId_Name();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.AttributeListImpl <em>Attribute List</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.AttributeListImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getAttributeList()\n * @generated\n */\n EClass ATTRIBUTE_LIST = eINSTANCE.getAttributeList();\n\n /**\n * The meta object literal for the '<em><b>Attr</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ATTRIBUTE_LIST__ATTR = eINSTANCE.getAttributeList_Attr();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.AttributeImpl <em>Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.AttributeImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getAttribute()\n * @generated\n */\n EClass ATTRIBUTE = eINSTANCE.getAttribute();\n\n /**\n * The meta object literal for the '<em><b>Attribute Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ATTRIBUTE__ATTRIBUTE_NAME = eINSTANCE.getAttribute_AttributeName();\n\n /**\n * The meta object literal for the '<em><b>Attribute Value</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ATTRIBUTE__ATTRIBUTE_VALUE = eINSTANCE.getAttribute_AttributeValue();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.DirectedEdgeDeclarationImpl <em>Directed Edge Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.DirectedEdgeDeclarationImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getDirectedEdgeDeclaration()\n * @generated\n */\n EClass DIRECTED_EDGE_DECLARATION = eINSTANCE.getDirectedEdgeDeclaration();\n\n /**\n * The meta object literal for the '<em><b>First Node</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DIRECTED_EDGE_DECLARATION__FIRST_NODE = eINSTANCE.getDirectedEdgeDeclaration_FirstNode();\n\n /**\n * The meta object literal for the '<em><b>Edge</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute DIRECTED_EDGE_DECLARATION__EDGE = eINSTANCE.getDirectedEdgeDeclaration_Edge();\n\n /**\n * The meta object literal for the '<em><b>Second Node</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DIRECTED_EDGE_DECLARATION__SECOND_NODE = eINSTANCE.getDirectedEdgeDeclaration_SecondNode();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.UndirectedEdgeDeclarationImpl <em>Undirected Edge Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.UndirectedEdgeDeclarationImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getUndirectedEdgeDeclaration()\n * @generated\n */\n EClass UNDIRECTED_EDGE_DECLARATION = eINSTANCE.getUndirectedEdgeDeclaration();\n\n /**\n * The meta object literal for the '<em><b>First Node</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference UNDIRECTED_EDGE_DECLARATION__FIRST_NODE = eINSTANCE.getUndirectedEdgeDeclaration_FirstNode();\n\n /**\n * The meta object literal for the '<em><b>Edge</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute UNDIRECTED_EDGE_DECLARATION__EDGE = eINSTANCE.getUndirectedEdgeDeclaration_Edge();\n\n /**\n * The meta object literal for the '<em><b>Second Node</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference UNDIRECTED_EDGE_DECLARATION__SECOND_NODE = eINSTANCE.getUndirectedEdgeDeclaration_SecondNode();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.RightEdgeDeclarationImpl <em>Right Edge Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.RightEdgeDeclarationImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getRightEdgeDeclaration()\n * @generated\n */\n EClass RIGHT_EDGE_DECLARATION = eINSTANCE.getRightEdgeDeclaration();\n\n /**\n * The meta object literal for the '<em><b>Second Node</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference RIGHT_EDGE_DECLARATION__SECOND_NODE = eINSTANCE.getRightEdgeDeclaration_SecondNode();\n\n /**\n * The meta object literal for the '<em><b>Node List</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference RIGHT_EDGE_DECLARATION__NODE_LIST = eINSTANCE.getRightEdgeDeclaration_NodeList();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.NodeListImpl <em>Node List</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.NodeListImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getNodeList()\n * @generated\n */\n EClass NODE_LIST = eINSTANCE.getNodeList();\n\n /**\n * The meta object literal for the '<em><b>Nodes</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference NODE_LIST__NODES = eINSTANCE.getNodeList_Nodes();\n\n }", "interface Literals {\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.GraphTransformationImpl <em>Graph Transformation</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.GraphTransformationImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getGraphTransformation()\n * @generated\n */\n\t\tEClass GRAPH_TRANSFORMATION = eINSTANCE.getGraphTransformation();\n\n\t\t/**\n * The meta object literal for the '<em><b>Rules</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference GRAPH_TRANSFORMATION__RULES = eINSTANCE.getGraphTransformation_Rules();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.RuleImpl <em>Rule</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.RuleImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getRule()\n * @generated\n */\n\t\tEClass RULE = eINSTANCE.getRule();\n\n\t\t/**\n * The meta object literal for the '<em><b>Leftside</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference RULE__LEFTSIDE = eINSTANCE.getRule_Leftside();\n\n\t\t/**\n * The meta object literal for the '<em><b>Roles</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference RULE__ROLES = eINSTANCE.getRule_Roles();\n\n\t\t/**\n * The meta object literal for the '<em><b>Application Conditions</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference RULE__APPLICATION_CONDITIONS = eINSTANCE.getRule_ApplicationConditions();\n\n\t\t/**\n * The meta object literal for the '<em><b>Operations</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference RULE__OPERATIONS = eINSTANCE.getRule_Operations();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.LeftSideImpl <em>Left Side</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.LeftSideImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getLeftSide()\n * @generated\n */\n\t\tEClass LEFT_SIDE = eINSTANCE.getLeftSide();\n\n\t\t/**\n * The meta object literal for the '<em><b>Nodes</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference LEFT_SIDE__NODES = eINSTANCE.getLeftSide_Nodes();\n\n\t\t/**\n * The meta object literal for the '<em><b>Edges</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference LEFT_SIDE__EDGES = eINSTANCE.getLeftSide_Edges();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.RolesImpl <em>Roles</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.RolesImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getRoles()\n * @generated\n */\n\t\tEClass ROLES = eINSTANCE.getRoles();\n\n\t\t/**\n * The meta object literal for the '<em><b>Existing Roles</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference ROLES__EXISTING_ROLES = eINSTANCE.getRoles_ExistingRoles();\n\n\t\t/**\n * The meta object literal for the '<em><b>Arriving Role</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference ROLES__ARRIVING_ROLE = eINSTANCE.getRoles_ArrivingRole();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.ApplicationConditionsImpl <em>Application Conditions</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.ApplicationConditionsImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getApplicationConditions()\n * @generated\n */\n\t\tEClass APPLICATION_CONDITIONS = eINSTANCE.getApplicationConditions();\n\n\t\t/**\n * The meta object literal for the '<em><b>Conditions</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference APPLICATION_CONDITIONS__CONDITIONS = eINSTANCE.getApplicationConditions_Conditions();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.OperationsImpl <em>Operations</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.OperationsImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getOperations()\n * @generated\n */\n\t\tEClass OPERATIONS = eINSTANCE.getOperations();\n\n\t\t/**\n * The meta object literal for the '<em><b>Remove Edges</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference OPERATIONS__REMOVE_EDGES = eINSTANCE.getOperations_RemoveEdges();\n\n\t\t/**\n * The meta object literal for the '<em><b>Remove Nodes</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference OPERATIONS__REMOVE_NODES = eINSTANCE.getOperations_RemoveNodes();\n\n\t\t/**\n * The meta object literal for the '<em><b>Add Nodes</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference OPERATIONS__ADD_NODES = eINSTANCE.getOperations_AddNodes();\n\n\t\t/**\n * The meta object literal for the '<em><b>Add Edges</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference OPERATIONS__ADD_EDGES = eINSTANCE.getOperations_AddEdges();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.Node <em>Node</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.Node\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getNode()\n * @generated\n */\n\t\tEClass NODE = eINSTANCE.getNode();\n\n\t\t/**\n * The meta object literal for the '<em><b>In</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference NODE__IN = eINSTANCE.getNode_In();\n\n\t\t/**\n * The meta object literal for the '<em><b>Out</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference NODE__OUT = eINSTANCE.getNode_Out();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.EdgeImpl <em>Edge</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.EdgeImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getEdge()\n * @generated\n */\n\t\tEClass EDGE = eINSTANCE.getEdge();\n\n\t\t/**\n * The meta object literal for the '<em><b>Source</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference EDGE__SOURCE = eINSTANCE.getEdge_Source();\n\n\t\t/**\n * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference EDGE__TARGET = eINSTANCE.getEdge_Target();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.ExistingRoleImpl <em>Existing Role</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.ExistingRoleImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getExistingRole()\n * @generated\n */\n\t\tEClass EXISTING_ROLE = eINSTANCE.getExistingRole();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.ArrivingRoleImpl <em>Arriving Role</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.ArrivingRoleImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getArrivingRole()\n * @generated\n */\n\t\tEClass ARRIVING_ROLE = eINSTANCE.getArrivingRole();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.Condition <em>Condition</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.Condition\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getCondition()\n * @generated\n */\n\t\tEClass CONDITION = eINSTANCE.getCondition();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.GraphOperation <em>Graph Operation</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.GraphOperation\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getGraphOperation()\n * @generated\n */\n\t\tEClass GRAPH_OPERATION = eINSTANCE.getGraphOperation();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.InitialImpl <em>Initial</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.InitialImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getInitial()\n * @generated\n */\n\t\tEClass INITIAL = eINSTANCE.getInitial();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.ActivityFinalImpl <em>Activity Final</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.ActivityFinalImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getActivityFinal()\n * @generated\n */\n\t\tEClass ACTIVITY_FINAL = eINSTANCE.getActivityFinal();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.FlowFinalImpl <em>Flow Final</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.FlowFinalImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getFlowFinal()\n * @generated\n */\n\t\tEClass FLOW_FINAL = eINSTANCE.getFlowFinal();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.ForkImpl <em>Fork</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.ForkImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getFork()\n * @generated\n */\n\t\tEClass FORK = eINSTANCE.getFork();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.SpecializationActionImpl <em>Specialization Action</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.SpecializationActionImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getSpecializationAction()\n * @generated\n */\n\t\tEClass SPECIALIZATION_ACTION = eINSTANCE.getSpecializationAction();\n\n\t\t/**\n * The meta object literal for the '<em><b>Variable Role</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference SPECIALIZATION_ACTION__VARIABLE_ROLE = eINSTANCE.getSpecializationAction_VariableRole();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.IdleActionImpl <em>Idle Action</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.IdleActionImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getIdleAction()\n * @generated\n */\n\t\tEClass IDLE_ACTION = eINSTANCE.getIdleAction();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.VariableRole <em>Variable Role</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.VariableRole\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getVariableRole()\n * @generated\n */\n\t\tEClass VARIABLE_ROLE = eINSTANCE.getVariableRole();\n\n\t\t/**\n * The meta object literal for the '<em><b>Action</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference VARIABLE_ROLE__ACTION = eINSTANCE.getVariableRole_Action();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.InheritsFromImpl <em>Inherits From</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.InheritsFromImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getInheritsFrom()\n * @generated\n */\n\t\tEClass INHERITS_FROM = eINSTANCE.getInheritsFrom();\n\n\t\t/**\n * The meta object literal for the '<em><b>Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference INHERITS_FROM__PARENT = eINSTANCE.getInheritsFrom_Parent();\n\n\t\t/**\n * The meta object literal for the '<em><b>Child</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference INHERITS_FROM__CHILD = eINSTANCE.getInheritsFrom_Child();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.BelongsToImpl <em>Belongs To</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.BelongsToImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getBelongsTo()\n * @generated\n */\n\t\tEClass BELONGS_TO = eINSTANCE.getBelongsTo();\n\n\t\t/**\n * The meta object literal for the '<em><b>Leader</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference BELONGS_TO__LEADER = eINSTANCE.getBelongsTo_Leader();\n\n\t\t/**\n * The meta object literal for the '<em><b>Member</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference BELONGS_TO__MEMBER = eINSTANCE.getBelongsTo_Member();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.RemoveNodesImpl <em>Remove Nodes</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.RemoveNodesImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getRemoveNodes()\n * @generated\n */\n\t\tEClass REMOVE_NODES = eINSTANCE.getRemoveNodes();\n\n\t\t/**\n * The meta object literal for the '<em><b>Node</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference REMOVE_NODES__NODE = eINSTANCE.getRemoveNodes_Node();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.RemoveEdgesImpl <em>Remove Edges</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.RemoveEdgesImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getRemoveEdges()\n * @generated\n */\n\t\tEClass REMOVE_EDGES = eINSTANCE.getRemoveEdges();\n\n\t\t/**\n * The meta object literal for the '<em><b>Edge</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference REMOVE_EDGES__EDGE = eINSTANCE.getRemoveEdges_Edge();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.AddEdgesImpl <em>Add Edges</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.AddEdgesImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getAddEdges()\n * @generated\n */\n\t\tEClass ADD_EDGES = eINSTANCE.getAddEdges();\n\n\t\t/**\n * The meta object literal for the '<em><b>Edge</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference ADD_EDGES__EDGE = eINSTANCE.getAddEdges_Edge();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.AddNodesImpl <em>Add Nodes</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.AddNodesImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getAddNodes()\n * @generated\n */\n\t\tEClass ADD_NODES = eINSTANCE.getAddNodes();\n\n\t\t/**\n * The meta object literal for the '<em><b>Node</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference ADD_NODES__NODE = eINSTANCE.getAddNodes_Node();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.Nameable <em>Nameable</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.Nameable\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getNameable()\n * @generated\n */\n\t\tEClass NAMEABLE = eINSTANCE.getNameable();\n\n\t\t/**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEAttribute NAMEABLE__NAME = eINSTANCE.getNameable_Name();\n\n\t}", "public interface ValueType {\n /** synonyms. */\n String SYNONYMS = \"synonyms\";\n /** patterns. */\n String PATTERNS = \"patterns\";\n }", "public interface Meta {\r\n\r\n /**\r\n * Get the Type of the OSM object\r\n * \r\n * @return the Type\r\n */\r\n @NotNull\r\n default Type getType() {\r\n throw new IllegalArgumentException(\"getType is unsupported\");\r\n }\r\n\r\n /**\r\n * Get the OSM elements tags\r\n * \r\n * @return a Map of KV tupels\r\n */\r\n @Nullable\r\n default Map<String, String> getTags() {\r\n throw new IllegalArgumentException(\"getTags is unsupported\");\r\n }\r\n\r\n /**\r\n * Get the OSM display name\r\n * \r\n * @return the OSM display name\r\n */\r\n String getUser();\r\n\r\n /**\r\n * Get the OSM id of the object\r\n * \r\n * @return the OSM id of the object\r\n */\r\n long getId();\r\n\r\n /**\r\n * Get the version of the object\r\n * \r\n * @return the version of the object\r\n */\r\n long getVersion();\r\n\r\n /**\r\n * Get the changeset id for this object\r\n * \r\n * @return the changeset id for this object\r\n */\r\n long getChangeset();\r\n\r\n /**\r\n * Get the timestamp (when this version of the object was created)\r\n * \r\n * @return the timestamp in seconds since the Unic EPOCH\r\n */\r\n long getTimestamp();\r\n\r\n /**\r\n * Get the state of the object\r\n * \r\n * @return a State\r\n */\r\n @NotNull\r\n State getState();\r\n\r\n /**\r\n * If the object is a Way check if it is closed\r\n * \r\n * @return true if the way is closed\r\n */\r\n boolean isClosed();\r\n\r\n /**\r\n * If the object is a Way return the number of way nodes\r\n * \r\n * @return the number of way nodes\r\n */\r\n int getNodeCount();\r\n\r\n /**\r\n * If the object is a Node return the number of ways it is a member of\r\n * \r\n * @return the number of ways the Node is a member of\r\n */\r\n int getWayCount();\r\n\r\n /**\r\n * If the object is a Relation return the number of members it has\r\n * \r\n * If not implemented this returns -1 which should always evaluate to false\r\n * \r\n * @return the number of members the Relation has\r\n */\r\n default int getMemberCount() {\r\n return Range.UNINITALIZED;\r\n }\r\n\r\n /**\r\n * If the object is a Way and closed return the area it covers\r\n * \r\n * @return the area it covers in m^2\r\n */\r\n int getAreaSize();\r\n\r\n /**\r\n * If the object is a Way return its length\r\n * \r\n * @return the the length in m\r\n */\r\n int getWayLength();\r\n\r\n /**\r\n * Get any roles the element has in Relations\r\n * \r\n * @return a Collection containing the roles\r\n */\r\n @NotNull\r\n Collection<String> getRoles();\r\n\r\n /**\r\n * Check if the element is selected\r\n * \r\n * @return true if selected\r\n */\r\n boolean isSelected();\r\n\r\n /**\r\n * Check if a relation has a member with role\r\n * \r\n * @param role the role\r\n * @return true if there is a member with the role\r\n */\r\n boolean hasRole(@NotNull String role);\r\n\r\n /**\r\n * Get a preset from a path specification\r\n * \r\n * @param presetPath the path\r\n * @return an Object that should be a instance of a preset for the syste,\r\n */\r\n @Nullable\r\n Object getPreset(@NotNull String presetPath);\r\n\r\n /**\r\n * Check if the object matches with a preset or a preset group\r\n * \r\n * @param preset the path to the preset or group\r\n * @return true if the object matches\r\n */\r\n boolean matchesPreset(@NotNull Object preset);\r\n\r\n /**\r\n * Check if the element is incomplete (this is not defined in the documentation)\r\n * \r\n * @return true if incomplete\r\n */\r\n boolean isIncomplete();\r\n\r\n /**\r\n * Check if the element is in the current view\r\n * \r\n * @return true if in view\r\n */\r\n boolean isInview();\r\n\r\n /**\r\n * Check if the element and all member elements is in the current view\r\n * \r\n * @return true if in view\r\n */\r\n boolean isAllInview();\r\n\r\n /**\r\n * Check if the element is in the downloaded areas\r\n * \r\n * @return true if in view\r\n */\r\n boolean isInDownloadedArea();\r\n\r\n /**\r\n * Check if the element and all member elements is in the downloaded areas\r\n * \r\n * @return true if in view\r\n */\r\n boolean isAllInDownloadedArea();\r\n\r\n /**\r\n * Check if the current element is a child of an element\r\n * \r\n * @param type type of the element\r\n * @param element the meta interface to the element\r\n * @param parents a List of elements\r\n * @return true if element is a child\r\n */\r\n default boolean isChild(@NotNull Type type, @NotNull Meta element, @NotNull List<Object> parents) {\r\n return false;\r\n }\r\n\r\n /**\r\n * Check if the current element is a parent of an element\r\n * \r\n * @param type type of the element\r\n * @param meta the meta interface to the element\r\n * @param children a List of elements\r\n * @return true if element is a parent\r\n */\r\n default boolean isParent(@NotNull Type type, @NotNull Meta meta, @NotNull List<Object> children) {\r\n return false;\r\n }\r\n\r\n /**\r\n * Return a List of Elements that match the condition c\r\n * \r\n * This is necessary so that we can cache these results in the caller\r\n * \r\n * @param c the Condition\r\n * @return a List of elements\r\n */\r\n @NotNull\r\n default List<Object> getMatchingElements(@NotNull Condition c) {\r\n return new ArrayList<>();\r\n }\r\n \r\n /**\r\n * Get an Meta implementing object \r\n * \r\n * @param o imput object\r\n * @return returns something that implements this interface\r\n */\r\n @NotNull\r\n Meta wrap(Object o);\r\n}", "static void initRuntimeConstructors(ITermFactory tf) {\n CFGNode.initializeConstructor(tf);\n ICFGNode.Kind.initializeConstructor(tf);\n Set.initializeConstructor(tf);\n Map.initializeConstructor(tf);\n EmptyMapOrSet.initializeConstructor(tf);\n Name.initializeConstructor(tf);\n FullSetLattice.ISetImplementation.initializeConstructor(tf);\n TermIndex.initializeConstructor(tf);\n }", "interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link stories.impl.StoryImpl <em>Story</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see stories.impl.StoryImpl\r\n\t\t * @see stories.impl.StoriesPackageImpl#getStory()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass STORY = eINSTANCE.getStory();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference STORY__ELEMENTS = eINSTANCE.getStory_Elements();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Label</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute STORY__LABEL = eINSTANCE.getStory_Label();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link stories.impl.IndividualImpl <em>Individual</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see stories.impl.IndividualImpl\r\n\t\t * @see stories.impl.StoriesPackageImpl#getIndividual()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass INDIVIDUAL = eINSTANCE.getIndividual();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Different from</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference INDIVIDUAL__DIFFERENT_FROM = eINSTANCE.getIndividual_Different_from();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Same as</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference INDIVIDUAL__SAME_AS = eINSTANCE.getIndividual_Same_as();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Present in</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference INDIVIDUAL__PRESENT_IN = eINSTANCE.getIndividual_Present_in();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Absent from</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference INDIVIDUAL__ABSENT_FROM = eINSTANCE.getIndividual_Absent_from();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link stories.impl.NodeImpl <em>Node</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see stories.impl.NodeImpl\r\n\t\t * @see stories.impl.StoriesPackageImpl#getNode()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass NODE = eINSTANCE.getNode();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Performed</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference NODE__PERFORMED = eINSTANCE.getNode_Performed();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Instance of</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference NODE__INSTANCE_OF = eINSTANCE.getNode_Instance_of();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Is referred to in</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference NODE__IS_REFERRED_TO_IN = eINSTANCE.getNode_Is_referred_to_in();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Not instance of</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference NODE__NOT_INSTANCE_OF = eINSTANCE.getNode_Not_instance_of();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link stories.impl.LinkImpl <em>Link</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see stories.impl.LinkImpl\r\n\t\t * @see stories.impl.StoriesPackageImpl#getLink()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass LINK = eINSTANCE.getLink();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Source</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference LINK__SOURCE = eINSTANCE.getLink_Source();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference LINK__TARGET = eINSTANCE.getLink_Target();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Instance of</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference LINK__INSTANCE_OF = eINSTANCE.getLink_Instance_of();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Not instance of</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference LINK__NOT_INSTANCE_OF = eINSTANCE.getLink_Not_instance_of();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link stories.impl.WorldImpl <em>World</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see stories.impl.WorldImpl\r\n\t\t * @see stories.impl.StoriesPackageImpl#getWorld()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass WORLD = eINSTANCE.getWorld();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Enabled</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference WORLD__ENABLED = eINSTANCE.getWorld_Enabled();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Brought about by</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference WORLD__BROUGHT_ABOUT_BY = eINSTANCE.getWorld_Brought_about_by();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Next</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference WORLD__NEXT = eINSTANCE.getWorld_Next();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Prev</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference WORLD__PREV = eINSTANCE.getWorld_Prev();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link stories.impl.EventImpl <em>Event</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see stories.impl.EventImpl\r\n\t\t * @see stories.impl.StoriesPackageImpl#getEvent()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass EVENT = eINSTANCE.getEvent();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Directly causes</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference EVENT__DIRECTLY_CAUSES = eINSTANCE.getEvent_Directly_causes();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Causes</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference EVENT__CAUSES = eINSTANCE.getEvent_Causes();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Brings about</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference EVENT__BRINGS_ABOUT = eINSTANCE.getEvent_Brings_about();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Happened in</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference EVENT__HAPPENED_IN = eINSTANCE.getEvent_Happened_in();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Has part</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference EVENT__HAS_PART = eINSTANCE.getEvent_Has_part();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link stories.impl.Story_elementImpl <em>Story element</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see stories.impl.Story_elementImpl\r\n\t\t * @see stories.impl.StoriesPackageImpl#getStory_element()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass STORY_ELEMENT = eINSTANCE.getStory_element();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Label</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute STORY_ELEMENT__LABEL = eINSTANCE.getStory_element_Label();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link stories.impl.HappeningImpl <em>Happening</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see stories.impl.HappeningImpl\r\n\t\t * @see stories.impl.StoriesPackageImpl#getHappening()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass HAPPENING = eINSTANCE.getHappening();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link stories.impl.ActionImpl <em>Action</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see stories.impl.ActionImpl\r\n\t\t * @see stories.impl.StoriesPackageImpl#getAction()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ACTION = eINSTANCE.getAction();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Motivated by</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ACTION__MOTIVATED_BY = eINSTANCE.getAction_Motivated_by();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Performed by</b></em>' container reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ACTION__PERFORMED_BY = eINSTANCE.getAction_Performed_by();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link stories.impl.AllDifferentImpl <em>All Different</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see stories.impl.AllDifferentImpl\r\n\t\t * @see stories.impl.StoriesPackageImpl#getAllDifferent()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ALL_DIFFERENT = eINSTANCE.getAllDifferent();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Distinct members</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ALL_DIFFERENT__DISTINCT_MEMBERS = eINSTANCE.getAllDifferent_Distinct_members();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link stories.impl.Classification_statementImpl <em>Classification statement</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see stories.impl.Classification_statementImpl\r\n\t\t * @see stories.impl.StoriesPackageImpl#getClassification_statement()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass CLASSIFICATION_STATEMENT = eINSTANCE.getClassification_statement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Holds in</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference CLASSIFICATION_STATEMENT__HOLDS_IN = eINSTANCE.getClassification_statement_Holds_in();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Not holds in</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference CLASSIFICATION_STATEMENT__NOT_HOLDS_IN = eINSTANCE.getClassification_statement_Not_holds_in();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Anti Rigid Classes</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference CLASSIFICATION_STATEMENT__ANTI_RIGID_CLASSES = eINSTANCE.getClassification_statement_AntiRigidClasses();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Label</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute CLASSIFICATION_STATEMENT__LABEL = eINSTANCE.getClassification_statement_Label();\r\n\r\n\t}", "interface Literals\n {\n /**\n * The meta object literal for the '{@link com.soluvas.glproto.glproto.impl.ModelImpl <em>Model</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.soluvas.glproto.glproto.impl.ModelImpl\n * @see com.soluvas.glproto.glproto.impl.GlprotoPackageImpl#getModel()\n * @generated\n */\n EClass MODEL = eINSTANCE.getModel();\n\n /**\n * The meta object literal for the '<em><b>Package</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MODEL__PACKAGE = eINSTANCE.getModel_Package();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MODEL__NAME = eINSTANCE.getModel_Name();\n\n /**\n * The meta object literal for the '<em><b>Packages</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MODEL__PACKAGES = eINSTANCE.getModel_Packages();\n\n /**\n * The meta object literal for the '{@link com.soluvas.glproto.glproto.impl.PackageImpl <em>Package</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.soluvas.glproto.glproto.impl.PackageImpl\n * @see com.soluvas.glproto.glproto.impl.GlprotoPackageImpl#getPackage()\n * @generated\n */\n EClass PACKAGE = eINSTANCE.getPackage();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PACKAGE__NAME = eINSTANCE.getPackage_Name();\n\n /**\n * The meta object literal for the '<em><b>Files</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PACKAGE__FILES = eINSTANCE.getPackage_Files();\n\n /**\n * The meta object literal for the '{@link com.soluvas.glproto.glproto.impl.FileImpl <em>File</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.soluvas.glproto.glproto.impl.FileImpl\n * @see com.soluvas.glproto.glproto.impl.GlprotoPackageImpl#getFile()\n * @generated\n */\n EClass FILE = eINSTANCE.getFile();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FILE__NAME = eINSTANCE.getFile_Name();\n\n }", "private void addStaticInitAndConstructors() {\n MethodNode mn = new MethodNode(ASM5, ACC_STATIC, \"<clinit>\", \"()V\", null, null);\n InsnList il = mn.instructions;\n il.add(new MethodInsnNode(INVOKESTATIC, \n \"org/apache/uima/type_system/impl/TypeSystemImpl\", \n \"getTypeImplBeingLoaded\", \n \"()Lorg/apache/uima/type_system/impl/TypeImpl;\", \n false));\n il.add(new FieldInsnNode(PUTSTATIC, \n \"pkg/sample/name/SeeSample\", \n \"_typeImpl\", \n \"Lorg/apache/uima/type_system/impl/TypeImpl;\"));\n il.add(new InsnNode(RETURN));\n mn.maxStack = 1;\n mn.maxLocals = 0;\n cn.methods.add(mn);\n \n // instance constructors method\n \n mn = new MethodNode(ACC_PUBLIC, \"<init>\", \"(ILorg/apache/uima/jcas/cas/TOP_Type;)V\", null, null);\n il = mn.instructions;\n il.add(new VarInsnNode(ALOAD, 0));\n il.add(new VarInsnNode(ILOAD, 1));\n il.add(new VarInsnNode(ALOAD, 2));\n il.add(new MethodInsnNode(INVOKESPECIAL, \"org/apache/uima/jcas/tcas/Annotation\", \"<init>\", \"(ILorg/apache/uima/jcas/cas/TOP_Type;)V\", false));\n il.add(new InsnNode(RETURN));\n mn.maxStack = 3;\n mn.maxLocals = 3;\n cn.methods.add(mn);\n \n mn = new MethodNode(ACC_PUBLIC, \"<init>\", \"(Lorg/apache/uima/jcas/JCas;)V\", null, null);\n il = mn.instructions;\n il.add(new VarInsnNode(ALOAD, 0));\n il.add(new VarInsnNode(ALOAD, 1));\n il.add(new MethodInsnNode(INVOKESPECIAL, \"org/apache/uima/jcas/tcas/Annotation\", \"<init>\", \"(Lorg/apache/uima/jcas/JCas;)V\", false));\n il.add(new InsnNode(RETURN));\n mn.maxStack = 2;\n mn.maxLocals = 2;\n cn.methods.add(mn);\n \n // constructor for annotation\n if (type.isAnnotation) {\n mn = new MethodNode(ACC_PUBLIC, \"<init>\", \"(Lorg/apache/uima/jcas/JCas;II)V\", null, null);\n il = mn.instructions;\n il.add(new VarInsnNode(ALOAD, 0));\n il.add(new VarInsnNode(ALOAD, 1));\n il.add(new MethodInsnNode(INVOKESPECIAL, \"org/apache/uima/jcas/tcas/Annotation\", \"<init>\", \"(Lorg/apache/uima/jcas/JCas;)V\", false));\n il.add(new VarInsnNode(ALOAD, 0));\n il.add(new VarInsnNode(ILOAD, 2));\n il.add(new MethodInsnNode(INVOKEVIRTUAL, \"org/apache/uima/tutorial/RoomNumberv3\", \"setBegin\", \"(I)V\", false));\n il.add(new VarInsnNode(ALOAD, 0));\n il.add(new VarInsnNode(ILOAD, 3));\n il.add(new MethodInsnNode(INVOKEVIRTUAL, \"org/apache/uima/tutorial/RoomNumberv3\", \"setEnd\", \"(I)V\", false));\n il.add(new InsnNode(RETURN));\n mn.maxStack = 2;\n mn.maxLocals = 4;\n cn.methods.add(mn);\n }\n }", "public TypeMap(DecompilerLanguage lang, DataType d, String meta, boolean isChar,\n\t\t\t\tboolean isUtf) {\n\t\t\tdt = d;\n\t\t\tif (d instanceof BuiltIn) {\n\t\t\t\tname = ((BuiltIn) d).getDecompilerDisplayName(lang);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tname = d.getName();\n\t\t\t}\n\t\t\tmetatype = meta;\n\t\t\tthis.isChar = isChar;\n\t\t\tthis.isUtf = isUtf;\n\t\t\tid = hashName(name);\n\t\t}" ]
[ "0.6004248", "0.593828", "0.58776146", "0.58741474", "0.58513933", "0.57415634", "0.57375205", "0.565487", "0.5516946", "0.5477604", "0.5466317", "0.5436396", "0.5432484", "0.5426368", "0.5408811", "0.54076225", "0.5378516", "0.53674823", "0.536496", "0.5362954", "0.53425676", "0.53356284", "0.5333619", "0.5315326", "0.53095907", "0.52964234", "0.52932465", "0.5263993", "0.52550757", "0.5247739", "0.5245254", "0.5228962", "0.5211999", "0.52019113", "0.51950145", "0.5184804", "0.51822585", "0.5174073", "0.51686466", "0.51634103", "0.51616335", "0.5153456", "0.51389235", "0.5125465", "0.5121737", "0.51170796", "0.51119924", "0.51107293", "0.51106", "0.51106", "0.51076424", "0.5107167", "0.51068246", "0.510237", "0.5085478", "0.5064008", "0.50619763", "0.5042269", "0.5041161", "0.50400996", "0.50396734", "0.5034673", "0.5024864", "0.5013768", "0.5009776", "0.5000126", "0.499579", "0.49916768", "0.49898455", "0.4981674", "0.49805048", "0.49802822", "0.49798727", "0.49787578", "0.49689582", "0.496648", "0.49638525", "0.49599648", "0.495871", "0.49585366", "0.4949464", "0.4949214", "0.49436983", "0.49403262", "0.49400133", "0.49356475", "0.49271443", "0.49267125", "0.49226886", "0.49178913", "0.49170956", "0.4916825", "0.49162272", "0.49076495", "0.4905225", "0.49014744", "0.490094", "0.48958007", "0.4890656", "0.487653" ]
0.53437465
20
TODO Autogenerated method stub
@Override public void actionPerformed(ActionEvent e) { if (JOptionPane.showConfirmDialog(null, "Are you sure want to log out?", "WARNING", JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION) { client.sendCloseRequest(); MainUI.this.dispose(); LoginBox loginBox = new LoginBox(); } else { return; } }
{ "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
Gets the file count.
public Number getFileCount() { return (this.fileCount); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileCount();", "int getFilesCount();", "int getFilesCount();", "int getFileInfoCount();", "public int getFilesCount() throws YAPI_Exception\n {\n return get_filesCount();\n }", "public int getFilesCount() {\n if (filesBuilder_ == null) {\n return files_.size();\n } else {\n return filesBuilder_.getCount();\n }\n }", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public int get_filesCount() throws YAPI_Exception\n {\n int res;\n synchronized (this) {\n if (_cacheExpiration <= YAPIContext.GetTickCount()) {\n if (load(_yapi._defaultCacheValidity) != YAPI.SUCCESS) {\n return FILESCOUNT_INVALID;\n }\n }\n res = _filesCount;\n }\n return res;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "public int getFileCount() {\n waitPainted(-1);\n Component list = getFileList();\n if(list instanceof JList)\n return ((JList)list).getModel().getSize();\n else if(list instanceof JTable)\n return ((JTable)list).getModel().getRowCount();\n else\n throw new IllegalStateException(\"Wrong component type\");\n }", "public String getNumFiles() {\n\t\ttry {\n\t\t\tFile dir = new File(getLocationOfFiles());\n\t\t\treturn Long.toString(dir.listFiles(new XMLFileFilter()).length);\n\t\t} catch (Throwable e) {\n\t\t\treturn \"0\";\n\t\t}\n\t}", "public int getnumFiles() {\r\n\t\t//initialize the variable numFiles \r\n\t\tthis.numFiles=0;\r\n\r\n\t\t/*An enhanced for loop is used to iterate through the arraylist.\r\n\t\t * An if statement checks in the object at the \"item\" index is of type file\r\n\t\t * If it is the numFiles variable is incremented by 1.\r\n\t\t * Otherwise, it is a directory, and the the getnumFiles is called recursively to search\r\n\t\t * for files in the folder.\r\n\t\t */\r\n\t\tfor (DirectoryComponent item : DirectoryList){\r\n\t\t\tif(item instanceof File){\r\n\t\t\t\tthis.numFiles ++;\r\n\t\t\t} else {\r\n\t\t\t\tthis.numFiles += item.getnumFiles();\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\treturn numFiles;\r\n\t}", "@Override\n\tpublic int getNumberOfFiles() {\n\t\tIterator<FileSystemItem> it = this.content.iterator();\n\t\tint numberOfFiles = 0;\n\t\t\n\t\twhile (it.hasNext()) {\n\t\t\tif(it.next().isDirectory() == false) {\n\t\t\t\tnumberOfFiles++;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn numberOfFiles;\n\t}", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public int getFileRecordCount() {\n\t\treturn fileRecordCount;\n\t}", "public int size() {\n return files.size();\n }", "int countFile(File file) {\n return readFile(file).length;\n }", "public int getNumberOfAvailableFiles() {\n return numberOfAvailableFiles;\n }", "int countFile(String path) {\n return readFile(path).length;\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public static int getNumberOfFiles(File file) {\n return getNumberOfFiles(file, 0); // Call auxiliary method\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "int getSourceFileCount();", "public int countFile(String path){\r\n int count=0;\r\n String filename;\r\n File dir = new File(path);\r\n\r\n String[] children = dir.list();\r\n if (children == null) {\r\n count = 0;\r\n }else {\r\n count = children.length;\r\n }\r\n return count;\r\n }", "public int getNumberOfInProcessFiles() {\n return numberOfInProcessFiles;\n }", "public long size() {\n return file.length();\n }", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileCount(File folder) {\n\t\treturn folder.list().length;\n\t}", "public long size() {\n return this.filePage.getSizeInfile();\n }", "public long getCurrentFileLength() {\n\t\tif (requestedFile != null) {\n\t\t\ttry {\t// avoid race conditions\n\t\t\t\treturn requestedFile.length;\n\t\t\t} catch (NullPointerException e) {}\n\t\t}\n\t\ttry {\t// avoid race conditions\n\t\t\treturn currentFile.length;\n\t\t} catch (NullPointerException e) {}\n\t\treturn 0;\n\t}", "public long getNumberOfFilesInDirectory() {\n ClassLoader classLoader = getClass().getClassLoader();\n File directoryFile = new File(classLoader.getResource(directoryString).getFile());\n\n return directoryFile.listFiles().length;\n }", "private static int m2538d(Context context) {\n try {\n File file = new File(Log.m2547a(context, Log.f1857e));\n if (file.exists()) {\n return file.list().length;\n }\n return 0;\n } catch (Throwable th) {\n BasicLogHandler.m2542a(th, \"StatisticsManager\", \"getFileNum\");\n return 0;\n }\n }", "private int getFilesCount(File inputFile) {\n File[] files = inputFile.listFiles();\n int result = 0;\n\n for (File file : Objects.requireNonNull(files)) {\n if (!shouldInterrupt.get()) {\n if (file.isDirectory()) {\n result = result + getFilesCount(file);\n }\n else {\n result++;\n }\n }\n }\n return result;\n }", "public long getFileSize()\n throws IOException\n {\n return file.length();\n }", "public int getNumberOfCompletedFiles() {\n return numberOfCompletedFiles;\n }", "public long getSize()\n\t{\n\t\treturn file.length() ;\n\t}", "public int getNumberOfPhotos(){\n\t\tint num = 0;\n\t\ttry {\n\t\t\tFileInputStream in = new FileInputStream(\"images\");\n\t\t\t//Skipping magic number\n\t\t\tfor (int i = 0; i < 4; i++) {\n\t\t\t\tin.read();\n\t\t\t}\n\t\t\tbyte[] tmpVar = new byte[4];\n\t\t\tfor (int i = 0; i < 4; i++) {\n\t\t\t\ttmpVar[i] = (byte) in.read();\n\t\t\t}\n\t\t\tnum = ByteBuffer.wrap(tmpVar).getInt();\n\t\t\tin.close();\n\t\t}catch (Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn num;\n\t\t\n\t}", "public double getNumuploads(){\n\t\treturn (this.num_upload);\n\t}", "public long countEntries() {\n\t\tlong entries=0;\n\t\ttry {\n\t\t\tentries=Files.lines(new File(PAYROLL_FILE_NAME).toPath()).count();\n\t\t}catch(IOException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn entries;\n\t}", "public int numPages() {\n // some code goes here\n //System.out.println(\"File length :\" + f.length());\n\n return (int) Math.ceil(f.length() * 1.0 / BufferPool.PAGE_SIZE * 1.0);\n }", "public int getNumberOfRecords(String filePath) throws CustomizedExceptions {\r\n FileReaderWriter fileReaderWriter = new FileReaderWriter();\r\n int count = fileReaderWriter.getTotalRecords(filePath);\r\n\r\n return count;\r\n }", "public long getFileSize(){\n\t return new File(outputFileName).length();\n }", "public String getProcessedFileCnt(String uid, String filename) {\r\n \t//if(!initted) throw new RuntimeException(\"Grao Com service Client is not initialized...\");\r\n\t\ttry {\r\n\t\t return Requester.request(configName)\r\n\t\t\t\t\t\t .path(GraoContextParams.getSubPath(GraoContextParams.GRAO_PATH.PROCESSED_FILE_CNT, \"/\"+ uid))\r\n\t\t\t\t\t\t .queryParam(GRAO_PARAM.FILE_NAME, filename)\r\n\t\t\t\t\t\t .get(MEDIA_TYPE.JSON).getResponseAsObject(String.class);\r\n\t\t} catch (Exception e) {\r\n\t\t e.printStackTrace();\r\n\t\t throw new RuntimeException(e);\r\n\t\t}\r\n }", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getDocumentCount();", "public static int getFileCount(String path)\r\n {\r\n int lines=0;\r\n System.out.println(\"Path of the source file is: \"+path);\r\n String raw_output_lines = new String();\r\n try\r\n {\r\n Channel line_channel=Syncer.session.openChannel(\"exec\");\r\n String get_count_cmd=\"wc -l < \"+path;\r\n System.out.println(get_count_cmd);\r\n ((ChannelExec)line_channel).setCommand(get_count_cmd);\r\n line_channel.setInputStream(null);\r\n ((ChannelExec)line_channel).setErrStream(System.err); \r\n in=line_channel.getInputStream();\r\n line_channel.connect(); \r\n while(true)\r\n {\r\n while(in.available()>0)\r\n {\r\n BufferedReader br = new BufferedReader(new InputStreamReader(in));\r\n raw_output_lines = br.readLine();\r\n System.out.println(\"Raw_output: \"+raw_output_lines);\r\n }\r\n if(line_channel.isClosed())\r\n break; \r\n }\r\n in.close();\r\n line_channel.disconnect();\r\n System.out.println(\"Out of loop\");\r\n }\r\n catch(Exception e)\r\n {\r\n System.out.println(e);\r\n }\r\n System.out.println(\"Lines (in string): \"+raw_output_lines);\r\n String buffer = new String(raw_output_lines);\r\n System.out.println(\"Out of loop\");\r\n lines = Integer.parseInt(buffer);\r\n System.out.println(\"Out of loop\");\r\n System.out.println(\"lines FOUND: \"+lines);\r\n return lines;\r\n }", "public byte getN_OF_FILE() throws CardException {\n\n if (!this.IC_ALREADY_SUBMIT) {\n this.SubmitIC();\n }\n\n //byte[] id = {(byte)0xFF, (byte)0x02};\n this.SelectFF02();\n\n byte n_of_file = this.__ReadRecord((byte)0, (byte)4)[2];\n System.out.println(\"Card contains \" + n_of_file + \" file.\");\n this.N_OF_FILE = n_of_file;\n return n_of_file;\n }", "int getProgressCount();", "int getProgressCount();", "int getProgressCount();", "public long length() {\n return _file.length();\n }", "public int getNumberOfDeliveredFiles() {\n return numberOfDeliveredFiles;\n }", "private Long getFileSize() {\n\t\t// retornamos el tamano del fichero\n\t\treturn this.fileSize;\n\t}", "public int numPages() {\n \t//numOfPages = (int)(this.fileName.length()/BufferPool.PAGE_SIZE);\n return numOfPages;\n }", "public final long getFileLength()\n\t\tthrows IOException {\n\t\t\n\t\t//\tGet the file length\n\t\t\n\t\tFile tempFile = new File(getTemporaryFile());\n\t\treturn tempFile.length();\n\t}", "long getFileSize();", "public int getNumberOfFailedFiles() {\n return numberOfFailedFiles;\n }", "public final int count() {\n\t\tCountFunction function = new CountFunction();\n\t\teach(function);\n\t\treturn function.getCount();\n\t}", "public int get_count();", "public long getFileSize();", "public long getFileSize();", "public static long size(File file) {\n\t\treturn file.length();\n\t}", "public int getMaxFiles()\n\t{\n\t\treturn maxFiles;\n\t}", "public long getFileLength() {\n\n return fileLength;\n\n }", "public final synchronized int incrementOpenCount() {\n\t\tm_openCount++;\n\t\t\n\t\t//\tDebug\n\t\t\n//\t\tif ( m_openCount > 1)\n//\t\t\tDebug.println(\"@@@@@ File open name=\" + getPath() + \", count=\" + m_openCount);\n\t\treturn m_openCount;\n\t}", "public final long getFileSize() {\n\t\treturn m_info.getSize();\n\t}", "public long getFileSize(String filename) {\n\t\treturn 0;\n\t}", "public int count() {\n\t\treturn count;\n\t}", "public int getNumberOfCanceledFiles() {\n return numberOfCanceledFiles;\n }", "public int count() {\r\n return count;\r\n }", "public long count() {\n return this.count;\n }", "public long count() { return count.get(); }", "public int getCount() {\n\t\treturn Dispatch.get(object, \"Count\").getInt();\n\t}", "public int getFileSize(){\n\t\treturn fileSize;\n\t}", "public int nbOutputFiles() {\n\treturn getOutputFiles().size();\n }", "long getFileLength(String path) throws IOException;", "public int count() {\n return count;\n }", "public Integer getFileNo() {\n return fileNo;\n }", "public int getTotalCount() {\n return totalCount;\n }", "public java.lang.Integer getResourceCount() {\n return resourceCount;\n }", "public long getCount() {\n return counter.get();\n }", "public int count() {\n return this.count;\n }", "int getNumberOfDocuments();", "public long getSize() {\r\n return mFile.getSize();\r\n }", "public String get_count() {\n\t\treturn count;\n\t}", "int getEntryCount();", "public int getImageCount() {\n return imageCount;\n }", "public int size() {\n return fileNameList.size();\n }", "int getCachedCount();", "public long getSizeFromFile(File file) {\n\t\tlong size = 0;\n\t\tif (file != null) {\n\t\t\tsize = file.length();\n\t\t}\n\t\treturn size;\n\t}", "public long getCount() {\n return count_;\n }", "public Integer getFileSize(Long key) {\n File file = new File(MUSIC_FILE_PATH + File.separator + key + \".mp3\");\n return (int)file.length();\n }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "public final int getFileStatus() {\n\t return m_fileStatus;\n\t}" ]
[ "0.86168724", "0.8563216", "0.8563216", "0.8351743", "0.8187373", "0.8074055", "0.799602", "0.7972837", "0.7841611", "0.7825709", "0.7803201", "0.76704764", "0.75764406", "0.75337964", "0.7499124", "0.74756503", "0.74742085", "0.74652755", "0.74521863", "0.74313474", "0.7386062", "0.7386062", "0.72975236", "0.7198112", "0.7193652", "0.7190866", "0.7128059", "0.7111197", "0.6896325", "0.6881789", "0.688074", "0.6875279", "0.6825342", "0.67952585", "0.67919636", "0.6776733", "0.67746156", "0.67602587", "0.67488503", "0.6741797", "0.673787", "0.67329276", "0.67323935", "0.6725637", "0.67226887", "0.66617745", "0.66371566", "0.663646", "0.65884507", "0.6582835", "0.6577751", "0.65741295", "0.6564125", "0.65521824", "0.65521824", "0.65521824", "0.6530814", "0.6528837", "0.652812", "0.6518885", "0.65149176", "0.6511695", "0.6510943", "0.6505532", "0.6503817", "0.64968127", "0.64968127", "0.6495372", "0.6494274", "0.649117", "0.6483769", "0.647698", "0.6476085", "0.64516014", "0.6450664", "0.64506185", "0.64207774", "0.6414565", "0.6407167", "0.64040357", "0.64008665", "0.63810784", "0.6377142", "0.63661915", "0.63634515", "0.6356391", "0.63359284", "0.63347644", "0.6328119", "0.6328008", "0.6327895", "0.63268846", "0.6325028", "0.6324835", "0.63181794", "0.6316203", "0.6314445", "0.63109964", "0.63097364", "0.63081205" ]
0.868969
0
Returns true if torrent is freeleech.
public boolean isFreeTorrent() { return freeTorrent; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasPakringFree();", "boolean hasPakringFree();", "public boolean isTollFree() \n\t{\n\t\treturn getNumber().charAt(1)=='8';\n\t}", "public Boolean isFree()\n\t{\n\t\treturn free;\n\t}", "boolean isAvailable( long millis );", "public boolean isAvailable() {\n return LocalTime.now().isAfter(busyEndTime);\n }", "public boolean hasPakringFree() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean servesBreakfast() {\n return convertBool(mBreakfast);\n }", "public boolean isBusted() {\n\t\tif (hand.checkHandValue() > 21) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public boolean isFreezed() {\n\t\treturn this.__freezed;\n\t}", "public boolean hasPakringFree() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "public boolean hasPakringFree() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean isAvailable() {\n return this.isAcceptingRider && this.currentTrip == null;\n }", "public boolean isAllBurntUp() {\n return (flammableItemCount == itemsOnFire);\n }", "public boolean hasPakringFree() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "public boolean needAnnounce() {\n\t\tint peersPerThread = Config.getConfig().getInt(\"peer-max_connecting\") / Config.getConfig().getInt(\"peer-max_concurrent_connecting\");\n\t\tboolean needEnoughPeers = peersWanted() >= peersPerThread;\n\t\tboolean notExceedMaxPendingPeers = peers.size() < peerManager.getMaxPendingPeers(torrentStatus);\n\t\tboolean hasConnectingSpace = getFreeConnectingCapacity() > 0;\n\t\treturn needEnoughPeers && notExceedMaxPendingPeers && hasConnectingSpace;\n\t}", "public boolean isAvailable(){\n\t\ttry{\n\t\t\tgetPrimingsInternal(\"Test\", \"ATGATGATGATGATGATGATG\");\n\t\t}\n\t\tcatch(IOException e){\n\t\t\treturn false;\n\t\t}\n\t\tcatch(InterruptedException e){\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "Boolean isAvailable();", "private boolean BluetoothAvailable()\n {\n if (BT == null)\n return false;\n else\n return true;\n }", "public boolean hasBust() {\n\t\treturn this.hand.countValue().first() > 21;\n\t}", "protected boolean isAvailable() {\r\n\t\treturn true;\r\n\t}", "boolean isFree(Position position);", "public boolean isDownloading()\r\n {\r\n return statusObj.value == STATUS_CANDIDATE_DOWNLOADING;\r\n }", "boolean isAvailable();", "boolean isAvailable();", "boolean isAvailable();", "boolean isAvailable();", "public Boolean checkBust() {\n\t\tif (getHandValue() > 21) {\n\t\t\tSystem.out.println(name + \" Busted!\");\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean use() {\n\t\tsynchronized (this) {\n\t\t\treturn canUse() && start() && send() && new TimedCondition(700) {\n\t\t\t\t@Override\n\t\t\t\tpublic boolean isDone() {\n\t\t\t\t\treturn !canUse() || BarNode.this.isDone();\n\t\t\t\t}\n\t\t\t}.waitStop();\n\t\t}\n\t}", "public boolean borrowed()\r\n\t{\n\t\treturn !(currentlyBorrowed == null);\r\n\t}", "public boolean isBust() {\n\t\tif(handValue() > 21) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "protected boolean isFinished() {\n \tboolean distanceTarget = Robot.driveDistancePID.onRawTarget();\n \t\n \tdouble timeNow = timeSinceInitialized();\n \t\n \treturn (distanceTarget || (timeNow >= expireTime));\n }", "public boolean canBeUsed() {\r\n\t\tLocalDate today = LocalDate.now();\r\n\r\n\t\tlong daysDifference = ChronoUnit.DAYS.between(today, expirationDate);\r\n\t\tif (daysDifference >= 0) {\r\n\t\t\treturn true;\r\n\t\t} else {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "boolean available()\n {\n synchronized (m_lock)\n {\n return (null == m_runnable) && (!m_released);\n }\n }", "public Boolean isAvailable()\n\t{\n\t\treturn presence != null && presence.equals(AVAILABLE);\n\t}", "public boolean bust() {\n if (dealerHand.isBust()) {\n dealerHand = new Deck();\n return true;\n } else {\n return false;\n }\n }", "public boolean isBurning()\n {\n return this.fuel > 0 && this.canSmelt();\n }", "public Boolean getFree() {\n return free;\n }", "public boolean isAvailable() {\n\t\tObject oo = get_Value(\"IsAvailable\");\n\t\tif (oo != null) {\n\t\t\tif (oo instanceof Boolean)\n\t\t\t\treturn ((Boolean) oo).booleanValue();\n\t\t\treturn \"Y\".equals(oo);\n\t\t}\n\t\treturn false;\n\t}", "public final boolean canUse(){\n\t\tmaintain();\n\t\t//check if grown if not try to grow\n\t\tif(grown){\t\n\t\t\tif(host.getStrength()>USE_COST){\n\t\t\t\thost.expend(USE_COST);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\telse{\n\t\t\t\thost.expend(host.getStrength());\n\t\t\t}\n\t\t}\n\t\telse{\t\t\t\n\t\t\tcanGrow(host, this);\n\t\t}\t\n\t\treturn false;\n\t}", "public boolean isAvailable(){\r\n return blockingQueue.size() < maxWorkQueueSize;\r\n }", "boolean hasTxpower();", "public boolean isCanBleed() {\n\t\treturn canBleed;\n\t}", "public boolean isValid_ToBuyTicket() {\n if (this.tktSold < this.museum.getMaxVisit() && isNowTime_in_period()) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }", "public boolean isBIsGiveBreakfast() {\n return bIsGiveBreakfast;\n }", "public boolean isAlive(){\n\t\treturn lifeForce > 0;\n\t}", "public boolean zugVerschrotten() {\n if (depot > 0) {\n geld = geld + getGeldZugZurueck();\n depot--;\n return true;\n } else {\n return false;\n }\n }", "public boolean isHasPowerUp() {\n\t\treturn hasPowerUp;\n\t}", "public static boolean isPortFreeToUse(int port) {\n return isUDPPortFreeToUse(port) && isTCPPortFreeToUse(port);\n }", "public boolean isHolding();", "public boolean isAvailable()\n {\n return available;\n }", "boolean CanBuySettlement();", "public boolean isAvailable() {\r\n\treturn available;\r\n }", "protected boolean isFinished() {\n return (shooterWheel.shooterWheelSpeedControllerAft.isEnabled() == false && shooterWheel.shooterWheelSpeedControllerFwd.isEnabled() == false);\n }", "public boolean isSleepy() {\n\t\treturn sleepy;\n\t}", "public boolean isAvailable() {\r\n\t\treturn available;\r\n\t}", "public boolean isOnlyPassive();", "public boolean canDonate() {\n\t\treturn (dataSize() >= Math.ceil(degree / 2.0));\n\t}", "public boolean isAvailable(){\r\n // return statement\r\n return (veh == null);\r\n }", "public boolean getIsFree(int num)\n\t{\n\t\treturn isFree[num];\n\t}", "@Test\n\tpublic void testTAlive1() {\n\t\tassertEquals(false, tank.isDeceased());\n\t}", "public boolean isLever() {\n return this.type == Type.LEVER;\n }", "public boolean isAvailable() {\r\n return isavailable;\r\n }", "boolean isAvailable() {\r\n\t\treturn available;\r\n\t}", "public boolean isAvailable() {\n return available;\n }", "public boolean isAvailable() {\n return available;\n }", "public boolean isAvailable() {\n return available;\n }", "public boolean hasBust()\n {\n return getSumOfCards(false) > 21;\n }", "boolean isDegraded();", "public boolean isAfternoonAcceptingTalks() {\n\n\t\treturn afternoonSession.getCurrentConsumedCapacity() < PropertiesConfig.getAfternoonMaxUnitsCapacity();\n\t}", "boolean isTransmitting();", "public boolean isTorch() {\n return this.type == Type.TORCH;\n }", "public abstract boolean isAvailable();", "public abstract boolean isAvailable();", "public boolean canBeUsed(){\n\t\treturn !(this.isUsed);\n\t}", "boolean hasMaximumBackoff();", "public boolean isUseable()\n {\n if (state == 0)\n {\n return true;\n }\n return false;\n }", "public boolean maxPeersReached(){\n\t\tif(peers.size()>=maxpeers){\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public boolean isAvailable() {\n return available;\n }", "public static boolean hasTarget() {\n return NetworkTableInstance.getDefault().getTable(\"limelight\").getEntry(\"tv\").getDouble(0) == 0 ? false : true;\n }", "public boolean isEnabled_click_Fuel_Rewards_Link(){\r\n\t\tif(click_Fuel_Rewards_Link.isEnabled()) { return true; } else { return false;} \r\n\t}", "public Boolean getMoreAvailable() {\n return moreAvailable;\n }", "public boolean hasLanded ();", "public boolean hasFullyTurned() {\r\n return turningPID.onTarget();\r\n }", "public Boolean isTransmissionEffective() { return random.nextDouble() < transmissionProb; }", "public boolean isReliable() {\n return false;\n }", "public boolean isReliable() {\n return false;\n }", "public boolean isBuyable();", "public boolean completed(){\n return !activeAttackers() && !attackersLeft();\n }", "public boolean isFreezer() {\n\t\treturn Freezer;\n\t}", "public boolean isForgettable ()\r\n {\r\n return forgettable_;\r\n }", "protected boolean isFinished() {\n\t\tif (_timesRumbled == 40) {\n\t\t\treturn true;\n\t\t}\n\t\telse {\n\t\t\treturn false;\n\t\t}\n\t}", "private boolean IsBust(Player player) {\n if (CalcHandSum(player, player.getHand()) > 21) {\n return true;\n } else {\n return false;\n }\n }", "public boolean isFreeMoving() {\n\t\treturn _freeMoving;\n\t}", "public boolean isAvailable() {\n lock.readLock().lock();\n try {\n return available;\n } finally {\n lock.readLock().unlock();\n }\n }", "@Test\n\tpublic void testTAlive2() {\n\t\tassertEquals(false, tank.isDeceased());\n\t}", "public boolean carryingPassengers() {\n\t\treturn carryingPassengers;\n\t}", "private static boolean isReadyForUse(IReasoner reasoner) {\r\n boolean result = false;\r\n if (null != reasoner) {\r\n ReasonerDescriptor desc = reasoner.getDescriptor();\r\n if (null != desc) {\r\n result = desc.isReadyForUse();\r\n }\r\n }\r\n return result;\r\n }", "public boolean isAlive() {\n return this.getHealthPower().hasSomeHealth();\n }", "boolean hasToForeman();" ]
[ "0.66138464", "0.66138464", "0.66023856", "0.65865725", "0.63166463", "0.6276852", "0.6251117", "0.62364423", "0.6222207", "0.6221322", "0.62184143", "0.62166154", "0.6211709", "0.6191419", "0.6175865", "0.6157829", "0.6135231", "0.60927236", "0.6084871", "0.60612357", "0.6058754", "0.60512197", "0.6045946", "0.6040839", "0.6040839", "0.6040839", "0.6040839", "0.600387", "0.59716105", "0.5949817", "0.59211797", "0.59114945", "0.5908714", "0.590657", "0.59033835", "0.5889114", "0.58770466", "0.5849217", "0.5848949", "0.58376634", "0.5817895", "0.58117414", "0.5795883", "0.57908905", "0.5788433", "0.57807344", "0.5772023", "0.57630527", "0.575897", "0.57518", "0.5740528", "0.5736468", "0.5727566", "0.5727304", "0.57257795", "0.5725609", "0.5719277", "0.5718148", "0.5708545", "0.57064205", "0.57035595", "0.5702174", "0.57007104", "0.5699865", "0.56995225", "0.56995225", "0.56756413", "0.5662576", "0.5657709", "0.56557107", "0.5655099", "0.56549424", "0.5651015", "0.5651015", "0.5646898", "0.56450117", "0.56439483", "0.5643886", "0.56415623", "0.56330484", "0.5629133", "0.56255376", "0.561458", "0.5609297", "0.56046104", "0.559904", "0.559904", "0.5597781", "0.5597749", "0.5595546", "0.5590042", "0.5585787", "0.558406", "0.5582976", "0.5580311", "0.5579977", "0.5577293", "0.5572243", "0.5564985", "0.55587286" ]
0.81392163
0
Gets the group id.
public Number getGroupId() { return (this.groupId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getGroup_id() {\n return group_id;\n }", "public Long getGroupID()\n {\n return groupID;\n }", "java.lang.String getGroupId();", "java.lang.String getGroupId();", "Integer getGroupId();", "public Integer getGroupId() {\n return (Integer) get(1);\n }", "public long getGroupId() {\n return groupId;\n }", "public int getIdGroup() {\n return idGroup;\n }", "public int getGroupID() {\n return groupID;\n }", "public ID getGroupID() {\n\treturn groupID;\n }", "public Long getGroupId() {\n\t\treturn groupId;\n\t}", "@Override\n\tpublic long getGroupId() {\n\t\treturn model.getGroupId();\n\t}", "@Override\n\tpublic long getGroupId() {\n\t\treturn model.getGroupId();\n\t}", "@Override\n\tpublic long getGroupId() {\n\t\treturn model.getGroupId();\n\t}", "@Override\n\tpublic long getGroupId() {\n\t\treturn _dataset.getGroupId();\n\t}", "public String getGroupId() {\n\t\treturn groupId;\n\t}", "public Long getGroupId() {\n return groupId;\n }", "public int getGroupId() {\n return groupId;\n }", "public int getGroupId() {\n return groupId;\n }", "String getGroupId();", "String getGroupId();", "public Integer getGroupId() {\r\n return groupId;\r\n }", "public Integer getGroupId() {\n return groupId;\n }", "public Integer getGroupId() {\n return groupId;\n }", "UUID getGroupId();", "public String getGroupId() {\n\t\treturn this.groupId;\n\t}", "public long getGroupId();", "public long getGroupId();", "public long getGroupId();", "public long getGroupId();", "public long getGroupId();", "public long getGroupId();", "public long getGroup()\r\n { return group; }", "public String getGroupId()\n {\n return groupId;\n }", "public String getGroupKey() {\n return groupKey;\n }", "@Override\n\tpublic long getGroupId() {\n\t\treturn _changesetEntry.getGroupId();\n\t}", "public String groupId() {\n return this.groupId;\n }", "@Override\n\tpublic long getGroupId() {\n\t\treturn _esfTournament.getGroupId();\n\t}", "@Override\n\tpublic long getGroupId() {\n\t\treturn _paper.getGroupId();\n\t}", "public Long getGroupID() {\n return this.GroupID;\n }", "public int getGroup() {\n return group;\n }", "public short getGroupId() {\n Logger.d(TAG, \"getGroupId() entry getGroupId is \" + mGroupId);\n return mGroupId;\n }", "@Override\n\tpublic long getGroupId();", "@Override\n\tpublic long getGroupId();", "public String getGroupUuid() {\n\t\treturn groupUuid;\n\t}", "@Override\n\tpublic long getGroupId() {\n\t\treturn _dictData.getGroupId();\n\t}", "public int getGroupId() {\n return folderACL.getGroupId();\n }", "public String getGroupKey() {\n return this.GroupKey;\n }", "@Override\n\tpublic long getGroupId() {\n\t\treturn _scienceApp.getGroupId();\n\t}", "@ApiModelProperty(value = \"Unique identifier for the group\")\n @JsonProperty(\"id\")\n public Long getId() {\n return id;\n }", "public Long getAdgroupid() {\r\n return adgroupid;\r\n }", "@Override\n\tpublic long getGroupId() {\n\t\treturn _employee.getGroupId();\n\t}", "@Override\n\tpublic long getGroupId() {\n\t\treturn _second.getGroupId();\n\t}", "public String getGroup ()\n {\n return group;\n }", "public String getGroup ()\n {\n return group;\n }", "public String getGroup() {\n return group;\n }", "public String getGroup() {\n return group;\n }", "public String getGroup() {\n\t\treturn group;\n\t}", "public String getGroup() {\n return this.group;\n }", "@Override\n public long getGroupId() {\n return _partido.getGroupId();\n }", "public String getGroupId() {\n return groupId != null ? groupId : topic;\n }", "public Long getAdGroupId() {\r\n return adGroupId;\r\n }", "public Optional<String> groupInstanceId() {\n return groupInstanceId;\n }", "protected String getGroupId() {\n return getActorPath().name();\n }", "com.google.protobuf.ByteString\n getGroupIdBytes();", "com.google.protobuf.ByteString\n getGroupIdBytes();", "@Override\n\t\tpublic long getGroupId(int groupPosition) {\n\t\t\treturn groupPosition;\n\t\t}", "@Override\n\t\tpublic long getGroupId(int groupPosition) {\n\t\t\treturn groupPosition;\n\t\t}", "Object getGroupID(String groupName) throws Exception;", "public String getSGroupID() {\n return sGroupID;\n }", "public String getClGrpId() {\r\n\t\treturn clGrpId;\r\n\t}", "public String getClGrpId() {\r\n return clGrpId;\r\n }", "@Override\r\n\tpublic long getGroupId(int groupPosition) {\n\t\treturn groupPosition;\r\n\t}", "@Override\r\n\tpublic long getGroupId(int groupPosition) {\n\t\treturn groupPosition;\r\n\t}", "@Override\n\tpublic long getGroupId(int arg0) {\n\t\treturn arg0;\n\t}", "public java.lang.Integer getGroupcode() {\n\treturn groupcode;\n}", "public String getEnrollmentGroupId()\n {\n //SRS_X509RegistrationResultParser_25_011: [ This method shall return the parsed enrollmentGroupId. ]\n return enrollmentGroupId;\n }", "GroupId groupId();", "UUID getNestedGroupId();", "public String getGroupId(String name);", "public List<String> groupIds() {\n return this.groupIds;\n }", "@Override\n\tpublic long getGroupId() {\n\t\treturn _permissionType.getGroupId();\n\t}", "public PeerGroupID getPeerGroupID() {\n return gid;\n }", "public String group() { return group; }", "@Override\n\tpublic long getGroupId(int groupPosition) {\n\t\treturn groupPosition;\n\t}", "@Override\n\tpublic long getGroupId(int groupPosition) {\n\t\treturn groupPosition;\n\t}", "@Override\r\n public long getGroupId(int groupPosition) {\n return groupPosition;\r\n }", "public Integer getgOtherGroupsId() {\n return gOtherGroupsId;\n }", "@Override\n \t\tpublic long getGroupId(int groupPosition) {\n \t\t\treturn groupPosition;\n \t\t}", "Integer givenGroupId();", "public String getGroupKey() {\n StringWriter sw = new StringWriter();\n writeGroupKey(sw);\n return sw.toString();\n }", "public String getUserGroupId() {\r\n return userGroupId;\r\n }", "public String getGroup() {\n return groupName;\n }", "public int getObjectID(){\n\t\treturn _groupNodeData.getObjectID();\n\t}", "public Long getNextGroupId() {\n return nextGroupId;\n }", "public Group groupid(String id)\n\t{\n\t\tList<Element> list = filter(p -> p instanceof Group && p.getid().equals(id));\n\t\t\n\t\tif (list != null && list.size() > 0)\n\t\t{\n\t\t\tif (list.size() > 1) {\n\t\t\t\tSystem.out.println(\"Warning: IDs should not duplicate. You have multiple #\" + id);\n\t\t\t\tSystem.out.println(\"Warning: Returning first of many groups with duplicate IDs\");\n\t\t\t}\n\t\t\t\n\t\t\treturn (Group) list.get(0);\n\t\t}\n\t\telse return null;\n\t}", "Group getGroupById(String id);", "public long getFileGroupId();", "@Override\n public long getGroupId(int groupPosition) {\n return groupPosition;\n }", "@Override\n public long getGroupId(int groupPosition) {\n return groupPosition;\n }" ]
[ "0.81456995", "0.7803927", "0.7733875", "0.7733875", "0.77185756", "0.7708337", "0.7657846", "0.7629085", "0.76216346", "0.7616358", "0.76016754", "0.7566604", "0.7566604", "0.7566604", "0.75550663", "0.7528959", "0.75259805", "0.7523567", "0.7523567", "0.75134164", "0.75134164", "0.7499411", "0.7489953", "0.7489953", "0.74867964", "0.7460803", "0.745586", "0.745586", "0.745586", "0.745586", "0.745586", "0.745586", "0.7440081", "0.741301", "0.73212945", "0.73159134", "0.72987545", "0.72835857", "0.7280932", "0.7271524", "0.72704184", "0.72637576", "0.72587246", "0.72587246", "0.722592", "0.7221101", "0.7114278", "0.7065006", "0.7055241", "0.70548606", "0.70057917", "0.69942206", "0.69874775", "0.6957874", "0.6957874", "0.693875", "0.693875", "0.69237196", "0.69098735", "0.69013935", "0.688241", "0.68413955", "0.68355113", "0.6808202", "0.68073833", "0.68073833", "0.68050593", "0.68050593", "0.68037015", "0.67849684", "0.6760289", "0.67480624", "0.67288846", "0.67288846", "0.6713673", "0.67114973", "0.6708431", "0.67056805", "0.6703387", "0.67009264", "0.6696342", "0.66801405", "0.66666305", "0.6658514", "0.66486996", "0.66486996", "0.66288704", "0.6618187", "0.66050667", "0.6594638", "0.65931267", "0.659179", "0.6570068", "0.655867", "0.65507454", "0.6544246", "0.65426636", "0.65305066", "0.6516889", "0.6516889" ]
0.76087964
10
Returns true if the torrent has a cue.
public boolean hasCue() { return hasCue; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isSetCaption()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(CAPTION$0) != 0;\n }\n }", "public boolean hasC() {\n return c_ != null;\n }", "public boolean hasTracks() {\n for (Mounted mEquip : getMisc()) {\n MiscType mtype = (MiscType) mEquip.getType();\n if (mtype.hasFlag(MiscType.F_TRACKS)) {\n // The Mek has tracks\n return true;\n }\n }\n return false;\n }", "boolean hasC3();", "public boolean hasPiece()\r\n\t{\r\n\t\treturn piece != null;\r\n\t}", "public boolean isVideoCoverPresent(){\r\n\t\t return isElementPresent(videoCover(), MEDIUMWAIT);\r\n\t}", "boolean hasContKey();", "public boolean hasHeartBeatMsg() {\n return msgCase_ == 3;\n }", "public boolean isConnected() {\n return (chord != null);\n }", "public boolean hasHeartBeatMsg() {\n return msgCase_ == 3;\n }", "public final boolean wasInterrupted() {\n Object obj = this.value;\n return (obj instanceof zzc) && ((zzc) obj).wasInterrupted;\n }", "boolean hasAsset();", "public boolean hasHeartBeatResponse() {\n return msgCase_ == 4;\n }", "public boolean hasContKey() {\n return ((bitField0_ & 0x00000100) == 0x00000100);\n }", "public boolean hasContKey() {\n return ((bitField0_ & 0x00000100) == 0x00000100);\n }", "public boolean isAcid() {\n return hasBase || deltas.size() > 0;\n }", "boolean hasTrickEndedResponse();", "public boolean isEnCours() {\n\t\tLocalDate date = LocalDate.now();\n\t\tif (date.plusDays(1).isAfter(dateDebut) && date.isBefore(dateFin)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public boolean isCaught() {\n\t\tboolean temp = pokemon.catchCheck();\n\t\tif (temp) {\n\t\t\ttrainer.addPokemon(pokemon);\n\t\t}\n\t\treturn temp;\n\t}", "public boolean hasHeartBeatResponse() {\n return msgCase_ == 4;\n }", "boolean hasC();", "@Override\n public boolean isChapter() {\n return getType() == BlockType.CHAPTER;\n }", "boolean hasCaz();", "public boolean isEnCoursPreparation() {\n\t\treturn getStatut().equals(StatusBonPreparation.EN_COURS_PREPARATION);\n\t}", "public boolean hasTutorial() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean hasControl() throws IllegalStateException\n {\n return audioEffect.hasControl();\n }", "@Override\n\tpublic boolean contains(Charset cs) {\n\t\treturn false;\n\t}", "public boolean hasTutorial() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "@java.lang.Override\n public boolean hasChulaId() {\n return chulaId_ != null;\n }", "public boolean isChemical() {\n return chemical;\n }", "public boolean hasCaz() {\n return caz_ != null;\n }", "public boolean istKorrupt() {\n\t\tif (this.korrupt) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean hasPlayerInfo()\n {\n return this.getPlayerInfo() != null;\n }", "boolean hasCampaignAsset();", "public boolean isDone()\n {\n return (this.elapsed >= this.duration);\n }", "public boolean isCovered() {\r\n\t\treturn isCovered;\r\n\t}", "public boolean isC() {\n return c;\n }", "public boolean hasC3() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean isSetCancelTime() {\n return this.cancelTime != null;\n }", "public boolean checkForAce() {\n\t\thandIterator = new HandIterator(hand.getCards());\n\t\twhile (handIterator.hasNext()) {\n\t\t\tCard card = (Card) handIterator.next();\n\t\t\tif (card.getCardName().equals(\"A\"))\n\t\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public boolean hasC3() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "boolean hasFairplay();", "@Override\n\tpublic boolean isFinished() {\n\t\treturn (this.timeRemaining == 0);\n\t}", "public boolean hasPlaySeconds() {\n return fieldSetFlags()[3];\n }", "@Override\n public boolean isChasingPlayer()\n {\n return(chasingPlayer);\n }", "boolean hasPlaySingleCardResponse();", "public boolean hasCharacteristicDescription() {\n return characteristicDescription_ != null;\n }", "public boolean hasC() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "@java.lang.Override\n public boolean hasFairplay() {\n return fairplay_ != null;\n }", "public boolean hasCertificate() {\n return certificate_ != null;\n }", "boolean hasDuration();", "public boolean hasClip() {\n return (mClipboardManager.getTextFromClipboard() != null);\n }", "public boolean hasNonce() {\n return nonce_ != null;\n }", "public boolean isHeads() {\n return (face == 0);\n }", "public boolean hasC() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "public boolean isSetFileCont()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(FILECONT$2) != 0;\n }\n }", "public boolean hasBeenStarted() {\n return getLastAnswer() != null;\n }", "boolean hasDecodedAudioTimeoutMs();", "boolean hasDecodedAudioTimeoutMs();", "@java.lang.Override\n public boolean hasPlayready() {\n return playready_ != null;\n }", "private static boolean isAccented(Item item) {\n\t\treturn (item.getFeatures().isPresent(\"accent\") || item.getFeatures().isPresent(\"endtone\"));\n\t}", "public Boolean isLevelBeat() {\r\n\t\tif (this.coinCount == 0)\r\n\t\t\treturn true;\r\n\t\treturn false;\r\n\t}", "public boolean isCactus() {\n return this.type == Type.CACTUS;\n }", "public boolean isSmartCover() {\r\n ScoverState coverState = getCoverState();\r\n return coverState != null && coverState.type == 255;\r\n }", "boolean hasFaceUp();", "public boolean isCounting() {\n assert startTime != -1;\n return System.currentTimeMillis() - startTime <= durationMillis;\n }", "public boolean hasEyes() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }", "public boolean hasEyes() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }", "public boolean hasAck() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }", "boolean hasPlayready();", "public final boolean isHandshakeComplete() {\n return handshakeComplete;\n }", "boolean hasByte();", "boolean hasHeartBeatMsg();", "public boolean canOfferInsurance() {\n\t\treturn this.hand.getCards().get(0) == Card.ACE;\n\t}", "boolean isSoundPlaying() {\n return (audioTrack.getPlayState() == AudioTrack.PLAYSTATE_PLAYING);\n }", "@Test\r\n\tpublic void testAddCueListener() {\r\n\t\tMockCueListener cueListener = new MockCueListener();\r\n\t\tworkspace.addCueListener(cueListener);\r\n\t\tcontent.addDefaultNode(node2);\r\n\r\n\t\tworkspace.cueEpisodicMemories(content);\r\n\r\n\t\tNodeStructure ns = cueListener.ns;\r\n\t\tassertNotNull(ns);\r\n\t\tassertTrue(ns.containsNode(node2));\r\n\t}", "public boolean hasInstant() {\n return instant_ != null;\n }", "public boolean hasCampaignDescription() {\n return campaignDescription_ != null;\n }", "public boolean mo29013c() {\n ValueAnimator valueAnimator = this.f19137e;\n return valueAnimator != null && valueAnimator.isStarted();\n }", "boolean hasCertificate();", "public boolean isSetCiphertext() {\n return this.ciphertext != null;\n }", "public boolean isChiefCaptured(){\n Chief chief = establishChief();\n return chief == null;\n }", "public boolean hasCaptured() {\n //YOUR CODE HERE\n\t return pieceCaptured;\n }", "public boolean hasAck() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }", "public boolean isConsequenceReady() {\r\n\t\treturn ((this.newConsequence != null) &&\r\n\t\t\t\t(this.newConsequence.getRelatedRule() != null));\r\n\t}", "protected boolean isFinished() {\r\n if (lineHasBeenFound) {\r\n lineTrackTime = System.currentTimeMillis();\r\n }\r\n if(System.currentTimeMillis()-lineTrackTime > 4000){\r\n return true;\r\n }\r\n return false;\r\n }", "public boolean isFaceUp(){\r\n return(getImage() == CardFaceUp);\r\n }", "public boolean hasFollowUp() \n {\n return followUp.equals(Constants.CLOSE);\n }", "public boolean hasCounter() {\n return counter_ != null;\n }", "public boolean hasTC() {\n return fieldSetFlags()[18];\n }", "boolean hasVideo();", "public boolean hasEnded() {\n\t\treturn ended;\n\t}", "public boolean mo9262k() {\n return this.f1300c != null;\n }", "public boolean isCauldron() {\n return this.type == Type.CAULDRON;\n }", "public boolean hasCause() {\n return cause != null;\n }", "public boolean hasAdCampaign() {\n return (!tozAdCampaign.isEmpty());\n }", "public static boolean hasAsset(Asset asset) {\n \t\treturn hasAsset(asset.getId());\n \t}", "@java.lang.Override\n public boolean hasMpegCenc() {\n return encryptionModeCase_ == 6;\n }", "public boolean hasTick();", "public boolean hasCurHP() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }" ]
[ "0.5771072", "0.57570016", "0.5698794", "0.56227624", "0.56138396", "0.5609501", "0.55570364", "0.54966855", "0.544254", "0.5438287", "0.54273015", "0.5420291", "0.5418642", "0.54134506", "0.5410703", "0.541011", "0.5391058", "0.5374695", "0.5366404", "0.53606534", "0.53365284", "0.5318231", "0.5295408", "0.52832484", "0.5272627", "0.5268821", "0.52683693", "0.5263061", "0.52625954", "0.5258598", "0.52540606", "0.52506745", "0.52434134", "0.5236738", "0.52259266", "0.5217819", "0.52077943", "0.51963526", "0.5193117", "0.517938", "0.5175264", "0.51686835", "0.51676226", "0.51660484", "0.51619226", "0.51484305", "0.51475334", "0.5143864", "0.5134705", "0.5131094", "0.5129763", "0.5119692", "0.51176095", "0.51164186", "0.5115606", "0.511319", "0.51094747", "0.5107033", "0.5107033", "0.51061976", "0.5103036", "0.5102764", "0.5098073", "0.5097216", "0.5096337", "0.5095202", "0.50867337", "0.5085376", "0.5078595", "0.50772446", "0.50772107", "0.50770336", "0.50759196", "0.50706065", "0.5068855", "0.5058839", "0.505715", "0.50569516", "0.50556654", "0.5054261", "0.50525534", "0.5051414", "0.50505865", "0.50487643", "0.5048525", "0.5046789", "0.50411177", "0.50391036", "0.5032997", "0.5032616", "0.5032537", "0.50313866", "0.50303537", "0.5025461", "0.5023223", "0.5022021", "0.5012825", "0.500777", "0.50071275", "0.50069016" ]
0.814778
0
Returns true if torrent has a log.
public boolean hasLog() { return hasLog; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isLog()\n\t{\n\t\treturn log;\n\t}", "public static boolean log() {\n\t\tif ((xml == null) || (log == null)) return false;\n\t\treturn log.equals(\"yes\");\n\t}", "public boolean isLogTime() {\n return logTime;\n }", "public boolean isSetLogInfo() {\n return this.LogInfo != null;\n }", "public boolean isSetLogInfo() {\n return this.LogInfo != null;\n }", "public boolean isSetLogInfo() {\n return this.LogInfo != null;\n }", "public boolean isSetLogInfo() {\n return this.LogInfo != null;\n }", "public boolean isLogging();", "public boolean hasLogs(String userId) {\n int count = getLogsCount(userId);\n\n if (count == 0)\n return false;\n else\n return true;\n }", "public boolean hasErrorLog() {\n return result.hasErrorLog();\n }", "static public boolean isLogging()\n {\n return GetInstance().m_bLog;\n }", "public boolean isLogData() {\n\t\treturn this.logData;\n\t}", "public boolean add( TPMTransportLogEntry logEntry )\r\n {\n return log.add( logEntry );\r\n }", "public boolean hasResponseLog() {\n return result.hasResponseLog();\n }", "public static boolean present (String logMessage) {\n\n\t\t// Add the message if logging is enabled. \n\t\tif (logging) {\n\t\t\ttrail.append(logMessage);\n\t\t}\n\n\t\t// Return whether the logging actually occurred.\n\t\treturn logging;\n\n\t}", "boolean hasBattleLogID();", "public boolean addLog(LogBean log) {\n\t\treturn ld.addLog(log);\n\t}", "public static boolean isLogEnabled() {\n return mLogEnabled;\n }", "public boolean isLoggable() {\r\n\t\tif (logger == null) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn logger.isLoggable(level)\r\n\t\t\t\t|| PerformanceLogger.isEnabled();\r\n\t}", "public static boolean presentLine (String logMessage) {\n\n\t\t// Add the message if logging is enabled. \n\t\ttry {\n\t\t\tif (logging) {\n\t\t\t\ttrail.append(logMessage + \"\\n\");\n\t\t\t\tSystem.out.println(logMessage);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t}\n\n\t\t// Return whether the logging actually occurred.\n\t\treturn logging;\n\n\t}", "private boolean isLoggable() {\n return Log.isLoggable(tag, level);\n }", "public static Boolean getShowlog()\n\t{\n\t\treturn showlog;\n\t}", "public boolean logging() {\n\treturn logging;\n }", "public boolean isShowLogging() {\n return showLogging;\n }", "protected void checkLog() {\n String keyword = \"Connected controllable Agent to the Introscope Enterprise Manager\";\n LogUtils util = utilities.createLogUtils(umAgentConfig.getLogPath(), keyword);\n assertTrue(util.isKeywordInLog());\n\t}", "public boolean checklogin() {\n\t\treturn (pref.getBoolean(\"isLog\", false));\n\t}", "public boolean enabled()\n {\n return binLog != null;\n }", "public boolean m16923b() {\n return this.f14943b.getInt(\"is_upload_err_log\") == 0;\n }", "@Override\r\n\tpublic boolean isLoggable(LogRecord record) {\n\t\treturn false;\r\n\t}", "public boolean isLoggable() {\n return (FINE >= getLevel());\n }", "public static String getLog() {\n\t\tif ((xml == null) || (log == null) || !log.equals(\"yes\")) return \"no\";\n\t\treturn \"yes\";\n\t}", "@Override\n\tpublic boolean isAlive() {\n\t\tif(unitList.size()==0) {\n\t\t\tlogger.close();\n\t\t\treturn false;\n\t\t}\n\t\telse\n\t\t\treturn true;\n\t}", "public boolean logInfo()\r\n {\r\n return infoLevelHandler.getBoolean();\r\n }", "public boolean isLogResponseContent() {\n return logResponseContent;\n }", "public boolean addChatLog(ChatLog cl)\n\t{\n\t\treturn chatLog.add(cl);\n\t}", "public boolean isLogdateInitialized() {\n return logdate_is_initialized; \n }", "public boolean isLog2Data();", "public boolean isUsefulReport() {\n if (metadata_ == null) {\n return false;\n }\n return capturedLogContent_ != null && !capturedLogContent_.isEmpty();\n }", "public static boolean isLogged() {\n\t\treturn \"1\".equals(MemberSessionFacade.getAttribute(ConfigKeys.LOGGED));\n//\t\treturn \"1\".equals(ControllerUtils.getCookie(ConfigKeys.LOGGED));\n\t}", "boolean log(String msg) {\n String name = \"log_peer[\" + id + \"]\" + \".log\";\n java.util.Date date = new java.util.Date();\n Timestamp ts = new Timestamp(date.getTime());\n msg = \"[\" + ts + \"]: \" + msg;\n try (PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(name, true)))) {\n out.println(msg);\n } catch (IOException e) {\n //exception handling left as an exercise for the reader\n System.out.println(e);\n return false;\n }\n return true;\n }", "public boolean writeLogFile(){\n try {\n Log.i(LOG_TAG, \"Re-writing session log file:\");\n FileOutputStream outputStream = openFileOutput(logFileName, Context.MODE_PRIVATE);\n for (SessionLog item : sessionLogList){\n outputStream.write(item.toLogLine(false).getBytes());\n Log.i(LOG_TAG, \" - \"+item.toLogLine(false));\n }\n outputStream.close();\n Log.i(LOG_TAG, \"Wrote session log to file.\");\n } catch (Exception e) {\n e.printStackTrace();\n return false;\n }\n return true;\n }", "public static boolean loggerIsInitialized() {\r\n\t\treturn loggerIsInitialized;\r\n\t}", "public boolean isLoggingEnabledNow() {\n return this.decider.isLoggingEnabledNow();\n }", "public boolean isLogged() {\n return _logged;\n }", "public static boolean add(String logMessage) {\n\n\t\t// Take care just in case nasty stuff happens adding to the file. \n\t\ttry {\n\t\t\ttrail.append(logMessage);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\n\t}", "public boolean isLoggable() {\n return loggable;\n }", "public boolean containsVerboseLogs() throws ServiceFailureException;", "public boolean isInfoLoggingOn() {\n return verbose || !quiet;\n }", "@Override public boolean isLoggable() {\n\t\treturn this.loggable;\n\t}", "private boolean hasTrackingPlane() {\n for (Plane plane : session.getAllTrackables(Plane.class)) {\n if (plane.getTrackingState() == TrackingState.TRACKING) {\n return true;\n }\n }\n return false;\n }", "public boolean isLoggingActions() {\r\n\t\t\treturn loggingActions;\r\n\t\t}", "public boolean isLoggingEnabled() {\n return !Level.OFF.equals(getLogLevel());\n }", "public boolean isFinerLoggable() {\n return logger.isLoggable(Level.FINER);\n }", "public void setLog(boolean log) {\n this.log = log;\n }", "private boolean isDistributedLogReplay(Configuration conf) {\n return false;\n }", "public boolean logVerbose()\r\n {\r\n return verboseLevelHandler.getBoolean();\r\n }", "public void setLogTime(boolean logTime) {\n this.logTime = logTime;\n }", "public static boolean addLine(String logMessage) {\n\n\t\t// Take care just in case nasty stuff happens adding to the file.\n\t\ttry {\n\t\t\ttrail.append(logMessage + '\\n');\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\n\t}", "public boolean logErrors()\r\n {\r\n return errorLevelHandler.getBoolean();\r\n }", "public boolean isSetReferralLogId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __REFERRALLOGID_ISSET_ID);\n }", "public void setLog(boolean log)\n {\n this.log = log;\n }", "public void log(boolean log) {\n this.log = log;\n }", "@Override\n public boolean isopen( )\n {\n return logfile != null && out != null;\n }", "public Boolean getLogged() {\n\t\treturn logged.get();\n\t}", "public boolean hasLogin() {\n return login_ != null;\n }", "boolean appendEntry(final LogEntry entry);", "public static boolean isActivateConsoleLog() {\r\n\t\treturn activateConsoleLog;\r\n\t}", "private boolean logContainsTimestamp(long timestamp,String filename) {\n\t\tBufferedReader br = null;\n\t\tBathMoniterEvent ev= new BathMoniterEvent();\n\t\ttry {\n\t\t\tString sCurrentLine;\n\t\t\tbr = new BufferedReader(new FileReader(filename));\n\n\t\t\tbr.readLine();// read the formatting data at the top\n\t\t\twhile ((sCurrentLine = br.readLine()) != null) {\n\t\t\t\ttry{\n\t\t\t\t\tev.setData(sCurrentLine);\n\t\t\t\t\tif(ev.getTimestamp() == timestamp)\n\t\t\t\t\t\treturn true;\n\t\t\t\t}catch(Exception e){\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n \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\t\treturn false;\n\t}", "public boolean isLogdateModified() {\n return logdate_is_modified; \n }", "public boolean isTrackable(String route) {\n ServiceDef service = registry.get(route);\n return service != null && service.isTrackable();\n }", "public boolean isInfoLoggable() {\n return logger.isLoggable(Level.INFO);\n }", "public boolean isConfigLoggable() {\n return logger.isLoggable(Level.CONFIG);\n }", "public boolean isSetReferralLogIds() {\n return this.referralLogIds != null;\n }", "public static boolean isAuditEnabled() {\n\n return debugLogger.isInfoEnabled();\n }", "private boolean logAndReturnTrue(String errorMessage) {\n if (log.isDebugEnabled()) {\n log.debug(errorMessage);\n }\n return true;\n }", "public boolean isLog4JAvailable() {\n return isLogLibraryAvailable(\"Log4J\", LOGGING_IMPL_LOG4J_LOGGER);\n }", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof Log)) {\r\n return false;\r\n }\r\n Log other = (Log) object;\r\n if ((this.logId == null && other.logId != null) || (this.logId != null && !this.logId.equals(other.logId))) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isFinestLoggable() {\n return logger.isLoggable(Level.FINEST);\n }", "private static void _logInfo ()\n {\n System.err.println (\"Logging is enabled using \" + log.getClass ().getName ());\n }", "public boolean checkTamper()\n\t{\n\t\tboolean isDone = false;\n\t\tVector<Resource> allResources = new Vector<Resource>();\n\t\tResource resourceJournal = new Resource(DEFAULT_JOURANAL_LOG_FILE, JOURNAL_LOG_FILE_TYPE, JOURNAL_LOG_FILE_ID, FileDownload.DEFAULT_LOG_FOLDER, DEFAULT_JOURANAL_LOG_FILE_EXT);\n\t\tResource resourcePinpad = new Resource(DEFAULT_PINPAD_LOG_FILE, PINPAD_LOG_FILE_TYPE, PINPAD_LOG_FILE_ID, FileDownload.DEFAULT_LOG_FOLDER, DEFAULT_PINPAD_LOG_FILE_EXT);\n\t\tallResources.add(resourceJournal);\n\t\tallResources.add(resourcePinpad);\n\t\tif(FileDownload.getInstance().startDownload(allResources, false))\n\t\t{\n\t\t\tFile journal = new File(FileDownload.DEFAULT_LOG_FOLDER + \"//JOURNAL.log\");\n\t\t\tFile pinpad = new File (FileDownload.DEFAULT_LOG_FOLDER + \"//PINPAD_HIST\");\n\t\t\tDate firstDate=null;\n\t\t\tif(journal.exists())\n\t\t\t{\n\t\t\t\t/*First read the JOURNAl file and find the >>>>>> START DATE*/\t\t\t\n\t\t\t\tfirstDate = ParsePinPadLogsFile.getInstance().deviceLastStartDate(resourceJournal.getLogFilePath());\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfirstDate = downloadJournalHist();\n\t\t\t}\n\t\t\tif(pinpad.exists())\n\t\t\t{\n\t\t\t\t/*Get the current date which is as last date here*/\n\t\t\t\tDate lastDate = currentDateofSystem();\n\t\t\t\tFile currFile = new File(resourcePinpad.getLogFilePath() );\n\t\t\t\tFile DestDirFolder = new File(FileDownload.DEFAULT_LOG_FOLDER);\n\t\t\t\tFileCompression.getInstance().uncompress(currFile, DestDirFolder);\n\t\t\t\tFile uncompressFilesDirectory = new File(FileDownload.DEFAULT_LOG_FOLDER +\"//gilbarco//logs\");\n\t\t\t\tParsePinPadLogsFile.getInstance().logByDateAction(uncompressFilesDirectory.toString(),firstDate,lastDate);\n\t\t\t\tif(uncompressFilesDirectory.length()!=0)\n\t\t\t\t{\n\t\t\t\t\tParsePinPadLogsFile.getInstance().unZipExtractedTarFiles(uncompressFilesDirectory, \".txt\");\n\t\t\t\t\tisTampered = ParsePinPadLogsFile.getInstance().searchKeyWord(uncompressFilesDirectory,DEFAULT_KEYWORD_TAMPER);\n\t\t\t\t}\n\t\t\t\tif(isTampered)\n\t\t\t\t{\n\t\t\t\t\tstatusMsg = \"tampered\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tstatusMsg = \"not tampered\";\n\t\t\t\t}\n\t\t\t\tisDone = true;\n\t\t\t\tEdtFileUtil.delete(DestDirFolder, true);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tlogger.info(\"Pinpad and journal logs download failed\");\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tlogger.info(\"Pinpad and journal logs download failed\");\n\t\t}\n\t\tlogger.info(\"Parsing pinpad logs process completed\");\n\t\treturn isDone;\n\t\t\n\t}", "public boolean hasEntries(){\n\t\treturn ! errorList.isEmpty();\n\t}", "public Logger exists(String name) {\n\t\treturn this.hierarchy.exists(name);\n\t}", "public synchronized boolean isLoggingFeatureEnabled(){\n\t\treturn isLoggingFeatureEnabled;\n\t}", "public synchronized boolean isRecording() {\n return mRecorder != null;\n }", "public boolean hasInfos(){\n return infos != null;\n }", "public abstract boolean passes(LogRecord logRecord);", "public boolean hasFlightdetails() {\n return flightdetails_ != null;\n }", "private boolean isPackValid() {\n\t\treturn (logData != null\n\t\t\t\t&& logData.entries != null\n\t\t\t\t&& logData.entries.size() > 1);\n\t}", "private boolean alreadyStarted() {\n\t\treturn this.buffer.length() > 0;\n\t}", "public boolean isBrowserSideLog() {\n return browserSideLog;\n }", "public static boolean isEnabled() {\n return log.isTraceEnabled();\n }", "public boolean hasScriptRun() {\n return scriptHistory != null && scriptHistory.isRan();\n }", "private boolean shouldSendNetworkLoggingNotificationLocked() {\n ensureLocked();\n // Send a network logging notification if the admin is a device owner, not profile owner.\n final ActiveAdmin deviceOwner = getDeviceOwnerAdminLocked();\n if (deviceOwner == null || !deviceOwner.isNetworkLoggingEnabled) {\n return false;\n }\n if (deviceOwner.numNetworkLoggingNotifications\n >= ActiveAdmin.DEF_MAXIMUM_NETWORK_LOGGING_NOTIFICATIONS_SHOWN) {\n return false;\n }\n final long now = System.currentTimeMillis();\n if (now - deviceOwner.lastNetworkLoggingNotificationTimeMs < MS_PER_DAY) {\n return false;\n }\n deviceOwner.numNetworkLoggingNotifications++;\n if (deviceOwner.numNetworkLoggingNotifications\n >= ActiveAdmin.DEF_MAXIMUM_NETWORK_LOGGING_NOTIFICATIONS_SHOWN) {\n deviceOwner.lastNetworkLoggingNotificationTimeMs = 0;\n } else {\n deviceOwner.lastNetworkLoggingNotificationTimeMs = now;\n }\n saveSettingsLocked(deviceOwner.getUserHandle().getIdentifier());\n return true;\n }", "boolean hasTelemetry();", "public boolean hasTimestamp() {\n return timestamp_ != null;\n }", "boolean hasTraceTag();", "boolean hasStartingInfo();", "@SuppressWarnings(\"deprecation\")\n\tprivate boolean maybeSideTracked(Block block) {\n\t\tif (Material.LOG.equals(block.getType()) && block.getData() == 3) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean getDataLogging () {\n return dataLogging;\n }", "public boolean hasGetUserHistory() {\n return getUserHistory_ != null;\n }" ]
[ "0.7250816", "0.72038305", "0.6734786", "0.66830295", "0.66830295", "0.66830295", "0.66830295", "0.6509775", "0.65016", "0.64689344", "0.64419454", "0.637393", "0.63012046", "0.6264423", "0.6238359", "0.6147481", "0.6132554", "0.6125652", "0.61040956", "0.6066634", "0.6016002", "0.59820175", "0.5971006", "0.59602714", "0.5934367", "0.59306407", "0.59018576", "0.58784205", "0.5875752", "0.57357407", "0.57247543", "0.5700423", "0.56827563", "0.5668742", "0.5664822", "0.5660777", "0.5644582", "0.5633985", "0.56335175", "0.56114966", "0.5591039", "0.5581481", "0.5561627", "0.55453706", "0.55371094", "0.5525477", "0.551486", "0.54871863", "0.5396418", "0.5393377", "0.5387511", "0.5383463", "0.5363103", "0.5359442", "0.53579336", "0.53281194", "0.5328075", "0.5325014", "0.5321796", "0.53184843", "0.53166217", "0.5302187", "0.52788407", "0.5271447", "0.5268629", "0.5257756", "0.5252307", "0.5243341", "0.52275395", "0.52257717", "0.5216205", "0.52127814", "0.52117044", "0.5193806", "0.5192128", "0.519022", "0.5174869", "0.51741266", "0.51626575", "0.51522875", "0.5150039", "0.51356435", "0.51223207", "0.5118898", "0.51115245", "0.5106456", "0.51060337", "0.51040506", "0.51017576", "0.51001245", "0.5085536", "0.5084053", "0.50774443", "0.5069306", "0.5067131", "0.5066279", "0.5059477", "0.50578004", "0.50538963", "0.5051512" ]
0.78011906
0
Gets the log score.
public Number getLogScore() { return this.logScore; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getScore() {\n return getStat(score);\n }", "public static int getScore()\n {\n return score;\n }", "public static int getScore()\r\n\t{\r\n\t\treturn score;\r\n\t}", "public static int getScore()\n\t{\n\t\treturn score;\n\t}", "public long getScore() {\n return score_;\n }", "public long getScore() {\n return score_;\n }", "public long getScore() {\n return score_;\n }", "public long getScore() {\n return score_;\n }", "long getScore();", "long getScore();", "long getScore();", "long getScore();", "public int score() {\n return score;\n }", "Float getScore();", "public static int getScore(){\n return score;\n }", "public double getScore() {\r\n return score;\r\n }", "float getScore();", "float getScore();", "public double getScore() {\n\t\t\treturn this.score;\n\t\t}", "public Long getScore() {\n return score;\n }", "@Override\r\n\tpublic double getScore() {\n\t\treturn score;\r\n\t}", "public Double getScore() {\n return this.score;\n }", "public Double getScore() {\n return this.score;\n }", "public java.lang.Integer getScore () {\r\n\t\treturn score;\r\n\t}", "public final int getScore() {\n\t\treturn score;\n\t}", "public int getScore()\r\n\t{\r\n\t\treturn score;\r\n\t}", "public int getScore()\r\n\t{\r\n\t\treturn score;\r\n\t}", "public int getScore() {\n return score;\n }", "public int getScore() {\n return score;\n }", "public int getScore() {\n return score;\n }", "public int getScore() {\r\n return score;\r\n }", "public int getScore() {\r\n return score;\r\n }", "public int getScore() {\r\n return score;\r\n }", "public Float getScore() {\n return score;\n }", "public double getScore() {\r\n return mScore;\r\n }", "public float getScore() {\n return score;\n }", "public double getScoreForLCS() {\n return scoreForLCS;\n }", "public Integer getScore() {\n return score;\n }", "public int getScore() {\n\t\treturn (score);\n\t}", "public int getScore(){\r\n\t\treturn score;\r\n\t}", "public int getScore(){\r\n\t\treturn score;\r\n\t}", "public float getScore() {\n\t\treturn score;\n\t}", "public float getScore() {\r\n\t\treturn score;\r\n\t}", "int getScore();", "public Integer getScore() {\r\n return score;\r\n }", "public int getScore()\n {\n return score;\n }", "public int getScore(){\n\t\treturn score;\n\t}", "public int getScore(){\n\t\treturn score;\n\t}", "public int getScore() {\r\n \treturn score;\r\n }", "@Override\r\n\tpublic double getScore() \r\n\t{\r\n\t\treturn this._totalScore;\r\n\t}", "public int getScore()\n {\n int score;\n if (this.isFinal())\n score = 1;\n else\n score = 0;\n return score;\n }", "public int getScore() {\r\n\t\treturn score;\r\n\t}", "public int getScore() {\r\n\t\treturn score;\r\n\t}", "public java.lang.Float getScore () {\n\t\treturn score;\n\t}", "public int getScore ()\r\n {\r\n\treturn score;\r\n }", "public int getScore() {\n\t\treturn score;\n\t}", "public int getScore() {\n\t\treturn score;\n\t}", "public int getScore() {\n\t\treturn score;\n\t}", "public int getScore() {\n\t\treturn score;\n\t}", "public int getScore() {\n\t\treturn score;\n\t}", "public int getScore() {\n\t\treturn score;\n\t}", "public abstract float getScore();", "public int getScore() {\n return this.score;\n }", "int getScoreValue();", "int getScore() {\n return score;\n }", "public int getScore()\n\t{\n\t\treturn this.score;\n\t}", "public int getScore() { return score; }", "@Override\n\tpublic double getTotalScore() {\n\t\treturn score;\n\t}", "public int getScore() {\n return currentScore;\n }", "public int getScore(){\n\t\treturn this.score;\n\t}", "public int getScore(){\n\t\treturn this.score;\n\t}", "public int getScore()\n {\n return currentScore;\n }", "@Override\n public int getScore() {\n return score;\n }", "public int getCurrentScore() {\n return currentScore;\n }", "public int getScore() {\n\t\treturn this.ScoreValue;\n\t}", "public int getScore() {\n\t\treturn this.score;\n\t}", "public Score getScore() {\n\t\treturn score;\n\t}", "@Override\n public int getScore() {\n return totalScore;\n }", "public int getScore() {return score;}", "public int getTotalScore() {\r\n return totalScore;\r\n }", "public int getScore () {\n return mScore;\n }", "public long getScore(int x)\n {\n return score[x];\n }", "public int totalScore() {\n return 0;\n }", "public Double getTotalScore() {\n return totalScore;\n }", "public int getScore()\n {\n // put your code here\n return score;\n }", "public int getTotalScore(){\r\n return totalScore;\r\n }", "public double getTotalScore() {\n\t return this.totalScore;\n\t }", "public int getTotalScore() {\n\t\tLoadingDatabaseTotalScore();\n\t\treturn totalScore;\n\t}", "public double getScore() {\n return score - penalty;\n }", "public int getScore() {\n int totalScore = 0;\n for (Frame current : frames) {\n totalScore += current.getScore();\n }\n return totalScore;\n }", "public int getTotalScore(){\n return totalScore;\n }", "int getHighScore() {\n return getStat(highScore);\n }", "int score();", "int score();", "public int getScore()\n {\n return points + extras;\n }", "public double getScore() {\n double compositeScore = this.normaliseViewingTime();\n if (this.normalisedRating > 0) {\n compositeScore *= this.normalisedRating;\n }\n else {\n compositeScore *= ((double)RANGE / (double)2) / (double)RANGE;\n }\n return compositeScore;\n }", "public double getScoreForLD() {\n return scoreForLD;\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Integer getScore();", "public int getScore(){\n \treturn 100;\n }", "public Double getTotalScore() {\n return getExperienceTime() * 1.5 + meanGPA();\n }" ]
[ "0.7175312", "0.7163419", "0.70976907", "0.7090408", "0.70790267", "0.70790267", "0.7033806", "0.7033806", "0.7008338", "0.7008338", "0.7008338", "0.7008338", "0.6971925", "0.695478", "0.69530135", "0.69248164", "0.6915749", "0.6915749", "0.6878305", "0.6842681", "0.6837025", "0.680039", "0.680039", "0.6788008", "0.67796606", "0.67788213", "0.67788213", "0.677083", "0.6759242", "0.6759242", "0.6749102", "0.6749102", "0.6749102", "0.674152", "0.67353106", "0.67244905", "0.67174286", "0.6717287", "0.67151326", "0.66994613", "0.66994613", "0.66989803", "0.66976374", "0.6690416", "0.66886204", "0.66835004", "0.668147", "0.668147", "0.668065", "0.6679416", "0.6668165", "0.6667464", "0.6667464", "0.665376", "0.66372335", "0.6634479", "0.6634479", "0.6634479", "0.6634479", "0.6634479", "0.6634479", "0.6630717", "0.66088337", "0.6598708", "0.6591577", "0.65729666", "0.6563965", "0.6560188", "0.6558734", "0.6556469", "0.6556469", "0.6555135", "0.65522903", "0.6519585", "0.6487464", "0.64829695", "0.6478947", "0.64699215", "0.644867", "0.64416826", "0.64298105", "0.64252716", "0.64020425", "0.63953227", "0.6388409", "0.63685715", "0.63378215", "0.6333059", "0.6331555", "0.6324692", "0.632008", "0.62954634", "0.629198", "0.629198", "0.6265815", "0.62559116", "0.6240517", "0.6235013", "0.62332916", "0.62317014" ]
0.8658074
0
Gets the remaster catalogue number.
public String getRemasterCatalogueNumber() { return this.remasterCatalogueNumber; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getCar_number() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException {\n return (((java.lang.String) __getCache(\"car_number\")));\n }", "public int getCustNumber()\n\t{\n\t\treturn customerNumber;\n\t}", "public java.lang.String getCivNo () {\n\t\treturn civNo;\n\t}", "public int getCLNO() {\n return clno;\n }", "public long getcNum() {\n return cNum;\n }", "public int getCatalogNumber() {\n\t\treturn catalogNumber;\n\t}", "public String getPremierNumeroLibre() {\n\t\tString requete_s = \"SELECT id from LIVRES\";\n\t\tint i = 0;\n\t\tboolean egalite = true;\n\t\t\n\t\ttry{\n\t\t\trequete.execute(requete_s);\n\t\t\t\n\t\t\tResultSet rs = requete.getResultSet();\n\t\t\t\n\t\t\tdo{\n\t\t\t\ti++;\n\t\t\t\trs.next();\n\t\t\t\tegalite = (i ==((Integer) rs.getObject(1)));\n\t\t\t}while(egalite);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tString s = \"\" + i;\n\t\t\n\t\treturn s;\n\t}", "public String getCustIdNbr()\n\t{\n\t\treturn mCustIdNbr;\t\n\t}", "public java.lang.String getCustNo() {\n return custNo;\n }", "public java.lang.String getCardNo() {\r\n return localCardNo;\r\n }", "public java.lang.String getCardNo() {\r\n return localCardNo;\r\n }", "public String getCordno() {\n return cordno;\n }", "public Integer getCocSerialNo() {\n\t\treturn cocSerialNo;\n\t}", "public int getCustomerref() {\n\t\treturn custref;\n\t}", "long getCreatedConglomNumber()\n {\n if (SanityManager.DEBUG)\n {\n if (conglomId == -1L)\n {\n SanityManager.THROWASSERT(\n \"Called getCreatedConglomNumber() on a CreateIndex\" +\n \"ConstantAction before the action was executed.\");\n }\n }\n\n return conglomId;\n }", "public java.lang.String getCustIdNbr() {\n return custIdNbr;\n }", "public DBSequence getClientNo() {\n return (DBSequence)getAttributeInternal(CLIENTNO);\n }", "public String getCarNo() {\n\t\treturn carNo;\n\t}", "public java.lang.String getNumeroRuc()\r\n {\r\n return this._numeroRuc;\r\n }", "public int getCCN(){\n\t\treturn ccn;\n\t}", "String getCcNr(String bookingRef);", "public StringWithCustomFacts getRecIdNumber() {\n return recIdNumber;\n }", "String getDocumentNumber();", "public int CCID() {\n\t\treturn this.creditCardIDNum;\n\t}", "public String getRequisitionNumber() {\r\n return requisitionNumber;\r\n }", "private long getReserveRecNo() {\n\t\tfinal int selectedRow = this.clientUI.getSelectedRowNo();\n\t\treturn this.model.getRecNo(selectedRow);\n\t}", "public Integer getCocSeqNo() {\n\t\treturn cocSeqNo;\n\t}", "public String getCvvNumber();", "public String getNRC() {\r\n return NRC;\r\n }", "public String getCHEQUE_NUMBER() {\r\n return CHEQUE_NUMBER;\r\n }", "public int getCSeqNumber() {\n return cSeqHeader.getSequenceNumber();\n }", "public java.lang.String getRefnum() {\n return refnum;\n }", "public Integer getCorpid() {\n return corpid;\n }", "public BigDecimal getREF_NO() {\r\n return REF_NO;\r\n }", "public java.lang.String getIDCardNo() {\r\n return localIDCardNo;\r\n }", "public java.lang.String getIDCardNo() {\r\n return localIDCardNo;\r\n }", "public int getNumeroCactus() {\n\t\treturn numeroCactus;\n\t}", "public String getCsNumber() {\n return csNumber;\n }", "public long getComNumber() {\r\n return comNumber;\r\n }", "public String getCarNo() {\n return carNo;\n }", "public String getCardNo() {\n\t\treturn cardNo;\n\t}", "public Long getCustPid() {\n\t\treturn custPid;\n\t}", "public int getPatron_num()\n\t{\n\t\treturn cust_num;\n\t}", "public int getM_Requisition_ID() {\n\t\tInteger ii = (Integer) get_Value(\"M_Requisition_ID\");\n\t\tif (ii == null)\n\t\t\treturn 0;\n\t\treturn ii.intValue();\n\t}", "public Integer getCarNum() {\n return carNum;\n }", "public String getIdCardNo() {\n return idCardNo;\n }", "public String getOldNum(){\n return cal.getOldNum();\n }", "public String getMasterResetCode() {\r\n \r\n \tString key = \"\";\r\n String selectQuery = \"SELECT * FROM \" + TABLE_MAIN;\r\n \r\n SQLiteDatabase db = this.getReadableDatabase();\r\n Cursor cursor = db.rawQuery(selectQuery, null);\r\n \r\n if (cursor.moveToFirst()) {\r\n do {\r\n \tkey = cursor.getString(1);\r\n } while (cursor.moveToNext());\r\n }\r\n \r\n cursor.close();\r\n db.close();\r\n\r\n return key;\r\n }", "public int getCineplexID() {\n return cineplexID;\n }", "public String getMasterCode() {\n\t\treturn masterCode;\n\t}", "public String getClId() {\r\n return clId;\r\n }", "public String getCardNo() {\n return cardNo;\n }", "public String getIdCardNo() {\n\t\treturn idCardNo;\n\t}", "public String getCustID()\n\t{\n\t\treturn custID;\n\t}", "public String getUpdateClRegNo() {\n\t\treturn updateClRegNo;\n\t}", "public java.lang.String getRrNo () {\n\t\treturn rrNo;\n\t}", "public int getCxcleunik() {\r\r\r\r\r\r\r\n return cxcleunik;\r\r\r\r\r\r\r\n }", "public String getSCRSNo() {\n return sCRSNo;\n }", "public java.lang.String getCertificateOfRegistryNumber() {\n\t\treturn _tempNoTiceShipMessage.getCertificateOfRegistryNumber();\n\t}", "public String getCpnID() {\n\t\treturn this.CpnID;\n\t}", "public String getSRefNo() {\n return sRefNo;\n }", "public int getNumber(){\n return cardNumber;\n }", "public String getCnicNo() {\n return (String)getAttributeInternal(CNICNO);\n }", "public int getCardNumber() {\n return cardNumber;\n }", "Integer getCCPID();", "public int getLBR_BankAccount_Carteira_ID () \n\t{\n\t\tInteger ii = (Integer)get_Value(COLUMNNAME_LBR_BankAccount_Carteira_ID);\n\t\tif (ii == null)\n\t\t\t return 0;\n\t\treturn ii.intValue();\n\t}", "public String getCust_id() {\r\n\t\treturn cust_id;\r\n\t}", "public Integer getCrowdId() {\n return crowdId;\n }", "public int getNr() {\n return nr;\n }", "String getIdNumber();", "private static String GetNewID() {\n DBConnect db = new DBConnect(); // Create a database connection\n String id = db.SqlSelectSingle(\"SELECT vendor_id FROM vendor ORDER BY vendor_id DESC LIMIT 1\"); // First try to get the top ID.\n if (id.equals(\"\")) // This is incase there are no registered vendors in the software\n id = \"001\";\n else\n id = String.format(\"%03d\", Integer.parseInt(id) + 1); // This will increment the top ID by one then format it to have three digits \n db.Dispose(); // This will close our database connection for us\n return id;\n }", "public int getCustomerNo() {\n\t\treturn this.customerNo;\r\n\t}", "public int getLicencePlateNumberLastDigit() {\r\n return Integer.parseInt(this.licencePlateNumber.substring(\r\n this.licencePlateNumber.length() - 1, \r\n this.licencePlateNumber.length()));\r\n }", "public int getSno() {\n return sno;\n }", "public String getRemasterYear() {\r\n\t\treturn this.remasterYear;\r\n\t}", "public Integer getCompid() {\n return compid;\n }", "public Integer getResnr() {\n\t\treturn this.resnr;\n\t}", "public Long getCreditNum() {\n return creditNum;\n }", "java.lang.String getSerialNumber();", "java.lang.String getSerialNumber();", "public String getCfdaNumber() {\n return cfdaNumber;\n }", "public int getComienza() {\n\t\treturn comienza;\n\t}", "public String getClId() {\r\n\t\treturn clId;\r\n\t}", "public int getOwnerID(String NumberPlate)\n\t{\n\t\tint returnValue = -1;\n\t\ttry {\n\t\t\tstatement = conn.createStatement();\n\t\t\tres = statement.executeQuery(\"SELECT * FROM vehicle WHERE (number_plate = '\" + NumberPlate + \"')\");\n\t\t\tif(res.next())\n\t\t\t{\n\t\t\t\treturnValue = Integer.parseInt(res.getString(3));\n\t\t\t}\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn returnValue;\n\t}", "public String getSubscriptionNumber(Element element) {\r\n\t\treturn element.getElementsByTagName(\"xsd:Cid\").item(0).getTextContent();\r\n\t}", "int getPrimarySnId();", "int getPrimarySnId();", "public String getCardNumber()\n {\n return cardNumber;\n }", "public String getCardNumber()\r\n {\r\n return cardNumber;\r\n }", "public String getCourseNumber ( )\n\t{\n\t\treturn courseNumber;\n\t}", "public Integer getCid() {\n return cid;\n }", "public Integer getCid() {\n return cid;\n }", "public int getNumber()\n\t{\n\t\treturn myNumber;\n\t}", "public int getNumber() {\n\t\treturn 666;\n\t}", "public String getNumber(String name){\r\n return theContacts.get(name).getNumber();\r\n }", "public NM getRxa2_AdministrationSubIDCounter() { \r\n\t\tNM retVal = this.getTypedField(2, 0);\r\n\t\treturn retVal;\r\n }", "public Integer getRelateToDynamicCarNumber() {\r\n return relateToDynamicCarNumber;\r\n }", "private int getRID() throws SQLException {\n\t\tResultSet result = getRidStatement.executeQuery();\n\t\tif (result.next()) {\n\t\t\tint out = result.getInt(1);\n\t\t\tresult.close();\n\t\t\tif (DEBUG) {\n\t\t\t\tSystem.out.println(\"getRID: \"+out+\"\\n\");\n\t\t\t}\n\t\t\treturn out;\n\t\t} else {\n\t\t\tif (DEBUG) {\n\t\t\t\tSystem.out.println(\"getRID: \"+0+\"\\n\");\n\t\t\t}\n\t\t\treturn 0;\n\t\t}\n\t}", "public String getLocationNumber()\n\t{\n\t\tString locationNo = getContent().substring(OFF_ID27_LOCATION, OFF_ID27_LOCATION + LEN_ID27_LOCATION) ;\n\t\treturn (locationNo);\n\t}", "public Integer getcId() {\n return cId;\n }" ]
[ "0.6495834", "0.6414202", "0.6342913", "0.6312296", "0.6304767", "0.6277258", "0.61768335", "0.61590105", "0.6106053", "0.6057816", "0.6057816", "0.5999595", "0.5991154", "0.5982104", "0.59464294", "0.59449404", "0.5944844", "0.59382623", "0.59092325", "0.59064513", "0.5898486", "0.58948225", "0.58772624", "0.5871785", "0.58661085", "0.585994", "0.58465046", "0.58375376", "0.58232224", "0.5817564", "0.57954615", "0.5792958", "0.5789475", "0.57846135", "0.5778041", "0.5778041", "0.5777342", "0.5772284", "0.5763008", "0.57625216", "0.5750663", "0.57501584", "0.5740777", "0.5739972", "0.57381815", "0.5737736", "0.5730873", "0.57283705", "0.57085073", "0.5699382", "0.5699299", "0.5697633", "0.56859344", "0.5682113", "0.567667", "0.56708384", "0.5668448", "0.56541145", "0.5646437", "0.56394017", "0.56296", "0.5625977", "0.56134236", "0.5602794", "0.5598185", "0.55919254", "0.5590371", "0.55891234", "0.5588269", "0.55852485", "0.55833846", "0.55831504", "0.55805194", "0.55779475", "0.557781", "0.5575932", "0.55719936", "0.5569877", "0.5568436", "0.5568436", "0.55678654", "0.5565989", "0.55657756", "0.55652833", "0.55521643", "0.5547089", "0.5547089", "0.5542615", "0.5540522", "0.55366945", "0.55351347", "0.55351347", "0.55311275", "0.5531055", "0.5528096", "0.552128", "0.5520966", "0.5520467", "0.55187917", "0.55152094" ]
0.8438158
0
Gets the remaster record label.
public String getRemasterRecordLabel() { return this.remasterRecordLabel; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getLabel() { //gets the label\n\n\t\treturn rawLabel;\n\t}", "public L getLabel() {\n\t\tcheckRep();\n\t\treturn this.label;\n\t}", "public String getLabel() {\n return _label == null ? name() : _label;\n }", "public final String getLabel() {\n\t\treturn _label;\n\t}", "public String getLabel()\n {\n return label;\n }", "public String getLabel() {\r\n return lbl;\r\n }", "public String getLabel()\n {\n return m_label;\n }", "public String getLabel() {\n\t\treturn this._label;\n\t}", "public String getLabel()\r\n {\r\n return label;\r\n }", "public String getLabel()\r\n {\r\n return label;\r\n }", "public String getLabel()\n {\n return label;\n }", "public String getLabel() {\n\t\treturn myLabel;\n\t}", "public String getLabel() {\r\n return label;\r\n }", "public String getLabel()\n { \n return label;\n }", "public String getLabel()\n\t{\n\t\treturn label;\n\t}", "public String getLabel() {\n return label;\n }", "public String getLabel() {\r\n return label;\r\n }", "public String getLabel() {\r\n return label;\r\n }", "public String getLabel() {\r\n return label;\r\n }", "public String getLabel() {\n return label;\n }", "public String getLabel() {\n return label;\n }", "public String getLabel() {\n return label;\n }", "public String getLabelName() {\r\n if( this.jlblHolder != null )\r\n return this.jlblHolder.getText();\r\n else\r\n return label;\r\n }", "public String label() {\n return this.label;\n }", "public String getLabel() {\n\t\treturn label;\n\t}", "public java.lang.String getLabel() {\n\t\treturn this.label;\n\t}", "public String getLabel() {\n return label;\n }", "public String getLabel() {\r\n\t\treturn label;\r\n\t}", "public String getLabel() {\r\n\t\treturn label;\r\n\t}", "public String getLabel() {\r\n\t\treturn label;\r\n\t}", "public String getLabel() {\r\n\t\treturn label;\r\n\t}", "public String getLabel(){\n\t\treturn label;\n\t}", "public String getLabel() {\n return this.label;\n }", "String getLabel() {\n return label;\n }", "public String getLabel() {\n return this.label;\n }", "public String getLabel() {\n return this.label;\n }", "public String getLabel() {\n return this.label;\n }", "public String getLabel() {\n return this.label;\n }", "public String getLabel() {\n return label == null ? StringUtils.EMPTY : label;\n }", "public int getLabel() {\n\t\treturn label;\n\t}", "public String getLabel() {\n return name().toLowerCase().replace(\"_\", \"\");\n }", "public Object getLabel() \n {\n return label;\n }", "public String label() {\n\t\treturn \"LABEL_\" + (labelCount++);\n\t}", "public String getLabel() {\n return label;\n }", "public String getLabel(){\n return label;\n }", "public static String getLocalLabel() {\r\n\t\treturn \"l\" + SEQ_LOCAL_LABEL++;\r\n\t}", "private String getLabel() {\n return this.label;\n }", "public java.lang.String getLabel();", "public Label getLabel() {\n\t\treturn this.label;\n\t}", "public String getLabel() {\r\n\t\tif (label != null)\r\n\t\t\treturn label;\r\n\t\tif (classSimpleName==null)\r\n\t\t\treturn null;\r\n\t\treturn classSimpleName.replace('.', '_');\r\n\t}", "public Label getLabel() {\n return this.label;\n }", "public Label getLabel() {\n\t\treturn label;\n\t}", "public Label getLabel() {\n\t\treturn label;\n\t}", "java.lang.String getLabel();", "public gov.nih.nlm.ncbi.www.soap.eutils.efetch_pmc.Label getLabel() {\r\n return label;\r\n }", "public Object getLabel() {\n if (this.label != null) {\n return this.label;\n }\n\n return this.getDefaultLabel();\n }", "public String toString()\n {\n return label;\n }", "@Nullable\n public CharSequence getLabel() {\n return mPrimaryLabel;\n }", "public final Label getLabel() {\n return label;\n }", "public\t\tMiPart\t\tgetLabel()\n\t\t{\n\t\treturn(label);\n\t\t}", "public java.lang.String getLabel() {\n java.lang.Object ref = label_;\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 label_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String toString() {\n return label;\n }", "public String getLabelName() {\n return m_labelName;\n }", "@java.lang.Override\n public java.lang.String getLabel() {\n java.lang.Object ref = label_;\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 label_ = s;\n return s;\n }\n }", "public String getLabel() {\n return getElement().getChildren()\n .filter(child -> child.getTag().equals(\"label\")).findFirst()\n .get().getText();\n }", "String getLabel();", "String getLabel();", "@DISPID(74)\r\n\t// = 0x4a. The runtime will prefer the VTID if present\r\n\t@VTID(72)\r\n\tjava.lang.String label();", "@Override\n\tpublic String toString() {\n\t\treturn label;\n\t}", "public String getLabel();", "public String getLabel();", "public String getLabel();", "public String getLabel();", "Label getLabel();", "Label getLabel();", "Label getLabel();", "public com.commercetools.api.models.common.LocalizedString getLabel() {\n return this.label;\n }", "com.microsoft.schemas.xrm._2011.contracts.Label getLabel();", "private String getLabel(String labelAudit) {\n\t\tString label = null;\n\t\tif(labelForAuditLabel.containsKey(labelAudit)) {\n\t\t\tlabel = labelForAuditLabel.get(labelAudit);\n\t\t\tif(label != null) {\n\t\t\t\tif(label.isEmpty())\n\t\t\t\t\tlabel = null;\n\t\t\t\telse\n\t\t\t\t\tlabel = messageSource.getMessage(label, null, Locale.getDefault());\n\t\t\t\t\t//messageSource.getMessage(\"label.dati_verbale\", values, Locale.getDefault())\n\t\t\t}\n\t\t} else {\n\t\t\t//LOGGER.info(\"label_mancante\");\n\t\t\tLOGGER.info(labelAudit);\n\t\t\tlabel = \"??key \" + labelAudit + \" not found??\";\n\t\t}\n\t\treturn label;\n\t}", "public String getLabel() {\n\t String name = getLiteralValue(Foaf.NAME);\n\t \n\t if (name == null) {\n\t name = getLiteralValue(Foaf.GIVENNAME);\n\t }\n\t \n\t if (name == null) {\n\t name = getLiteralValue(RDFS.label);\n\t }\n\t \n\t if (name == null) {\n\t return getURI();\n\t }\n\t return name;\n }", "com.google.ads.googleads.v6.resources.CustomerLabel getCustomerLabel();", "public CharSequence getSelectedLabel()\n\t{\n\t\treturn _current.label.getText();\n\t}", "public T2 getLabel() {\r\n\t\treturn label;\r\n\t}", "public final String aoy() {\n return this.label;\n }", "public String getLabel() {\n\t\t// just return item text until we get the grade levels straighted out for\n\t\t// comm_core\n\t\treturn this.itemText;\n\t\t/*\n\t\t * if (this.label == null) { if (this.getLevel() == 1) { this.label =\n\t\t * this.itemText; } else if (this.getIsLeafNode()) { this.label = \"[\" +\n\t\t * this.getGradeRange() + \"] \" + this.itemText; } else { this.label =\n\t\t * this.itemText + \" [\" + this.getGradeRange() + \"]\"; } } return this.label;\n\t\t */\n\t}", "public String getLabel(){\n\t\treturn sAnzeige;\n\t}", "@Override\n public String getLabel() {\n return label;\n }", "com.google.ads.googleads.v6.resources.Label getLabel();", "DatasetLabel getLabel();", "public String getLabel() {\r\n return layout.label;\r\n }", "@DISPID(32)\r\n\t// = 0x20. The runtime will prefer the VTID if present\r\n\t@VTID(37)\r\n\tjava.lang.String label();", "public String getNextLabel () {\n return nextLabel;\n }", "@Override\n\tpublic String getShortLabel()\n\t{\n\t\treturn label;\n\t}", "public double getLabel() {\n\t\treturn label;\n\t}", "public String getQueryLabel()\n {\n\treturn label;\n }", "public String getStrLabelName() {\r\n\t\treturn strLabelName;\r\n\t}", "String nameLabel();", "@JsonGetter(\"label\")\r\n public String getLabel ( ) { \r\n return this.label;\r\n }", "public ArrayStr getRecordLabels() {\n return new ArrayStr(opensimSimulationJNI.ExpressionBasedPointToPointForce_getRecordLabels(swigCPtr, this), true);\n }", "public String getFormattedReceiptLabel() {\t \n\t String receiptLabel = res.getString(getReceiptLabel().getKey());\t \n\t int numberOfSpaces = ((totalLength - receiptLabel.length()) / 2);\t \n\t String prefix = \"\";\n\t String postfix = \"\";\n\t for(int i = 0; i < numberOfSpaces; i++) {\n\t\t prefix += \" \";\n\t\t postfix += \" \";\n\t }\n\t receiptLabel = prefix + receiptLabel + postfix;\t \n\t return receiptLabel;\n }" ]
[ "0.72575825", "0.7207489", "0.6875381", "0.6870664", "0.68132246", "0.6802466", "0.6773572", "0.67602926", "0.67573035", "0.67573035", "0.67544675", "0.6746756", "0.67445564", "0.673727", "0.67371243", "0.673457", "0.6733721", "0.6733721", "0.6733721", "0.67331886", "0.67331886", "0.67331886", "0.6727288", "0.6725515", "0.6707846", "0.6706216", "0.66996163", "0.6699006", "0.6699006", "0.6699006", "0.6699006", "0.66947705", "0.66902685", "0.66889936", "0.6686421", "0.6686421", "0.6686421", "0.6686421", "0.66802514", "0.665579", "0.665205", "0.6651991", "0.6641332", "0.6631506", "0.6606141", "0.6592203", "0.6581332", "0.65632427", "0.65072167", "0.6506593", "0.65031445", "0.65001523", "0.65001523", "0.65000075", "0.6491817", "0.6491428", "0.64897126", "0.648313", "0.6477903", "0.6475401", "0.64657015", "0.6449699", "0.6436719", "0.64002997", "0.6391519", "0.6333055", "0.6333055", "0.6289438", "0.6279862", "0.6276631", "0.6276631", "0.6276631", "0.6276631", "0.6275903", "0.6275903", "0.6275903", "0.62709814", "0.6266736", "0.62580645", "0.62548834", "0.6230236", "0.61997736", "0.6189699", "0.6174962", "0.61710054", "0.61621153", "0.6159682", "0.61586624", "0.61470765", "0.6135989", "0.613108", "0.6119303", "0.61105776", "0.61035115", "0.60749185", "0.60492045", "0.6048855", "0.6040404", "0.6038682", "0.60356104" ]
0.8598229
0
Gets the remaster title.
public String getRemasterTitle() { return this.remasterTitle; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTitle() {\n \t\treturn title;\n \t}", "public String getTitle(){\n\n\t\treturn title;\n\t}", "public java.lang.String getTitle();", "public String getTitle()\n\t{\n\t\treturn title;\n\t}", "public String getTitle()\n\t{\n\t\treturn title;\n\t}", "java.lang.String getTitle();", "java.lang.String getTitle();", "java.lang.String getTitle();", "java.lang.String getTitle();", "java.lang.String getTitle();", "public String getTitle() {\n return titleName;\n }", "public String getTitle()\n {\n return (this.title);\n }", "public String getTitle() {\r\n\t\treturn title;\r\n\t}", "public String getTitle() {\r\n\t\treturn title;\r\n\t}", "public String getTitle() {\r\n\t\treturn title;\r\n\t}", "public String getTitle() {\r\n\t\treturn title;\r\n\t}", "public String getTitle() {\r\n\t\treturn title;\r\n\t}", "public String getTitle() {\r\n\t\treturn title;\r\n\t}", "public String getTitle() {\r\n\t\treturn title;\r\n\t}", "public String getTitle() \r\n\t{\r\n\t\treturn this.title;\r\n\t}", "public java.lang.String getTitle() {\n return title;\n }", "public String getTitle() {\n\t\treturn title;\n\t}", "public String getTitle() {\n\t\treturn title;\n\t}", "public String getTitle() {\n\t\treturn title;\n\t}", "public String getTitle() {\n\t\treturn title;\n\t}", "public String getTitle() {\n\t\treturn title;\n\t}", "public String getTitle() {\n\t\treturn title;\n\t}", "public String getTitle() {\n\t\treturn title;\n\t}", "public String getTitle() {\n\t\treturn title;\n\t}", "public String getTitle() {\n\t\treturn title;\n\t}", "public String getTitle() {\n\t\treturn title;\n\t}", "public String getTitle() {\n\t\treturn title;\n\t}", "public String getTitle() {\n\t\treturn title;\n\t}", "public String getTitle() {\n\t\treturn title;\n\t}", "public java.lang.String getTitle() {\n return title;\n }", "public java.lang.String getTitle() {\n return title;\n }", "public java.lang.String getTitle() {\n return title;\n }", "public java.lang.String getTitle() {\n return title;\n }", "public String getTitle() {\n addParameter(\"title.number\" , iBundle.getString(\"reminderreport.title.date\") );\n\n return iBundle.getString(\"reminderreport.title\");\n }", "public String getTitle() {\n\t\treturn this.title;\n\t}", "public String getTitle() {\n\t\treturn this.title;\n\t}", "public String getTitle() {\n\t\treturn this.title;\n\t}", "public String getTitle()\r\n {\r\n return title;\r\n }", "public String getTitle()\r\n {\r\n return title;\r\n }", "public String getTitle() {\r\n return _title;\r\n }", "public String title()\n\t{\n\t\treturn title;\n\t}", "public String getTitle(){\n\t\treturn this.title;\n\t}", "@ObjectSupport public final String title() {\n return title==null\n ? title = createTitle()\n : title;\n }", "public String getTitle() {\r\n return title;\r\n }", "private String getTitle() {\n return title;\n }", "public String getTitle() {\r\n return title;\r\n }", "public String getTitle() {\r\n return title;\r\n }", "public String getTitle() {\r\n return title;\r\n }", "public String getTitle() {\r\n return title;\r\n }", "public String getTitle() {\r\n return title;\r\n }", "public String getTitle() {\r\n return title;\r\n }", "public String getTitle() {\r\n return title;\r\n }", "public String getTitle()\n {\n return title;\n }", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "public String getTitle()\n {\n return m_title;\n }", "public String getTitle()\r\n\t{\r\n\t\treturn TITLE;\r\n\t}", "@Override\r\n\tpublic String getTitle() {\n\t\treturn title;\r\n\t}", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle()\r\n {\r\n return this.title;\r\n }", "public String title() {\n\t\treturn title;\n\t}", "String getTitle() {\n\t\treturn this.mTitle;\n\t}", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }" ]
[ "0.76830286", "0.7639007", "0.76330316", "0.7629739", "0.7629739", "0.7611665", "0.7611665", "0.7611665", "0.7611665", "0.7611665", "0.76061326", "0.759782", "0.75685287", "0.75685287", "0.75685287", "0.75685287", "0.75685287", "0.75685287", "0.75685287", "0.7567693", "0.7567503", "0.75564414", "0.75564414", "0.75564414", "0.75564414", "0.75564414", "0.75564414", "0.75564414", "0.75564414", "0.75564414", "0.75564414", "0.75564414", "0.75564414", "0.75564414", "0.7556073", "0.7556073", "0.7556073", "0.7554835", "0.7527408", "0.7523839", "0.7523839", "0.7523839", "0.75095266", "0.75095266", "0.7508607", "0.75062734", "0.7503201", "0.7495871", "0.7491897", "0.7488115", "0.74786794", "0.74786794", "0.74786794", "0.74786794", "0.74786794", "0.74786794", "0.74786794", "0.74767923", "0.74759775", "0.74759775", "0.74759775", "0.74759775", "0.74759775", "0.74759775", "0.74759775", "0.74759775", "0.74759775", "0.74759775", "0.74759775", "0.74759775", "0.74759775", "0.74759775", "0.74759775", "0.7474947", "0.747182", "0.747096", "0.74673903", "0.74673903", "0.7458296", "0.7438162", "0.7431963", "0.7428461", "0.7428461", "0.7428461", "0.7428461", "0.7428461", "0.7428461", "0.7428461", "0.7428461", "0.7428461", "0.7428461", "0.7428461", "0.7428461", "0.7428461", "0.7428461", "0.7428461", "0.7428461", "0.7428461", "0.7428461", "0.7428461" ]
0.8731313
0
Gets the remaster year.
public String getRemasterYear() { return this.remasterYear; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getYear() {\n return DateUtil.YearFromString(rel);\n }", "public int getYear()\n {\n return yr;\n }", "public int getYear() \n\t{\n\t\treturn year;\n\t}", "int getYear();", "public int getYear() {\n\t\treturn year; \n\t}", "public int getYear() {\r\n\t\treturn year;\r\n\t}", "public int getYear() {\n\t\treturn year;\n\t}", "public int getYear() {\n\t\treturn year;\n\t}", "public int getYear() {\n\t\treturn year;\n\t}", "public int getYear() {\n\t\treturn year;\n\t}", "public int getYear() {\r\n\t\treturn (this.year);\r\n\t}", "public int getYear() {\n return year;\n }", "public int getYear() {\r\n return year;\r\n }", "public int getYear() {\r\n return year;\r\n }", "public int getYear() {\n\t return year;\n\t}", "public int getYear()\n\t{\n\t\treturn m_year;\n\t}", "public int getYear(){\n\t\treturn year; \n\t}", "public int getYear() {\n\treturn year;\n }", "public int getYear(){\n\t\treturn year;\n\t}", "public int getYear() {\r\n return FormatUtils.uint16ToInt(mYear);\r\n }", "public int getYear() {\n return year;\n }", "public int getYear(){\r\n\t\treturn year;\r\n\t}", "private static int returnsCurrentYear() {\n\t\treturn Calendar.getInstance().get(Calendar.YEAR);\n\t}", "public int getYear() {\n\t\treturn this.year;\n\t}", "public String getYear() {\n\t\treturn year;\r\n\t}", "public int getYear() {\n\n return this.cyear;\n\n }", "public final int getYear() {\n return yearMonthProperty().get().getYear();\n }", "@Override\n\tpublic int getYear() {\n\t\treturn year;\n\t}", "public int getYear() {\n return year;\n }", "public int getYear()\n {\n return year;\n }", "public String getYear() {\n\t\treturn year;\n\t}", "public String getYear() {\n\t\treturn year;\n\t}", "public int getYear () {\n return year;\n }", "public Integer getYear() {\n return year;\n }", "public Integer getYear() {\n return year;\n }", "public Integer getYear() {\n return year;\n }", "public Integer getYear() {\r\n return year;\r\n }", "public Integer getYear() {\r\n return year;\r\n }", "public int getYear() {\r\n return this.year;\r\n }", "public String getYearNumber() {\n return yearNumber.get();\n }", "public int getStartingYear()\n {\n return 2013;\n }", "public int getYear() \n\t{\n\t\treturn m_calendar.get(Calendar.YEAR);\n\n\t}", "public short getYear() {\n return year;\n }", "public String getYear() {\n return year;\n }", "public String getYear() {\n return year;\n }", "public String getYear()\r\n {\r\n return year;\r\n }", "public final int getYYYY()\n {\n return yyyy;\n }", "public double getYear() {\n return year;\n }", "public static int getCurrentYear()\n\t{\n\t\treturn Calendar.getInstance().get(Calendar.YEAR);\n\t}", "public jkt.hms.masters.business.MasStoreFinancial getYear () {\n\t\treturn year;\n\t}", "public String getYear()\n {\n return year;\n }", "public short getYear() {\r\n return year;\r\n }", "public short getYear() {\n return year;\n }", "public short getYear() {\n return year;\n }", "public short getYear() {\n return year;\n }", "public short getYear() {\n return year;\n }", "public int getYear() {\n\treturn year;\n}", "public short getYear() {\n return year;\n }", "public String getYear() {\n return year.getText();\n }", "public int getYear() { return year; }", "public int getYear() { return year; }", "public int getDocumentYear();", "public java.lang.String getRef_Doc_Year() {\r\n return ref_Doc_Year;\r\n }", "@Override\n\tpublic int getYear() {\n\t\treturn _esfShooterAffiliationChrono.getYear();\n\t}", "@Override\n public int getYear() {\n return this.deadline.getYear();\n }", "public int getDocumentYear() {\n\t\treturn _tempNoTiceShipMessage.getDocumentYear();\n\t}", "public int getYear() {\n return endDate.getYear();\n }", "public int getStartYear() {\n\t\treturn startYear;\n\t}", "public int getCalendarYear() {\r\n\t\treturn calendar.getCalendarYear();\r\n\t}", "public String getYear() {\n return (String)getAttributeInternal(YEAR);\n }", "private String getCurrentYear(){\n\t\tCalendar now = Calendar.getInstance();\n\t\tint year = now.get(Calendar.YEAR);\n\t\tString currentYear = String.valueOf(year);\n\t\treturn currentYear;\n\t}", "Integer getTenYear();", "public java.math.BigInteger getStartYear() {\r\n return startYear;\r\n }", "public int getStartYear()\n\t{\n\t\treturn this.mStartYear;\n\t}", "public String getYear(){\n return rssData.getDate().split(\"/\")[2];\n }", "public static final int getReleaseYear() { return 2019; }", "public String getModelYear() {\r\n return (String) store.get(Names.modelYear);\r\n }", "public int getYear(){\n\t return this.year;\n }", "public static int getTodaysYear() {\t\r\n\t\t\r\n\t\tTime time = new Time();\r\n\t\ttime.setToNow();\r\n\t\treturn time.year;\t\r\n\t\t\r\n\t}", "public int getYearmade()\n {\n return yearmade;\n }", "public String asYear() {\n \treturn new SimpleDateFormat(\"yyyy\").format(expiredAfter);\n }", "public int getAuthorBirthYear(){\r\n return author.getBirthYear();\r\n }", "public Object getYearInt() {\n\t\treturn null;\n\t}", "int getYears();", "public int getYearMake() {\r\n\t\treturn this.yearMake;\r\n\t}", "public BigDecimal getCurrentYear() {\n return currentYear;\n }", "public String getVehicleYear() {\n return vehicleYear;\n }", "public int getLowerYear()\r\n {\r\n return getInt(LowerYear_, 0);\r\n }", "public int getShiftYear() {\n return start.getYear();\n }", "public final native int getFullYear() /*-{\n return this.getFullYear();\n }-*/;", "public int getCopyrightYear() {\n return copyrightYear;\n }", "public int getCopyrightYear() {\n return copyrightYear;\n }", "public String getModelYear() {\n\t\treturn modelYear;\n\t}", "public int getStartYear()\n {\n return indicators[0].getYear();\n }", "public Date get2DigitYearStart() {\n\t\treturn getDefaultCenturyStart();\n\t}", "private String getYear(Date date) {\n\t\tLocalDate localDate = date.toInstant().atZone(ZoneId.systemDefault()).toLocalDate();\n\n\t\tInteger yearAsInt = localDate.getYear();\n\n\t\treturn String.valueOf(yearAsInt);\n\t}", "private static String getYearMonth() {\n LocalDate oneMonthAgo = LocalDate.now().minusMonths(1);\n return oneMonthAgo.getYear() + String.format(\"%02d\", oneMonthAgo.getMonth().getValue());\n }", "public String getvYear() {\n return vYear;\n }", "public YearInformation getYearInformation() {\n\t\treturn yearInformation;\n\t}", "public int getUpperYear()\r\n {\r\n return getInt(UpperYear_, 0);\r\n }" ]
[ "0.82366586", "0.7846472", "0.78368306", "0.78298205", "0.7794068", "0.77933437", "0.7786373", "0.77853155", "0.77853155", "0.77853155", "0.7764474", "0.775993", "0.77585685", "0.77210283", "0.7717138", "0.7716936", "0.77165794", "0.77124816", "0.7708442", "0.77060175", "0.77017415", "0.76996034", "0.76931703", "0.7687986", "0.7645106", "0.7639713", "0.7625886", "0.7614145", "0.76062113", "0.7605454", "0.76044", "0.76044", "0.7598686", "0.759205", "0.759205", "0.759205", "0.75889736", "0.75889736", "0.758789", "0.75796616", "0.75674444", "0.75609267", "0.755272", "0.75503826", "0.75503826", "0.7519569", "0.75163484", "0.7512548", "0.75116056", "0.7510112", "0.7507988", "0.7506371", "0.74798346", "0.74798346", "0.74798346", "0.74757004", "0.74666226", "0.74108833", "0.7392726", "0.7383374", "0.7383374", "0.7382769", "0.73730975", "0.73522717", "0.733566", "0.7318105", "0.7265165", "0.7246677", "0.7246316", "0.7244515", "0.72114444", "0.72013056", "0.71415955", "0.71340144", "0.71323353", "0.71291286", "0.71059966", "0.70985633", "0.70924985", "0.70793587", "0.7068501", "0.7028495", "0.7020075", "0.7013463", "0.70096993", "0.69754434", "0.6971198", "0.69704854", "0.6970133", "0.69566196", "0.6943904", "0.6943904", "0.69402725", "0.69228363", "0.692211", "0.6920624", "0.6907021", "0.6902645", "0.6887372", "0.68837965" ]
0.8553475
0
Checks if is remastered.
public boolean isRemastered() { return this.remastered; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasRemsg();", "public boolean isMaster();", "private void checkAndUpdate() {\n if (csProposeEnter.get()) {\n if (numRepliesReceived.get() == (config.getNumNodes() - 1)\n && requestQueue.peek().getFromID().equals(nodeID)) {\n csProposeEnter.set(false);\n csAllowEnter.set(true);\n }\n }\n }", "public boolean isRemotlyQueued()\r\n {\r\n return statusObj.value == STATUS_CANDIDATE_REMOTLY_QUEUED;\r\n }", "public boolean willNotBeResurrected() {\n return state == State.FRESH || state == State.ERROR;\n }", "@Override\n\tpublic boolean isRented() {\n\t\treturn false;\n\t}", "public boolean needsResend(){\n return this.getNumNetworkCopies()-this.replicationDegree<0;\n }", "public default boolean needsReagents()\r\n\t{\r\n\t\tfor(ItemStack stack : getReagents()) if(!stack.isEmpty()) return true;\r\n\t\treturn true;\r\n\t}", "public boolean isMaster() {\n return this.isMaster;\n }", "public boolean isReclaimed(){\n synchronized (stateLock){\n return state.equals(State.RECLAIMED);\n }\n }", "public Boolean getBspReconciled(){\n return bspReconciled;\n }", "public boolean getMasterSyncAutomatically() {\n return ContentResolver.getMasterSyncAutomatically();\n }", "public boolean isXAForbidSameRM()\n {\n return _isXAForbidSameRM;\n }", "boolean isForceRM();", "private boolean checkCanModifyStatus() {\r\n \r\n RequesterBean requesterBean = new RequesterBean();\r\n ResponderBean responderBean = new ResponderBean();\r\n try{\r\n requesterBean.setFunctionType('c');\r\n String connectTo = CoeusGuiConstants.CONNECTION_URL + \"/rolMntServlet\";\r\n AppletServletCommunicator ascomm = new AppletServletCommunicator(connectTo,requesterBean);\r\n ascomm.setRequest(requesterBean);\r\n ascomm.send();\r\n responderBean = ascomm.getResponse(); \r\n \r\n }catch(Exception e) {\r\n CoeusOptionPane.showErrorDialog(e.getMessage());\r\n }\r\n return (Boolean)responderBean.getDataObject();\r\n }", "@Override\r\n\tprotected boolean postMaster(Object curMaster) {\n\t\treturn true;\r\n\t}", "boolean hasResMineInstanceID();", "Boolean getIsReentrant();", "@Override\n\t\tpublic boolean wasRetried()\n\t\t{\n\t\t\treturn false;\n\t\t}", "private static boolean rebaseCheck(Gitlet currCommit, String[] args) {\n boolean temp = true;\n if (args.length != 2) {\n System.out.println(\"Please input the branch name\");\n temp = false;\n } else if (!currCommit.tree.hasBranch(args[1])) {\n System.out.println(\"A branch with that name does not exist.\");\n temp = false;\n } else if (args[1].equals(currCommit.tree.getCurrentBranch())) {\n System.out.println(\"Cannot rebase a branch onto itself.\");\n temp = false;\n } else if (currCommit.tree.branchContainsCommit(currCommit.tree\n .getHeadCommit(args[1]))) {\n System.out.println(\"Already up-to-date.\");\n temp = false;\n }\n\n return temp;\n }", "public boolean isReplaced() {\n return REPLACED.equals(message);\n }", "public boolean isRegbyidModified() {\n return regbyid_is_modified; \n }", "@Override\n\tpublic boolean erTom() {\n\t\treturn (bak == null);\n\t}", "@Override\n protected boolean hasRecycle() {\n return true;\n }", "@Override\n public boolean isDirty() {\n return !conflicts.isEmpty() || super.isDirty();\n }", "@Override\n boolean shouldBranch(StatusRegister sr) {\n return !sr.getFlag(7);\n }", "public boolean isRelaunched() {\n return relaunched;\n }", "boolean hasResMineID();", "boolean hasIsRedeemed();", "boolean hasReplicateRequest();", "@Override\n protected boolean checkSeqResetSeqNum() {\n return false;\n }", "private boolean userMadeChanges() {\n\t\treturn userMadeChanges(null);\n\t}", "boolean hasChangeStatus();", "public boolean isRetried ()\r\n {\r\n return hasFailed () && retried_;\r\n }", "protected boolean masterFailoverWithDNS() throws Throwable {\n return (pingFromMaster(hostname) &&\n masterFailover() &&\n pingFromMaster(hostname));\n }", "private boolean modifiable() {\n // Only allow un-answered tests/surveys to be modified\n return this.completed.size() == 0;\n }", "private boolean checkiforiginal(int copynum) {\n boolean isAvailable = false;\n if (copynum == 0) {\n isAvailable = true;\n }\n return isAvailable;\n }", "boolean isAlreadyTriggered();", "private void checkResult() {\n if (parent != -1 && (numOfAck == (outgoingLinks.size() - 1))) {\n if (setOfAck.add(this.maxId)) {\n Message message = new Message(this.uid, this.maxId, \"ack\");\n sendTo(message, this.parent);\n }\n if (!termination) {\n marker.addNumOfTerminatedProc();\n termination = true;\n }\n } else if (parent == -1 && (numOfAck == outgoingLinks.size())) {\n System.out.println(this.uid + \" is the leader.\");\n marker.addNumOfTerminatedProc();\n }\n }", "public boolean canRespawnHere() {\n\t\treturn false;\n\t}", "public boolean isReRouting() {\r\n\t\treturn this.reRouting;\r\n\t}", "public boolean mayRestore() {\n return Objects.nonNull(serverToken) && Objects.nonNull(clientToken);\n }", "public boolean takeControl() {\n\t\tif (!sharedState.isFindingObject()) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\t// returns true if the shared state return in 1\r\n\t\treturn sharedState.getCurrentBehaviour()==1; \r\n\t}", "public boolean isRenewable() {\n return type_ == TYPE_MULTIPLE_USE_RENEWABLE;\n }", "public boolean canRespawnHere()\n {\n return false;\n }", "public boolean isSetStatusmodifytime() {\n return this.statusmodifytime != null;\n }", "@Override\n\tpublic boolean isWorking(Role role, RoleBuild build) {\n\t\treturn false;\n\t}", "public boolean isChildChanged() {\n return CHILDCHANGED.equals(message);\n }", "protected boolean pingFromMaster(String who) throws Throwable {\n Log.INFO(\"Attempting to ping \" + who + \" from the master node\");\n if (runSystemCommand(\n SSH_ROOT + adminVIP +\" \\\"\"+ PING + \" \" + who + \"\\\"\" ))\n {\n Log.INFO(who + \" is pingable\");\n return true;\n } else {\n Log.ERROR(who + \" is not pingable\");\n return false;\n }\n }", "public boolean borrowed()\r\n\t{\n\t\treturn !(currentlyBorrowed == null);\r\n\t}", "@Override\n public boolean shouldExecute()\n {\n if (theEntity.getAITarget() == null && theEntity.isBurning())\n {\n return false;\n }\n else\n {\n if (theEntity.isRearingFirstTick()) // only set the first tick that is rearing\n {\n return true; \n }\n else\n {\n return false;\n }\n } \n }", "private static boolean checkIfToUpdateAfterCreateFailed(LocalRegion rgn, EntryEventImpl ev) {\n boolean doUpdate = true;\n if (ev.oldValueIsDestroyedToken()) {\n if (rgn.getVersionVector() != null && ev.getVersionTag() != null) {\n rgn.getVersionVector().recordVersion(\n (InternalDistributedMember) ev.getDistributedMember(), ev.getVersionTag());\n }\n doUpdate = false;\n }\n if (ev.isConcurrencyConflict()) {\n if (logger.isDebugEnabled()) {\n logger.debug(\"basicUpdate failed with CME, not to retry:\" + ev);\n }\n doUpdate = false;\n }\n return doUpdate;\n }", "private void chkPRMST()\n\t{\n\t\ttry\n\t\t{\n\t\t\tM_strSQLQRY = \"Select count(*) from co_prmst\";\n\t\t\tM_strSQLQRY += \" where pr_prdcd = '\"+strPRDCD+\"'\";\n\t\t\tif(cl_dat.getRECCNT(M_strSQLQRY) > 0)\n\t\t\t\tupdPRMST();\n\t\t\telse{\n\t\t\t\tsetMSG(\"Record does not exist in CO_PRMST\",'E');\n\t\t\t\tcl_dat.M_flgLCUPD_pbst = false;\n\t\t\t\t}\n\t\t\t//System.out.println(M_strSQLQRY);\n\t}catch(Exception L_EX){\n\t\t\tsetMSG(L_EX,\"chkPRMST\");\n\t\t}\n\t}", "@Override\n\tpublic boolean canRespawnHere() {\n\t\treturn true;\n\t}", "public boolean isRemotable() {\n return remotable;\n }", "@Override\n\tpublic boolean canRespawnHere()\n\t{\n\t\treturn false;\n\t}", "private synchronized boolean shouldCommit(Message m) {\n\n\t\tboolean flag = false;\n\n\t\ttry {\n\t\t\t// get the commit flag set by the FailoverQSender\n\t\t\tflag = m.getBooleanProperty(FailoverQSender.COMMIT_PROPERTY_NAME);\n\n//\t\t\tif (flag) {\n//\t\t\t\t// check if message property contains expected message counter\n//\t\t\t\tvalidate(m);\n//\t\t\t}\n\n\t\t} catch (JMSException jmse) {\n\t\t\tlog(jmse);\n\t\t}\n\n\t\treturn flag;\n\t}", "private boolean isDirty()\r\n {\r\n //\r\n return _modified;\r\n }", "private boolean shouldRetryGetMaster(int tries, Exception e) {\n if (tries == numRetries - 1) {\n // This was our last chance - don't bother sleeping\n LOG.info(\"getMaster attempt \" + tries + \" of \" + numRetries +\n \" failed; no more retrying.\", e);\n return false;\n }\n LOG.info(\"getMaster attempt \" + tries + \" of \" + numRetries +\n \" failed; retrying after sleep of \" +\n ConnectionUtils.getPauseTime(this.pause, tries), e);\n return true;\n }", "public boolean pointAtMaster() {\n return pointAt(RefNames.fullName(\"master\"));\n }", "private boolean isConnectedToPrimary(SRVRecord[] recs)\n\t{\n\t\tString primaryAddress = getPrimaryServerRecord(recs).getTarget();\n\t\tif (primaryAddress != null && primaryAddress.equals(currentAddress))\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}", "public boolean isMaint() {\n for (Transmitter t : getTransmitters()) {\n if (t.getTxStatus() == TxStatus.MAINT) {\n return true;\n }\n }\n\n return false;\n }", "boolean isRunningReactions()\n {\n return 0 != _currentReactionRound;\n }", "public boolean isPreparer() {\n\t\treturn getStatut().equals(StatusBonPreparation.PREPARER);\n\t}", "private void markNeedRestartADBServer() {\n Log.d(\"mark mNeedRestartAdbServer to true\");\n mNeedRestartAdbServer = true;\n mStatus = STATUS.FINISHED;\n notifyResultObserver();\n return;\n }", "boolean redoLastCommand() throws Exception;", "public void smogCheck(){\n if(!cargo){\n System.out.println(\"Hey ya don't got any cargo, might as well get your smog checked.\");\n this.cargo = true;\n }\n }", "boolean hasReplicateResponse();", "public boolean hasReplicateRequest() {\n return replicateRequestBuilder_ != null || replicateRequest_ != null;\n }", "public boolean isCompanyNameModified()\n\t{\n\t\treturn companyNameModified;\n\t}", "public boolean needsRepair() {\n if (id == 5509) {\n return false;\n }\n return inventory.contains(id + 1);\n }", "private boolean server_fresh(Runner runner) throws IOException, BadPathnameException {\n int last_edit_time = get_server_edit_time(runner);\n if (Constants.DEBUG) System.out.println(\"(log) Checking server: our last known edit time is \" + last_known_edit_time +\n \" and the server's last edit time is \" + last_edit_time);\n if (last_known_edit_time == last_edit_time) {\n if (Constants.DEBUG) System.out.println(\"(log) -> fresh at server\");\n return true;\n }\n else{\n if (Constants.DEBUG) System.out.println(\"(log) -> not fresh at server\");\n last_known_edit_time = last_edit_time;\n content = new HashMap<>();\n final_block = -1;\n return false;\n }\n }", "boolean hasNewMailNum();", "public boolean hasDirtyPrefixes() {\n return !this.dirtyDest.isEmpty();\n }", "@Override\n public boolean redo() {\n // nothing required to be done\n return false;\n }", "public boolean isScheduled(){\n //System.out.println(\"nextrun: \" + nextrun.getTime() + \" nu: \" + System.currentTimeMillis());\n if (nextrun != null){\n long next = nextrun.getTime();\n \n return next < System.currentTimeMillis();\n }else{\n //null => instance has never run before & should run asap\n return true;\n }\n }", "boolean isSetCurrentrun();", "public boolean hasReinforcedStructure() {\n return (getStructureType() == EquipmentType.T_STRUCTURE_REINFORCED);\n }", "public boolean isStale()\n {\n return (_iMdChecksum != TypeSystem.getRefreshChecksum() && !isProxy());\n }", "boolean isReactionsRunning()\n {\n return 0 != _currentReactionRound;\n }", "public boolean needsSync() {\n return myNeedsSync;\n }", "boolean hasTransactionChangesPending() {\n// System.out.println(transaction_mod_list);\n return transaction_mod_list.size() > 0;\n }", "public boolean containsChanges() {\n return genClient.containsChanges();\n }", "private boolean canRedo() {\n return !frozen && !future.isEmpty();\n }", "public boolean repOK(){\n if(passenger == null) return false;\n if(car == null) return false;\n return true;\n }", "public final boolean can_retreat_modstate (int new_modstate) throws GUIEDTException {\n\t\treturn new_modstate <= modstate;\n\t}", "boolean hasRecode();", "@Override\r\n public boolean doIsModified() {\r\n return this.updatedGroups.isEmpty();\r\n }", "boolean isShared();", "boolean isEngaged(Rebalancer<K, V> r) {\n return rebalancer.get() == r;\n }", "boolean hasStatusChanged();", "@Override\n\tpublic boolean isReceiving() {\n\t\t// set remotely, so we need to call botinfo()\n\t\tif (botinfo().getLastReceivedMessage() < clock.currentTimeMillis() - 10000) {\n\t\t\tthrow new NotFoundException();\n\t\t}\n\t\treturn true;\n\t}", "public boolean isRoomstlogidModified() {\n return roomstlogid_is_modified; \n }", "public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }", "public boolean areGraticulesUpdated() {\n return GRATICULESUPDATED.equals(message);\n }", "@java.lang.Override\n public boolean hasReplicateRequest() {\n return replicateRequest_ != null;\n }", "@Transient\n\tpublic boolean isContainsReIssueService() {\n\t\treturn mContainsReIssueService;\n\t}", "public boolean isUndoPossible() {\n return (roundsHistory.size() > 1);\n }", "public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified || \n\t\tstatusdate_is_modified || \n\t\tst_is_modified || \n\t\tregbyid_is_modified || \n\t\tregdate_is_modified || \n\t\treservationroomid_is_modified || \n\t\troomtypeid_is_modified || \n\t\tblockroomid_is_modified || \n\t\tlogdate_is_modified;\n }", "boolean beforeMasterSelectionChange();" ]
[ "0.6475438", "0.6293728", "0.6254044", "0.6171234", "0.6166344", "0.602672", "0.6009381", "0.5985185", "0.5908756", "0.58927286", "0.58292055", "0.58192647", "0.5812884", "0.57454497", "0.56855386", "0.5682531", "0.5681889", "0.5676818", "0.56635725", "0.5660977", "0.564491", "0.56218725", "0.5603584", "0.55582637", "0.5555492", "0.5551488", "0.55485857", "0.5508437", "0.550173", "0.54795957", "0.547887", "0.54537475", "0.54504764", "0.54488844", "0.5448682", "0.54481566", "0.54457384", "0.54270744", "0.5418582", "0.5416465", "0.54124385", "0.5407814", "0.54076123", "0.54034555", "0.5400045", "0.5398241", "0.53900903", "0.53872746", "0.5383409", "0.53794783", "0.5375062", "0.53575575", "0.5355159", "0.5342324", "0.5332974", "0.533073", "0.5326482", "0.5321486", "0.5318472", "0.5315011", "0.5309257", "0.53069186", "0.52949744", "0.52924997", "0.5292276", "0.52583104", "0.5253386", "0.52478963", "0.5245604", "0.52440023", "0.524348", "0.5242639", "0.5240129", "0.52219206", "0.5218558", "0.5208118", "0.52060294", "0.5205829", "0.5204819", "0.5204418", "0.5197168", "0.51905274", "0.5185173", "0.518366", "0.5179405", "0.51783955", "0.51696205", "0.5166913", "0.5163838", "0.51627326", "0.516157", "0.5160856", "0.51572675", "0.5152198", "0.51486015", "0.5148599", "0.51416546", "0.5135841", "0.5135494", "0.5135278" ]
0.8351669
0
Return true if torrent is a scene release.
public boolean isScene() { return scene; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isSetRelease()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(RELEASE$4) != 0;\r\n }\r\n }", "public boolean isReadyForRelease() {\r\n return true;\r\n }", "public boolean isReleased() {\n return released;\n }", "boolean hasIsRevanche();", "public boolean releaseAnchor (){\n boolean Launched = false;\n\n if (this.readyToLaunch) {\n Launched = true;\n isAnchored = false;\n moveOtherObjects = false;\n }\n\n return Launched;\n }", "boolean testFinalScene(Tester t) {\n return t.checkExpect(new NBullets(10).makeAFinalScene(),\n new WorldScene(500, 300).placeImageXY(\n new TextImage(\"Game over! You destroyed 0 ships.\", 25, Color.BLACK), 250, 150))\n && t.checkExpect(new NBullets(this.mt, this.los1, 0, 42, 0).makeAFinalScene(),\n new WorldScene(500, 300).placeImageXY(\n new TextImage(\"Game over! You destroyed 42 ships.\", 25, Color.BLACK), 250, 150));\n }", "public boolean getIsReleased() {\n\t\treturn _isReleased;\n\t}", "@Override\n\tpublic void setReleaseOnFinish(boolean isRelease) {\n\t\t\n\t}", "@Test\n public void canObtainOwnRelease() throws Exception {\n final Release release = release();\n final RtReleaseAsset asset = new RtReleaseAsset(\n new FakeRequest(),\n release,\n 1\n );\n MatcherAssert.assertThat(\n asset.release(),\n Matchers.is(release)\n );\n }", "public static boolean isSnapshotVersion() {\n\t\treturn getShortVersion().toLowerCase().startsWith(\"snapshot\");\n\t}", "public boolean isVersion()\n {\n return !getVersion().isNull();\n }", "public boolean wasJustReleased() {\n\t\treturn (!mNow && mLast);\n\t}", "public boolean isSetRelease_date() {\r\n return this.release_date != null;\r\n }", "public boolean isRedstoneTorch() {\n return this.type == Type.REDSTONE_TORCH;\n }", "public boolean isSetRelease_date() {\n return this.release_date != null;\n }", "boolean hasRestore();", "private boolean hasTrackingPlane() {\n for (Plane plane : session.getAllTrackables(Plane.class)) {\n if (plane.getTrackingState() == TrackingState.TRACKING) {\n return true;\n }\n }\n return false;\n }", "public boolean isReleaseTrackedNodeOnFinalize()\n {\n return releaseTrackedNodeOnFinalize;\n }", "boolean hasVersion();", "boolean hasVersion();", "protected boolean isFinished() {\n\t\tif(switchSide) {\n\t\t\treturn !launchCubeSwitch.isRunning() && state == 4;\n\t\t}\n\t\telse if(scaleSide) {\n\t\t\treturn !launchCubeScale.isRunning() && state == 4;\n\t\t}\n\t\telse {\n\t\t\treturn !crossLine.isRunning() && timer.get() > 1;\n\t\t}\n\t}", "protected boolean isFinished() {\n \tif(timeSinceInitialized() >= 1.75){\n \t\treturn true;\n \t}\n return false;\n }", "protected boolean isFinished() {\n \n \tif(Math.abs(RobotMap.navx.getAngle() - this.desiredAngle) <=2) {\n \n \t\treturn true;\n \t}\n return false;\n }", "protected boolean isFinished() {\n \tif (Math.abs(_finalTickTargetLeft - Robot.driveTrain.getEncoderLeft()) <= 0 &&\n \t\t\tMath.abs(_finalTickTargetRight - Robot.driveTrain.getEncoderRight()) <= 0)\n \t{\n \t\treturn true;\n \t}\n return false;\n }", "public boolean isGameRunning()\n\t{\n\t\treturn zegar.isRunning() || wToku;\n\t}", "protected boolean isFinished() {\r\n if (Math.abs(motorWithEncoder.getSetpoint() - motorWithEncoder.getPosition()) < 0.5) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }", "public final boolean mo97969V() {\n return getLifecycle().mo54a().equals(State.DESTROYED);\n }", "public boolean isSnapshotVersion( )\n {\n return Version.isSnapshot( getCurrentVersion( ) );\n }", "boolean hasCurrentVersion();", "public boolean hasRefSeason() {\n return refSeason_ != null;\n }", "boolean testMakeScene(Tester t) {\n return t.checkExpect(new NBullets(10).makeScene(),\n new WorldScene(500, 300).placeImageXY(\n new TextImage(\"Bullets left: 10, ships destroyed: 0\", 15, Color.BLACK), 130, 290))\n && t.checkExpect(new NBullets(this.lob1, this.los1, 9, 2, 0).makeScene(),\n this.bullet1.place(this.ship1.place(new WorldScene(500, 300))).placeImageXY(\n new TextImage(\"Bullets left: 9, ships destroyed: 2\", 15, Color.BLACK), 130, 290));\n }", "public boolean isCreated() {\n\t\treturn this.viewer != null;\n\t}", "boolean hasAsset();", "protected boolean isFinished() {\n //\tif(OI.joystickOne.getPOV() == 180){\n \t\t//return true;\n \t//\n \t\t\t\n return false;\n }", "private boolean isReady() {\n for (Rotor rotor : rotors)\n if (rotor == null)\n return false;\n return (stator != null && reflector != null && plugboard != null);\n }", "public boolean getPressRV()\n\t{\n\t\treturn pressRV;\n\t}", "boolean publish() {\n pendingOps.incrementAndGet();\n State currentState = state.get();\n if (currentState == State.FROZEN || currentState == State.RELEASED) {\n pendingOps.decrementAndGet();\n return false;\n }\n return true;\n }", "protected boolean isFinished() {\n //return !RobotMap.TOTE_SWITCH.get();\n \treturn false;\n }", "boolean hasPlayready();", "@Override\n\tpublic boolean isIsFinal() {\n\t\treturn _esfTournament.isIsFinal();\n\t}", "public boolean supportStage(final String stage) {\n return mSupportedStages.contains(stage);\n }", "public boolean isReserved() {\n return target.searchLink(ParentLinkName.ENTERPRISE) != null;\n }", "public boolean isSetVersion()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(VERSION$4) != 0;\n }\n }", "public boolean hasBeenAcquired(){\r\n\t\treturn !(acquiredBy == null);\r\n\t}", "public static boolean releaseNow(final Object releasable) {\n return THREAD_RELEASER.get().releaseNow(releasable);\n }", "public boolean taken() {\n return pawn.getLives() != 0;\n }", "boolean hasRetainFlag();", "public boolean isReserved(){\n\t\treturn reserved;\n\t}", "public boolean isFinished() {\n\t\t// the word is guessed out only when the unrevealedSlots is 0\n\t\tif (this.unrevealedSlots == 0) {\n\t\t\treturn true;\n\t\t}else {\n\t\t\treturn false;\n\t\t}\n\t}", "@java.lang.Override\n public boolean hasFairplay() {\n return fairplay_ != null;\n }", "boolean hasFairplay();", "public static boolean isLoaded() {\n\t\ttry {\n\t\t\tPlayer.getRSPlayer();\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "private boolean isStageRequired(final String stage) {\n return mRegistrationResponse != null\n && isRequired(stage)\n && !isCompleted(stage);\n }", "boolean hasSkin();", "public boolean hasTarget() { \n if (isReal) {\n return get(\"tv\") == 1; // cleaned return statement up\n } else {\n return hasTargetSim.getBoolean(false);\n }\n }", "protected boolean isFinished() {\n \tTargetTransform tt = Robot.vision_.getLatestGearLiftTargetTransform();\n \t\n \tif ( !isTimedOut() )\n \t{\n \t\treturn false;\n \t}\n \t\n \tif ( tt == null )\n \t{\n \t\treturn false;\n \t}\n \t\n \tif ( !tt.targetFound() )\n \t{\n \t\treturn false;\n \t}\n \t\n \tif ( previousTargetTransform == null )\n \t{\n \t\tRobot.vision_.takeTargetSnapshot( tt );\n\t\t\treturn true;\n \t}\n \t\n \tif ( !tt.equals(previousTargetTransform) )\n \t{\n\t\t\tRobot.vision_.takeTargetSnapshot( tt );\n\t\t\treturn true;\n \t}\n \t\n \treturn false;\n }", "public boolean isLurking(String viewer) {\n\t\tviewer = viewer.toLowerCase();\n\t\tif (!viewers.containsKey(viewer)) return true;\n\t\treturn (System.currentTimeMillis()-viewers.get(viewer) <= 120000);\n\t}", "protected boolean isPreview()\n\t{\n\t\treturn sessionService.getAttribute(PREVIEW_TICKET_ID_PARAM) != null;\n\t}", "public boolean hasRefSeason() {\n return refSeasonBuilder_ != null || refSeason_ != null;\n }", "boolean hasVideo();", "private boolean m11885j() {\n IUser a = ((C3592a) C3596c.m13172a(C3592a.class)).user().mo22165a();\n if (!C9290a.f25466a && a != null && a.isEnableShowCommerceSale()) {\n if (this.f9687p == LiveMode.VIDEO) {\n return true;\n }\n LiveMode liveMode = this.f9687p;\n LiveMode liveMode2 = LiveMode.THIRD_PARTY;\n }\n return false;\n }", "boolean hasAcquireDate();", "protected boolean isFinished() {\n \tif(timer.get()>.7)\n \t\treturn true;\n \tif(Robot.gearX==0)\n \t\treturn true;\n return (Math.abs(173 - Robot.gearX) <= 5);\n }", "public boolean mo5973j() {\n return !isDestroyed() && !isFinishing();\n }", "public Boolean isUseStageCache() {\n return this.useStageCache;\n }", "protected boolean isFinished() {\n \tif (moving) return Robot.armPiston.getMajor() != PistonPositions.Moving; /* && Robot.armPiston.getMinor() != PistonPositions.Moving; */\n \treturn true;\n }", "@JsonIgnore\r\n public boolean hasSetReleaseDate() {\r\n return hasSetReleaseDate;\r\n }", "public boolean isSetVersion() {\n return this.version != null;\n }", "public boolean isSetVersion() {\n return this.version != null;\n }", "@Override\n public boolean isFinished() {\n return swerve.getPose().getTranslation().distance(pointOfInterest) <= distance;\n }", "public boolean isFreeTorrent() {\r\n\t\treturn freeTorrent;\r\n\t}", "public boolean isShivering();", "public boolean isReconstruction() {\n\t\treturn getShort(ADACDictionary.RECONSTRUCTED_SLICES) > 0;\n\t}", "public static boolean m133284b() {\n IAVPublishService publishService = ((IAVService) ServiceManager.get().getService(IAVService.class)).publishService();\n C7573i.m23582a((Object) publishService, \"ServiceManager.get().get…ss.java).publishService()\");\n return publishService.isPublishing();\n }", "public boolean istKorrupt() {\n\t\tif (this.korrupt) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean isSetVersion()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(VERSION$6) != 0;\r\n }\r\n }", "boolean isPlayable();", "protected boolean isFinished() {\n \tif(Math.abs(Robot.driveTrain.getHeading() - targetDirection) < 2) {\n \t\treturn true;\n \t} else {\n \t\treturn false;\n \t}\n }", "protected boolean isFinished() {\n \t\n \tif(current_time >= goal) {\n \t\t\n \t\treturn true;\n \t}else {\n \t\t\n \t\treturn false;\n \t}\n }", "public static boolean hasTarget() {\n return NetworkTableInstance.getDefault().getTable(\"limelight\").getEntry(\"tv\").getDouble(0) == 0 ? false : true;\n }", "@Override\n protected boolean isFinished() {\n return timeSinceInitialized() > 0.5 && Robot.toteLifterSubsystem.isEjectorExtended();\n }", "protected boolean isFinished() {\n return (timeRunning>timeStarted+5 || RobotMap.inPosition.get()!=OI.shooterArmed);\n }", "protected boolean isFinished() {\n\t\tboolean beyondTarget = Robot.wrist.getCurrentPosition() > safePosition;\n\t\treturn isSafe || beyondTarget;\n\t}", "boolean hasMission();", "public String getReleaseFlag() {\r\n\t\treturn releaseFlag;\r\n\t}", "public boolean isOver() {\n return this.treeNode.getBuilding().isFinished();\n }", "public boolean isReserved() {\n return reserved;\n }", "public boolean isTargetVisible() {\n return getDouble(\"tv\") == 1;\n }", "protected boolean isFinished() {\n \tboolean distanceTarget = Robot.driveDistancePID.onRawTarget();\n \t\n \tdouble timeNow = timeSinceInitialized();\n \t\n \treturn (distanceTarget || (timeNow >= expireTime));\n }", "protected boolean isFinished() {\n\t\treturn RobotMap.VisionDistanceLeftPIDController.onTarget() && RobotMap.VisionDistanceRightPIDController.onTarget() || !hasStarted;\n\t}", "public void checkRelease(){\n\n\t\t//Clear boolean to indicate that the GUIItem is no longer touched\n\t\twhileTouched = false;\n\t\tif (touchObject != null)\n\t\t\tonRelease = true;\n\t}", "protected boolean isFinished() {\n\t\treturn Robot.gearIntake.getPegSwitch();\n\t}", "protected boolean isFinished() {\n\t\treturn pid.onTarget();\n\t}", "public boolean isNode() {\n return (kids != null);\n }", "public boolean isFinished() {\n\t\t\n\t\treturn drivetrain.angleReachedTarget();\n\n\t}", "boolean hasVersionNumber();", "protected boolean isFinished() {\n return Robot.claw.isRetracted();\n }", "protected boolean isFinished() {\n\t\treturn false;\n\t\t//return timeOnTarget >= finishTime;\n }", "public boolean isSmartCover() {\r\n ScoverState coverState = getCoverState();\r\n return coverState != null && coverState.type == 255;\r\n }", "protected boolean isFinished() {\n\t\tif (_timesRumbled == 40) {\n\t\t\treturn true;\n\t\t}\n\t\telse {\n\t\t\treturn false;\n\t\t}\n\t}" ]
[ "0.6123729", "0.59218025", "0.59084195", "0.5859536", "0.55966955", "0.5555755", "0.5552338", "0.5519574", "0.5475112", "0.5447773", "0.5416565", "0.53453135", "0.53202176", "0.5300415", "0.5288203", "0.52865404", "0.52661777", "0.5252744", "0.5230731", "0.5230731", "0.51958996", "0.5172448", "0.51547015", "0.5120262", "0.5093164", "0.5093122", "0.5073653", "0.50689095", "0.50656134", "0.5065441", "0.50607", "0.5056307", "0.5051686", "0.5050325", "0.50470334", "0.5044313", "0.503747", "0.50301373", "0.50290525", "0.5025882", "0.502523", "0.501628", "0.5008942", "0.49933586", "0.49930522", "0.4988123", "0.49840343", "0.49564993", "0.49404076", "0.49392396", "0.4935302", "0.49343947", "0.49332312", "0.49318436", "0.49282083", "0.49220267", "0.49217868", "0.4921129", "0.4920853", "0.4917803", "0.4916299", "0.49117142", "0.49092433", "0.49033317", "0.48995066", "0.48945642", "0.48920697", "0.488564", "0.488564", "0.4885479", "0.4879496", "0.48784727", "0.48754588", "0.48732072", "0.4865535", "0.48644876", "0.48642623", "0.48592827", "0.48571113", "0.48523125", "0.48450044", "0.4840635", "0.48397043", "0.48389372", "0.48331398", "0.48297986", "0.48279238", "0.48207304", "0.48161042", "0.4814719", "0.48132083", "0.4811708", "0.48012543", "0.47950548", "0.47933364", "0.47926748", "0.4792344", "0.4791985", "0.47910577", "0.4790796" ]
0.6744462
0
Get a concise representation of the torrent media, format and encoding. For example "CD AAC 320"
public String getMediaFormatEncoding() { return this.getMedia() + " - " + this.getFormat() + " - " + this.getEncoding(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@DISPID(1093) //= 0x445. The runtime will prefer the VTID if present\n @VTID(14)\n java.lang.String media();", "String getMedia();", "public String encode() {\n\t\tString encoded_string;\n\t\tencoded_string = MEDIA_FIELD;\n\t\tif (media != null)\n\t\t\tencoded_string += media + Separators.SP + port;\n\t\t// Workaround for Microsoft Messenger contributed by Emil Ivov\n\t\t// Leave out the nports parameter as this confuses the messenger.\n\t\tif (nports > 1)\n\t\t\tencoded_string += Separators.SLASH + nports;\n\n\t\tif (proto != null)\n\t\t\tencoded_string += Separators.SP + proto;\n\n\t\tif (formats != null)\n\t\t\tencoded_string += Separators.SP + encodeFormats();\n\n\t\tencoded_string += Separators.NEWLINE;\n\t\treturn encoded_string;\n\t}", "String getMinifiedMedia();", "public String getMediaDetails() {\n return mediaListPlayer.currentMrl();\n }", "@Override\n public String toString() {\n return \"Media{\" +\n \"assetId=\" + assetId +\n \", name='\" + name + '\\'' +\n \", created=\" + created +\n \", fileName='\" + fileName + '\\'' +\n '}';\n }", "private String soundConversion() {\n int reading = (record[18] & 255) + ((record[21] & 0x0C) << 6);\n return (reading * 100) / 1024 + \"\";\n }", "public java.lang.String getMedia() {\n return media;\n }", "public final String mo4983Fk() {\n AppMethodBeat.m2504i(50547);\n StringBuffer stringBuffer = new StringBuffer();\n stringBuffer.append(\"Tid:\").append(this.cZt);\n stringBuffer.append(IOUtils.LINE_SEPARATOR_WINDOWS);\n stringBuffer.append(\"VideoUrl:\").append(this.cZu);\n stringBuffer.append(IOUtils.LINE_SEPARATOR_WINDOWS);\n stringBuffer.append(\"NewMd5:\").append(this.cVC);\n stringBuffer.append(IOUtils.LINE_SEPARATOR_WINDOWS);\n stringBuffer.append(\"DownloadStartTime:\").append(this.cVD);\n stringBuffer.append(IOUtils.LINE_SEPARATOR_WINDOWS);\n stringBuffer.append(\"DownloadEndTime:\").append(this.cVE);\n stringBuffer.append(IOUtils.LINE_SEPARATOR_WINDOWS);\n stringBuffer.append(\"VideoSize:\").append(this.cVF);\n stringBuffer.append(IOUtils.LINE_SEPARATOR_WINDOWS);\n stringBuffer.append(\"VideoDuration:\").append(this.cVG);\n stringBuffer.append(IOUtils.LINE_SEPARATOR_WINDOWS);\n stringBuffer.append(\"VideoBitrate:\").append(this.cVH);\n stringBuffer.append(IOUtils.LINE_SEPARATOR_WINDOWS);\n stringBuffer.append(\"AudioBitrate:\").append(this.cVI);\n stringBuffer.append(IOUtils.LINE_SEPARATOR_WINDOWS);\n stringBuffer.append(\"VideoFps:\").append(this.cVJ);\n stringBuffer.append(IOUtils.LINE_SEPARATOR_WINDOWS);\n stringBuffer.append(\"VideoWidth:\").append(this.cVK);\n stringBuffer.append(IOUtils.LINE_SEPARATOR_WINDOWS);\n stringBuffer.append(\"VideoHeight:\").append(this.cVL);\n stringBuffer.append(IOUtils.LINE_SEPARATOR_WINDOWS);\n stringBuffer.append(\"CDNIp:\").append(this.cVM);\n stringBuffer.append(IOUtils.LINE_SEPARATOR_WINDOWS);\n stringBuffer.append(\"OriginalAudioChannel:\").append(this.cVN);\n stringBuffer.append(IOUtils.LINE_SEPARATOR_WINDOWS);\n stringBuffer.append(\"HadPreloadSize:\").append(this.cVO);\n stringBuffer.append(IOUtils.LINE_SEPARATOR_WINDOWS);\n stringBuffer.append(\"HadPreloadCompletion:\").append(this.cVP);\n String stringBuffer2 = stringBuffer.toString();\n AppMethodBeat.m2505o(50547);\n return stringBuffer2;\n }", "public String getFormatCode() {\n if (format == null) return \"MP4\";\n switch(format) {\n case \"Windows Media\": return \"WMV\";\n case \"Flash Video\": return \"FLV\";\n case \"MPEG-4\": return \"MP4\";\n case \"Matroska\": return \"MKV\";\n case \"AVI\": return \"AVI\";\n default: return \"MP4\";\n }\n }", "Builder addEncoding(MediaObject.Builder value);", "public String encode() {\n\tStringBuffer retval = new StringBuffer();\n\n\tif (mediaField != null) \n\t retval.append(mediaField.encode());\n\n\tif (informationField != null) \n\t retval.append(informationField.encode());\n\n\tif (connectionField != null) \n\t retval.append(connectionField.encode());\n\n\tif (bandwidthFields != null) {\n\t for (int i = 0; i < bandwidthFields.size(); i++) {\n\t\tBandwidthField bandwidthField = \n\t\t (BandwidthField) bandwidthFields.elementAt(i);\n\t\tretval.append(bandwidthField.encode());\n\t }\n\t}\n\n\tif (keyField != null) \n\t retval.append(keyField.encode());\n\n\tif (attributeFields != null) {\n\t for (int i = 0; i < attributeFields.size(); i++) \n\t\tretval.append(((SDPField)attributeFields.elementAt(i)).\n\t\t\t encode());\n\t}\n\n\treturn retval.toString();\n }", "public final MediaFormat mo41565Ux() {\n AppMethodBeat.m2504i(12848);\n C4990ab.m7416i(\"MicroMsg.VideoCodecConfig\", \"targetWidth:\" + this.eTi + \", targetHeight:\" + this.eTj + \", bitrate:\" + this.bitrate + \", frameRate:\" + this.eTk + \", colorFormat:\" + this.eTl + \", iFrameInterval:\" + this.eTm);\n MediaFormat createVideoFormat = MediaFormat.createVideoFormat(this.MIME_TYPE, this.eTi, this.eTj);\n MediaCodecInfo mediaCodecInfo = this.eTo;\n if (mediaCodecInfo == null) {\n C25052j.dWJ();\n }\n C25052j.m39375o(createVideoFormat, \"mediaFormat\");\n mo33813a(mediaCodecInfo, createVideoFormat);\n mediaCodecInfo = this.eTo;\n if (mediaCodecInfo == null) {\n C25052j.dWJ();\n }\n C25052j.m39376p(mediaCodecInfo, \"codecInfo\");\n C25052j.m39376p(createVideoFormat, \"mediaFormat\");\n try {\n if (C1443d.m3068iW(21)) {\n CodecCapabilities capabilitiesForType = mediaCodecInfo.getCapabilitiesForType(this.MIME_TYPE);\n if (capabilitiesForType != null) {\n EncoderCapabilities encoderCapabilities = capabilitiesForType.getEncoderCapabilities();\n if (encoderCapabilities != null) {\n if (encoderCapabilities.isBitrateModeSupported(1)) {\n C4990ab.m7416i(C18579a.TAG, \"support vbr bitrate mode\");\n createVideoFormat.setInteger(\"bitrate-mode\", 1);\n } else if (encoderCapabilities.isBitrateModeSupported(2)) {\n C4990ab.m7416i(C18579a.TAG, \"support cbr bitrate mode\");\n createVideoFormat.setInteger(\"bitrate-mode\", 2);\n } else {\n C4990ab.m7416i(C18579a.TAG, \"both vbr and cbr bitrate mode not support!\");\n }\n }\n }\n }\n } catch (Exception e) {\n C4990ab.m7413e(C18579a.TAG, \"trySetBitRateMode error: %s\", e.getMessage());\n }\n createVideoFormat.setInteger(FFmpegMetadataRetriever.METADATA_KEY_VARIANT_BITRATE, this.bitrate);\n createVideoFormat.setInteger(\"frame-rate\", this.eTk);\n createVideoFormat.setInteger(\"color-format\", this.eTl);\n createVideoFormat.setInteger(\"i-frame-interval\", this.eTm);\n AppMethodBeat.m2505o(12848);\n return createVideoFormat;\n }", "public String toStringFull() {\n PrintfFormat str = new PrintfFormat();\n str.append (\"The MRG32k3a stream\");\n if (name != null && name.length() > 0)\n str.append (\" \" + name);\n str.append (\":\" + PrintfFormat.NEWLINE + \" anti = \" +\n (anti ? \"true\" : \"false\")).append(PrintfFormat.NEWLINE);\n str.append (\" prec53 = \" + (prec53 ? \"true\" : \"false\")).append(PrintfFormat.NEWLINE);\n\n str.append (\" Ig = { \");\n for (int i = 0; i < 5; i++)\n str.append ((long) Ig[i] + \", \");\n str.append ((long) Ig[5] + \" }\" + PrintfFormat.NEWLINE);\n\n str.append (\" Bg = { \");\n for (int i = 0; i < 5; i++)\n str.append ((long) Bg[i] + \", \");\n str.append ((long) Bg[5] + \" }\" + PrintfFormat.NEWLINE);\n\n str.append (\" Cg = { \");\n str.append ((long) Cg0 + \", \");\n str.append ((long) Cg1 + \", \");\n str.append ((long) Cg2 + \", \");\n str.append ((long) Cg3 + \", \");\n str.append ((long) Cg4 + \", \");\n str.append ((long) Cg5 + \" }\" + PrintfFormat.NEWLINE +\n PrintfFormat.NEWLINE);\n\n return str.toString();\n }", "Builder addEncoding(MediaObject value);", "Builder addEncodings(MediaObject.Builder value);", "java.lang.String getBitrate();", "public String toString() {\n\t\tStringBuffer buffer = new StringBuffer();\n\t\tbuffer.append(video);\n\t\tbuffer.append(\" [\");\n\t\tbuffer.append(numOwned);\n\t\tbuffer.append(\",\");\n\t\tbuffer.append(numOut);\n\t\tbuffer.append(\",\");\n\t\tbuffer.append(numRentals);\n\t\tbuffer.append(\"]\");\n\t\treturn buffer.toString();\n\t}", "public String toShortString ()\r\n {\r\n StringBuilder sb = new StringBuilder();\r\n sb.append(\"[\");\r\n\r\n if (getVoice() != null) {\r\n sb.append(\"Voice#\").append(getVoice().getId());\r\n }\r\n\r\n sb.append(\" Chord#\").append(getId());\r\n\r\n sb.append(\" dur:\");\r\n\r\n if (isWholeDuration()) {\r\n sb.append(\"W\");\r\n } else {\r\n Rational chordDur = getDuration();\r\n\r\n if (chordDur != null) {\r\n sb.append(chordDur);\r\n } else {\r\n sb.append(\"none\");\r\n }\r\n }\r\n\r\n sb.append(\"]\");\r\n\r\n return sb.toString();\r\n }", "java.lang.String getAboutRaw();", "public String getName()\n {\n return codecInfo.getName();\n }", "String getContentEncoding();", "public String getAlbumInfo() {\n String albumInfo = \"\";\n Elements elements = album.getElementsByClass(\"header-new-title\");\n albumInfo += \"<strong>\" + elements.text() + \"</strong> ( \";\n elements = album.getElementsByClass(\"catalogue-metadata-description\");\n albumInfo += elements.get(1).text() + \" )\\n\\n\" + getScrobbles(album);\n\n String wiki = getWiki(albumLink);\n if (wiki.contains(\"<i>Do you know any background info about this?</i>\\n\\n\"))\n return albumInfo + \"\\n\\n\" + wiki;\n if (wiki.length() > 400)\n wiki = wiki.substring(0, 400) + \" ...\";\n\n albumInfo += \"\\n\\n\" + wiki + \"\\n\\n\" + getLink(albumLink + \"/+wiki\", \" Continue on Last.fm\");\n return albumInfo;\n }", "public String toLsString()\n {\n String sizeOrDeviceId = \"\";\n String name = this.file.getName();\n String realPath = this.isSymLink() ? RootTools.getRealPath(this.file.getPath()) : null;\n\n switch (this.type)\n {\n case File:\n sizeOrDeviceId = String.valueOf(this.size);\n break;\n case CharacterDevice:\n case BlockDevice:\n sizeOrDeviceId = String.format(\"%3d,%4d\", this.deviceIdSpecial >> 8, this.deviceIdSpecial & 0xff);\n break;\n case SymbolicLink:\n name = name + \" -> \" + (realPath == null ? \"(null)\" : new File(realPath).getName());\n break;\n }\n\n return String.format(\"%s %-8s %-8s %8s %s %s\",\n this.mode.getSymbols(),\n //this.hardLinkCount,\n RootTools.getUserName(this.userId),\n RootTools.getUserName(this.groupId),\n sizeOrDeviceId,\n new SimpleDateFormat(\"yyyy-MM-dd HH:mm\").format(this.lastModified),\n name);\n }", "String getCodec() {\n return codec;\n }", "public Codec getCodec();", "public String toTerseString()\n {\n return TextUtils.join(\" \", new String[] {\n this.file.getPath(),\n String.valueOf(this.size),\n String.valueOf(this.blockCount),\n Integer.toHexString(this.mode.getValue()),\n String.valueOf(this.userId),\n String.valueOf(this.groupId),\n Long.toHexString(this.deviceId),\n String.valueOf(this.inode),\n String.valueOf(this.hardLinkCount),\n Long.toHexString(this.deviceIdSpecial >> 8),\n Long.toHexString(this.deviceIdSpecial & 0xff),\n String.valueOf(this.lastAccessed.getTime() / 1000),\n String.valueOf(this.lastModified.getTime() / 1000),\n String.valueOf(this.lastChanged.getTime() / 1000),\n String.valueOf(this.blockSize)\n });\n }", "@TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR2)\n public MediaFormat getEncoderFormat() {\n return super.getEncoderVideoFormat(MIME_TYPE, mWidth, mHeight, mBitRate, FRAME_RATE, IFRAME_INTERVAL);\n }", "public String getMediaType() throws SdpParseException {\n\t\treturn getMedia();\n\t}", "public String getMtf() {\n StringBuffer sb = new StringBuffer();\n String nl = \"\\r\\n\"; // DOS friendly\n\n boolean standard = (getCockpitType() == Mech.COCKPIT_STANDARD) && (getGyroType() == Mech.GYRO_STANDARD);\n boolean fullHead = hasFullHeadEject();\n if (standard && !fullHead) {\n sb.append(\"Version:1.0\").append(nl);\n } else if (!fullHead){\n sb.append(\"Version:1.1\").append(nl);\n } else {\n sb.append(\"Version:1.2\").append(nl);\n }\n sb.append(chassis).append(nl);\n sb.append(model).append(nl);\n sb.append(nl);\n\n sb.append(\"Config:\");\n if (this instanceof BipedMech) {\n sb.append(\"Biped\");\n } else if (this instanceof QuadMech) {\n sb.append(\"Quad\");\n }\n\n if (isOmni()) {\n sb.append(\" Omnimech\");\n }\n\n sb.append(nl);\n sb.append(\"TechBase:\");\n if (isMixedTech()) {\n if (isClan()) {\n sb.append(\"Mixed (Clan Chassis)\");\n } else {\n sb.append(\"Mixed (IS Chassis)\");\n }\n } else {\n sb.append(TechConstants.getTechName(techLevel));\n }\n sb.append(nl);\n sb.append(\"Era:\").append(year).append(nl);\n if ((source != null) && (source.trim().length() > 0)) {\n sb.append(\"Source:\").append(source).append(nl);\n }\n sb.append(\"Rules Level:\").append(TechConstants.T_SIMPLE_LEVEL[techLevel]);\n sb.append(nl);\n sb.append(nl);\n\n Float tonnage = new Float(weight);\n sb.append(\"Mass:\").append(tonnage.intValue()).append(nl);\n sb.append(\"Engine:\").append(getEngine().getEngineName()).append(\" Engine\").append(!(getEngine().hasFlag(Engine.CLAN_ENGINE)&&isMixedTech())?(\"(IS)\"):\"\");\n sb.append(nl);\n sb.append(\"Structure:\");\n sb.append(EquipmentType.getStructureTypeName(getStructureType()));\n sb.append(nl);\n\n sb.append(\"Myomer:\");\n if (hasTSM()) {\n sb.append(\"Triple-Strength\");\n } else if (hasIndustrialTSM()) {\n sb.append(\"Industrial Triple-Strength\");\n } else {\n sb.append(\"Standard\");\n }\n sb.append(nl);\n\n if (!standard) {\n sb.append(\"Cockpit:\");\n sb.append(getCockpitTypeString());\n sb.append(nl);\n\n sb.append(\"Gyro:\");\n sb.append(getGyroTypeString());\n sb.append(nl);\n }\n if (hasFullHeadEject()) {\n sb.append(\"Ejection:\");\n sb.append(Mech.FULL_HEAD_EJECT_STRING);\n sb.append(nl);\n }\n sb.append(nl);\n\n sb.append(\"Heat Sinks:\").append(heatSinks()).append(\" \");\n if (hasLaserHeatSinks()) {\n sb.append(\"Laser\");\n } else if (hasDoubleHeatSinks()) {\n sb.append(\"Double\");\n } else {\n sb.append(\"Single\");\n }\n sb.append(nl);\n\n if (isOmni()) {\n sb.append(\"Base Chassis Heat Sinks:\");\n sb.append(getEngine().getBaseChassisHeatSinks());\n sb.append(nl);\n }\n\n sb.append(\"Walk MP:\").append(walkMP).append(nl);\n sb.append(\"Jump MP:\").append(jumpMP).append(nl);\n sb.append(nl);\n\n sb.append(\"Armor:\").append(EquipmentType.getArmorTypeName(getArmorType()));\n sb.append(\"(\" + TechConstants.getTechName(getArmorTechLevel()) + \")\");\n sb.append(nl);\n\n for (int element : MtfFile.locationOrder) {\n sb.append(getLocationAbbr(element)).append(\" Armor:\");\n sb.append(getOArmor(element, false)).append(nl);\n }\n for (int element : MtfFile.rearLocationOrder) {\n sb.append(\"RT\").append(getLocationAbbr(element).charAt(0)).append(\" Armor:\");\n sb.append(getOArmor(element, true)).append(nl);\n }\n sb.append(nl);\n\n sb.append(\"Weapons:\").append(weaponList.size()).append(nl);\n for (int i = 0; i < weaponList.size(); i++) {\n Mounted m = weaponList.get(i);\n sb.append(m.getName()).append(\", \").append(getLocationName(m.getLocation())).append(nl);\n }\n sb.append(nl);\n\n for (int l : MtfFile.locationOrder) {\n String locationName = getLocationName(l);\n sb.append(locationName + \":\");\n sb.append(nl);\n for (int y = 0; y < 12; y++) {\n if (y < getNumberOfCriticals(l)) {\n sb.append(decodeCritical(getCritical(l, y))).append(nl);\n } else {\n sb.append(MtfFile.EMPTY).append(nl);\n }\n }\n sb.append(nl);\n }\n\n if (getFluff().getHistory().trim().length() > 0) {\n sb.append(\"history:\");\n sb.append(getFluff().getHistory());\n }\n\n if (getFluff().getMMLImagePath().trim().length() > 0) {\n sb.append(\"imagefile:\");\n sb.append(getFluff().getMMLImagePath());\n }\n\n return sb.toString();\n }", "public String toString() {\n\t\tString strMusica = \"\";\n\t\tfor (int i = 0; i < musicas.length; i++) {\n\t\t\tstrMusica += musicas[i] + \" \";\n\t\t}\n\n\t\treturn \"Autor: \" + autor + \", Nome: \" + nome + \", Preferida: \"\n\t\t\t\t+ preferida + \", Musicas: \" + strMusica;\n\t}", "@Override\n public String toString() {\n String str = \"Unknown file format\";\n //$$fb2002-11-01: fix for 4672864: AudioFileFormat.toString() throws unexpected NullPointerException\n if (getType() != null) {\n str = getType() + \" (.\" + getType().getExtension() + \") file\";\n }\n if (getByteLength() != AudioSystem.NOT_SPECIFIED) {\n str += \", byte length: \" + getByteLength();\n }\n str += \", data format: \" + getFormat();\n if (getFrameLength() != AudioSystem.NOT_SPECIFIED) {\n str += \", frame length: \" + getFrameLength();\n }\n return str;\n }", "@Override public String toString() {\n return this.ToMediaType().toString();\n }", "java.lang.String getQuality();", "String getContentFormat();", "public java.lang.String getQuality() {\n java.lang.Object ref = quality_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n quality_ = s;\n }\n return s;\n }\n }", "Builder addEncodings(MediaObject value);", "public String getAudioEncoding() {\n return audioEncoding;\n }", "public static String hmdToString (HashMediaDesc hmd)\n {\n return new StringBuilder(hashToString(hmd.hash))\n .append(\":\").append(hmd.getMimeType())\n .append(\":\").append(hmd.getConstraint())\n .toString();\n }", "public ReactorResult<java.lang.String> getAllMediaType_as() {\r\n\t\treturn Base.getAll_as(this.model, this.getResource(), MEDIATYPE, java.lang.String.class);\r\n\t}", "@DISPID(1093) //= 0x445. The runtime will prefer the VTID if present\n @VTID(13)\n void media(\n java.lang.String p);", "public String getVideoCodec() {\n return videoCodec;\n }", "public java.lang.String getQuality() {\n java.lang.Object ref = quality_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n quality_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getMediaType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MEDIATYPE$18);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(MEDIATYPE$18);\n }\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "Codec getCurrentCodec();", "public String getString_infos_metadata() { \n char carr[] = new char[Math.min(net.tinyos.message.Message.MAX_CONVERTED_STRING_LENGTH,2)];\n int i;\n for (i = 0; i < carr.length; i++) {\n if ((char)getElement_infos_metadata(i) == (char)0) break;\n carr[i] = (char)getElement_infos_metadata(i);\n }\n return new String(carr,0,i);\n }", "public String mo1736b() {\n return \"video\";\n }", "public String getVideoCompressionType() {\n return videoCompressionType;\n }", "public String toString() {\n return \"Storage media: \" + this.getMedia() + \"\\nStorage: \" + this.getStorage() + \"\\nNumber of terabytes: \" + this.getNumTera() + \"\\nMonthly Cost: \" + String.format(\"%.2f\", this.setTotal(media) + \"\\n\");\n }", "java.lang.String getEncoded();", "public MediaFormat getMediaFormat() {\n return mediaFormat;\n }", "public String getInformation() {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tencodingTable.forEach((c, s) -> {\n\t\t\tsb.append(c);\n\t\t\tsb.append(\" -> \");\n\t\t\tsb.append(s);\n\t\t\tsb.append('\\n');\n\t\t});\n\n\t\treturn sb.toString();\n\t}", "public AVT getFormat()\n {\n return m_format_avt;\n }", "public String toString() {\n StringBuilder builder = new StringBuilder();\n builder.append(title + \" \");\n builder.append(artist + \" \");\n builder.append(year + \" \");\n builder.append(genre + \" \");\n // majors\n builder.append(\"CS Heard \" + heardPercentCS);\n builder.append(\" CS Like \" + likePercentCS);\n builder.append(\" Math Heard \" + heardPercentMath);\n builder.append(\" Math Like \" + likePercentMath);\n builder.append(\" Eng Heard \" + heardPercentEng);\n builder.append(\" Eng Like \" + likePercentEng);\n builder.append(\" Other Heard \" + heardPercentOther);\n builder.append(\" Other Like \" + likePercentOther);\n // regions\n builder.append(\" SE Heard \" + heardPercentSE);\n builder.append(\" SE Like \" + likePercentSE);\n builder.append(\" NE Heard \" + heardPercentNE);\n builder.append(\" NE Like \" + likePercentNE);\n builder.append(\" US Heard \" + heardPercentUS);\n builder.append(\" US Like \" + likePercentUS);\n builder.append(\" Out Heard \" + heardPercentOut);\n builder.append(\" Out Like \" + likePercentOut);\n // hobbies\n builder.append(\" Music Heard \" + heardPercentMusic);\n builder.append(\" Music Like \" + likePercentMusic);\n builder.append(\" Sports Heard \" + heardPercentSports);\n builder.append(\" Sports Like \" + likePercentSports);\n builder.append(\" Art Heard \" + heardPercentArt);\n builder.append(\" Art Like \" + likePercentArt);\n builder.append(\" Reading Heard \" + heardPercentReading);\n builder.append(\" Reading Like \" + likePercentReading + \"\\n\");\n return builder.toString();\n }", "public String getAudioCodec() {\n return audioCodec;\n }", "public String toString()\n {\n return channel + \" \" + (volume / 512.0) + \" db with \" + (peakVolumeSize == PeakVolumeSize.SIZE_NONE ? \" no peak volume\" : \"32 bit peak volume of \" + peakVolume);\n }", "public static String toString(byte[] edid) {\n StringBuilder sb = new StringBuilder();\n sb.append(\" Manuf. ID=\").append(getManufacturerID(edid));\n sb.append(\", Product ID=\").append(getProductID(edid));\n sb.append(\", \").append(isDigital(edid) ? \"Digital\" : \"Analog\");\n sb.append(\", Serial=\").append(getSerialNo(edid));\n sb.append(\", ManufDate=\").append(getWeek(edid) * 12 / 52 + 1).append(Symbol.C_SLASH)\n .append(getYear(edid));\n sb.append(\", EDID v\").append(getVersion(edid));\n int hSize = getHcm(edid);\n int vSize = getVcm(edid);\n sb.append(String.format(\"%n %d x %d cm (%.1f x %.1f in)\", hSize, vSize, hSize / 2.54, vSize / 2.54));\n byte[][] desc = getDescriptors(edid);\n for (byte[] b : desc) {\n switch (getDescriptorType(b)) {\n case 0xff:\n sb.append(\"\\n Serial Number: \").append(getDescriptorText(b));\n break;\n case 0xfe:\n sb.append(\"\\n Unspecified Text: \").append(getDescriptorText(b));\n break;\n case 0xfd:\n sb.append(\"\\n Range Limits: \").append(getDescriptorRangeLimits(b));\n break;\n case 0xfc:\n sb.append(\"\\n Monitor Name: \").append(getDescriptorText(b));\n break;\n case 0xfb:\n sb.append(\"\\n White Point Data: \").append(byteArrayToHexString(b));\n break;\n case 0xfa:\n sb.append(\"\\n Standard Timing ID: \").append(byteArrayToHexString(b));\n break;\n default:\n if (getDescriptorType(b) <= 0x0f && getDescriptorType(b) >= 0x00) {\n sb.append(\"\\n Manufacturer Data: \").append(byteArrayToHexString(b));\n } else {\n sb.append(\"\\n Preferred Timing: \").append(getTimingDescriptor(b));\n }\n break;\n }\n }\n return sb.toString();\n }", "@Accessor(qualifier = \"mediasExportMediaCode\", type = Accessor.Type.GETTER)\n\tpublic String getMediasExportMediaCode()\n\t{\n\t\tfinal String value = getPersistenceContext().getPropertyValue(MEDIASEXPORTMEDIACODE);\n\t\treturn value != null ? value : (\"mediasexport_\" + this.getCode());\n\t}", "public String bandInfo() {\n return getName(document)\n + \"\\n\" + getLink(link, \"Last.FM\")\n + \"\\n\\n\" + getScrobbles(document)\n + \"\\n\\n\" + yearsActive(document)\n + \"\\n\\n\" + getDescription(document);\n }", "public String toString(){\n\t\tString s1 = \"\\n======= \" + title + \" =========\";\n\t\tString s3 = \"\\n========================================\\n\";\n\t\treturn s1 + \"\\nTitle: \" + title + \"\\nArtist Name: \" + artistName + \"\\nGenre: \" + genre + \n\t\t\t\t\"\\nRating: \" + rating + \"\\nLength: \" + time + s3;\n\t}", "public MediaEncryption getMediaEncryption();", "private String getMimeType(String aFilename) {\n String extension = aFilename.substring(aFilename.length() - 3, aFilename.length()).toUpperCase();\n\n if (extension.equals(\"AMR\")) {\n return \"audio/AMR\";\n }\n //DuongNT add\n if (extension.equals(\"WAV\")) {\n return \"audio/X-WAV\";\n } else {\n return \"audio/midi\";\n }\n }", "@Override\n\tpublic String toString() {\n\t\tStringBuilder builder = new StringBuilder();\n\t\treturn builder.append(title)\n\t\t\t.append(\"(\")\n\t\t\t.append(year)\n\t\t\t.append(\", \")\n\t\t\t.append(duration)\n\t\t\t.append(\" mn)#\")\n\t\t\t.append(id)\n\t\t\t.toString(); // finalize String result\n\t}", "public String toString() {\t\t\n\t\treturn (\"Caption: \" + this.caption + \", Filename: \" + this.filename + \", Rating: \" + this.rating);\n\t}", "public String call() {\n String str = \"\";\n boolean z = false;\n int i = 0;\n for (MediaModel mediaModel : this.f81056a) {\n if (mediaModel.isVideo()) {\n C30954u.m100738a(this.f81057b, mediaModel);\n } else {\n str = C30954u.m100737a(this.f81057b, mediaModel, this.f81058c);\n i++;\n }\n }\n if (str.length() > 0) {\n z = true;\n }\n if (!z || i <= 1) {\n return str;\n }\n String string = C6399b.m19921a().getString(R.string.bi7);\n C7573i.m23582a((Object) string, \"AppContextManager.getApp…im_compress_failed_multi)\");\n return string;\n }", "public String toString() {\n/* 195 */ StringBuilder sb = new StringBuilder();\n/* 196 */ sb.append('[');\n/* 197 */ if (this.contentType != null) {\n/* 198 */ sb.append(\"Content-Type: \");\n/* 199 */ sb.append(this.contentType.getValue());\n/* 200 */ sb.append(',');\n/* */ } \n/* 202 */ if (this.contentEncoding != null) {\n/* 203 */ sb.append(\"Content-Encoding: \");\n/* 204 */ sb.append(this.contentEncoding.getValue());\n/* 205 */ sb.append(',');\n/* */ } \n/* 207 */ long len = getContentLength();\n/* 208 */ if (len >= 0L) {\n/* 209 */ sb.append(\"Content-Length: \");\n/* 210 */ sb.append(len);\n/* 211 */ sb.append(',');\n/* */ } \n/* 213 */ sb.append(\"Chunked: \");\n/* 214 */ sb.append(this.chunked);\n/* 215 */ sb.append(']');\n/* 216 */ return sb.toString();\n/* */ }", "public String toString() { \r\n\t return \"{Song = Title: \" + title + \", Artist: \" + artist + \", Song length: \" + minutes + \":\" + seconds + \"}\";\r\n\t}", "public String toString() {\n \tStringBuffer result = new StringBuffer();\n \t\n \tresult.append(\"\\n# artists=\");\n \tresult.append(numArtistsInCollection);\n \tresult.append(\"\\navg. artist rating=\");\n \tresult.append(avgArtistRating);\n \tresult.append(\"\\n# artist ratings=\");\n \tresult.append(numRatedArtists);\n\n \tresult.append(\"\\n# labels=\");\n \tresult.append(numLabelsInCollection);\n \tresult.append(\"\\navg. label rating=\");\n \tresult.append(avgLabelRating);\n \tresult.append(\"\\n# label ratings=\");\n \tresult.append(numRatedLabels);\n \t\n \tresult.append(\"\\n# releases=\");\n \tresult.append(numReleasesInCollection);\n \tresult.append(\"\\navg. release rating=\");\n \tresult.append(avgReleaseRating);\n \tresult.append(\"\\n# release ratings=\");\n \tresult.append(numRatedReleases);\n \t\n \tresult.append(\"\\n# songs=\");\n \tresult.append(numSongsInCollection);\n \tresult.append(\"\\navg. song rating=\");\n \tresult.append(avgSongRating);\n \tresult.append(\"\\n# song ratings=\");\n \tresult.append(numRatedSongs);\n\n \tresult.append(\"\\nstyle preferences=\");\n \tresult.append(stylePreferences.toString(Database.getStyleIndex()));\n \tresult.append(\"\\ntag preferences=\");\n \tresult.append(tagPreferences.toString(Database.getTagIndex()));\n\n \tresult.append(\"\\nartist preferences=\");\n \tresult.append(artistPreferences.toString(Database.getArtistIndex()));\n \tresult.append(\"\\nlabel preferences=\");\n \tresult.append(labelPreferences.toString(Database.getLabelIndex()));\n \tresult.append(\"\\nrelease preferences=\");\n \tresult.append(releasePreferences.toString(Database.getReleaseIndex()));\n \tresult.append(\"\\nsong preferences=\");\n \tresult.append(songPreferences.toString(Database.getSongIndex()));\n \t\n \treturn result.toString();\n }", "public String toString() {\n String s = \"Message <OctopusCollectedMsg> \\n\";\n try {\n s += \" [moteId=0x\"+Long.toHexString(get_moteId())+\"]\\n\";\n } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }\n try {\n s += \" [count=0x\"+Long.toHexString(get_count())+\"]\\n\";\n } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }\n try {\n s += \" [reading=0x\"+Long.toHexString(get_reading())+\"]\\n\";\n } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }\n try {\n s += \" [quality=0x\"+Long.toHexString(get_quality())+\"]\\n\";\n } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }\n try {\n s += \" [parentId=0x\"+Long.toHexString(get_parentId())+\"]\\n\";\n } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }\n try {\n s += \" [reply=0x\"+Long.toHexString(get_reply())+\"]\\n\";\n } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }\n return s;\n }", "private String getAlbum(File mp3){\n\t\tString tempString = \"\";\n\t InputStream input;\n\t ContentHandler handler = new DefaultHandler();\n\t Metadata metadata = new Metadata();\n\t Parser parser = new Mp3Parser();\n\t ParseContext parseCtx = new ParseContext();\n\t \n\t\ttry {\n\t\t\tinput = new FileInputStream(mp3);\n\t\t\tparser.parse(input, handler, metadata, parseCtx);\n\t\t input.close();\n\t\t} \n\t\tcatch (IOException | SAXException | TikaException e) {\n\t\t\tSystem.out.println(\"Error with: \" + mp3.getPath());\n\t\t\te.printStackTrace();\n\t\t}\n\t \n\t tempString = metadata.get(\"xmpDM:album\");\n\t\t\n\t\tif (tempString.isEmpty() || tempString.contentEquals(\" \")){\n\t\t\treturn \"Unknown\";\n\t\t}\n\t\treturn tempString;\n\t}", "URI getMediaURI();", "public String getRepresentation();", "public String getDump()\n {\n String dump = \"Video status:\\n\";\n\n dump += \"Read mode: \" + videocard.graphicsController.readMode + \"\\n\";\n dump += \"Write mode: \" + videocard.graphicsController.writeMode + \"\\n\";\n \n // dump += \"Graphics mode: \" + ...\n // dump += \"Text mode: \" + ...\n \n return dump;\n }", "public String getAudioCompressionType() {\n return audioCompressionType;\n }", "private String getFileContents ()\n {\n final String s = m_buffers.values ()//\n .stream ()//\n .flatMap (List::stream)//\n .collect (Collectors.joining ());\n\n return s;\n }", "java.lang.String getQualityMax();", "public @Nullable String getMarkup() {\n return media.getMarkup();\n }", "com.google.protobuf.ByteString\n getQualityBytes();", "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getBitrate() != null)\n sb.append(\"Bitrate: \").append(getBitrate()).append(\",\");\n if (getBitstreamMode() != null)\n sb.append(\"BitstreamMode: \").append(getBitstreamMode()).append(\",\");\n if (getCodingMode() != null)\n sb.append(\"CodingMode: \").append(getCodingMode()).append(\",\");\n if (getDialogueIntelligence() != null)\n sb.append(\"DialogueIntelligence: \").append(getDialogueIntelligence()).append(\",\");\n if (getDownmixControl() != null)\n sb.append(\"DownmixControl: \").append(getDownmixControl()).append(\",\");\n if (getDynamicRangeCompressionLine() != null)\n sb.append(\"DynamicRangeCompressionLine: \").append(getDynamicRangeCompressionLine()).append(\",\");\n if (getDynamicRangeCompressionRf() != null)\n sb.append(\"DynamicRangeCompressionRf: \").append(getDynamicRangeCompressionRf()).append(\",\");\n if (getDynamicRangeControl() != null)\n sb.append(\"DynamicRangeControl: \").append(getDynamicRangeControl()).append(\",\");\n if (getLoRoCenterMixLevel() != null)\n sb.append(\"LoRoCenterMixLevel: \").append(getLoRoCenterMixLevel()).append(\",\");\n if (getLoRoSurroundMixLevel() != null)\n sb.append(\"LoRoSurroundMixLevel: \").append(getLoRoSurroundMixLevel()).append(\",\");\n if (getLtRtCenterMixLevel() != null)\n sb.append(\"LtRtCenterMixLevel: \").append(getLtRtCenterMixLevel()).append(\",\");\n if (getLtRtSurroundMixLevel() != null)\n sb.append(\"LtRtSurroundMixLevel: \").append(getLtRtSurroundMixLevel()).append(\",\");\n if (getMeteringMode() != null)\n sb.append(\"MeteringMode: \").append(getMeteringMode()).append(\",\");\n if (getSampleRate() != null)\n sb.append(\"SampleRate: \").append(getSampleRate()).append(\",\");\n if (getSpeechThreshold() != null)\n sb.append(\"SpeechThreshold: \").append(getSpeechThreshold()).append(\",\");\n if (getStereoDownmix() != null)\n sb.append(\"StereoDownmix: \").append(getStereoDownmix()).append(\",\");\n if (getSurroundExMode() != null)\n sb.append(\"SurroundExMode: \").append(getSurroundExMode());\n sb.append(\"}\");\n return sb.toString();\n }", "public java.lang.String getBitrate() {\n java.lang.Object ref = bitrate_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n bitrate_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String toString() { return kind() + \":\"+ text() ; }", "@Override\r\n public String toString() {\r\n return \"BandwidthMessage [\" + \"id=\" + id + \", owner=\" + owner + \", applicationId=\"\r\n + applicationId + \", time=\" + time + \", segmentCount=\" + segmentCount\r\n + \", direction=\" + direction + \", to=\" + to + \", from=\" + from + \", media=\" + media\r\n + \", text=\" + text + \", tag=\" + tag + \", priority=\" + priority + \"]\";\r\n }", "@Override\n public String toString() {\n return this.title + \": \" + this.duration;\n //next step 6 create an album class\n }", "public String getName() {\n return CODEC_NAME;\n }", "public String encode() {\n StringBuffer encoding = new StringBuffer();\n // Synchronization added because of concurrent modification exception\n // noticed by Lamine Brahimi.\n synchronized(this.headers) {\n ListIterator it = this.headers.listIterator();\n \n while (it.hasNext()) {\n SIPHeader siphdr = (SIPHeader) it.next();\n if (! (siphdr instanceof ContentLength) )\n encoding.append(siphdr.encode());\n }\n }\n \n \tencoding.append(contentLengthHeader.encode()).append(NEWLINE);\n \n \n if (this.messageContentObject != null) {\n String mbody = this.getContent().toString();\n \n // encoding.append(SIPHeaderNames.CONTENT_LENGTH + COLON +\n // SP + mbody.length() + NEWLINE);\n // encoding.append(NEWLINE);\n \n encoding.append(mbody);\n } else if (this.messageContent != null ||\n this.messageContentBytes != null ) {\n \n String content = null;\n try {\n if (messageContent != null) content = messageContent;\n else content = new String(messageContentBytes,DEFAULT_ENCODING);\n } catch (UnsupportedEncodingException ex) {\n content = \"\";\n }\n // Add the content-length header\n // encoding.append(SIPHeaderNames.CONTENT_LENGTH + COLON +\n // SP + content.length() + NEWLINE);\n // Append the content\n //encoding.append(NEWLINE);\n \n encoding.append(content);\n }else {\n // Message content does not exist.\n // encoding.append(SIPHeaderNames.CONTENT_LENGTH + COLON +\n // SP + '0' + NEWLINE);\n //encoding.append(NEWLINE);\n }\n return encoding.toString();\n }", "public Vector getMimeTypes()\n\tthrows SdpException {\n\tMediaField mediaField = (MediaField)getMedia();\n\tString type = mediaField.getMediaType();\n\tString protocol = mediaField.getProtocol();\n\tVector formats = mediaField.getMediaFormats(false);\n \n\tVector v = new Vector();\n\tfor (int i = 0; i < formats.size(); i++) {\n\t String result = null;\n\t if (protocol.equals(\"RTP/AVP\")) {\n\t\tif (getAttribute(SdpConstants.RTPMAP) != null)\n\t\t result = type + \"/\"+protocol;\n\t\telse {\n \n\t\t}\n\t } else\n\t\tresult = type + \"/\" + protocol;\n\t v.addElement(result);\n\t}\n\treturn v;\n }", "public String getContentReplayPrefixString(int size, Charset cs) {\n try {\n InputStreamReader isr = new InputStreamReader(getContentReplayInputStream(), cs); \n char[] chars = new char[size];\n int count = isr.read(chars);\n isr.close(); \n if (count > 0) {\n return new String(chars,0,count);\n } else {\n return \"\";\n }\n } catch (IOException e) {\n logger.log(Level.SEVERE,\"unable to get replay prefix string\", e);\n return \"\"; \n } \n }", "public String mo75191a(Bundle bundle) {\n AppMethodBeat.m2504i(65564);\n r1 = new Object[12];\n r1[7] = \"QUE:\" + bundle.getInt(TXLiveConstants.NET_STATUS_CODEC_CACHE) + \" | \" + bundle.getInt(TXLiveConstants.NET_STATUS_CACHE_SIZE) + \",\" + bundle.getInt(TXLiveConstants.NET_STATUS_VIDEO_CACHE_SIZE) + \",\" + bundle.getInt(TXLiveConstants.NET_STATUS_V_DEC_CACHE_SIZE) + \" | \" + bundle.getInt(TXLiveConstants.NET_STATUS_AV_RECV_INTERVAL) + \",\" + bundle.getInt(TXLiveConstants.NET_STATUS_AV_PLAY_INTERVAL) + \",\" + String.format(\"%.1f\", new Object[]{Float.valueOf(bundle.getFloat(TXLiveConstants.NET_STATUS_AUDIO_PLAY_SPEED))}).toString();\n r1[8] = \"VRA:\" + bundle.getInt(TXLiveConstants.NET_STATUS_VIDEO_BITRATE) + \"Kbps\";\n r1[9] = \"DRP:\" + bundle.getInt(TXLiveConstants.NET_STATUS_CODEC_DROP_CNT) + \"|\" + bundle.getInt(TXLiveConstants.NET_STATUS_DROP_SIZE);\n r1[10] = \"SVR:\" + bundle.getString(TXLiveConstants.NET_STATUS_SERVER_IP);\n r1[11] = \"AUDIO:\" + bundle.getString(TXLiveConstants.NET_STATUS_AUDIO_INFO);\n String format = String.format(\"%-16s %-16s %-16s\\n%-12s %-12s %-12s %-12s\\n%-14s %-14s %-14s\\n%-16s %-16s\", r1);\n AppMethodBeat.m2505o(65564);\n return format;\n }", "public String toDebugString() {\n\t\tString ans =\n\t\t\t\t\" EWAHCompressedBitmap, size in bits = \" + this.sizeinbits\n\t\t\t\t\t\t+ \" size in words = \" + this.actualsizeinwords\n\t\t\t\t\t\t+ \" with last RLW \" + this.rlw.toString() + \"\\n\";\n\t\tfinal EWAHIterator i =\n\t\t\t\tnew EWAHIterator(this.buffer, this.actualsizeinwords);\n\t\twhile (i.hasNext()) {\n\t\t\tRunningLengthWord localrlw = i.next();\n\t\t\tans += localrlw.position + \": \";\n\t\t\tif (localrlw.getRunningBit()) {\n\t\t\t\tans += localrlw.getRunningLength() + \" 1x11\\n\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tans += localrlw.getRunningLength() + \" 0x00\\n\";\n\t\t\t}\n\t\t\tlong header = i.buffer()[i.rlw.position];\n\t\t\tans += \"\\t\" + longToBitString(header) + \"\\n\";\n\t\t\tans += localrlw.getNumberOfLiteralWords() + \" dirties\\n\";\n\t\t\tfor (int j = 0; j < localrlw.getNumberOfLiteralWords(); ++j) {\n\t\t\t\tlong data = i.buffer()[i.dirtyWords() + j];\n\t\t\t\tans += \"\\t\" + longToBitString(data) + \"\\n\";\n\t\t\t}\n\t\t}\n\t\treturn ans;\n\t}", "public static String getSupportedformats() {\r\n\t\tString description = \"\";\r\n\t\tfor(FileFormats ff : FileFormats.values()) {\r\n\t\t\tdescription += ff.description +\"\\n\";\r\n\t\t\t}\r\n\t\treturn description;\r\n\t}", "public String getQuality()\n\t{\n\t\treturn quality.getText();\n\t}", "public String GetMediaTitle() {\n\t\treturn mediatitle;\n\t}", "public java.lang.String getBitrate() {\n java.lang.Object ref = bitrate_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n bitrate_ = s;\n }\n return s;\n }\n }", "public String getShortContent();", "public String getFormat() {\n/* 206 */ return getValue(\"format\");\n/* */ }", "String getOutputFormat();", "public String toString(){\n\n\t\tString str = \"(numStrings=\"+ getNumStrings() +\n\t\t\t\t\t\",\\nLength=\"+ getGuitarLength() +\n\t\t\t\t\t\",\\nmanufacturer=\"+ getGuitarManufacturer() +\n\t\t\t\t\t\",\\ncolor=\"+ getGuitarColorString() + \")\";\n\t\treturn str;\n\t}", "public C3635i(java.util.List<com.bamtechmedia.dominguez.core.content.assets.TextEntry> r15, java.util.List<com.bamtechmedia.dominguez.core.content.assets.Image> r16, java.util.List<com.bamtechmedia.dominguez.core.content.assets.Participant> r17, java.util.List<com.bamtechmedia.dominguez.core.content.assets.Release> r18, java.util.List<com.bamtechmedia.dominguez.core.content.assets.Rating> r19, com.bamtechmedia.dominguez.core.content.assets.DmcMediaMetadata r20, java.util.List<com.bamtechmedia.dominguez.core.content.assets.PlaybackUrl> r21, java.util.List<com.bamtechmedia.dominguez.core.content.assets.Milestone> r22, java.util.List<com.bamtechmedia.dominguez.core.content.GenreMeta> r23, com.bamtechmedia.dominguez.core.content.assets.DmcVideoMeta r24, com.bamtechmedia.dominguez.core.content.assets.MediaRights r25, java.util.List<com.bamtechmedia.dominguez.core.content.assets.DmcDisclaimerLabel> r26, java.lang.String r27, java.util.List<java.lang.String> r28, java.util.List<? extends com.bamtechmedia.dominguez.core.content.collections.C3680n> r29, java.util.List<com.bamtechmedia.dominguez.core.content.assets.DmcTag> r30) {\n /*\n r14 = this;\n r12 = r14\n r13 = r20\n r0 = r14\n r1 = r15\n r2 = r16\n r3 = r17\n r4 = r18\n r5 = r19\n r6 = r25\n r7 = r27\n r8 = r28\n r9 = r29\n r10 = r30\n r11 = r23\n r0.<init>(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11)\n r0 = r21\n r12.f9142e0 = r0\n r0 = r22\n r12.f9143f0 = r0\n r0 = r24\n r12.f9144g0 = r0\n r0 = r26\n r12.f9145h0 = r0\n if (r13 == 0) goto L_0x0033\n java.lang.Float r0 = r20.mo12957n()\n goto L_0x0034\n L_0x0033:\n r0 = 0\n L_0x0034:\n r12.f9139b0 = r0\n r12.f9140c0 = r13\n if (r13 == 0) goto L_0x0041\n java.util.List r0 = r20.mo12956l()\n if (r0 == 0) goto L_0x0041\n goto L_0x0045\n L_0x0041:\n java.util.List r0 = kotlin.p590y.C13185o.m40513a()\n L_0x0045:\n r12.f9141d0 = r0\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.bamtechmedia.dominguez.core.content.assets.C3635i.<init>(java.util.List, java.util.List, java.util.List, java.util.List, java.util.List, com.bamtechmedia.dominguez.core.content.assets.DmcMediaMetadata, java.util.List, java.util.List, java.util.List, com.bamtechmedia.dominguez.core.content.assets.DmcVideoMeta, com.bamtechmedia.dominguez.core.content.assets.MediaRights, java.util.List, java.lang.String, java.util.List, java.util.List, java.util.List):void\");\n }", "private static String m61436a(C18846s sVar, StringBuilder sb) {\n if (sVar.f50796f != null) {\n sb.ensureCapacity(sVar.f50796f.length() + 50);\n sb.append(sVar.f50796f);\n } else if (sVar.f50794d != null) {\n String uri = sVar.f50794d.toString();\n sb.ensureCapacity(uri.length() + 50);\n sb.append(uri);\n } else {\n sb.ensureCapacity(50);\n sb.append(sVar.f50795e);\n }\n sb.append(10);\n if (sVar.f50803m != 0.0f) {\n sb.append(\"rotation:\");\n sb.append(sVar.f50803m);\n if (sVar.f50806p) {\n sb.append('@');\n sb.append(sVar.f50804n);\n sb.append('x');\n sb.append(sVar.f50805o);\n }\n sb.append(10);\n }\n if (sVar.mo50072d()) {\n sb.append(\"resize:\");\n sb.append(sVar.f50798h);\n sb.append('x');\n sb.append(sVar.f50799i);\n sb.append(10);\n }\n if (sVar.f50800j) {\n sb.append(\"centerCrop\\n\");\n } else if (sVar.f50801k) {\n sb.append(\"centerInside\\n\");\n }\n if (sVar.f50797g != null) {\n int size = sVar.f50797g.size();\n for (int i = 0; i < size; i++) {\n sb.append(((C18802aa) sVar.f50797g.get(i)).mo50000a());\n sb.append(10);\n }\n }\n return sb.toString();\n }", "public String toString(boolean encode) {\n StringBuilder url = new StringBuilder();\n boolean addSlash = true;\n\n //Protocol\n url.append(super.getProtocol());\n\n //Media-Type\n if(mediaType != null){\n url.append(mediaType);\n }\n\n //Base64\n if(base64){\n url.append(\";base64\");\n }\n\n //Data\n //# Throw an error if the data is null or empty\n if(data == null || data.isEmpty())\n throw new URLBuildException(\"Data is null or empty. Data must be set to build a data url.\");\n\n String dataPrepared = data;\n\n if(base64)\n dataPrepared = Base64.getEncoder().encodeToString(dataPrepared.getBytes());\n\n if(encode && !base64)\n dataPrepared = encode(dataPrepared);\n\n url.append(\",\").append(dataPrepared);\n\n return url.toString();\n }" ]
[ "0.6603912", "0.62146074", "0.61557525", "0.5919231", "0.5851481", "0.58039665", "0.575504", "0.5735669", "0.5713848", "0.56465495", "0.5632085", "0.5578798", "0.5482616", "0.54565185", "0.5452067", "0.53979695", "0.53947467", "0.5392701", "0.5368203", "0.535989", "0.53027356", "0.5300388", "0.52885664", "0.5258029", "0.5249811", "0.5236117", "0.5225424", "0.5223567", "0.52230936", "0.5202806", "0.519708", "0.5184771", "0.51661366", "0.5159086", "0.5151509", "0.5143398", "0.51264775", "0.51252973", "0.5123213", "0.5119187", "0.51112336", "0.51053417", "0.5101209", "0.510063", "0.50960815", "0.5081595", "0.50496143", "0.5039711", "0.50096124", "0.49982542", "0.49944815", "0.49902287", "0.49816164", "0.49737164", "0.4966905", "0.49547416", "0.49509257", "0.49308586", "0.49295443", "0.4929355", "0.4925763", "0.49254295", "0.49238703", "0.49178168", "0.49085686", "0.48997578", "0.48950672", "0.48842612", "0.4875607", "0.48717487", "0.4870399", "0.48425123", "0.48422375", "0.48381087", "0.48247176", "0.48246714", "0.48230618", "0.48226252", "0.48167512", "0.4815942", "0.48153713", "0.4815099", "0.4810945", "0.48065042", "0.48052782", "0.4784649", "0.47825548", "0.4781817", "0.47818092", "0.4779165", "0.47752866", "0.47701663", "0.47668228", "0.4765511", "0.47510475", "0.47359926", "0.47229216", "0.4720144", "0.47186714", "0.47181696" ]
0.6860224
0
Get the download link of the torrent.
public String getDownloadLink() { String site = MySoup.getSite(); String authKey = MySoup.getAuthKey(); String passKey = MySoup.getPassKey(); String downloadLink = site + "torrents.php?action=download&id=" + id + "&authkey=" + authKey + "&torrent_pass=" + passKey; return downloadLink; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getDownloadUrl() {\n return downloadUrl;\n }", "public String getYTDLDownloadLink() {\n return \"https://yt-dl.org/downloads/latest/youtube-dl\";\n }", "public String getSourceDownloadUrl();", "entities.Torrent.DownloadRequest getDownloadRequest();", "public String getPackageDownloadUrl();", "entities.Torrent.DownloadResponse getDownloadResponse();", "public String getDownloadRequestUrl()\r\n {\r\n String requestUrl;\r\n if ( downloadURI != null )\r\n {\r\n try\r\n {\r\n // dont use whole uri.. only file and query part..!?\r\n requestUrl = URLUtil.getPathQueryFromUri( downloadURI );\r\n return requestUrl;\r\n }\r\n catch (URIException e)\r\n {// failed to use uri.. try other request urls..\r\n NLogger.warn( NLoggerNames.Download_Candidate, e, e );\r\n }\r\n }\r\n \r\n if ( resourceURN != null )\r\n {\r\n requestUrl = URLUtil.buildName2ResourceURL( resourceURN );\r\n }\r\n else\r\n {\r\n // build standard old style gnutella request.\r\n String fileIndexStr = String.valueOf( fileIndex );\r\n StringBuffer urlBuffer = new StringBuffer( 6 + fileIndexStr.length()\r\n + fileName.length() );\r\n urlBuffer.append( \"/get/\" );\r\n urlBuffer.append( fileIndexStr );\r\n urlBuffer.append( '/' ); \r\n urlBuffer.append( URLCodecUtils.encodeURL( fileName ) );\r\n requestUrl = urlBuffer.toString();\r\n }\r\n return requestUrl;\r\n }", "@java.lang.Override\n public entities.Torrent.DownloadRequest getDownloadRequest() {\n return downloadRequest_ == null ? entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n }", "@java.lang.Override\n public entities.Torrent.DownloadResponse getDownloadResponse() {\n return downloadResponse_ == null ? entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n }", "private String get_url() {\n File file = new File(url);\n return file.getAbsolutePath();\n }", "@Override\n\t\tpublic String toString() {\n\t\t\treturn \"下载链接:\"+showLink;\n\t\t}", "public static String getMp3Href(Document document) {\n Elements mp3Href = document.select(\".download.bbcle-download-extension-mp3\");\n return mp3Href.attr(\"href\");\n }", "public String getDownloadUrl(Document document)\r\n {\r\n if (isObjectNull(document)) { throw new IllegalArgumentException(String.format(\r\n Messagesl18n.getString(\"ErrorCodeRegistry.GENERAL_INVALID_ARG_NULL\"), \"document\")); }\r\n\r\n try\r\n {\r\n AbstractAtomPubService objectService = (AbstractAtomPubService) cmisSession.getBinding().getObjectService();\r\n return objectService.loadLink(session.getRepositoryInfo().getIdentifier(), document.getIdentifier(),\r\n AtomPubParser.LINK_REL_CONTENT, null);\r\n }\r\n catch (Exception e)\r\n {\r\n convertException(e);\r\n }\r\n return null;\r\n }", "public entities.Torrent.DownloadResponse getDownloadResponse() {\n if (downloadResponseBuilder_ == null) {\n return downloadResponse_ == null ? entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n } else {\n return downloadResponseBuilder_.getMessage();\n }\n }", "String getURL(FsItem f);", "public static File getDownloadingFile() {\n\t\treturn downloadingFile;\n\t}", "public String getURL() {\r\n\t\treturn dURL.toString();\r\n\t}", "public entities.Torrent.DownloadRequest getDownloadRequest() {\n if (downloadRequestBuilder_ == null) {\n return downloadRequest_ == null ? entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n } else {\n return downloadRequestBuilder_.getMessage();\n }\n }", "String getLink();", "java.net.URL getUrl();", "public String getLink();", "public static String getDownloadDirectory() {\n return downloadDirectory;\n }", "public java.lang.String getLink() {\n\t\treturn dataCacheEntry.getLink();\n\t}", "java.lang.String getArtifactUrl();", "String getHref();", "String download(String path) throws IOException;", "public java.lang.String getURL() {\n return uRL;\n }", "java.lang.String getClickURL();", "public URL getURL()\n {\n if( url == null )\n {\n // Check if the file is online or inside the JAR:\n if( filename.matches( SoundSystemConfig.PREFIX_URL ) )\n {\n // Online\n try\n {\n url = new URL( filename );\n }\n catch( Exception e )\n {\n errorMessage( \"Unable to access online URL in \" +\n \"method 'getURL'\" );\n printStackTrace( e );\n return null;\n }\n }\n else\n {\n // Inside the JAR\n url = getClass().getClassLoader().getResource(\n SoundSystemConfig.getSoundFilesPackage() + filename );\n }\n }\n return url;\n }", "public String getLinkDescarga() {\n return linkDescarga;\n }", "public String getURL()\n {\n return getURL(\"http\");\n }", "@Nullable public URL getUpdateURL(final PluginVersion version) {\n final Pair<URL, String> p = downloadInfo.get(version);\n if (p == null) {\n return null;\n }\n return p.getFirst();\n }", "public String getLink() {\r\n return link;\r\n }", "@java.lang.Override\n public entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder() {\n return getDownloadRequest();\n }", "public String getURL();", "public URL getURL() {\r\n try {\r\n return new URL(\"http://www.bluej.org/doc/writingextensions.html\");\r\n } catch (Exception eee) {\r\n // The link is either dead or otherwise unreachable\r\n System.out.println(\"Simple extension: getURL: Exception=\" + eee.getMessage());\r\n return null;\r\n }\r\n }", "public String getLink()\n {\n return link;\n }", "public String getLink() {\n return link;\n }", "public String getLink() {\n return link;\n }", "public String getLink() {\n return link;\n }", "public String getLink() {\n return link;\n }", "public String getLink() {\n return link;\n }", "public static String getDownloadUsername() {\r\n\t\treturn downloadUsername;\r\n\t}", "public String getHref()\r\n\t{\r\n\t\treturn _href;\r\n\t}", "public Long getDownloadid() {\r\n\t\treturn downloadid;\r\n\t}", "public final String getHref( )\n\t{\n\t\treturn this.href;\n\t}", "public static String downloadDir() {\n\n String downloads = stringValue(\"treefs.downloads\");\n if(isNullOrEmpty(downloads)) {\n // default home location\n downloads = home() + File.separator + \"downloads\";\n } else {\n downloads = home() + File.separator + downloads;\n }\n\n System.out.println(\"downloadDir=\" + downloads);\n return downloads;\n }", "public java.lang.CharSequence getURL() {\n return URL;\n }", "public java.lang.CharSequence getURL() {\n return URL;\n }", "private String downloadFile(String url) throws Exception {\n StringBuilder builder = new StringBuilder();\n \n URL u = new URL(url);\n URLConnection conn = u.openConnection();\n BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));\n String line;\n while ((line = rd.readLine()) != null) {\n builder.append(line);\n }\n \n return builder.toString();\n }", "com.google.protobuf.ByteString\n getArtifactUrlBytes();", "public String getHref() {\n return href;\n }", "public String getHref() {\r\n return href;\r\n }", "private String getURL() {\n\t\t// TODO : Generate URL\n\t\treturn null;\n\t}", "public String getURL(){\r\n\t\t \r\n\t\t\r\n\t\treturn rb.getProperty(\"url\");\r\n\t}", "@java.lang.Override\n public entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder() {\n return getDownloadResponse();\n }", "@Schema(description = \"Link to get this item\")\n public String getUrl() {\n return url;\n }", "public String getLink() {\n\t\t\treturn link;\n\t\t}", "public String getLink() {\n\t\treturn link;\n\t}", "public String getLink() {\n\t\treturn link;\n\t}", "public String getLinktoFile (String path2repository, String NameofFile) {\n\t\tString link = null;\n\t\t\n\t\tValueCollection payload = new ValueCollection();\n\t\tpayload.put(\"path\", new StringPrimitive(path2repository));\n\t\t\n\t\ttry {\n\t\t\tInfoTable info = client.invokeService(ThingworxEntityTypes.Things, \"SmartDoorRepository\", \"GetFileListingWithLinks\", payload, 5000);\n\t\t\tlink = (String) info.getLastRow().getValue(\"downloadLink\");\n\t\t\tLOG.error(\"Link to File {} was fetched. {}\",NameofFile,link);\n\t\t} catch (Exception e) {\n\t\t\tLOG.error(\"Link couldn't be retrieved. Error: {}\",e);\n\t\t}\n\t\t\n\t\treturn link;\n\t}", "public java.lang.String getLink()\n {\n return this.link;\n }", "public String getHref() {\n return href;\n }", "public String getURL(Version version) {\n return getUrl() + version.getDocument().getDocumentURL();\n }", "public java.lang.String getURL() {\n return URL;\n }", "public String getUrl() { /* (readonly) */\n return mUrl;\n }", "entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder();", "@AutoEscape\n\tpublic String getFileUrl();", "public URL getURL() throws IOException {\r\n\t\tthrow new FileNotFoundException(getDescription() + \" cannot be resolved to URL\");\r\n\t}", "public long getDownloadTime() {\n\t\treturn downloadTime;\n\t}", "public entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder() {\n if (downloadRequestBuilder_ != null) {\n return downloadRequestBuilder_.getMessageOrBuilder();\n } else {\n return downloadRequest_ == null ?\n entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n }\n }", "public Type getDownloadType() {\n return this.mDownloadType;\n }", "public JButton getDownloadButton()\n {\n return downloadButton;\n }", "public String getUrl() {\n Object ref = url_;\n if (!(ref instanceof String)) {\n String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n url_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n url_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public javax.swing.JProgressBar getPBarDownload() {\n\t\treturn PBarDownload;\n\t}", "public void download() {\n \n try {\n \n downloading = true;\n \n input = link.openStream(); \n output = new FileOutputStream(localFile);\n \n while ((bytes = input.read()) != -1) { // as long as there are bytes they will be copied to the local machine // enquanto houver bytes eles serao copiados para maquina local\n\n output.write(bytes);\n\n System.out.println(\"Tamanho: \" + sizeInMegaBytes(localFile) + \" MB\");\n\n }\n \n downloading = false;\n JOptionPane.showMessageDialog(null, \"Download do arquivo: \"+ localFile.getName() +\" Finalizado\");\n \n } catch (FileNotFoundException ex) {\n Logger.getLogger(Downloader.class.getName()).log(Level.SEVERE, null, ex);\n } catch (IOException ex) {\n Logger.getLogger(Downloader.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "public static String getDownloadPassword() {\r\n\t\treturn downloadPassword;\r\n\t}", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n url_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n url_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public final String getUrl() {\n return properties.get(URL_PROPERTY);\n }", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n url_ = s;\n }\n return s;\n }\n }", "public String getUrl() {\n Object ref = url_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n url_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public String getURL() {\n\t\treturn prop.getProperty(\"URL\");\n\t}", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n url_ = s;\n }\n return s;\n }\n }", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n url_ = s;\n }\n return s;\n }\n }", "public String getUrl() {\n Object ref = url_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n url_ = s;\n }\n return s;\n }\n }", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n url_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n url_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public DownloadUtil(Download download) throws IOException {\n this.download = download;\n if (!download.getLink().startsWith(\"http://\") && !download.getLink().startsWith(\"https://\"))\n url = new URL(\"http://\" + download.getLink());\n else\n url = new URL(download.getLink());\n\n }", "public abstract String getURL();", "URL toURL() throws IOException;", "public String getUrl() {\n Object ref = url_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n url_ = s;\n return s;\n }\n }", "public String getNow() {\n\n\tOutputStream os = null;\n\tURLConnection URLConn = null;\n\tInputStream is = null;\n\tint ByteRead, ByteWritten = 0;\n\n\ttry {\n\t URL fileUrl;\n\t byte[] buf;\n\n\t fileUrl = new URL(fileAddress);\n\t os = new BufferedOutputStream(new FileOutputStream(\n\t\t this.destinationDir + \"\\\\\" + this.fileName));\n\n\t URLConn = fileUrl.openConnection();\n\t is = URLConn.getInputStream();\n\t buf = new byte[size];\n\t while ((ByteRead = is.read(buf)) != -1) {\n\t\tos.write(buf, 0, ByteRead);\n\t\tByteWritten += ByteRead;\n\t }\n\n\t} catch (MalformedURLException e) {\n\t throw new DownloaderRuntimeException(e.getMessage());\n\n\t} catch (IOException e) {\n\t throw new DownloaderRuntimeException(e.getMessage());\n\n\t} finally {\n\t try {\n\t\tis.close();\n\t\tos.close();\n\t } catch (IOException e) {\n\t\tthrow new DownloaderRuntimeException(e.getMessage());\n\t }\n\t}\n\treturn new StringBuilder(\"Downloaded Successfully. \")\n\t\t.append(\"File name: \").append(this.fileName).append(\" bytes :\")\n\t\t.append(ByteWritten).append(\"Mb\").toString();\n }", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n url_ = s;\n return s;\n }\n }", "Uri getUrl();", "@Override\n public String doPackageDownloadUrlFor(PackageURL purl) {\n StringBuffer sb = new StringBuffer(this.repoBaseUrl);\n sb.append(\"source/\");\n sb.append(purl.getName().substring(0, 1)).append(\"/\");\n sb.append(purl.getName()).append(\"/\");\n sb.append(purl.getName()).append(\"-\");\n sb.append(purl.getVersion()).append(\".tar.gz\");\n\n return sb.toString();\n }", "public String getURL() {\r\n\t\treturn url;\r\n\t}", "entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder();", "private String downloadURL(String url) {\n\t\ttry {\n\t\t\tHttpClient client = new DefaultHttpClient();\n\t\t\tHttpGet request = new HttpGet(url);\n\t\t\t// Get the response\n\t\t\tResponseHandler<String> responseHandler = new BasicResponseHandler();\n\t\t\tString response_str = client.execute(request, responseHandler);\n\t\t\treturn response_str;\n\n\t\t\t// Makes sure that the InputStream is closed after the app is\n\t\t\t// finished using it.\n\t\t} catch (IOException e) {\n\t\t\tLog.d(\"WL\", \"Error\");\n\t\t\te.printStackTrace();\n\t\t\treturn \"Error\";\n\t\t}\n\t}" ]
[ "0.69062567", "0.68869394", "0.6783054", "0.6330018", "0.6322464", "0.6206409", "0.61526126", "0.6121462", "0.60127", "0.5913441", "0.5905846", "0.5882339", "0.5874371", "0.58379453", "0.5831083", "0.58269227", "0.5824895", "0.5787779", "0.57364154", "0.56174725", "0.5579124", "0.5575944", "0.55333436", "0.5511314", "0.5489674", "0.54698914", "0.5462746", "0.5459449", "0.5448502", "0.5423124", "0.5419036", "0.54142624", "0.5409714", "0.5402348", "0.5399792", "0.5398018", "0.5395102", "0.5387761", "0.5387761", "0.5387761", "0.5387761", "0.5372122", "0.53650445", "0.5361801", "0.5361067", "0.5328606", "0.53053033", "0.53031725", "0.52991015", "0.52974033", "0.5295755", "0.5293607", "0.52898735", "0.5288411", "0.5284824", "0.5284157", "0.5279788", "0.52793205", "0.5279085", "0.5279085", "0.5271939", "0.52652407", "0.52616906", "0.52612823", "0.5261076", "0.5260394", "0.5248504", "0.52467483", "0.5242285", "0.52397823", "0.5196055", "0.51902163", "0.51858205", "0.51856524", "0.51768696", "0.51706636", "0.51671505", "0.5165787", "0.5165712", "0.5165712", "0.51656544", "0.51505077", "0.514742", "0.5138844", "0.5137881", "0.5137881", "0.51360786", "0.51303566", "0.51303566", "0.5129687", "0.5127149", "0.5117878", "0.5115199", "0.511004", "0.5108377", "0.50874335", "0.508153", "0.508096", "0.5079972", "0.5079428" ]
0.8397193
0
/ access modifiers changed from: protected
public final boolean dispatchTransaction(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException { switch (i) { case 1: onDeviceFound((BleDevice) zzc.zza(parcel, BleDevice.CREATOR)); break; case 2: onScanStopped(); break; default: return false; } return true; }
{ "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
TODO Autogenerated method stub
public static void main(String[] args) { System.setProperty("webdriver.chrome.driver", "E:\\Softwares\\Drivers\\chromedriver.exe"); WebDriver driver= new ChromeDriver(); driver.get("https://www.facebook.com/"); //Enter data in fields using ID and name locator driver.findElement(By.id("email")).sendKeys("Enter email"); driver.findElement(By.name("pass")).sendKeys("Provide password"); //Click using linkText driver.findElement(By.linkText("Forgot account?")).click(); //Enter data in fields using xPath and cssSelector locator | Get text of Error message from div. driver.get("https://login.salesforce.com/"); driver.findElement(By.xpath("//*[@id=\'username\']")).sendKeys("User Name"); driver.findElement(By.cssSelector("#password")).sendKeys("Password"); driver.findElement(By.id("Login")).click(); System.out.println(driver.findElement(By.cssSelector("div#error.loginError")).getText()); }
{ "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
O(n) time and O(1) space. a is the highest positive number of arr b is the second || c is the third || x is the lowest (probably negative) number of arr y is the second || The official solution uses a very similar approach, and its reading complexity stays quite the same.
public static int highestProductOf3(int[] arr) { int a = max(arr[0], max(arr[1], arr[2])); int c = min(arr[0], min(arr[1], arr[2])); int b = arr[0] + arr[1] + arr[2] - a - c; int x = c; int y = b; for(int i = 3; i < arr.length; i++) { if(arr[i] < x) { y = x; x = arr[i]; } else if(arr[i] < y) { y = arr[i]; } if(arr[i] > a) { c = b; b = a; a = arr[i]; } else if(arr[i] > b) { c = b; b = arr[i]; } else if(arr[i] > c) { c = arr[i]; } } return max(a * b * c, a * x * y); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int[] MysterionF(int a, int b, int c, int[] arr) {\n int v = arr[c];\n swap(c, b, arr);\n int s = a;\n for (int i = 0; i < b - 1; i++) {\n if (arr[i] < v) {\n swap(s, i, arr);\n s += 1;\n }\n }\n swap(b, s, arr);\n return arr;\n }", "private static int med3(int x[], int a, int b, int c) {\n\t\treturn (x[a] < x[b] ?\n\t\t\t\t(x[b] < x[c] ? b : x[a] < x[c] ? c : a) :\n\t\t\t\t\t(x[b] > x[c] ? b : x[a] > x[c] ? c : a));\n\t}", "public int[] sortTransformedArray(int[] nums, int a, int b, int c) {\n\t\tif (nums == null || nums.length == 0) return new int[0];\n\t\tint n = nums.length;\n\t\tint[] result = new int[n];\n\t\tint start = 0;\n\t\tint end = n - 1;\n\t\tif (a > 0) { // open up, two ends are bigger than center\n\t\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\t\tint startNum = quadratic(nums[start], a, b, c);\n\t\t\t\tint endNum = quadratic(nums[end], a, b, c);\n\t\t\t\tif (startNum > endNum) {\n\t\t\t\t\tresult[i] = startNum;\n\t\t\t\t\tstart++;\n\t\t\t\t}\t\n\t\t\t\telse {\n\t\t\t\t\tresult[i] = endNum;\n\t\t\t\t\tend--;\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse { // open down, center is bigger than two ends\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint startNum = quadratic(nums[start], a, b, c);\n\t\t\t\tint endNum = quadratic(nums[end], a, b, c);\n\t\t\t\tif (startNum < endNum) {\n\t\t\t\t\tresult[i] = startNum;\n\t\t\t\t\tstart++;\n\t\t\t\t}\t\n\t\t\t\telse {\n\t\t\t\t\tresult[i] = endNum;\n\t\t\t\t\tend--;\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t}\n\t\treturn result;\n\t}", "private static int med3(byte x[], int a, int b, int c) {\n\t\treturn (x[a] < x[b] ?\n\t\t\t\t(x[b] < x[c] ? b : x[a] < x[c] ? c : a) :\n\t\t\t\t\t(x[b] > x[c] ? b : x[a] > x[c] ? c : a));\n\t}", "private static int med3(long x[], int a, int b, int c) {\n\t\treturn (x[a] < x[b] ?\n\t\t\t\t(x[b] < x[c] ? b : x[a] < x[c] ? c : a) :\n\t\t\t\t\t(x[b] > x[c] ? b : x[a] > x[c] ? c : a));\n\t}", "public static void main(String[] args) {\n\t\tint[] a = { -2, -3, 4, -1, -2, 1, 5, -3 }; \n\t\t int size = a.length; \n\t int max_so_far = Integer.MIN_VALUE, max_ending_here=0;\n\t for (int i = 0; i < size; i++) { \n\t max_ending_here = max_ending_here + a[i]; \n\t if (max_so_far < max_ending_here) \n\t max_so_far = max_ending_here; \n\t if (max_ending_here < 0) \n\t max_ending_here = 0; \n\t } \n\t // System.out.println(max_so_far);\n\t int product=1,max=0;\n\t for (int i = 0; i < size; i++) {\n\t \t\n\t \tproduct=product*a[i];\n\t \tif(product>max)\n\t \t\tmax=product;\n\t \t if (product < 0) \n\t \t\t product = 1; \n\t \t\n\t }\n\t // System.out.println(max);\n\t \n\t Arrays.sort(a);\n\t int i=0,j=a.length-1;\n\t while(i<a.length &&j<a.length)\n\t {\n\t \t if(a[i]+a[j]==3)\n\t \t {\n\t \t\t System.out.println(a[i]+\" \"+a[j]);\n\t \t\t i++;j--;\n\t \t }\n\t \t else if(a[i]+a[j]>3)\n\t \t\t j--;\n\t \t else if(a[i]+a[j]<3)\n\t \t\t i++;\n\t }\n\t \n\t \n\t }", "private static int med3(float x[], int a, int b, int c) {\n\t\treturn (x[a] < x[b] ?\n\t\t\t\t(x[b] < x[c] ? b : x[a] < x[c] ? c : a) :\n\t\t\t\t\t(x[b] > x[c] ? b : x[a] > x[c] ? c : a));\n\t}", "private int med3(double x[], int a, int b, int c) {\r\n return (x[a] < x[b]\r\n ? (x[b] < x[c] ? b : x[a] < x[c] ? c : a)\r\n : (x[b] > x[c] ? b : x[a] > x[c] ? c : a));\r\n }", "static int[] sol1(int[]a, int n){\r\n\t\tMap <Integer,Integer> map= new HashMap();\r\n\t\tfor (int i = 0; i< a.length; i++){\r\n\t\t\tmap.put(a[i],i);\r\n\t\t}\r\n\t\tArrays.sort(a);\r\n\t\tint i = 0; \r\n\t\tint j = a.length -1;\r\n\t\twhile (i <= j){\r\n\t\t\tif(a[i]+a[j]>n) j--;\r\n\t\t\telse if (a[i]+a[j]<n) i++;\r\n\t\t\telse break;\r\n\t\t}\r\n\t\tint[] ans= {map.get(a[i]),map.get(a[j])};\r\n\t\treturn ans;\r\n\t}", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int noOfElements = sc.nextInt();\n int[] arr = new int[noOfElements];\n int[] arr1 = new int[noOfElements];\n int diff = Integer.MAX_VALUE;\n int sIndex = 0;\n int j = 0;\n for (int i = 0; i < noOfElements; i++) {\n arr[i] = sc.nextInt();\n }\n for (int j1 = 1; j1 < noOfElements; j1++) {\n int i = j1 - 1;\n int key = arr[j1];\n while (i >= 0 && key < arr[i]) { // 1 2 3\n arr[i + 1] = arr[i];\n i--;\n }\n arr[i + 1] = key;\n }\n //Arrays.sort(arr);\n for (int i = 0; i < noOfElements - 1; i++) {\n int temp = Math.abs(arr[i] - arr[i + 1]);\n if (temp <= diff) {\n diff=temp;\n }\n\n }\n\n for (int i = 0; i < noOfElements - 1; i++) {\n if (Math.abs(arr[i] - arr[i+1]) == diff) {\n System.out.print(arr[i] + \" \" + arr[i+1] + \" \");\n }\n }\n// for (int a = 0; a < j; a++) {\n//\n// System.out.print(arr[arr1[a]] + \" \" + arr[arr1[a]+1] + \" \");\n// }\n\n }", "public static int sumOfTwoLargestElements3(int[] a) {\n int firstNum = Integer.MIN_VALUE;\n int secondNum = Integer.MIN_VALUE;\n int thirdNum = Integer.MIN_VALUE;\n int fourNum = Integer.MIN_VALUE;\n\n for (int num : a){\n if(num>firstNum){\n secondNum = firstNum;\n thirdNum = secondNum;\n firstNum = num;\n }else if (num>secondNum){\n thirdNum = secondNum;\n secondNum = num;\n }else if(num>thirdNum){\n thirdNum =num;\n }\n }\n return firstNum+secondNum+thirdNum;\n }", "public static int sumOfTwoLargestElements2(int[] a) {\n int firstNum = Integer.MIN_VALUE;\n int secondNum = Integer.MIN_VALUE;\n int thirdNum = Integer.MIN_VALUE;\n for (int num : a){\n if(num>firstNum){\n secondNum = firstNum;\n thirdNum = secondNum;\n firstNum = num;\n }else if (num>secondNum){\n thirdNum = secondNum;\n secondNum = num;\n }else if(num>thirdNum){\n thirdNum =num;\n }\n }\n return firstNum+secondNum+thirdNum;\n }", "private int[] fader(int[] a, int[] b) {\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tif(a[i] > b[i]) {\n\t\t\t\ta[i] = a[i]-1;\n\t\t\t} else if(a[i] < b[i]) {\n\t\t\t\ta[i] = a[i]+1;\n\t\t\t}\n\t\t}\n\n\t\treturn a;\n\t}", "private static int med3(double x[], int a, int b, int c) {\n\t\treturn (x[a] < x[b] ?\n\t\t\t\t(x[b] < x[c] ? b : x[a] < x[c] ? c : a) :\n\t\t\t\t\t(x[b] > x[c] ? b : x[a] > x[c] ? c : a));\n\t}", "private static int[] merge( int[] a, int[] b ) \n {\n\tint[] c = new int[a.length+b.length];\n\n\tint x=0;\n\tint y=0;\n\tint z=0;\n\n\twhile (x < a.length || y < b.length){\n\t if (x>=a.length) {\n\t\tc[z]=b[y];\n\t\ty++;\n\t }\n\t else if (y>=b.length) {\n\t\tc[z]=a[x];\n\t\tx++;\n\t }\n\n\t else if (a[x] >= b[y]) {\n\t\tc[z] = b[y];\n\t\ty++;\t\t\n\t }\n\t else if (a[x] < b[y]) {\n\t\tc[z] = a[x];\n\t\tx++;\t\t\n\t }\n\t z++;\n\t}\n\treturn c;\n\n }", "public static void main(String[] args) {\n\t\t int a[][]= {{2,4,5},{3,0,7},{1,2,9}}; //then identify colomn of min num \n\t\t\tint min=a[0][0];//i.e 2 //find max num in identified colomn\n int mincolomnNo = 0; \n\t\t\t\n\t\t for(int i=0;i<3;i++)\n\t\t {\n\t\t\t for(int j=0;j<3;j++)\n\t\t\t {\n\t\t\t\t \n\t\t\t\t\t if(a[i][j]<min)\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t min =a[i][j];//swap\n\t\t\t\t\t\t mincolomnNo=j;\n\t\t\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t \n\t\t }//here o/p is zero\n\t\t System.out.println(min);\n\t\t \n\t\t int max=a[0][mincolomnNo];\n\t\t int k=0;\n\t\t while(k<3)\n\t\t {\n\t\t\t if(a[k][mincolomnNo]>max)\n\t\t\t {\n\t\t\t\t max=a[k][mincolomnNo];\n\t\t\t }\n\t\t\t k++;\n\t\t }\n\t\t \n\t\t \n\t\t System.out.println(max);\n\t\t }", "private static int med3(char x[], int a, int b, int c) {\n\t\treturn (x[a] < x[b] ?\n\t\t\t\t(x[b] < x[c] ? b : x[a] < x[c] ? c : a) :\n\t\t\t\t\t(x[b] > x[c] ? b : x[a] > x[c] ? c : a));\n\t}", "private static int[] mergeSortedArray(int[] a, int[] b){\n int i = a.length -1;\n for(int j = 3, k = 3, x=0; ( (j >= 0) && (k >= 0)) ; x++){\n\n if(a[j] > b[k]){\n a[i] = a[j];\n a[j] = 0;\n --j;\n --i;\n\n } else{\n a[i] = b[k];\n --k;\n --i;\n }\n\n if(j == -1 ) // this condition worked\n j = 0;\n }\n\n return a;\n\n }", "public static int max3(int a, int b, int c) {\r\n\t\t// Implement!\r\n\t\tint[] values = new int[3];\r\n\t\tvalues[0] = c;\r\n\t\tvalues[1] = a;\r\n\t\tvalues[2] = b;\r\n\r\n\t\tArrays.sort(values);\r\n\t\treturn values[2];\r\n\t}", "public static int majorityIn2N(int[] a)\n {\n int i=0;\n //case1: check if the array is like this: 1, 1, 2, 3, 4, 1...\n //this case is the opposite one to the second one\n for(; i<a.length-1; i++)\n {\n if(a[i]==a[i+1])\n return a[i];\n }\n //case2: if we get here, the array must be like 1, 3, 1, 4, 1, 5\n for(i=0; i<a.length-2; i++)\n {\n if(a[i]==a[i+2])\n return a[i];\n }\n return Integer.MIN_VALUE;\n }", "void findLeadrsInArray2(int[] a){\n\t\tint n = a.length;\n\t\tSystem.out.println(a[n-1]);\n\t\tint max = a[n-1];\n\t\tfor(int i = n-2; i>=0 ; i--){\n\t\t\tif(a[i] < max){\n\t\t\t\tmax = a[i];\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}", "public int serachMaxOrMinPoint(int [] A){\r\n\t\r\n\tint mid, first=0,last=A.length-1;\r\n\t\r\n\twhile( first <= last){\r\n\t\tif(first == last){\r\n\t\t\treturn A[first];\r\n\t\t}\r\n\t\telse if(first == last-1){\r\n\t\t\treturn Math.max(A[first], A[last]);\r\n\t\t\t\r\n\t\t}\r\n\t\telse{\r\n\t\t\tmid= first + (last-first)/2;\r\n\t\t\t\r\n\t\t\tif(A[mid]>A[mid-1] && A[mid]>A[mid+1])\r\n\t\t\t\treturn A[mid];\r\n\t\t\telse if(A[mid]>A[mid-1] && A[mid]<A[mid+1])\r\n\t\t\t\tfirst=mid+1;\r\n\t\t\telse if(A[mid]<A[mid-1] && A[mid]>A[mid+1])\r\n\t\t\t\tlast=mid-1;\r\n\t\t\telse return -1;\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n\treturn -1;\r\n\t\r\n}", "private static int med3(short x[], int a, int b, int c) {\n\t\treturn (x[a] < x[b] ?\n\t\t\t\t(x[b] < x[c] ? b : x[a] < x[c] ? c : a) :\n\t\t\t\t\t(x[b] > x[c] ? b : x[a] > x[c] ? c : a));\n\t}", "private static int med3(int x[], IntComparator comp, int a, int b, int c) {\n\t\treturn (comp.compare(x[a],x[b])<0 ?\n\t\t\t\t(comp.compare(x[b],x[c])<0 ? b : comp.compare(x[a],x[c])<0 ? c : a) :\n\t\t\t\t\t(comp.compare(x[b],x[c])>0 ? b : comp.compare(x[a],x[c])>0 ? c : a));\n\t}", "private static int maxSubSumN3(int[] a) {\n int maxSum = 0;\n\n for (int first = 0; first < a.length; first++) {\n for (int last = first; last < a.length; last++) {\n int thisSum = 0;\n\n for (int i = first; i <= last; i++)\n thisSum += a[i];\n\n if (thisSum > maxSum) {\n maxSum = thisSum;\n }\n }\n }\n\n return maxSum;\n }", "public static int sumOfTwoLargestElements(int[] a) {\n int firstNum = Integer.MIN_VALUE;\n int secondNum = Integer.MIN_VALUE;\n\n\n for (int i = 0; i < a.length; i++) {\n if(firstNum==a[i])continue;\n if (firstNum < a[i]) {\n secondNum = firstNum;\n firstNum = a[i];\n } else if (secondNum < a[i]) {\n secondNum = a[i];\n }\n }\n return firstNum + secondNum;\n }", "public static int sumOfTwoLargestElements1(int[] a) {\n int firstNum = Integer.MIN_VALUE;\n int secondNum = Integer.MIN_VALUE;\n for (int num : a){\n if(num>firstNum){\n secondNum = firstNum;\n firstNum = num;\n }else if (num>secondNum){\n secondNum = num;\n }\n }\n return firstNum+secondNum;\n }", "private static <T> int med3(T x[], Comparator<T> comp, int a, int b, int c) {\n\t\treturn (comp.compare(x[a],x[b])<0 ?\n\t\t\t\t(comp.compare(x[b],x[c])<0 ? b : comp.compare(x[a],x[c])<0 ? c : a) :\n\t\t\t\t\t(comp.compare(x[b],x[c])>0 ? b : comp.compare(x[a],x[c])>0 ? c : a));\n\t}", "public static int findCandiate(int a[]) {\r\n\t\tint max_index = 0;\r\n\t\tint count = 1;\r\n\t\tfor(int i = 1; i < a.length; ++i){\r\n\t\t\tif(a[i] == a[max_index]){\r\n\t\t\t\tcount++;\r\n\t\t\t} else {\r\n\t\t\t\tcount--;\r\n\t\t\t}\r\n\t\t\tif(count == 0){\r\n\t\t\t\tmax_index = i;\r\n\t\t\t\tcount = 1;\r\n\t\t\t}\r\n\t\t}\t\r\n\t\treturn max_index;\r\n\t}", "static int maxIndexDiff(int arr[], int n) { \n int max = 0;\n int i = 0;\n int j = n - 1;\n while (i <= j) {\n if (arr[i] <= arr[j]) {\n if (j - i > max) {\n max = j - i;\n }\n i += 1;\n j = n - 1;\n }\n else {\n j -= 1;\n }\n }\n return max;\n // Your code here\n \n }", "public static String findSum3(int[] a, int x){\r\n\t\t// scan the array, \r\n\t\tint begin = 0, end = a.length -1, sum;\r\n\t\twhile(begin < a.length -1 && (end >= 0)){\r\n\t\t\tsum = a[begin] + a[end];\r\n\t\t\tif(sum < x){\r\n\t\t\t\tbegin++;\r\n\t\t\t}else if(sum > x){\r\n\t\t\t\tend--;\r\n\t\t\t}else {\r\n\t\t\t\treturn a[begin] + \" \" + a[end];\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn \"Not Found\";\r\n\t}", "static List<Integer> longestBouncyList(List<Integer> arr) {\n List<Integer> results = new ArrayList<>();\r\n results.add(arr.get(0));\r\n \r\n // If the 1 element is the lowest 2, add the first 2 elements \r\n List<Integer> test = new ArrayList<>();\r\n if (arr.get(0) < arr.get(1)) {\r\n test.add(arr.get(0));\r\n test.add(arr.get(1));\r\n }\r\n\r\n // Traverse the arr\r\n for (int i = 1; i < arr.size() - 1; i++) {\r\n\r\n if (((arr.get(i) > arr.get(i - 1)) && (arr.get(i) > arr.get(i + 1)))\r\n || ((arr.get(i) < arr.get(i - 1)) && (arr.get(i) < arr.get(i + 1)))) {\r\n\r\n if (test.isEmpty()) {\r\n test.add(arr.get(i - 1));\r\n test.add(arr.get(i));\r\n }\r\n\r\n test.add(arr.get(i + 1));\r\n\r\n if (i == arr.size() - 2) {\r\n results = compareList(test, results);\r\n }\r\n\r\n } else {\r\n\r\n results = compareList(test, results);\r\n \r\n test = new ArrayList<>();\r\n }\r\n\r\n }\r\n return results;\r\n }", "private static int f(int n, int complete, int other, int[] arr) {\n if(n<=0)\n return 0;\n int res=0;\n ArrayList<Integer>list=new ArrayList<Integer>();\n for(int a:arr)\n if(a>0)\n list.add(a);\n int brr[]=new int[list.size()];\n for(int i=0;i<brr.length;i++)\n brr[i]=list.get(i);\n while(brr.length!=0){\n int index=0;\n for(int i=1;i<brr.length;i++)\n if(brr[index]<brr[i])\n index=i;\n for(int i=0;i<brr.length;i++){\n if(index==i)\n brr[i]-=complete;\n else\n brr[i]-=other;\n }\n list=new ArrayList<Integer>();\n for(int a:brr)\n if(a>0)\n list.add(a);\n brr=new int[list.size()];\n for(int i=0;i<brr.length;i++)\n brr[i]=list.get(i);\n res++;\n }\n return res;\n }", "public List<List<Integer>> threeSum(int[] nums) {\n Arrays.sort(nums);\n\n Set<List<Integer>> triplets = new HashSet<List<Integer>>();\n\n for (int i = 0; i < nums.length; i++) {\n // we choose the number at index i to pinpoint\n int a = nums[i];\n int deficit = 0 - a;\n\n // initialize our two pointers such that they're at either end of the\n // array and that they're not i\n int b = i == 0 ? 1 : 0;\n int c = i == nums.length - 1 ? nums.length - 2 : nums.length - 1;\n\n while (b < c) {\n // check if b and c add up to the deficit\n if (nums[b] + nums[c] == deficit) {\n // add it to the list\n List<Integer> triplet = new ArrayList<Integer>();\n\n triplet.add(a);\n triplet.add(nums[b]);\n triplet.add(nums[c]);\n\n Collections.sort(triplet);\n if (!triplets.contains(triplet)) {\n triplets.add(triplet);\n }\n\n\n // move pointer up and down\n c -= 1;\n if (c == i) {\n c -= 1;\n }\n\n b += 1;\n if (b == i) {\n b += 1;\n }\n } else if (nums[b] + nums[c] > deficit) {\n // if it's too large, bring top pointer down\n c -= 1;\n if (c == i) {\n c -= 1;\n }\n } else {\n // if it's too small, bring bottom pointer up\n b += 1;\n if (b == i) {\n b += 1;\n }\n }\n }\n }\n\n List<List<Integer>> last = new ArrayList<List<Integer>>(triplets);\n return last;\n }", "public static int cmpCost(int arr[][]) {\n\n\t\t//storage\n\t\tint f[][] = new int[arr.length][arr[0].length];\n\n\t\t//traverse and (define problem could have been done earlier\n\t\tfor (int i = arr.length - 1; i >= 0; i--) {\n\t\t\tfor (int j = arr[0].length - 1; j >= 0; j--) {\n\t\t\t\t//define smaller problem\n\t\t\t\tif (i == arr.length - 1 && j == arr[0].length - 1) {\n\t\t\t\t\tf[i][j] = arr[i][j];\n\t\t\t\t} else if (i == arr.length - 1) {\n\t\t\t\t\tf[i][j] = f[i][j + 1] + arr[i][j];\n\t\t\t\t}\n\n\t\t\t\telse if (j == arr[0].length - 1) {\n\t\t\t\t\tf[i][j] = f[i + 1][j] + arr[i][j];\n\t\t\t\t} else {\n\t\t\t\t\tf[i][j] = Math.min(f[i + 1][j], f[i][j + 1]) + arr[i][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t//result\n\t\treturn f[0][0];\n\t}", "public int thirdMax(int[] nums) {\n if (nums.length == 1) return nums[0];\n \n PriorityQueue<Integer> pq = new PriorityQueue<>(3);\n for (int num : nums) {\n if (!pq.contains(num)) {\n if (pq.size() < 3)\n pq.add(num);\n else if (num > pq.peek()) {\n pq.poll();\n pq.add(num);\n }\n }\n }\n if (pq.size() == 3 || pq.size() == 1) // size = 1 for [1,1,1]\n return pq.peek();\n else { // for size = 2\n pq.poll();\n return pq.peek();\n }\n \n \n /** 3. Three Pointers\n /* max1, max2, max3\n /* if num == max1/2/3, continue\n /* num > max1 -> max3 = max2, max2 = max1, max1 = num\n /* max1 > num > max2 -> max3 = max2, max2 = num\n /* max2 > num > max3 -> max3 = num\n */\n\n }", "public double findMedianSortedArrays(int[] x, int[] y) {\n if (x.length > y.length) {\n int[] z = x;\n x = y;\n y = z;\n }\n int xlen = x.length, ylen = y.length, a, b, v = Integer.MIN_VALUE;\n if (xlen == 0) {\n if (ylen % 2 == 0) {\n return (0.0 + y[ylen / 2 - 1] + y[ylen / 2]) / 2;\n } else {\n return y[ylen / 2];\n }\n }\n if ((x.length + y.length) % 2 == 1) {\n xlen--;\n v = x[xlen];\n }\n if (xlen == 0) {\n a = y[ylen / 2 - 1];\n b = y[ylen / 2];\n } else if (xlen == 1) {\n if (ylen == 1) {\n a = Math.min(x[0], y[0]);\n b = Math.max(x[0], y[0]);\n } else {\n int i = ylen / 2;\n if (x[0] > y[i]) {\n a = y[i];\n b = Math.min(x[0], y[i + 1]);\n } else {\n a = Math.max(x[0], y[i - 1]);\n b = y[i];\n }\n }\n } else {\n int xl = 0, xr = xlen - 1;\n int ymid, xmid, midIndex = (xlen + ylen) / 2 - 1;\n if (x[xr] < y[midIndex - xr]) {\n a = x[xlen - 1];\n if (xlen != ylen) {\n a = Math.max(a, y[(ylen - xlen) / 2 - 1]);\n }\n b = y[(ylen - xlen) / 2];\n } else if (y[midIndex - xl] < x[xl]) {\n a = y[(ylen + xlen) / 2 - 1];\n b = x[0];\n if (xlen != ylen) {\n b = Math.min(b, y[(ylen + xlen) / 2]);\n }\n } else {\n while (xr - xl > 1) {\n xmid = (xl + xr) / 2;\n ymid = midIndex - xmid;\n if (y[ymid] < x[xmid]) {\n xr = xmid;\n } else if (x[xmid] < y[ymid]) {\n xl = xmid;\n } else {\n xl = xmid - 1;\n xr = xmid;\n break;\n }\n }\n a = Math.max(x[xl], y[midIndex - xr]);\n b = Math.min(x[xr], y[midIndex - xl]);\n }\n }\n if ((x.length + y.length) % 2 == 1) {\n if (v < a)\n return a;\n else if (v > b)\n return b;\n else\n return v;\n } else {\n return (0.0 + a + b) / 2;\n }\n }", "public static void main(String[] args) {\n\t\tint[] A={6,7,8,10};\n\t\tint[] B={3,6,7,8,9};\n\t\tint[] C=new int[A.length+B.length];\n\t\tint k=0;\n\t\tint i=0, j=0;\n\t\twhile(i<A.length && j<B.length ){\n\t\t\tif(A[i]<=B[j]){\n\t\t\t\tC[k]=A[i]; i++; k++;\n\t\t\t}\n\t\t\telse if(B[j]<=A[i]) {\n\t\t\t\tC[k]=B[j]; j++;\tk++;\n\t\t\t}\n\t\t}\n\t\t\n\t\twhile(i<A.length){\n\t\t\tC[k++]=A[i++];\t\n\t\t}\n\t\t\n\t\twhile(j<B.length){\n\t\t\tC[k++]=B[j++];\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\tfor(int a : C){\n\t\t\tSystem.out.println(a);\n\t\t}\n\t\t\t\n\t\t\t\n\t\t}", "public static void main(String[] args) {\n\t\tScanner jjdavidki = new Scanner(System.in);\r\n\t\tint n = jjdavidki.nextInt();\r\n\t\tint [] arr = new int[n];\r\n\t\tfor(int i =0; i<arr.length; i++){\r\n\t\t\tarr[i] = jjdavidki.nextInt();\r\n\t\t}\r\n\t\tint [] arr11 = new int[n];\r\n\t\tfor(int i =0; i<arr11.length; i++){\r\n\t\t\tarr11[i] = arr[i];\r\n\t\t}\r\n\t\tint [] arr2 = new int[n];\r\n\t\tint smallest = arr[0];\r\n\t\tfor(int j=0;j<arr.length;j++) {\r\n\t\t\tif(arr[j]<smallest) {\r\n\t\t\t\tsmallest = arr[j];\r\n\t\t\t}\r\n\t\t}\r\n\t\tint biggest = arr[0];\r\n\t\tint zapazeno = 0;\r\n\t\tfor(int k=0;k<arr.length/2;k++) {\r\n\t\t\tfor(int l=0;l<arr.length;l++) {\r\n\t\t\t\tif(arr[l]>=biggest) {\r\n\t\t\t\t\tbiggest = arr[l];\r\n\t\t\t\t\tzapazeno = l;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tarr2[k] = biggest;\r\n\t\t\tarr[zapazeno] = smallest;\r\n\t\t\tbiggest = arr[0]-1;\r\n\t\t}\r\n\t\tint biggest2 = arr11[0];\r\n\t\tfor(int j=0;j<arr11.length;j++) {\r\n\t\t\tif(arr11[j]>biggest2) {\r\n\t\t\t\tbiggest2 = arr11[j];\r\n\t\t\t}\r\n\t\t}\r\n\t\tint smallest2 = arr11[0];\r\n\t\tfor(int k=arr11.length/2;k<arr11.length;k++) {\r\n\t\t\tfor(int l=0;l<arr11.length;l++) {\r\n\t\t\t\tif(arr11[l]<=smallest2) {\r\n\t\t\t\t\tsmallest2 = arr11[l];\r\n\t\t\t\t\tzapazeno = l;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tarr2[k] = smallest2;\r\n\t\t\tarr11[zapazeno] = biggest2;\r\n\t\t\tsmallest2 = arr11[0]+1;\r\n\t\t}\r\n\t\tfor(int g=0;g<arr2.length;g++) {\r\n\t\t\tSystem.out.println(arr2[g]);\r\n\t\t}\r\n\t\t\r\n\t}", "public int solution(int[] A) {\n int l = A.length;\r\n int largest = 0;\r\n\r\n //first we sort the array using count sort\r\n //get largest\r\n for (int i : A) {\r\n if (i > largest) {\r\n largest = i;\r\n }\r\n }\r\n //set all elements of c to 0\r\n int c[] = new int[largest + 1];\r\n int b[] = new int[A.length];\r\n for (int i = 0; i < c.length; i++) {\r\n c[i] = 0;\r\n }\r\n printc(c, \"c\");\r\n // set occurences of each element in c\r\n for (int i : A) {\r\n c[i] += 1;\r\n }\r\n printc(c, \"c\");\r\n // add \r\n for (int i = 1; i < c.length; i++) {\r\n c[i] = c[i - 1] + c[i];\r\n }\r\n printc(c, \"c\");\r\n\r\n for (int i = A.length-1; i >= 0; i--) {\r\n int value = A[i];\r\n int cvalue = c[value] - 1;\r\n b[cvalue] = value;\r\n c[value] = cvalue;\r\n }\r\n printc(b, \"b\");\r\n\r\n \r\n \r\n return 0;\r\n }", "static double sol4(int[] a,int[] b){\r\n \tint mid1=0,mid2= 0;\r\n \tif((a.length+b.length)%2==0) {\r\n \t\tmid1 = (a.length+b.length)/2 -1;\r\n \t\tmid2 = mid1 + 1;\r\n \t\t}else {\r\n \t\t\tmid1 = mid2 = (a.length+b.length)/2;\r\n \t\t}\r\n \t\tint[] ab = new int[a.length+b.length];\r\n \t\tint i=0,j=0,count=0;\r\n\t\twhile (i<a.length && j<b.length){\r\n\t\t\tif (a[i]<b[j]){ \r\n\t\t\t\tab[count++]=a[i++];\r\n\t\t\t}else{\r\n\t\t\t\tab[count++]=b[j++];\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (i==a.length){\r\n\t\t\twhile (j<b.length){\r\n\t\t\t\tab[count++]=b[j++];\r\n\t\t\t}\r\n\t\t}else {\r\n\t\t\twhile (i<a.length){\r\n\t\t\t\tab[count++]=a[i++];\r\n\t\t\t}\r\n\t\t}\r\n\t\t//for (int n =0; n< ab.length;n++){\r\n\t\t//\tSystem.out.println(ab[n]);\r\n\t\t//}\r\n\t\tdouble ans = -1;\r\n\t\tif (mid1 == mid2){\r\n\t\t\tans = (double) ab[mid1];\r\n\t\t\treturn ans;\r\n\t\t}\r\n\t\tans = (double) (ab[mid1]+ab[mid2])/2;\r\n\t\treturn ans;\r\n\r\n }", "public static void main(String args[])\n {\n int n,min= Integer.MAX_VALUE;\n Scanner sc = new Scanner(System.in);\n n = sc.nextInt();\n \n int a[] = new int[n];\n for(int i=0;i<n;i++){\n a[i] = sc.nextInt();\n }\n \n for(int i=0;i<n-1;i++){\n min = i;\n for(int j=i+1;j<n;j++){\n \tif(a[j]<a[min]){\n min=j;\n \n }\n \n }\n if(i!=min){\n int tt = a[i];\n a[i] = a[min];\n a[min] = tt;\n }\n }\n \n for(int i=0;i<n;i++)\n System.out.print(a[i] + \" \");\n }", "void findLeadrsInArray1(int[] a){\n\t\tint n = a.length;\n\t\tboolean flag = true;\n\t\tfor(int i =0;i<n;i++){\n\t\t\tfor(int j=i+1;j<n;j++){\n\t\t\t\tif(a[i] < a[j]){\n\t\t\t\t\tflag = false; \n\t\t\t\t}\n\t\t\t}\n\t\t\tif(flag != false){\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t}\n\t\t}\n\t}", "public static int maxCuts(int n,int a,int b,int c){\n\n int DP[] =new int[n+1];\n\n DP[0] = 0;\n\n for (int i=1;i<n;i++){\n DP[i] = -1;\n if (i - a >= 0)\n DP[i] = Math.max(DP[i],DP[i-a]);\n if (i - b >= 0)\n DP[i] = Math.max(DP[i],DP[i-b]);\n if (i - c >= 0)\n DP[i] = Math.max(DP[i],DP[i-c]);\n\n\n if (DP[i]!=-1)\n DP[i] = DP[i] + 1;\n\n }\n\n\n return DP[n];\n }", "static int LCS(int arr[])\n {\n int size = arr.length;\n int max_so_far = Integer.MIN_VALUE, max_ending_here = 0;\n\n for (int i = 0; i < size; i++)\n {\n max_ending_here = max_ending_here + arr[i];\n if (max_so_far < max_ending_here)\n max_so_far = max_ending_here;\n if (max_ending_here < 0)\n max_ending_here = 0;\n }\n return max_so_far;\n }", "private int houseRobberWithMaxAmountHousesFromItoJInConstantSpace(int[] a, int i, int j) {\n\t\tif (null == a || i > j)\n\t\t\treturn 0;\n\n\t\tif (j - i == 0)\n\t\t\treturn a[i];\n\n\t\tint incl = a[i];\n\t\tint excl = 0, temp;\n\n\t\tfor (int k = i + 1; k <= j; k++) {\n\t\t\ttemp = incl;\n\t\t\tincl = Math.max(excl + a[k], incl);\n\t\t\texcl = temp;\n\t\t}\n\t\treturn incl;\n\t}", "public static void main(String[] args) {\n\t\tint arr[] = {2,4,11,5,8,1,9};\r\n\t\tint res = arr[1] - arr[0];\r\n\t\tfor(int i = 0; i < arr.length; i++) {\r\n\t\t\tfor(int j = i + 1; j < arr.length; j++) {\r\n\t\t\t\tres = Math.max(res, arr[j] - arr[i]);\r\n\t\t\t}\r\n\t\t}\r\n//\t\tSystem.out.println(first + \" : \" + last + \" : \" + max);\r\n\t\tSystem.out.println(res);\r\n\t}", "static int minVal(int a, int b, int c, int d){ //minVal function evaluates the lowest value takes 4 ints and returns an int\n \n //logic: (logic table)\n //\n int[] val = new int[]{a, b, c, d}; //loads it into a array to make it easier to cycle through\n if(a == minVal(val[0], val[1])){//if a is smaller than b\n if (a == minVal(val[0], val[2])){// if a is smaller than c\n if(a == minVal(val[0], val[3])) //if a is smaller than d, return a\n return a;\n return val[3]; // if d is not smaller than a but a is smaller than the rest return d\n }//end if\n else if(c == minVal(val[2], val[3])) //if a is smaller than b but not smaller than c, check if c is smaller than d\n return val[2];//return c\n return val[3];// if a is smaller than b but not smaller than c, and c is not smaller than d, return d \n }//end if \n else{ //if(b == minVal(val[0], val[1])){ //if b is smaller than a\n if (b == minVal(val[1], val[2])){ //if b is smaller than c\n if(b == minVal(val[1], val[3])) //if b is smaller than d, return b\n return b;\n return val[3];// if d is not smaller than a but a is smaller than the rest return d\n }//end if\n else if(c == minVal(val[2], val[3]))//if a is smaller than b but not smaller than c, check if c is smaller than d\n return val[2];//return c\n return val[3];// if a is smaller than b but not smaller than c, and c is not smaller than d, return d \n }//end else\n \n }", "private int majority(int x, int y, int z){\n return (x & y) | (x & z) | (y & z);\n }", "public static void main(String[] args) {\n\t\t\n\t\tint a[]={1,2,5,6,3,2}; \n\t\t\n\t\tint temp, size;\n\t\tsize = a.length;\n\n\t for(int i = 0; i<size; i++ ){\n\t for(int j = i+1; j<size; j++){\n\n\t if(a[i]>a[j]){\n\t temp = a[i];\n\t a[i] = a[j];\n\t a[j] = temp;\n\t }\n\t }\n\t }\n\t System.out.println(\"Third second largest number is:: \"+a[size-2]);\n\n\t}", "static int minimumDistances(int[] a) {\n int l = a.length;\n Map<Integer, List<Integer>> map = new HashMap<>();\n for (int i = 0; i <l ; i++) {\n List<Integer> val = map.get(a[i]);\n if(val == null){\n val = new ArrayList<>();\n }\n val.add(i);\n map.put(a[i], val);\n }\n int min = Integer.MAX_VALUE;\n for (List<Integer> value:\n map.values()) {\n int c = value.size();\n if(c>1){\n for (int i = 0; i < c-1 ; i++) {\n min = Math.min(min, value.get(i+1)- value.get(i));\n }\n }\n }\n if(min == Integer.MAX_VALUE) min = -1;\n return min;\n\n\n }", "static pair getMinMax(long a[], long n) \n {\n Arrays.sort(a);\n return new pair(a[0],a[(int)(n-1)]);\n }", "public static int example3(int[] arr) { // O(n)\r\n\t\tint n = arr.length, total = 0; // O(1)\r\n\t\tfor (int j = 0; j < n; j++) // loop from 0 to n-1 // O(n^2)\r\n\t\t\tfor (int k = 0; k <= j; k++) // loop from 0 to j\r\n\t\t\t\ttotal += arr[j];\r\n\t\treturn total;\r\n\r\n\t\t/*\r\n\t\t * Explanation: Since we have nested for loop which dominates here and it is\r\n\t\t * O(n^2) and we always take the maximum. so the answer is quadratic time O(n^2)\r\n\t\t * \r\n\t\t */\r\n\t}", "public static int secondaryArgmax(double[] a) {\n\t\tint mi = argmax(a);\n\t\t// scan left until increasing\n\t\tint i;\n\t\tfor (i=mi-1; i>=0 && a[i]<=a[i+1]; i--);\n\t\tint l = argmax(a,0,i+1);\n\t\tfor (i=mi+1; i<a.length && a[i]<=a[i-1]; i++);\n\t\tint r = argmax(a,i,a.length);\n\t\tif (l==-1) return r;\n\t\tif (r==-1) return l;\n\t\treturn a[l]>=a[r]?l:r;\n\t}", "public static int[] solve(int[] arr, int l){\n\n int[] nge = new int[arr.length];\n\n Stack<Integer> st = new Stack<>();\n st.push(0);\n\n for(int i = 1; i < arr.length; i++) {\n\n while(st.size() > 0 && arr[i] > arr[st.peek()]) {\n nge[st.peek()] = arr[i];\n st.pop();\n }\n\n st.push(i);\n }\n\n int length = st.size();\n for (int i = 0; i < length; i++) {\n nge[st.peek()] = -1;\n st.pop();\n }\n\n return nge;\n }", "public static int sumOfTwoLargestElements4(int[] a) {\n int firstNum = Integer.MIN_VALUE;\n int secondNum = Integer.MIN_VALUE;\n int thirdNum = Integer.MIN_VALUE;\n int fourNum = Integer.MIN_VALUE;\n// int[] arr = {-8, 9, -1, -16, 2, 4};\n\n\n for (int i=0; i<a.length; i++){\n System.out.println(\"====>\"+a[i]);\n if(a[i]>firstNum){\n secondNum = firstNum;\n thirdNum = secondNum;\n// fourNum = thirdNum;\n firstNum = a[i];\n }else if (a[i]>secondNum){\n thirdNum = secondNum;\n// fourNum = thirdNum;\n secondNum = a[i];\n }else if(a[i]>thirdNum){\n fourNum = thirdNum;\n thirdNum =a[i];\n }else if(a[i]>fourNum){\n fourNum = a[i];\n }\n\n }\n return firstNum+secondNum+thirdNum+fourNum;\n }", "public void findHighestConsecutive(){\r\n\r\n int maxSame = 1;\r\n int tempSame = 1;\r\n\r\n int testArr[] = getIntArr();\r\n\r\n for(int i = 0; i < testArr.length; i++){\r\n\r\n for(int j = i + 1; j < testArr.length; j++){\r\n if(testArr[i] == testArr[j]){\r\n tempSame++;\r\n }\r\n }\r\n if(tempSame > maxSame) {\r\n maxSame = tempSame;\r\n }\r\n\r\n tempSame = 1;\r\n }\r\n\r\n setHighestConsecutive(maxSame);\r\n }", "private int[] calcBestOrderForB() {\n int cursor = mStrokeA.length() / 2;\n Point[] aPts = buildSnapshot(mStrokeA, cursor);\n Point[] bPts = buildSnapshot(mStrokeB, cursor);\n\n // Determine the best permutation of B to match points of A within these two\n // snapshots\n ArrayList<int[]> perms = buildPermutations(mStrokeA.size());\n int[] bestOrder = null;\n float minCost = 0;\n for (int[] order : perms) {\n float cost = orderCost(order, aPts, bPts);\n if (bestOrder == null || minCost > cost) {\n minCost = cost;\n bestOrder = order;\n }\n }\n return bestOrder;\n }", "public static void main(String[] args) {\n\t\tint[] a={7,6,8,9,2,3};\n\t\tint temp;\n\t\t//外层循环,一共比较多少轮,没比较一轮,最大的那个数都排到最后\n\t\tfor(int i=0;i<a.length-1;i++){\n\t\t\tfor(int j=0;j<a.length-1-i;j++){\n\t\t\t\tif (a[j]>a[j+1]){\n\t\t\t\t\ttemp=a[j];\n\t\t\t\t\ta[j]=a[j+1];\n\t\t\t\t\ta[j+1]=temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int k=0;k<a.length;k++){\n\t\t\tSystem.out.println(a[k]);\n\t\t}\n\t}", "public static int[] sta(int[] arr){//Sort The Array\n for (int a = 0; a < arr.length; a++){\n for(int b = 0; b < arr.length; b++){\n int holder = 0;\n //it will grab 1 number and checks the list if that number is bigger than any other number. then it repeats with the next number of the list.\n if(arr[a] > arr[b]){//IF NUMBER[A] IS BIGGER THAN NUMBER[B]\n holder = arr[a];//HOLDER BECOMES NUMBER[A]\n arr[a] = arr[b];//NUMBER[A] BECOMES NUMBER[B]\n arr[b] = holder;//NUMBER[B] BECOMES NUMBER[A](HOLDER)\n }\n //[A] and [B] switch placements and will repeat till arr.length\n }\n }\n return arr; \n }", "public int findLongestCommonIncreasingSubsequence(int [] arr, int [] arr2) {\n\n // length of lcs ending at arr2[i] \n int [] dp = new int[arr2.length];\n\n for (int i = 0; i < arr.length; i++) {\n int current = 0;\n for (int j = 0; j < arr2.length; j++) {\n\n if (arr[i] == arr2[j]) {\n if (current + 1 > dp[j]) {\n dp[j] = current + 1;\n }\n }\n\n if (arr[i] > arr[j]) {\n if (table[j] > current) {\n current = table[j];\n }\n }\n }\n }\n\n for (int i = 0; i < arr2.length; i++) {\n res = Math.max(res, dp[i]);\n }\n\n return res;\n }", "public static void main(String[] args) throws Exception {\n int arr[]= {7,9,88,-33,2,12,6,1};\n Arrays.sort(arr);\n /*for(int i=0; i<arr.length; i++)\n \t System.out.print(arr[i]+\", \");\n System.out.println(\"\\n DESC\");\n System.out.print(\"{ \");\n for(int i=arr.length-1; i>=0; i--) {\n \t if(arr[i]==arr[0])\n \t System.out.print(arr[i]);\n \t else \n \t\t System.out.print(arr[i]+\", \");\n }*/\n // System.out.print(\" }\");\n \n int[] ar= {6,2,2,5,2,2,1};\n int startIndex=0;\n int lastIndex=ar.length-1;\n //a is sumRight,b = sumLeft\n int a=0,b=0;\n /* while(true) {\n \t \n \t if(b>a) \n \t\t //1+2+2=+5\n \t\t a+=ar[lastIndex--];\n \t else \n \t\t //6+2+2\n \t\t\t b+=ar[startIndex++];\n \t\tif(startIndex>lastIndex) {\n \t\t\tSystem.out.println(startIndex);\n \t\t\tif(a==b)\n \t\t\t\tbreak;\n \t\t\t else\n \t\t\t throw new Exception(\"not a valid array\");\n \t\t\t\n \t\t}\n \t\t\t \n \t\t\n }\n System.out.println(lastIndex);\n */\n \n \n while(true) {\n \t \n \t if(b>a)\n \t\t a+= ar[lastIndex--];\n \t else\n b+=ar[startIndex++];\n \t if(startIndex>lastIndex) {\n \t\t if(a==b)\n \t\t\t break;\n \t }\n }\n System.out.println(lastIndex);\n\t}", "private static void third(int[] arr, int sum){\n\n Arrays.sort(arr);\n\n int i =0;\n int j = arr.length-1;\n\n while( i<j ){\n\n int curr = arr[i] + arr[j];\n\n if(curr == sum){\n System.out.println(arr[i] + \" \" + arr[j]);\n break;\n }\n else if(curr < sum){\n i++;\n }\n else{\n j--;\n }\n }\n\n }", "void findCommon(int ar1[], int ar2[], int ar3[], int n1,\n int n2, int n3)\n{\n int i = 0, j = 0, k = 0;\n int prev1, prev2, prev3;\n prev1 = prev2 = prev3 = INT_MIN;\n while (i < n1 && j < n2 && k < n3) {\n while (ar1[i] == prev1 && i < n1)\n i++;\n while (ar2[j] == prev2 && j < n2)\n j++;\n while (ar3[k] == prev3 && k < n3)\n k++;\n if (ar1[i] == ar2[j] && ar2[j] == ar3[k]) {\n cout << ar1[i] << \" \";\n prev1 = ar1[i];\n prev2 = ar2[j];\n prev3 = ar3[k];\n i++;\n j++;\n k++;\n }\n else if (ar1[i] < ar2[j]) {\n prev1 = ar1[i];\n i++;\n }\n else if (ar2[j] < ar3[k]) {\n prev2 = ar2[j];\n j++;\n }\n else {\n prev3 = ar3[k];\n k++;\n }\n }\n}", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\r\n\t\tString[] arr1 = sc.nextLine().split(\" \");\r\n\t\tString[] arr2 = sc.nextLine().split(\" \");\r\n\t\tArrayList<Integer> arr1_ = new ArrayList<Integer>();\r\n\t\tArrayList<Integer> arr2_ = new ArrayList<Integer>();\r\n\t\tfor(int i = 0; i<arr1.length;i++)\r\n\t\t\tarr1_.add(Integer.parseInt(arr1[i]));\r\n\t\tfor(int i = 0; i<arr2.length;i++)\r\n\t\t\tarr2_.add(Integer.parseInt(arr2[i]));\r\n\t\t\r\n\t\tInteger[] final_arr1 = arr1_.toArray(new Integer[arr1_.size()]);\r\n\t\tInteger[] final_arr2 = arr2_.toArray(new Integer[arr2_.size()]);\r\n\t\t\r\n\t\tArrays.sort(final_arr2);\r\n\t\tif(final_arr1[0] <= final_arr1[1]) {\r\n\t\t\tSystem.out.println(final_arr2[final_arr2.length - 3]);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tint cri = 0;\r\n\t\t\tint max_length = -99999;\r\n\t\t\tfor(int i = 1; i < final_arr2[final_arr2.length - 1]; i++) {\r\n\t\t\t\tint count = 0;\r\n\t\t\t\tfor(int j = final_arr2.length - final_arr1[1] ; j < final_arr2.length; j++) {\r\n\t\t\t\t\tif(final_arr2[j] >= i) {count++;}\r\n\t\t\t\t\tif(final_arr2[j] - i >= i) {count++;}\r\n\t\t\t\t}\r\n\t\t\t\tif(count >= final_arr1[0]) {\r\n\t\t\t\t\tif(max_length < i) {max_length = i; cri = 1;}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif(cri == 0) {System.out.println(\"-1\");}\r\n\t\t\telse {System.out.println(max_length);}\r\n\t\t}\r\n\t}", "static int minimumSwaps2(int[] arr) {\n Map<Integer, Integer> backward = new HashMap<>();\n Map<Integer, Integer> forward = new HashMap<>();\n for (int i = 0; i < arr.length; i++) {\n int move = i + 1 - arr[i];\n if (move > 0)\n forward.put(arr[i], move);\n else if (move < 0)\n backward.put(arr[i], move);\n }\n\n //count swap in pairs\n int pairs = 0;\n for (Integer bk : backward.keySet()) {\n for (Integer fk : forward.keySet()) {\n if (backward.get(bk) * (-1) == forward.get(fk)) {\n pairs = pairs + 1;\n continue;\n }\n }\n }\n //count swap others\n int swapCount = forward.size() + backward.size() - (2 * pairs);\n if (swapCount > 0) swapCount = swapCount - 1;\n\n System.out.println(String.format(\n \"forward(%d):%s\\nbackeward(%d):%s\\neach: %d, swap: %d\"\n , forward.size(), forward, backward.size(), backward,\n pairs, swapCount\n ));\n\n return swapCount + pairs;\n }", "private static int[] findGreatestNumInArray(int[] array) {\r\n\t\tint maxValue = Integer.MIN_VALUE;\r\n \r\n\t\tint secondValue = Integer.MIN_VALUE;\r\n\t\t\r\n\t\tint thirdValue = Integer.MIN_VALUE;\r\n\t\t\r\n\t int[] result = new int[2];\r\n\t \r\n\t int[] result2 = new int[3];\r\n\t\tfor (int i = 0; i < array.length; i++) {\r\n\t\t\tif (array[i] > maxValue) {\r\n\t\t\t\tthirdValue = secondValue;\r\n\t\t\t\tsecondValue = maxValue;\r\n\t\t\t\tmaxValue = array[i];\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\telse if(array[i]>secondValue)\r\n\t\t\t{\r\n\t\t\t\tsecondValue = array[i];\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\telse if(array[i]>thirdValue)\r\n\t\t\t{\r\n\t\t\t\tthirdValue = array[i];\r\n\t\t\t}\r\n\t\t}\r\n\t\tallowResult( result,maxValue,secondValue);\r\n\t\t\r\n\t\tallowResult( result2,maxValue,secondValue,thirdValue);\r\n\t\t//return maxValue;\r\n\t\treturn result2;\r\n\t}", "public static int[] mergeArrays(int[] a1, int[] a2) {\n if (a1 == null || a1.length == 0) {\n if (a2 == null || a2.length == 0) {\n return new int[0];\n }\n return a2;\n }\n if (a2 == null || a2.length == 0) {\n return a1;\n }\n\n // Теперь работаем с массивами, где есть хотя бы 1 элемент.\n int[] a3 = new int[a1.length + a2.length];\n for (int index1 = 0, index2 = 0, index3 = 0; index3 < a3.length; ) {\n int minValue = a1[index1] < a2[index2] ? a1[index1] : a2[index2];\n // Работаем с первым массивом\n while (index1 < a1.length && minValue == a1[index1]) {\n a3[index3++] = a1[index1++];\n }\n if (index1 == a1.length) {\n // Первый массив закончился, сливаем хвост второго\n while (index2 < a2.length && index3 < a3.length) {\n a3[index3++] = a2[index2++];\n }\n return a3;\n }\n // Работаем со вторым массивом\n while (index2 < a2.length && minValue == a2[index2]) {\n a3[index3++] = a2[index2++];\n }\n if (index2 == a2.length) {\n // Второй массив закончился, сливаем хвост первого массива\n while (index1 < a1.length && index3 < a3.length) {\n a3[index3++] = a1[index1++];\n }\n return a3;\n }\n }\n return a3;\n }", "private int rob(int[] num, int lo, int hi) {\r\n int include = 0, exclude = 0;\r\n for (int j = lo; j <= hi; j++) {\r\n int i = include, e = exclude;\r\n include = e + num[j];\r\n exclude = Math.max(e, i);\r\n }\r\n return Math.max(include, exclude);\r\n}", "public static void main(String[] args) {\n int l1=1000, l2=1000;\n int[] a1=new int[l1];\n int[] a2=new int[l2];\n int[] combine = new int[l1+l2];\n\n Random r = new Random();\n for (int i=0; i<a1.length; ++i){\n a1[i]=r.nextInt(a1.length*3);\n combine[i]=a1[i];\n }\n\n for (int i=0; i<a2.length; ++i){\n a2[i]=r.nextInt(a2.length*3);\n combine[l1+i]=a2[i];\n }\n\n Arrays.sort(a1);\n Arrays.sort(a2);\n Arrays.sort(combine);\n\n cnt=0;\n int m = findByRank(a1, 0, a1.length, a2, 0, a2.length, (a1.length+a2.length)/2);\n int m2 = combine[combine.length/2-1];\n\n System.out.printf(\"m=%d, m2=%d, cnt=%d\", m, m2, cnt);\n\n\n\n }", "static public void findPossibleTrianglesCount_V1(int[] arr, int n){\n \r\n int i,j,k; //loop or index variables\r\n int nTriangles = 0;\r\n \r\n for(i=0; i<n-2; i++){\r\n for(j=i+1; j<n-1; j++){\r\n for(k=j+1; k<n; k++){\r\n if(arr[i] != arr[j] && arr[i] != arr[k] && arr[j] != arr[k]){\r\n if(arr[i]+arr[j] > arr[k] && arr[i]+arr[k] > arr[j] && arr[j]+arr[k] > arr[i] ){ //a+b > c \r\n System.out.println(arr[i] + \" , \" + arr[j] + \" , \" + arr[k]);\r\n nTriangles+=1;\r\n }\r\n } //if\r\n } //innermost for k\r\n } //inner for j\r\n } //outer for i\r\n \r\n System.out.println(\"Number of possible triangles: \" + nTriangles);\r\n }", "private static int[] arrangeIntegers(int[] a) {\n\n\t\tint i = 0, j = a.length - 1, k = 0;\n\t\tint[] temp = new int[a.length];\n\n\t\twhile (k<a.length) {\n\t\t\t\n\t\t\tif(a[k]<0)\n\t\t\t{\n\t\t\t\ttemp[i]= a[k];\n\t\t\t\ti++;\n\t\t\t\tk++;\n\t\t\t}\n\t\t\t\n\t\t\telse if(a[k]>0)\n\t\t\t{\n\t\t\t\ttemp[j]= a[k];\n\t\t\t\tj--;\n\t\t\t\tk++;\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tk++;\n\t\t\t}\n\n\t\t}\n\t\t\n\t\tif(i!=j)\n\t\t{\n\t\t\twhile(i!=j)\n\t\t\t{\n\t\t\t\ttemp[i]=0;\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\treturn temp;\n\t}", "public int threeSumClosest(int[] A, int B) {\n Arrays.sort(A);\n int n = A.length;\n int closest = Integer.MAX_VALUE;\n int temp =0 ;\n for(int i=0 ; i<n-2;i++)\n {\n int sec = i+1;\n int thr = n-1;\n while(sec < thr) // need to find all poss triplet for a part i.\n {\n int sum = A[i] + A[sec] + A[thr];\n if(Math.abs(sum-B) ==0) return B; // closest sum ever ie. equal to B\n if(Math.abs(sum-B) < closest) // we want sum closest to target. so best way is to check whose differnce is lesser.\n {\n closest=Math.abs(sum-B);\n temp=sum;\n }\n\n // two ptr\n if(sum > B) // need to decrease sum - >lower down the high ptr\n thr--;\n\n else\n sec++;\n }\n }\n return temp;\n }", "private static int maxSubSumN2(int[] a) {\n int maxSum = 0;\n\n for (int first = 0; first < a.length; first++) {\n int thisSum = 0;\n for (int i = first; i < a.length; i++) {\n thisSum += a[i];\n\n if (thisSum > maxSum) {\n maxSum = thisSum;\n }\n }\n }\n\n return maxSum;\n }", "private static int[] getPairUsingSorting(int[] arr, int target) {\n Arrays.sort(arr);\n int low = 0;\n int high = arr.length-1;\n int[] result = new int[2];\n while(low <= high) {\n if(arr[low] + arr[high] == target) {\n result[0] = arr[low++];\n result[1] = arr[high--];\n } else if(arr[low] + arr[high] > target) {\n high--;\n } else {\n low++;\n }\n }\n return result;\n }", "private static void findClosestElement(int[] a, int element) {\n int low = 0, high = a.length - 1;\n\n\n // Corner cases\n if (a[high] < element) {\n System.out.println(a[high]);\n return;\n }\n\n if (element < a[low]) {\n System.out.println(a[low]);\n return;\n }\n\n while (low <= high) {\n\n int mid = low + (high - low) / 2;\n\n // element == mid\n if (a[mid] == element) {\n\n int leftDiff = Integer.MAX_VALUE;\n int rightDiff = Integer.MAX_VALUE;\n\n if (mid > 0) {\n leftDiff = element - a[mid - 1];\n }\n\n if (mid < a.length - 1) {\n rightDiff = a[mid + 1] - element;\n }\n\n\n if (leftDiff != Integer.MAX_VALUE && leftDiff < rightDiff) {\n System.out.println(a[mid - 1]);\n } else if (rightDiff != Integer.MAX_VALUE) {\n System.out.println(a[mid + 1]);\n }\n return;\n }\n\n // element < mid\n if (element < a[mid]) {\n\n if (low <= mid - 1 && a[mid - 1] < element) { // Cross over point is mid-1 to mid\n System.out.println(getClosest(element, a[mid - 1], a[mid]));\n return;\n } else\n high = mid;\n } else {\n if (mid + 1 <= high && element < a[mid + 1]) { // Cross over point is mid to mid+1\n System.out.println(getClosest(element, a[mid], a[mid + 1]));\n return;\n } else\n low = mid + 1;\n }\n }\n\n }", "static int equalizeArray(int[] arr) {\n \n int a[]=new int[arr.length];\n int max=0;\n for(int i=0;i<arr.length;i++){\n int c=0; \n for(int j=0;j<arr.length;j++){\n if(arr[i]==arr[j]){\n c++;\n }\n }\n if(max<c) max=c;\n }\n return arr.length-max;\n }", "public static int[] lis(int[] x)\n\t { \n\t \tint n = x.length;\n\t int[] len = new int[n];\n\t Arrays.fill(len, 1);\n\t int[] pred = new int[n];\n\t Arrays.fill(pred, -1);\n\t for (int i = 1; i < n; i++) {\n\t for (int j = 0; j < i; j++) {\n\t if (x[j] < x[i] && len[i] < len[j] + 1) {\n\t len[i] = len[j] + 1;\n\t pred[i] = j;\n\t }\n\t }\n\t }\n\t int bi = 0;\n\t for (int i = 1; i < n; i++) {\n\t if (len[bi] < len[i]) {\n\t bi = i;\n\t }\n\t }\n\t int cnt = len[bi];\n\t int[] res = new int[cnt];\n\t for (int i = bi; i != -1; i = pred[i]) {\n\t res[--cnt] = x[i];\n\t }\n\t return res;\n\t \t }", "public List<List<Integer>> threeSum(int[] nums) {\n List<List<Integer>> res = new ArrayList<>();\n Arrays.sort(nums);\n for (int i = 0; i < nums.length - 2; i++) {\n if (nums[i] > 0) break;\n if (i > 0 && nums[i] == nums[i - 1]) {\n continue;\n }\n int low = i + 1;\n int high = nums.length - 1;\n int sum = -nums[i];\n while (low < high) {\n if (nums[low] + nums[high] == sum) {\n res.add(Arrays.asList(nums[i], nums[low], nums[high]));\n while (low < high && nums[low] == nums[low + 1]) low++;\n low++;\n while (low < high && nums[high] == nums[high - 1]) high--;\n high--;\n } else if (nums[low] + nums[high] > sum) {\n while (low < high && nums[high] == nums[high - 1]) high--;\n high--;\n } else {\n while (low < high && nums[low] == nums[low + 1]) low++;\n low++;\n }\n\n }\n }\n return res;\n }", "private static int solution3( int[] arr, int k) {\n\t\tif ( arr == null || arr.length < k ) {\n\t\t\treturn Integer.MIN_VALUE;\n\t\t}\n\t\t\n\t\t// Store the first k elements in a temporary array\n\t\tint[] tmp = Arrays.copyOfRange( arr, 0, k);\n\t\tint[] a = Arrays.copyOfRange( arr, 0, arr.length);\n\t\tint res = Integer.MAX_VALUE;\n\t\t\n\t\t\n\t\t// Loop for n-k times: each times for element in a[k] to a[n-1], find the largest to switch with tmp[j] for j = 0 to k-1\n\t\tfor ( int i = 0; i < k; ++i ) {\n\t\t\tint max = tmp[i];\n\t\t\tint index = i;\n\t\t\t\n\t\t\tfor ( int j = k; j < a.length; ++j ) {\n\t\t\t\tif ( a[j] > max ) {\n\t\t\t\t\tmax = a[j];\n\t\t\t\t\tindex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tif ( index != i ) {\n\t\t\t\ta[index] = tmp[i];\n\t\t\t\ttmp[i] = max;\n\t\t\t}\n\t\t\t\n\t\t\tres = Math.min(res, tmp[i]);\n\t\t}\n\t\t\n\t\t\n\t\treturn res;\n\t}", "private static boolean judge(int[] a) {\n\t\tint st = 1;\r\n\t\tint ed = a.length-2;\r\n\t\tint sa = 0;\r\n\t\tint sb = 0;\r\n\t\twhile (st<=ed) {\r\n\t\t\tif(a[st]>a[ed]){\r\n\t\t\t\tsa+=a[st];\r\n\t\t\t\tst++;\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tsa+=a[ed];\r\n\t\t\t\ted--;\r\n\t\t\t}\r\n\t\t\tif(st>ed)break;\r\n\t\t\tif(a[st]>a[ed]){\r\n\t\t\t\tsb+=a[st];\r\n\t\t\t\tst++;\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tsb+=a[ed];\r\n\t\t\t\ted--;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\tif(sa>=sb)return true;\r\n\t\treturn false;\r\n\t}", "static int countCollinearFast(int[] a1, int[] a2, int[] a3)\n {\n //TODO: implement this method\n \tsort(a3);\n \tint count = 0;\n \tint search;\n \t\n \tfor (int i=0; i<a1.length; i++)\n \t\tfor (int j=0; j<a2.length; j++)\n \t\t{\n \t\t\tsearch = 2*a2[j] - a1[i];\n \t\t\tif (binarySearch(a3, search))\n \t\t\t\tcount++;\n \t\t}\n \t\n \treturn count;\n }", "public static void main(String[] args) {\n\t\tint myArr[] = {12, 3, 10, 5, 6, 2, 30} ;\n\t\tint len=myArr.length;\n\t\tint small[]= new int[len];\n\t\tsmall[0]=-1;\n\t\tint minElem=myArr[0];\n\t\tint minIndex = 0;\n\t\tfor(int i=1;i<myArr.length;i++) {\n\t\t\tif(myArr[i]<minElem) {\n\t\t\t\tminElem=myArr[i];\n\t\t\t\tminIndex=i;\n\t\t\t\tsmall[i]=-1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tsmall[i]=minIndex;\n\t\t\t}\n\t\t}\n\t\tint big[] =new int[len];\n\t\tbig[len-1]=-1;\n\t\tint maxElem=myArr[len-1];\n\t\tint maxIndex=len-1;\n\t\tfor(int i=len-2;i>-1;i--) {\n\t\t\tif(myArr[i]>maxElem) {\n\t\t\t\tmaxElem=myArr[i];\n\t\t\t\tmaxIndex=i;\n\t\t\t\tbig[i]=-1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbig[i]=maxIndex;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<myArr.length;i++) {\n\t\t\tif(myArr[i]!=-1 && small[i] !=-1 && big[i]!=-1) {\n\t\t\t\tSystem.out.println(\"The three elements are \"+myArr[small[i]]+\" \"+myArr[i]+\" \"+myArr[big[i]]);\n\t\t\t}\n\t\t}\n\t}", "private static int[] p2(int[] ar, int n) {\n int[] p2 = new int[n];\n Arrays.fill(p2, n);\n Stack<Integer> st = new Stack<>();\n for (int i = 0; i < n; i++) {\n while (st.size() != 0 && ar[i] < ar[st.peek()]) {\n p2[st.peek()] = i;\n st.pop();\n }\n st.push(i);\n }\n return p2;\n }", "public static int mostMoney(int[][] a) { \n double[] totals = new double[3]; \n double rowTotal = 0.0;\n double rowTotal1 = 0.0;\n double rowTotal2 = 0.0;\n \n \n for(int i = 0; i<4; i++){\n rowTotal += a[0][i];\n totals[0] = rowTotal;}\n \n for(int j = 0; j<4; j++){\n rowTotal1 += a[1][j];\n totals[1] = rowTotal1;}\n \n for(int k = 0; k<4; k++){\n rowTotal2 += a[0][k];\n totals[2] = rowTotal2;}\n \n int indexOfBest=0; //used to find index of best year\n double best = totals[0];\n for(int i =0; i < 3; i++) {\n if(totals[i] >= best){\n best = totals[i];\n indexOfBest = i;}\n \n } return indexOfBest;\n }", "public static int[] biggerTwo(int[] a, int[] b) {\n int count = 0;\n int temp = 0;\n for (int i = 0; i <= a.length - 1; i++) {\n count += a[i];\n }\n\n for (int i = 0; i <= b.length - 1; i++) {\n temp += b[i];\n\n }\n\n if (count > temp) {\n return a;\n } else if (temp > count) {\n return b;\n } else {\n return a;\n }\n\n }", "public static void main(String[] args) {\n\t\tint[] nums1 = { 1,2,3,0,0,0 };\n\t\tint[] nums2 = { 2,5,6 };\n\t\tint n = 3, m = 3;\n\t\tint[] res = new int[n+m];\n\t\tint index = 0;\n\t\tint i,j;\n\t\tfor (i = 0, j = 0; i<m && j<n ;) {\n\n\t\t\tif (nums1[i] <= nums2[j]) {\n\t\t\t\tres[index] = nums1[i];\n\t\t\t\ti++;\n\t\t\t}\n\t\t\telse if (nums2[j] <nums1[i]) {\n\t\t\t\tres[index] = nums2[j];\n\t\t\t\tj++;\n\t\t\t}\n\n\t\t\tindex++;\n\t\t}\n//\t\tSystem.out.println(i);\n//\t\tSystem.out.println(j);\n\t\tif(i<m)\n\t\t{\n\t\t\tfor(int k = i ; k < m;k++)\n\t\t\t{\n\t\t\t\tres[index] = nums1[k];\n\t\t\t\tindex++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(j<n)\n\t\t{\n\t\t\tfor(int k = j ; k < n;k++)\n\t\t\t{\n\t\t\t\tres[index] = nums2[k];\n\t\t\t\tindex++;\n\t\t\t}\n\t\t}\n\n\t\tfor (int l = 0; l < n + m; l++)\n\t\t{\n\t\t\tnums1[l] = res[l];\n\t\t\t//System.out.println(nums1[l]);\n\t\t\tSystem.out.println(res[l]);\n\t\t}\n\t\t\t\n\t}", "public int findMin3(int[] nums) {\n\t\tint lo = 0, hi = nums.length - 1;\n\t\tif (nums[hi] > nums[lo]) {\n\t\t\treturn nums[lo];\n\t\t}\n\t\twhile (hi - lo > 1) {\n\t\t\tint mid = lo + (hi - lo) / 2;\n\t\t\tif (nums[mid] < nums[lo]) {\n\t\t\t\thi = mid;\n\t\t\t} else {\n\t\t\t\tlo = mid;\n\t\t\t}\n\t\t}\n\t\treturn Math.min(nums[lo], nums[hi]);\n\t}", "public static int[] mostCompetitive(int[] nums, int k) {\n int[] copy = Arrays.copyOf(nums, nums.length); // 复制一个数组\n Arrays.sort(copy); // 排序\n for (int value : copy) { // 挨个顺序作为最小竞争子序列的头元素\n for (int j = 0; j < nums.length; j++) {\n if (nums[j] == value) {\n // 判断后续元素个数可够k长度\n if(k == 1){\n int[] ret = new int[1];\n ret[0] = nums[j];\n return ret;\n }\n if (j + k > nums.length) break;\n else if (j + k == nums.length) return Arrays.copyOfRange(nums, j, nums.length);\n else {\n int[] child = Arrays.copyOfRange(nums, j + 1, nums.length);\n int[] childMost = mostCompetitive(child, k - 1);\n System.out.println(Arrays.toString(childMost));\n // 取前k-1即为最优解\n int[] ret = new int[k];\n ret[0] = nums[j];\n System.arraycopy(childMost, 0, ret, 1, k - 1);\n System.out.println(Arrays.toString(ret));\n return ret;\n }\n }\n }\n }\n // [10, 23, 61, 62, 34, 41, 80, 25, 91, 43, 4, 75, 65, 13, 37, 41, 46, 90, 55, 8, 85, 61, 95, 71]\n // [10, 23, 61, 62, 34, 41, 80, 25, 91, 43, 4, 75, 65, 13, 37, 41, 46, 90, 55, 8, 85, 61, 95, 71]\n /* 2\n 4 3 3 5 4 9 6 3\n 3\n 3 5 4 9 6 3\n 2\n 5 4 9 6\n 1\n */\n return Arrays.copyOf(nums, k); // 这步不会执行\n }", "public static float mid(float a, float b, float c) {\n if (a >= b) {\n if (b >= c) {\n return b; // a >= b >= c\n } else if (a >= c) {\n return c; // a >= c > b\n } else {\n return a; // c > a >= b\n }\n } else if (a >= c) {\n return a; // b > a >= c\n } else if (b >= c) {\n return c; // b >= c > a\n } else {\n return b; // c > b > a\n }\n }", "private void splitArrayB() {\r\n //find upper bound. anything below goes within.\r\n //calculate highest A, loop through b til above that, then iterate b index til at end of b\r\n int a_count = 0;\r\n int b_count = 0;\r\n int highA = A[splitA[a_count]];\r\n boolean first = true;\r\n for(int i = 0; i < B.length; i++){\r\n if(highA >= B[i]){\r\n first = false;\r\n }\r\n else if(highA < B[i]){\r\n if(first == false){\r\n splitB[b_count] = i - 1;\r\n b_count++;\r\n highA = A[splitA[a_count]];\r\n a_count++;\r\n }\r\n else{\r\n while(a_count != splitA.length){\r\n if(highA < B[i]){\r\n splitB[b_count] = - 1;\r\n b_count++;\r\n a_count++;\r\n highA = A[splitA[a_count]];\r\n }\r\n else{\r\n splitB[b_count] = i;\r\n b_count++;\r\n a_count++;\r\n highA = A[splitA[a_count]];\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n if(b_count != splitB.length){\r\n splitB[b_count] = splitB.length - 1;\r\n b_count++;\r\n while(b_count < splitB.length){\r\n splitB[b_count] = -1;\r\n b_count++;\r\n }\r\n return;\r\n }\r\n splitB[b_count - 1] = b_count - 1;\r\n }", "public static void main(String[] args) {\n\n\t\tint [] arr={1,2,6,9,13,55,88};\n\t\tint key=3;\n\t\tint low=0;\n\t\tint high=arr.length-1;\n\t\tint local=-1;\n\t\t\n\t\twhile(low<=high)\n\t\t{\n\t\t\t//找中间位置\n\t\t\tint mid=(low+high)/2;\n\t\t\tif(key>arr[mid])\n\t\t\t{\n\t\t\t\tlow=mid+1;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(key<arr[mid])\n\t\t\t{\n\t\t\t\thigh=mid-1;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tlocal=mid;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}\t\n\t\t\n\t\tif(local == -1)\n\t\t{\n\t\t\tSystem.out.println(\"没找到\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"找到了,位置是:\"+local);\n\t\t\n\t\t}\n\n\t\t/////////////////////////////////////\n\t\tint i,j;\n int a[]={9,27,10,1,49};\n for(i=0;i<a.length-1;i++){\n int k=i;\n for(j=i;j<a.length;j++)\n if(a[j]>a[k]) k=j;\n int temp=a[i];\n a[i]=a[k];\n a[k]=temp; \n }\n for(i=0;i<a.length;i++)\n System.out.println(a[i]+\"\");\n System.out.println();\n\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n int a[] = {12,11,10,5,6,2,30};\n // smaller greater approach with 3 passes can be used to find total number of triplet subsequences in array \n int smaller[] = new int[a.length];\n int greater[] = new int[a.length];\n \n for(int i=0;i<a.length;i++) {\n smaller[i] = greater[i] = -1;\n }\n // smaller fill up\n int min = a[0];\n for(int i=1;i<a.length;i++) {\n if (a[i] > min) {\n smaller[i] = 1;\n } else if ( a[i] < min) {\n min = a[i];\n }\n }\n \n int max = a[a.length-1];\n for(int i=a.length-2;i>=0;i--) {\n if (a[i] < max) {\n greater[i] = 1;\n } else if ( a[i] > max) {\n max = a[i];\n }\n }\n \n for(int i=1;i<a.length-1;i++) {\n if (smaller[i] == greater[i] && greater[i] == 1) {\n System.out.println(\"Triplet found, mid is at -> \" + i + \" : \" + a[i]);\n }\n }\n System.out.println(\"Do we have increasing triplet ?? \" + increasingTripletOnePass(a));\n }", "public static int degreeOfArray(List<Integer> arr) { arr.length = n\n // num of Keys = k\n // O(n + k)\n // max value count = m\n //\n PriorityQueue<Node> pq = new PriorityQueue<>((i, j)-> j.count - i.count);\n Map<Integer, NodePosition> posMap = new HashMap<>();\n Map<Integer, Node> countMap = new HashMap<>();\n // [1, 2, 3, 4, 5, 6]\n for (int i = 0; i < arr.size(); i++) {\n int cur = arr.get(i);\n\n if (!countMap.containsKey(cur)) {\n countMap.put(cur, new Node(cur, 1));\n } else {\n Node curNode = countMap.get(cur);\n curNode.count++;\n countMap.put(cur, curNode);\n }\n\n if (!posMap.containsKey(cur)) {\n posMap.put(cur, new NodePosition(i, i));\n } else {\n NodePosition curNodePos = posMap.get(cur);\n curNodePos.endIndex = i;\n posMap.put(cur, curNodePos);\n }\n }\n //Iterator<Map.Entry<Integer, Node> it = new Iterator<>(countMap);\n for (Map.Entry<Integer, Node> e : countMap.entrySet()) {\n pq.add(e.getValue());\n }\n\n // [1, 2, 1, 3 ,2]\n // 1 , 2 , 3\n Node curNode = pq.remove();\n int maxCount = curNode.count;\n\n int minRange = posMap.get(curNode.num).endIndex - posMap.get(curNode.num).startIndex;\n\n while (!pq.isEmpty() && maxCount == pq.peek().count) {\n curNode = pq.remove();\n NodePosition nPos = posMap.get(curNode.num);\n minRange = Math.min(minRange, nPos.endIndex - nPos.startIndex);\n }\n\n return minRange + 1;\n }", "public static int[] largestMultiple(int[] arr) {\r\n\t\tif(arr==null || arr.length==0) return arr;\r\n\t\t\r\n\t\tQueue<Integer> q1 = new PriorityQueue<Integer>();\r\n\t\tQueue<Integer> q2 = new PriorityQueue<Integer>();\r\n\t\tQueue<Integer> q3 = new PriorityQueue<Integer>();\r\n\t\t\r\n\t\tArrays.sort(arr);\r\n\t\t\r\n\t\tint sum= 0;\r\n\t\tfor(int i=0;i<arr.length;i++) {\r\n\t\t\tif(arr[i]%3==0) {\r\n\t\t\t\tq1.add(arr[i]);\r\n\t\t\t}\r\n\t\t\telse if(arr[i]%3==1) {\r\n\t\t\t\tq2.add(arr[i]);\r\n\t\t\t}\r\n\t\t\telse \r\n\t\t\t\tq3.add(arr[i]);\r\n\t\t\tsum += arr[i];\r\n\t\t}\r\n\t\t\r\n\t\tif(sum%3==2) {\r\n\t\t\tif(!q2.isEmpty()) {\r\n\t\t\t\tq2.remove();\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tif(!q1.isEmpty()) {\r\n\t\t\t\t\tq1.remove();\r\n\t\t\t\t}\r\n\t\t\t\telse \r\n\t\t\t\t\treturn null;\r\n\t\t\t\tif(!q1.isEmpty()) {\r\n\t\t\t\t\tq1.remove();\r\n\t\t\t\t}\r\n\t\t\t\telse \r\n\t\t\t\t\treturn null;\r\n\t\t\t}\r\n\t\t}\r\n\t\telse if(sum%3==1) {\r\n\t\t\tif(!q1.isEmpty()) {\r\n\t\t\t\tq1.remove();\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tif(!q2.isEmpty()) \r\n\t\t\t\t\tq2.remove();\r\n\t\t\t\telse \r\n\t\t\t\t\treturn null;\r\n\t\t\t\tif(!q2.isEmpty()) \r\n\t\t\t\t\tq2.remove();\r\n\t\t\t\telse\r\n\t\t\t\t\treturn null;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tint top=0;\r\n\t\twhile(!q1.isEmpty()) {\r\n\t\t\tarr[top++] = (int)q1.remove();\r\n\t\t}\r\n\t\twhile(!q2.isEmpty()) {\r\n\t\t\tarr[top++] = (int) q2.remove();\r\n\t\t}\r\n\t\t\r\n\t\twhile(!q3.isEmpty()) {\r\n\t\t\tarr[top++] = (int) q3.remove();\r\n\t\t}\r\n\t\tfor(int i=top-1;i>=0;i--){\r\n\t\t\tSystem.out.print(arr[i]+\" \");\r\n\t\t}\r\n\t\treturn arr;\r\n\t}", "public int min(int a, int b, int c) {\n\t\tif (a<=b && a<=c) {\n\t\t\treturn a; \n\t\t}\n\t\telse if (b<=a && b<=c) {\n\t\t\treturn b;\n\t\t}\n\t\telse {\n\t\t\treturn c;\n\t\t}\n\t}", "public int[] findAnyPairIndexesWhileLCMMaximized() {\n if (seq.length < 2) {\n return null;\n }\n int size = 0;\n for (int i = 1; i <= m; i++) {\n size += m / i;\n }\n\n IntegerMultiWayDeque deque = new IntegerMultiWayDeque(m + 1, size);\n for (int i = 1; i <= m; i++) {\n for (int j = i; j <= m; j += i) {\n if (!indexesOfSeq.isEmpty(j)) {\n deque.addLast(i, j / i);\n }\n }\n }\n\n long lcm = -1;\n int v1 = 0;\n int v2 = 0;\n\n for (int i = m; i >= 1; i--) {\n if (!indexesOfSeq.isEmpty(i) && indexesOfSeq.peekFirst(i) != indexesOfSeq.peekLast(i)) {\n lcm = v1 = v2 = i;\n break;\n }\n }\n\n IntegerVersionArray iva = new IntegerVersionArray(m + 1);\n IntegerDequeImpl stack = new IntegerDequeImpl(m);\n for (int i = 1; i <= m; i++) {\n iva.clear();\n stack.clear();\n while (!deque.isEmpty(i)) {\n int last = deque.removeLast(i);\n factorize(last);\n int total = ie(iva, allFactors.size() - 1, 1, 0);\n if (total > 0) {\n int pop = 0;\n while (total > 0) {\n pop = stack.removeLast();\n if (GCDs.gcd(pop, last) == 1) {\n total--;\n }\n add(iva, pop, -1);\n }\n long l = LCMs.lcm(last, pop) * i;\n if (l > lcm) {\n lcm = l;\n v1 = last * i;\n v2 = pop * i;\n }\n }\n add(iva, last, 1);\n stack.addLast(last);\n }\n }\n\n return new int[]{indexesOfSeq.peekFirst(v1), indexesOfSeq.peekLast(v2)};\n }", "public boolean makePair(int [] a, int [] b, int k) {\n\t\t\n\t\tif(a==null||b==null||a.length==0||b.length==0) return true;\n\t\t\n\t\tfor(int i=0; i<a.length; i++) {\n\t\t\ta[i] = k-a[i];\t\n\t\t}\n\t\tArrays.sort(a);\n\t\tArrays.sort(b);\n\t\tboolean res = true;\n\t\t\n\t\t//add optimization\n\t\tif(a[a.length-1]<=b[0]) return res;\n\t\t\n\t\tfor(int j=0; j<a.length; j++) {\n\t\t\tif(a[j]>b[j]) {\n\t\t\t\tres = false;\n\t\t\t\tbreak; \n\t\t\t}\n\t\t}\n\t\treturn(res);\n\n\t}", "private static int leftBump(int[] a) {\n for (int i = 2; i <= a.length; i++) {\n if (a[i] < a[i - 1]) {\n return i - 1;\n }\n }\n return -1;\n }", "static ArrayList<Integer> getMajortiy(int arr[]){\n int num1=-1, num2=-1, count1=0, count2=0;\n for(int i:arr){\n if(i==num1) count1++;\n else if(i ==num2) count2++;\n else if(count1==0){\n num1=i;\n count1=1;\n }\n else if(count2==0){\n num2=i;\n count2=1;\n }\n else{\n count1--;\n count2--;\n }\n }\n count1=0; count2=0;\n for(int i:arr){\n if(i==num1) count1++;\n if(i==num2) count2++;\n }\n ArrayList<Integer>res= new ArrayList<>();\n if(count1>arr.length/3) res.add(num1);\n if(count2>arr.length/3) res.add(num2);\n return res;\n\n }" ]
[ "0.6551852", "0.6465439", "0.64100635", "0.636511", "0.6362145", "0.63127637", "0.6290433", "0.6290352", "0.6261549", "0.6258278", "0.6214246", "0.6211107", "0.62003607", "0.61605865", "0.6150305", "0.6115844", "0.60599285", "0.6039612", "0.6028129", "0.6024905", "0.60037404", "0.5995004", "0.5972829", "0.5949856", "0.5945759", "0.5891727", "0.5856935", "0.5850675", "0.58476883", "0.5845807", "0.58145154", "0.5805791", "0.5803171", "0.5798582", "0.5796576", "0.57962406", "0.5788503", "0.5780193", "0.5767797", "0.5761413", "0.5752219", "0.5744709", "0.57376903", "0.57202137", "0.5719958", "0.571139", "0.5711131", "0.5694369", "0.56831795", "0.5680731", "0.567876", "0.566772", "0.56665283", "0.5665292", "0.5664685", "0.56609064", "0.56590724", "0.56517565", "0.56417793", "0.5633108", "0.56269115", "0.56241655", "0.56175405", "0.5607923", "0.55957", "0.55843323", "0.5581994", "0.55778444", "0.5574177", "0.55618125", "0.5553714", "0.55500746", "0.5547891", "0.55416757", "0.5529675", "0.5527794", "0.5520984", "0.55208004", "0.55049413", "0.55049324", "0.5503869", "0.54961264", "0.54914016", "0.54895735", "0.5487013", "0.54800725", "0.5479263", "0.5478276", "0.54752326", "0.5471892", "0.5470759", "0.54671705", "0.5464226", "0.54553735", "0.54546976", "0.54543984", "0.54473674", "0.5442678", "0.5442355", "0.54397005" ]
0.64363647
2
Use this factory method to create a new instance of this fragment using the provided parameters.
public static MyequipmentAU newInstance(ArrayList<Equipmentdetails> equipments) { MyequipmentAU fragment = new MyequipmentAU(); Bundle args = new Bundle(); args.putParcelableArrayList(ARG_PARAM1, equipments); fragment.setArguments(args); return fragment; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static FragmentTousWanted newInstance() {\n FragmentTousWanted fragment = new FragmentTousWanted();\n Bundle args = new Bundle();\n fragment.setArguments(args);\n return fragment;\n }", "protected abstract Fragment createFragment();", "public void createFragment() {\n\n }", "@Override\n protected Fragment createFragment() {\n Intent intent = getIntent();\n\n long id = intent.getLongExtra(MovieDetailFragment.EXTRA_ID, -1);\n return MovieDetailFragment.newInstance(id);\n }", "public CuartoFragment() {\n }", "public StintFragment() {\n }", "public ExploreFragment() {\n\n }", "public RickAndMortyFragment() {\n }", "public FragmentMy() {\n }", "public LogFragment() {\n }", "public FeedFragment() {\n }", "public HistoryFragment() {\n }", "public HistoryFragment() {\n }", "public static MyFeedFragment newInstance() {\n return new MyFeedFragment();\n }", "public WkfFragment() {\n }", "public static ScheduleFragment newInstance() {\n ScheduleFragment fragment = new ScheduleFragment();\n Bundle args = new Bundle();\n //args.putString(ARG_PARAM1, param1);\n //args.putString(ARG_PARAM2, param2);\n fragment.setArguments(args);\n return fragment;\n }", "public ProfileFragment(){}", "public WelcomeFragment() {}", "public static ForumFragment newInstance() {\n ForumFragment fragment = new ForumFragment();\n Bundle args = new Bundle();\n fragment.setArguments(args);\n\n return fragment;\n }", "public static NotificationFragment newInstance() {\n NotificationFragment fragment = new NotificationFragment();\n Bundle args = new Bundle();\n// args.putString(ARG_PARAM1, param1);\n// args.putString(ARG_PARAM2, param2);\n fragment.setArguments(args);\n return fragment;\n }", "public progFragment() {\n }", "public HeaderFragment() {}", "public static RouteFragment newInstance() {\n RouteFragment fragment = new RouteFragment();\n Bundle args = new Bundle();\n //fragment.setArguments(args);\n return fragment;\n }", "public EmployeeFragment() {\n }", "public Fragment_Tutorial() {}", "public NewShopFragment() {\n }", "public FavoriteFragment() {\n }", "public static MyCourseFragment newInstance() {\n MyCourseFragment fragment = new MyCourseFragment();\r\n// fragment.setArguments(args);\r\n return fragment;\r\n }", "public static MessageFragment newInstance() {\n MessageFragment fragment = new MessageFragment();\n Bundle args = new Bundle();\n\n fragment.setArguments(args);\n return fragment;\n }", "public static ReservationFragment newInstance() {\n\n ReservationFragment _fragment = new ReservationFragment();\n// Bundle args = new Bundle();\n// args.putString(ARG_PARAM1, param1);\n// args.putString(ARG_PARAM2, param2);\n// fragment.setArguments(args);\n return _fragment;\n }", "public CreateEventFragment() {\n // Required empty public constructor\n }", "public static RecipeListFragment newInstance() {\n RecipeListFragment fragment = new RecipeListFragment();\n// Bundle args = new Bundle();\n// args.putString(ARG_PARAM1, param1);\n// args.putString(ARG_PARAM2, param2);\n// fragment.setArguments(args);\n return fragment;\n }", "public static Fragment newInstance() {\n\t\treturn new ScreenSlidePageFragment();\n\t}", "public NoteActivityFragment() {\n }", "public static WeekViewFragment newInstance(int param1, int param2) {\n WeekViewFragment fragment = new WeekViewFragment();\n //WeekViewFragment 객체 생성\n Bundle args = new Bundle();\n //Bundle 객체 생성\n args.putInt(ARG_PARAM1, param1);\n //ARG_PARAM1에 param1의 정수값 넣어서 args에 저장\n args.putInt(ARG_PARAM2, param2);\n //ARG_PARAM2에 param2의 정수값 넣어서 args에 저장\n fragment.setArguments(args);\n //args를 매개변수로 한 setArguments() 메소드 수행하여 fragment에 저장\n return fragment; //fragment 반환\n }", "public static Fragment0 newInstance(String param1, String param2) {\n Fragment0 fragment = new Fragment0();\n Bundle args = new Bundle();\n args.putString(ARG_PARAM1, param1);\n args.putString(ARG_PARAM2, param2);\n fragment.setArguments(args);\n return fragment;\n }", "public static QueenBEmbassyF newInstance() {\n QueenBEmbassyF fragment = new QueenBEmbassyF();\n //the way to pass arguments between fragments\n Bundle args = new Bundle();\n\n fragment.setArguments(args);\n return fragment;\n }", "public static Fragment newInstance() {\n StatisticsFragment fragment = new StatisticsFragment();\n Bundle args = new Bundle();\n fragment.setArguments(args);\n return fragment;\n }", "public EventHistoryFragment() {\n\t}", "public HomeFragment() {}", "public PeopleFragment() {\n // Required empty public constructor\n }", "public static FeedFragment newInstance() {\n FeedFragment fragment = new FeedFragment();\n return fragment;\n }", "public static MainFragment newInstance(String param1, String param2) {\n MainFragment fragment = new MainFragment();\n Bundle args = new Bundle();\n fragment.setArguments(args);\n return fragment;\n }", "public VantaggiFragment() {\n // Required empty public constructor\n }", "public AddressDetailFragment() {\n }", "public ArticleDetailFragment() { }", "public static DropboxMainFrag newInstance() {\n DropboxMainFrag fragment = new DropboxMainFrag();\n // set arguments in Bundle\n return fragment;\n }", "public RegisterFragment() {\n }", "public EmailFragment() {\n }", "public static CommentFragment newInstance() {\n CommentFragment fragment = new CommentFragment();\n\n return fragment;\n }", "public static FragmentComida newInstance(String param1) {\n FragmentComida fragment = new FragmentComida();\n Bundle args = new Bundle();\n args.putString(ARG_PARAM1, param1);\n fragment.setArguments(args);\n return fragment;\n\n\n }", "public static ParqueosFragment newInstance() {\n ParqueosFragment fragment = new ParqueosFragment();\n return fragment;\n }", "public ForecastFragment() {\n }", "public FExDetailFragment() {\n \t}", "public static AddressFragment newInstance(String param1) {\n AddressFragment fragment = new AddressFragment();\n\n Bundle args = new Bundle();\n args.putString(ARG_PARAM1, param1);\n fragment.setArguments(args);\n\n return fragment;\n }", "public TripNoteFragment() {\n }", "public ItemFragment() {\n }", "public NoteListFragment() {\n }", "public CreatePatientFragment() {\n\n }", "public DisplayFragment() {\n\n }", "public static frag4_viewcompliment newInstance(String param1, String param2) {\r\n frag4_viewcompliment fragment = new frag4_viewcompliment();\r\n Bundle args = new Bundle();\r\n args.putString(ARG_PARAM1, param1);\r\n args.putString(ARG_PARAM2, param2);\r\n fragment.setArguments(args);\r\n return fragment;\r\n }", "public static fragment_profile newInstance(String param1, String param2) {\n fragment_profile fragment = new fragment_profile();\n Bundle args = new Bundle();\n args.putString(ARG_PARAM1, param1);\n args.putString(ARG_PARAM2, param2);\n fragment.setArguments(args);\n return fragment;\n }", "@Override\n\tprotected Fragment createFragment() {\n\t\treturn new FormFragment();\n\t}", "public static MainFragment newInstance() {\n MainFragment fragment = new MainFragment();\n Bundle args = new Bundle();\n fragment.setArguments(args);\n return fragment;\n }", "public ProfileFragment() {\n\n }", "public BackEndFragment() {\n }", "public CustomerFragment() {\n }", "public static FriendsFragment newInstance(int sectionNumber) {\n \tFriendsFragment fragment = new FriendsFragment();\n Bundle args = new Bundle();\n args.putInt(ARG_SECTION_NUMBER, sectionNumber);\n fragment.setArguments(args);\n return fragment;\n }", "public ArticleDetailFragment() {\n }", "public ArticleDetailFragment() {\n }", "public ArticleDetailFragment() {\n }", "public static Fragment newInstance() {\n return new SettingsFragment();\n }", "public SummaryFragment newInstance()\n {\n return new SummaryFragment();\n }", "public PeersFragment() {\n }", "public TagsFragment() {\n }", "public static ProfileFragment newInstance() {\n ProfileFragment fragment = new ProfileFragment();\n Bundle args = new Bundle();\n args.putString(ARG_PARAM1, \"\");\n args.putString(ARG_PARAM2, \"\");\n fragment.setArguments(args);\n return fragment;\n }", "public static FriendsFragment newInstance() {\n FriendsFragment fragment = new FriendsFragment();\n\n return fragment;\n }", "public HomeSectionFragment() {\n\t}", "public static FirstFragment newInstance(String text) {\n\n FirstFragment f = new FirstFragment();\n Bundle b = new Bundle();\n b.putString(\"msg\", text);\n\n f.setArguments(b);\n\n return f;\n }", "public PersonDetailFragment() {\r\n }", "public static LogFragment newInstance(Bundle params) {\n LogFragment fragment = new LogFragment();\n fragment.setArguments(params);\n return fragment;\n }", "public RegisterFragment() {\n // Required empty public constructor\n }", "public VehicleFragment() {\r\n }", "public static Fine newInstance(String param1, String param2) {\n Fine fragment = new Fine();\n Bundle args = new Bundle();\n args.putString(ARG_PARAM1, param1);\n args.putString(ARG_PARAM2, param2);\n fragment.setArguments(args);\n return fragment;\n }", "public static FriendsFragment newInstance(String param1, String param2) {\n FriendsFragment fragment = new FriendsFragment();\n Bundle args = new Bundle();\n fragment.setArguments(args);\n return fragment;\n }", "public static ChangesViewFragment newInstance() {\n\t\tChangesViewFragment fragment = new ChangesViewFragment();\n\t\tBundle args = new Bundle();\n\t\targs.putInt(HomeViewActivity.ARG_SECTION_NUMBER, 2);\n\t\tfragment.setArguments(args);\n\t\treturn fragment;\n\t}", "public static NoteFragment newInstance(String param1, String param2) {\n NoteFragment fragment = new NoteFragment();\n Bundle args = new Bundle();\n args.putString(ARG_PARAM1, param1);\n args.putString(ARG_PARAM2, param2);\n fragment.setArguments(args);\n return fragment;\n }", "public static MainFragment newInstance(Context context) {\n MainFragment fragment = new MainFragment();\n if(context != null)\n fragment.setVariables(context);\n return fragment;\n }", "@Override\n\tprotected Fragment createFragment() {\n\t\treturn new CrimeListFragment();\n\t}", "public static MoneyLogFragment newInstance() {\n MoneyLogFragment fragment = new MoneyLogFragment();\n return fragment;\n }", "public static ForecastFragment newInstance() {\n\n //Create new fragment\n ForecastFragment frag = new ForecastFragment();\n return(frag);\n }", "public static MainFragment newInstance(String param1, String param2) {\n MainFragment fragment = new MainFragment();\n Bundle args = new Bundle();\n args.putString(ARG_PARAM1, param1);\n args.putString(ARG_PARAM2, param2);\n fragment.setArguments(args);\n return fragment;\n }", "public static MainFragment newInstance(String param1, String param2) {\n MainFragment fragment = new MainFragment();\n Bundle args = new Bundle();\n args.putString(ARG_PARAM1, param1);\n args.putString(ARG_PARAM2, param2);\n fragment.setArguments(args);\n return fragment;\n }", "public static MainFragment newInstance(String param1, String param2) {\n MainFragment fragment = new MainFragment();\n Bundle args = new Bundle();\n args.putString(ARG_PARAM1, param1);\n args.putString(ARG_PARAM2, param2);\n fragment.setArguments(args);\n return fragment;\n }", "public static MyTaskFragment newInstance(String param1) {\n MyTaskFragment fragment = new MyTaskFragment();\n Bundle args = new Bundle();\n args.putString(ARG_PARAM1, param1);\n fragment.setArguments(args);\n return fragment;\n }", "public static MyProfileFragment newInstance(String param1, String param2) {\n MyProfileFragment fragment = new MyProfileFragment();\n return fragment;\n }", "public static MainFragment newInstance(int param1, String param2) {\n MainFragment fragment = new MainFragment();\n Bundle args = new Bundle();\n args.putInt(ARG_PARAM1, param1);\n\n args.putString(ARG_PARAM2, param2);\n fragment.setArguments(args);\n return fragment;\n }", "public PlaylistFragment() {\n }", "public static HistoryFragment newInstance() {\n HistoryFragment fragment = new HistoryFragment();\n return fragment;\n }", "public static SurvivorIncidentFormFragment newInstance(String param1, String param2) {\n// SurvivorIncidentFormFragment fragment = new SurvivorIncidentFormFragment();\n// Bundle args = new Bundle();\n// args.putString(ARG_PARAM1, param1);\n// args.putString(ARG_PARAM2, param2);\n// fragment.setArguments(args);\n// return fragment;\n\n SurvivorIncidentFormFragment fragment = new SurvivorIncidentFormFragment();\n Bundle args = new Bundle();\n args.putString(ARG_PARAM1, param1);\n args.putString(ARG_PARAM2, param2);\n fragment.setArguments(args);\n return fragment;\n\n\n }", "public static PersonalFragment newInstance(String param1, String param2) {\n PersonalFragment fragment = new PersonalFragment();\n Bundle args = new Bundle();\n args.putString(ARG_PARAM1, param1);\n args.putString(ARG_PARAM2, param2);\n fragment.setArguments(args);\n return fragment;\n }" ]
[ "0.7259329", "0.72331375", "0.71140355", "0.69909847", "0.69902235", "0.6834592", "0.683074", "0.68134046", "0.6801526", "0.6801054", "0.67653185", "0.6739714", "0.6739714", "0.6727412", "0.6717231", "0.6705855", "0.6692112", "0.6691661", "0.66869426", "0.66606814", "0.6646188", "0.66410166", "0.6640725", "0.6634425", "0.66188246", "0.66140765", "0.6608169", "0.66045964", "0.65977716", "0.6592119", "0.659137", "0.65910816", "0.65830594", "0.65786606", "0.6562876", "0.65607685", "0.6557126", "0.65513307", "0.65510213", "0.65431285", "0.6540448", "0.65336084", "0.6532555", "0.6528302", "0.6524409", "0.652328", "0.6523149", "0.6516528", "0.65049976", "0.6497274", "0.6497235", "0.64949715", "0.64944136", "0.6484968", "0.6484214", "0.64805835", "0.64784926", "0.64755154", "0.64710265", "0.6466466", "0.6457089", "0.645606", "0.6454554", "0.6452161", "0.64520335", "0.6450325", "0.64488834", "0.6446765", "0.64430225", "0.64430225", "0.64430225", "0.64420956", "0.6441306", "0.64411277", "0.6438451", "0.64345145", "0.64289486", "0.64287597", "0.6423755", "0.64193285", "0.6418699", "0.6414679", "0.6412867", "0.6402168", "0.6400724", "0.6395624", "0.6395109", "0.6391252", "0.63891554", "0.63835025", "0.63788056", "0.63751805", "0.63751805", "0.63751805", "0.6374796", "0.63653135", "0.6364529", "0.6360922", "0.63538784", "0.6351111", "0.635067" ]
0.0
-1
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.fragment_myequipment_au, container, false); Cancel = (Button)view.findViewById(R.id.btn_eqp_cancel); Confirm = (Button)view.findViewById(R.id.btn_eqp_ok); input_prac_type = (EditText)view.findViewById(R.id.input_ins_name); input_prac_price = (EditText)view.findViewById(R.id.inst1); input_prac_quotation = (EditText)view.findViewById(R.id.inst2); getDialog().requestWindowFeature(STYLE_NO_TITLE); setCancelable(false); stringList = new ArrayList<String>(); new Thread(new Runnable() { public void run() { Boolean check = false; for(int i =0;i<mParam1.size();i++){ check = false; /* for(int j = 0; j < responsefrom.size();j++){ if(responsefrom.get(j).hcp_url.equals(serviceares.get(i).hcp_url)){ check = true; break; } } */ //if(!check){ stringList.add(mParam1.get(i).name); // } // } } }).start(); input_prac_type.setOnFocusChangeListener(new View.OnFocusChangeListener() { @Override public void onFocusChange(View v, boolean hasFocus) { if (hasFocus) { final AlertDialog.Builder builder_renewal = new AlertDialog.Builder(getActivity(),R.style.alerttheme); builder_renewal.setTitle("Select Equipment"); final CharSequence renewal[] = stringList.toArray(new String[0]); builder_renewal.setItems(renewal, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { // the user clicked on colors[which] input_prac_type.setText(renewal[which]); Currentitem = mParam1.get(which); input_prac_price.setText("RM"+String.valueOf(mParam1.get(which).price)); Log.e("equipment select",Currentitem.name); } }); builder_renewal.show(); } } }); input_prac_type.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { final AlertDialog.Builder builder_renewal = new AlertDialog.Builder(getActivity(),R.style.alerttheme); builder_renewal.setTitle("Select Equipment"); final CharSequence renewal[] = stringList.toArray(new String[0]); builder_renewal.setItems(renewal, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { // the user clicked on colors[which] input_prac_type.setText(renewal[which]); Currentitem = mParam1.get(which); Log.e("equipment select",Currentitem.name); input_prac_price.setText("RM"+String.valueOf(mParam1.get(which).price)); } }); builder_renewal.show(); } }); Cancel.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { dismiss(); } }); Confirm.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { if (Float.parseFloat(input_prac_quotation.getText().toString()) > Currentitem.price) { new AlertDialog.Builder(getActivity()) .setTitle("Error") .setMessage("Your quotation cannot be more than the recommeded price which is RM" + String.valueOf(Currentitem.price)) .setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) { // continue with delete } }) .show(); }else{ Log.e("in my ser", "in get service"); // ((FirstPage)getActivity()).opengallery(); final AlertDialog progressDialog = new SpotsDialog(getActivity(), R.style.CustomDialog4); // To dismiss the dialog progressDialog.show(); Call<Boolean> call = scheduleService.getService().setmyequipments(((Central)getActivity()).gethcp_id(),Currentitem.id,input_prac_quotation.getText().toString()); call.enqueue(new Callback<Boolean>() { @Override public void onResponse(Call<Boolean> call, Response<Boolean> response) { int statusCode = response.code(); String msg = "here"; progressDialog.dismiss(); if (statusCode == 200) { dismiss(); }else{ Log.e("dfdf2", String.valueOf(statusCode)); msg="error again"; Toast.makeText(getActivity(),"request failed gone"+String.valueOf(statusCode),Toast.LENGTH_LONG).show(); } Log.e("dfdf1", msg); } @Override public void onFailure(Call<Boolean> call, Throwable t) { // progress.dismiss(); Toast.makeText(getActivity(),"request failed here gone",Toast.LENGTH_LONG).show(); // Log.e("dfdf", t.toString()); } }); } } }); return view; }
{ "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
the user clicked on colors[which]
@Override public void onClick(DialogInterface dialog, int which) { input_prac_type.setText(renewal[which]); Currentitem = mParam1.get(which); input_prac_price.setText("RM"+String.valueOf(mParam1.get(which).price)); Log.e("equipment select",Currentitem.name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void colorClicked(View view) {\n //Selecting a colour\n if(view != currColor) {\n handwritingView.setErase(false); // Selecting a color switches to write mode\n ImageButton btnView = (ImageButton)view;\n String selColor = view.getTag().toString();\n handwritingView.changeColor(selColor);\n\n //Visually change selected color\n btnView.setAlpha((float) 0.50);\n currColor.setAlpha((float) 1.00);\n currColor = (ImageButton)view;\n }\n }", "public void mouseClicked(MouseEvent e){\n if(e.getSource() == cmUI){\n ColorMixerModel.ColorItem tempC = selectedColor(e.getPoint());\n if(e.getClickCount() == 1){\n if(!cmModel.isCreating()) {\n // if there is no color creating and no color selected\n // single click to create random explore-purposed color\n if (tempC == null && (cmModel.getSelectedItem()== null || cmModel.getSelectedItem().isEmpty())) {\n cmModel.addColor(e.getPoint(), null, true);\n }\n // select color\n // if tempC == null, it will deselect all the color\n cmModel.setSelectedItem(tempC);\n // when selecting a color, set the color picker\n if(tempC != null) {\n cpModel.setMainColor(tempC.getColor());\n cpUI.repaint();\n }\n\n }\n\n }\n else if(e.getClickCount() == 2){\n // double click to add the color to palette\n if(tempC!=null){\n pModel.addColor(tempC.getColor());\n repaint(pModel.getSize()-1);\n }\n }\n cmModel.stopCreating();\n cmUI.repaint();\n }\n \n else if(e.getSource() == pUI){\n int idx = pUI.getIdx(e.getPoint());\n if (idx < pModel.getSize()) {\n if (cmModel.getSelectedItem() == null) {\n pModel.select(idx);\n }\n else {\n cmModel.changeColor(pModel.getColor(idx));\n }\n }\n }\n\n\n }", "@Override\n\t\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\t\tswitch (which) {\n\t\t\t\t\t\t\tcase 0:cz1.setcolor(0);break;\n\t\t\t\t\t\t\tcase 1:cz1.setcolor(1);break;\n case 2:cz1.setcolor(2);break;\n case 3:cz1.setcolor(3);break;\n case 4:cz1.setcolor(4);break;\n case 5:cz1.setcolor(5);break;\n default:\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "Color userColorChoose();", "@Override\n public void onClick(DialogInterface dialog, int which, boolean isChecked) {\n checkedItems[which] = isChecked;\n // Get the current focused item\n //String currentItem = colorsList.get(which);\n }", "public void mouseClicked(MouseEvent e) {\n \t Color current = model.getColor();\r\n \t //this will be better as a separate function but later\r\n \t if (current==Color.red){ //if red\r\n \t\t model.setColor(Color.blue);\r\n \t }\r\n \t else if (current==Color.blue){\r\n \t\t model.setColor(Color.green);\r\n \t }\r\n \t else if (current==Color.green) {\r\n \t\t model.setColor(Color.white);\r\n \t }\r\n \t else{ //anything but red or blue or green\r\n \t\t model.setColor(Color.red);\r\n \t }\r\n \t view.resetView(model);\r\n \t view.updateSquare();\r\n }", "public void mouseClicked(MouseEvent e) {\n\t\tthis.setColor(colorHolder.getColor());\n\t}", "private void define_select_color(){\n\n TextView white_panel = (TextView) findViewById(R.id.palette_white);\n TextView black_panel = (TextView) findViewById(R.id.palette_black);\n TextView red_panel = (TextView) findViewById(R.id.palette_red);\n TextView blue_panel = (TextView) findViewById(R.id.palette_blue);\n\n white_panel.setOnClickListener(new View.OnClickListener(){\n @Override\n public void onClick(View v){\n selected_color=WHITE;\n canvasView.setPaintColor(getSelectedColor(selected_color));\n }\n });\n black_panel.setOnClickListener(new View.OnClickListener(){\n @Override\n public void onClick(View v){\n selected_color=BLACK;\n canvasView.setPaintColor(getSelectedColor(selected_color));\n }\n });\n red_panel.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n selected_color = RED;\n canvasView.setPaintColor(getSelectedColor(selected_color));\n }\n });\n blue_panel.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n selected_color = BLUE;\n canvasView.setPaintColor(getSelectedColor(selected_color));\n }\n });\n\n\n\n }", "@Override\n public void onColorSelected(int selectedColor) {\n }", "@Override\n public void onChooseColor(int position, int color) {\n int red = Color.red(color);\n int green = Color.green(color);\n int blue = Color.blue(color);\n Log.e(\"rgb\", \"\" + red + \" \" + green + \" \" + blue);\n }", "@Override\n public void onColorSelected(String color) {\n Toast.makeText(MainActivity.this, \"Selected Color HeX:\" + color, Toast.LENGTH_SHORT).show();\n }", "@Override\n public void mouseClicked(final MouseEvent e)\n {\n ColorChooserFrame.COLOR_CHOOSER_FRAME.chooseColor(this.color.getRGB(), this);\n }", "@Override\n\t\t\tpublic void actionPerformed(final ActionEvent evt) {\n\t\t\t\tif (evt.getSource() == jMenuItem9) {\n\t\t\t\t\tSystem.out.println(\"Selected: \"\n\t\t\t\t+ evt.getActionCommand());\n\t\t\t\t\t/*\n\t\t\t\t\t((Echiquier) panelChess\n\t\t\t\t\t.getComponents()[0])\n\t\t\t\t\t.setLightColor(Color.black);*/\n\t\t\t\t}\n\t\t\t}", "@Override\r\n public void actionPerformed(ActionEvent event) {\r\n if (event.getSource() == redInput ||\r\n event.getSource() == greenInput ||\r\n event.getSource() == blueInput) {\r\n int value;\r\n int red = currentColor.getRed();\r\n int green = currentColor.getGreen();\r\n int blue = currentColor.getBlue();\r\n try {\r\n value = Integer.parseInt((String) event.getActionCommand());\r\n } catch (Exception e) {\r\n value = -1;\r\n }\r\n if (event.getSource() == redInput) {\r\n if (value >= 0 && value < 256)\r\n red = value;\r\n else\r\n redInput.setText(String.valueOf(red));\r\n } else if (event.getSource() == greenInput) {\r\n if (value >= 0 && value < 256)\r\n green = value;\r\n else\r\n greenInput.setText(String.valueOf(green));\r\n } else if (event.getSource() == blueInput) {\r\n if (value >= 0 && value < 256)\r\n blue = value;\r\n else\r\n blueInput.setText(String.valueOf(blue));\r\n }\r\n currentColor = new Color(red, green, blue);\r\n newSwatch.setForeground(currentColor);\r\n colorCanvas.setColor(currentColor);\r\n } else if (event.getSource() == okButton) {\r\n // Send action event to all color listeners\r\n if (colorListeners != null) {\r\n ActionEvent new_event = new ActionEvent(this,\r\n ActionEvent.ACTION_PERFORMED,\r\n CHANGE_ACTION);\r\n colorListeners.actionPerformed(new_event);\r\n }\r\n setVisible(false);\r\n } else if (event.getSource() == cancelButton) {\r\n if (colorListeners != null) {\r\n ActionEvent new_event = new ActionEvent(this,\r\n ActionEvent.ACTION_PERFORMED,\r\n CANCEL_ACTION);\r\n colorListeners.actionPerformed(new_event);\r\n }\r\n currentColor = null;\r\n setVisible(false);\r\n }\r\n }", "public void chooseColor() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "public void getUserInput(int round, int c, int[] myColors){\n final int[] counter = new int[0];\n final int[] round1 = new int[0];\n final int[] myColors1 = myColors;\n round1[0]=round;\n counter[0]=c;\n ImageButton red = (ImageButton) v.findViewById(R.id.red);\n ImageButton yellow = (ImageButton) v.findViewById(R.id.yellow);\n ImageButton green = (ImageButton) v.findViewById(R.id.green);\n ImageButton blue = (ImageButton) v.findViewById(R.id.blue);\n if (c>round){\n runRound(round+1,myColors);\n }\n else {\n red.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n isCorrect(colorList[counter[0]],0,counter[0],round1[0], myColors1);\n }\n });\n yellow.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n isCorrect(colorList[counter[0]],1,counter[0],round1[0], myColors1);\n }\n });\n green.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n isCorrect(colorList[counter[0]],2,counter[0],round1[0], myColors1);\n }\n });\n blue.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n isCorrect(colorList[counter[0]],3,counter[0],round1[0], myColors1);\n }\n });\n }\n\n }", "public void actionPerformed(ActionEvent e)\n {\n//this is called when an action event occurs\n\n\n String cmd = e.getActionCommand();\n if (cmd.equals(\"Red\"))\n c.setBackground(Color.red);\n if (cmd.equals(\"Blue\"))\n c.setBackground(Color.blue);\n }", "Color getColor(ActionEvent event) {\n JComboBox box = (JComboBox) event.getSource();\n return getDisplayConventions().getColor(\n (String) box.getSelectedItem());\n }", "public String keyColor(int i){\r\n if(this.down.contains(this.draw.get(i)))\r\n return \"red\";\r\n return \"black\";\r\n }", "public void colorButtonClicked(String tag){\n color.set(tag);\n }", "public String linkColor() { return findSelected(link_colors); }", "public void mousePressed(MouseEvent e){\n if(e.getSource() == cmUI) {\n ColorMixerModel.ColorItem tmpC = selectedColor(e.getPoint());\n if(tmpC == null) {\n // if clicked on a empty space\n // create a new color\n // or draw a trace to delete color\n isTracing = true;\n mouseTrace.moveTo(e.getX(),e.getY());\n cmModel.addColor(e.getPoint(), cpModel.getMainColor(), false);\n }\n else{\n // sampling a certain of color\n tmpC.setSample(true, e.getPoint());\n }\n }\n \n //if mouse event is called from the color picker\n else if(e.getSource() == cpUI) {\n \t//if the press is in the handle set the booleans\n\t\t\tif(cpUI.getHandle().contains(e.getPoint())) {\n\t\t\t\tmouseClickedInCircle = true;\n\t\t\t\tmouseClickedInSwipePanel = false;\n\t\t\t}\n\t\t\t//if the press is anywhere else\n\t\t\telse {\n\t\t\t\t//if the press is inside one of the fix circles change the color directly\n\t\t\t\tfor(int i = 0; i < 8; i++) {\n\t\t\t\t\tif(cpUI.getFixCircle(i).contains(e.getPoint())) {\n\t\t\t\t\t\tcpModel.setMainColor(cpUI.getFixCircleColor(i));\n\t\t\t\t\t\tcpUI.repaint();\n\t\t\t\t\t\tmouseClickedInCircle = false;\n\t\t\t\t\t\tmouseClickedInSwipePanel = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tmouseClickedInCircle = false;\n\t\t\t\tmouseClickedInSwipePanel = true;\n\t\t\t}\n\t\t\tmouseClickedPoint = e.getPoint();\n\t\t\tmouseDraggedPoint = mouseClickedPoint;\n\t\t}\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tlp.drawColor = Color.BLUE;\n\t\t\t}", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tint newSelectedIndex = colors.indexOf(v.getTag());\n\t\t\t\t\n\t\t\t\tif(newSelectedIndex >= 0) {\n\t\t\t\t\tint lastSelectedIndex = selectedIndex;\n\t\t\t\t\tselectedIndex = newSelectedIndex;\n\t\t\t\t\t\n\t\t\t\t\tupdateColorItemView(lastSelectedIndex);\n\t\t\t\t\tupdateColorItemView(selectedIndex);\n\t\t\t\t\t\n\t\t\t\t\tupdateSeekBars();\n\t\t\t\t}\n\t\t\t}", "public void onClickGreen(View view){\n int col;\n col = 3;\n byte[] colorBytes = {(byte)Color.red(col),\n (byte)Color.green(col),\n (byte)Color.blue(col),\n 0x0A};\n //remove spurious line endings so the serial device doesn't get confused\n for (int i=0; i<colorBytes.length-1; i++){\n if (colorBytes[i] == 0x0A){\n colorBytes[i] = 0x0B;\n }\n }\n //send the color to the serial device\n if (sPort != null){\n try{\n sPort.write(colorBytes, 500);\n }\n catch (IOException e){\n Log.e(TAG, \"couldn't write color bytes to serial device\");\n }\n }\n }", "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\r\n\t\tSystem.out.println(e.getX()/100 + \", \" + e.getY()/100);\r\n\t\tif (board[e.getX()/100][e.getY()/100].equals(Color.blue)) {\r\n\t\t\tif (turn%2 == 0) {\r\n\t\t\t\tboard[e.getX()/100][e.getY()/100] = Color.yellow;\r\n\t\t\t} else {\r\n\t\t\t\tboard[e.getX()/100][e.getY()/100] = Color.red;\r\n\t\t\t}\r\n\t\t\tturn++;\r\n\t\t\t\r\n\t\t\t//win condition\r\n\t\t\tif(board[0][0] == Color.yellow && board[0][1] == Color.yellow && board[0][2] == Color.yellow && board[0][3] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[1][0] == Color.yellow && board[1][1] == Color.yellow && board[1][2] == Color.yellow && board[1][3] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[2][0] == Color.yellow && board[2][1] == Color.yellow && board[2][2] == Color.yellow && board[2][3] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][0] == Color.yellow && board[1][0] == Color.yellow && board[2][0] == Color.yellow && board[3][0] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][1] == Color.yellow && board[1][1] == Color.yellow && board[2][1] == Color.yellow && board[3][1] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][2] == Color.yellow && board[1][2] == Color.yellow && board[2][2] == Color.yellow && board[3][2] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][0] == Color.yellow && board[1][1] == Color.yellow && board[2][2] == Color.yellow && board[3][3] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[3][0] == Color.yellow && board[1][2] == Color.yellow && board[2][1] == Color.yellow && board[0][3] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tif(board[0][0] == Color.red && board[0][1] == Color.red && board[0][2] == Color.red && board[0][3] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[1][0] == Color.red && board[1][1] == Color.red && board[1][2] == Color.red && board[1][3] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[2][0] == Color.red && board[2][1] == Color.red && board[2][2] == Color.red && board[2][3] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][0] == Color.red && board[1][0] == Color.red && board[2][0] == Color.red && board[3][0] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][1] == Color.red && board[1][1] == Color.red && board[2][1] == Color.red && board[3][1] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][2] == Color.red && board[1][2] == Color.red && board[2][2] == Color.red && board[3][2] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][0] == Color.red && board[1][1] == Color.red && board[2][2] == Color.red && board[3][3] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[3][0] == Color.red && board[1][2] == Color.red && board[2][1] == Color.red && board[0][3] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\trepaint();\r\n\t\t}\r\n\t}", "@Override\r\npublic void mouseClicked(MouseEvent e) {\n\t\r\n\tb1.setBackground(Color.pink);\r\n\t\r\n}", "public void handle(ActionEvent event)\n {\n selectedColor = Paint.valueOf(colorCombo.getSelectionModel().getSelectedItem());\n event.consume();\n //----\n }", "public int cellClicked(Board source, int cellX, int cellY);", "public void actionPerformed(ActionEvent e)\n{\n String str = e.getActionCommand();\n if(str.equals(\"Red\"))\n {\n rc++;\n }\n else if(str.equals(\"Green\"))\n {\n gc++;\n }\n else if(str.equals(\"Blue\"))\n {\n bc++;\n }\n repaint();\n}", "public void RGB_Change(View view) {\r\n int [] color= {0,0,0};\r\n\r\n adb= new AlertDialog.Builder(this);\r\n adb.setCancelable(false);\r\n adb.setTitle(\"Core Colors Change\");\r\n adb.setItems(colors, new DialogInterface.OnClickListener() {\r\n @Override\r\n public void onClick(DialogInterface dialog, int which) {\r\n color[which]=255;\r\n lL.setBackgroundColor(Color.rgb(color[0],color[1],color[2]));\r\n }\r\n });\r\n adb.setPositiveButton(\"Exit\", new DialogInterface.OnClickListener() {\r\n @Override\r\n public void onClick(DialogInterface dialog, int which) {\r\n\r\n }\r\n });\r\n AlertDialog ad=adb.create();\r\n ad.show();\r\n }", "@Override\r\n\t\tpublic void actionPerformed(ActionEvent actionevent)\r\n\t\t{\n\t\t\tColor c = (Color) getValue( \"Color\" );\r\n\t\t\tsetBackground( c );\r\n\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tlp.drawColor = Color.RED;\n\t\t\t}", "public void onClickRed(View view){\n int col;\n col = 1;\n byte[] colorBytes = {(byte)Color.red(col),\n (byte)Color.green(col),\n (byte)Color.blue(col),\n 0x0A};\n //remove spurious line endings so the serial device doesn't get confused\n for (int i=0; i<colorBytes.length-1; i++){\n if (colorBytes[i] == 0x0A){\n colorBytes[i] = 0x0B;\n }\n }\n //send the color to the serial device\n if (sPort != null){\n try{\n sPort.write(colorBytes, 500);\n }\n catch (IOException e){\n Log.e(TAG, \"couldn't write color bytes to serial device\");\n }\n }\n }", "@Override\r\n public void mousePressed(MouseEvent e) {\n setBackground(Color.BLUE);\r\n \r\n \r\n }", "public void onClickBlue(View view){\n int col;\n col = 2;\n byte[] colorBytes = {(byte)Color.red(col),\n (byte)Color.green(col),\n (byte)Color.blue(col),\n 0x0A};\n //remove spurious line endings so the serial device doesn't get confused\n for (int i=0; i<colorBytes.length-1; i++){\n if (colorBytes[i] == 0x0A){\n colorBytes[i] = 0x0B;\n }\n }\n //send the color to the serial device\n if (sPort != null){\n try{\n sPort.write(colorBytes, 500);\n }\n catch (IOException e){\n Log.e(TAG, \"couldn't write color bytes to serial device\");\n }\n }\n\n }", "public void mouseClicked(MouseEvent e) {\r\n if (e.getButton() == MouseEvent.BUTTON3) {\r\n rectangle = null;\r\n uncolorNodes(selectedIds);\r\n } else if (e.getButton() == MouseEvent.BUTTON1) {\r\n rectangle = new Rectangle(e.getPoint(), new Dimension(1, 1));\r\n colorSelectedNodes();\r\n }\r\n }", "public Color getChosenColor(int index){\n\t\treturn this.colorSet[index];\n\t}", "@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif(e.getActionCommand().equals(\"黑色\")){\r\n\t\t\tSystem.out.println(\"猫猫也知道你点击的是黑色按钮\");\r\n\t\t\t\r\n\t\t}else if(e.getActionCommand().equals(\"红色\")){\r\n\t\t\tSystem.out.println(\"猫猫也知道你点击的是红色按钮\");\r\n\t\t\t\r\n\t\t}else{\r\n\t\t\tSystem.out.println(\"不知道\");\r\n\t\t}\r\n\t}", "void colorOperation() {\r\n String selStr; // variable to store the selected string\r\n\r\n repaint(); // repaint\r\n selStr = (String)cb2.getSelectedItem();\r\n // store the string of the selected item\r\n if (selStr == strColor[0]) { // if \"Black\" selected\r\n System.out.println(\"Black of menu Color is selected.\");\r\n System.out.println(\"calling method black().\");\r\n ge.black(gra); // call method black() of class PaintTool\r\n System.out.println(\"method black() executed.\");\r\n } else if (selStr == strColor[1]) { // if \"Red\" selected\r\n System.out.println(\"Red of menu Color is selected.\");\r\n System.out.println(\"calling method red().\");\r\n ge.red(gra); // call method red() of class PaintToll\r\n System.out.println(\"method red() executed.\");\r\n } else if (selStr == strColor[2]) { // if \"Green\" selected\r\n System.out.println(\"Green of menu Color is selected.\");\r\n System.out.println(\"calling method green().\");\r\n ge.green(gra); // call method green() of class PaintTool\r\n System.out.println(\"method green() executed.\");\r\n } else if (selStr == strColor[3]) { // if \"Blue\" selected\r\n System.out.println(\"Blue of menu Color is selected.\");\r\n System.out.println(\"calling method blue().\");\r\n ge.blue(gra); // call method blue() of class PaintToll\r\n System.out.println(\"method blue() executed.\");\r\n }\r\n }", "public void getColor() {\n\t\tPoint point = MouseInfo.getPointerInfo().getLocation();\n\t\trobot.mouseMove(point.x, point.y);\n\t\tColor color = robot.getPixelColor(point.x, point.y);\n//\t\tSystem.out.println(color);\n\t}", "@Override\n\t\t\tpublic void actionPerformed(final ActionEvent evt) {\n\t\t\t\tif (evt.getSource() == jMenuItem8) {\n\t\t\t\t\tSystem.out.println(\"Selected: \"\n\t\t\t\t+ evt.getActionCommand());\n\t\t\t\t\t/*\n\t\t\t\t\t((Echiquier) panelChess\n\t\t\t\t\t.getComponents()[0])\n\t\t\t\t\t.setLightColor(Color.lightGray);\n\t\t\t\t\t((Echiquier) panelChess\n\t\t\t\t\t.getComponents()[0])\n\t\t\t\t\t.setDarkColor(Color.darkGray);\n\t\t\t\t\t((Echiquier) panelChess\n\t\t\t\t\t\t.getComponents()[0]).repaint();\n\t\t\t\t\t((Echiquier) panelChess\n\t\t\t\t\t.getComponents()[0]).revalidate();*/\n\t\t\t\t}\n\t\t\t}", "public void widgetSelected(SelectionEvent arg0) {\n\t\t ColorDialog dlg = new ColorDialog(shell);\r\n\r\n\t\t // Set the selected color in the dialog from\r\n\t\t // user's selected color\r\n\t\t Color shpColor = viewer.getShpReader().getForeColor();\r\n\t\t dlg.setRGB(shpColor.getRGB());\r\n\r\n\t\t // Change the title bar text\r\n\t\t dlg.setText(Messages.getMessage(\"SHPLayersScreen_ColorDialog\"));\r\n\r\n\t\t // Open the dialog and retrieve the selected color\r\n\t\t RGB rgb = dlg.open();\r\n\t\t if (rgb != null && !rgb.equals(shpColor.getRGB())) {\r\n\t\t // Dispose the old color, create the\r\n\t\t // new one, and set into the label\r\n\t\t \tnewColor = new Color(shell.getDisplay(), rgb);\r\n\t\t\t\t\tlabelColor.setBackground(newColor);\r\n\t\t }\r\n\t\t\t}", "@Override\r\npublic void mousePressed(MouseEvent arg0) {\n\t\r\n\tb1.setBackground(Color.pink);\r\n\t\r\n}", "@Override\n public void changeColor(ColorEvent ce) {\n \n txtRed.setText(\"\"+ ce.getColor().getRed());\n txtGreen.setText(\"\"+ ce.getColor().getGreen());\n txtBlue.setText(\"\"+ ce.getColor().getBlue());\n \n \n }", "@Override\n public void onClick(View v) {\n\n cp.show();\n /* On Click listener for the dialog, when the user select the color */\n Button okColor = (Button) cp.findViewById(R.id.okColorButton);\n okColor.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n\n /* You can get single channel (value 0-255) */\n int red = cp.getRed();\n int blue = cp.getBlue();\n int green = cp.getGreen();\n /*\n if (color < 0)\n color = -color;*/\n lights.lightscolors.get(index).rgbhex = \"#\" + String.format(\"%02x\", red) + String.format(\"%02x\", green) + String.format(\"%02x\", blue);\n lights.lightscolors.get(index).color = \"rgb(\" + red + \",\" + green + \",\" + blue + \")\";\n Log.v(\"ColorPicker ambiance\", lights.lightscolors.get(index).color);\n int rgb = Color.parseColor(lights.lightscolors.get(index).rgbhex);\n if (!lights.lightscolors.get(index).on)\n rgb = 0;\n GradientDrawable gd = (GradientDrawable) circles.get(index).getDrawable();\n gd.setColor(rgb);\n gd.setStroke(1, Color.WHITE);\n cp.dismiss();\n }\n });\n }", "void selectColorFrom(Set<GameColor> colors, String title, Consumer<GameColor> callback);", "void setColorSelection() {\r\n for (int i = 0; i < chooser.length; i++) {\r\n\r\n if (mainclass.getGraphTyp()\r\n == AbstractGraph.GRAPHTYP_RESIDUAL) {\r\n\r\n switch (i) {\r\n case COLOR_EDGE_ONE:\r\n chooser[i].setColorSelected(colors[COLOR_EDGE_FLOW]);\r\n break;\r\n case COLOR_EDGE_TWO:\r\n chooser[i].setColorSelected(colors[COLOR_EDGE_CAP]);\r\n break;\r\n case COLOR_EDGE_TOP:\r\n chooser[i].setColorSelected(colors[COLOR_EDGE_RTOP]);\r\n break;\r\n default:\r\n chooser[i].setColorSelected(colors[i]);\r\n }\r\n } else {\r\n chooser[i].setColorSelected(colors[i]);\r\n }\r\n }\r\n }", "public void mouseClicked(MouseEvent e) {\n\t\t\t\tpunto1.setFilled(true);\n\t\t\t\tpunto1.setColor(Color.red);\n\t\t\t\t\tif(numClicks == 0) {\n\t\t\t\t\t\tadd(punto1, e.getX(),e.getY());\n\t\t\t\t\t\tnumClicks++;\n\t\t\t\t\t\taprox.setStartPoint(e.getX(), e.getY());\n\t\t\t\t\t\tadd(engorgio1, e.getX(),e.getY());\n\n\t\t\t\t\t}\n\t\t//final\n\t\t\t\t\telse if(numClicks == 1) {\n\t\t\t\t\t\tpunto2.setFilled(true);\n\t\t\t\t\t\tpunto2.setColor(Color.blue);\n\t\t\t\t\t\tadd(punto2, e.getX(),e.getY());\n\t\t\t\t\t\tnumClicks++;\n\t\t\t\t\t\taprox.setEndPoint(e.getX(), e.getY());\n\t\t\t\t\t\tadd(aprox);\n\t\t\t\t\t\tadd(engorgio2, e.getX(),e.getY());\n\t\t\t\t\t}\n\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\tswitch ((int)id) {\n\t\t\t\tcase 0:{\n\t\t\t\t\tCharSequence[] a={\"白\",\"红\",\"黑\",\"蓝\",\"黄\",\"绿\"};\n\t\t\t\t\tnew AlertDialog.Builder(Setting.this)\n\t\t\t\t\t.setTitle(\"设置颜色\")\n\t\t\t\t\t.setItems(a, new DialogInterface.OnClickListener() {\n\t\t\t\t\t\t\n\t\t\t\t\t\t@Override\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\tswitch (which) {\n\t\t\t\t\t\t\tcase 0:cz1.setcolor(0);break;\n\t\t\t\t\t\t\tcase 1:cz1.setcolor(1);break;\n case 2:cz1.setcolor(2);break;\n case 3:cz1.setcolor(3);break;\n case 4:cz1.setcolor(4);break;\n case 5:cz1.setcolor(5);break;\n default:\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\t.setNegativeButton(\"取消\",new DialogInterface.OnClickListener() {\n\t\t\t\t\t\t\n\t\t\t\t\t\t@Override\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\t}\n\t\t\t\t\t}).show();\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n case 1:\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}", "@Override\n public void mousePressed(MouseEvent arg0) {\n yourBoardPanel[xx][yy].setBackground(new Color(175, 175, 0));\n }", "private void onColorClick() {\n Integer colorFrom = getResources().getColor(R.color.animated_color_from);\r\n Integer colorTo = getResources().getColor(R.color.animated_color_to);\r\n ValueAnimator colorAnimator = ValueAnimator.ofObject(new ArgbEvaluator(), colorFrom, colorTo);\r\n colorAnimator.setDuration(animationDuration);\r\n colorAnimator.setRepeatCount(1);\r\n colorAnimator.setRepeatMode(ValueAnimator.REVERSE);\r\n colorAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {\r\n\r\n @Override\r\n public void onAnimationUpdate(ValueAnimator animator) {\r\n animatedArea.setBackgroundColor((Integer)animator.getAnimatedValue());\r\n }\r\n\r\n });\r\n colorAnimator.start();\r\n }", "@Override\n\tpublic void mousePressed(MouseEvent arg0) {\n\t\tint x = arg0.getX() / 20;\n\t\tint y = arg0.getY() / 20;\n\t\tGraphics g = this.getGraphics();\n\t\tg.setColor(Color.black);\n\t\tg.fillRect(x * 20, y * 20, 20, 20);\n\t\tg.setColor(Color.gray);\n\t\tg.drawRect(x * 20, y * 20, 20, 20);\n\t\t// System.out.println(\"x: \" + x + \" y: \" + y);\n\t\tthis.selected.add(y * 64 + x);\n\n\t}", "@Override\r\n\t\tpublic void mousePressed(MouseEvent e) {\n\t\t\tComponent com = (Component)e.getSource(); //마우스가 올라간 컴포넌트 알아냄.\r\n\t\t\tcom.setBackground(Color.GRAY);\r\n\t\t}", "public void controlEvent(ControlEvent c) {\n if(c.isFrom(cp)) {\n int r = PApplet.parseInt(c.getArrayValue(0));\n int g = PApplet.parseInt(c.getArrayValue(1));\n int b = PApplet.parseInt(c.getArrayValue(2));\n int a = PApplet.parseInt(c.getArrayValue(3));\n col = color(r,g,b,a);\n println(col);\n }\n}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent cb_e) {\n\t\t\t\tinx3 = cb[3].getSelectedIndex();\n\t\t\t}", "@Override\n public void mouseClicked(MouseEvent e) {\n System.out.println(\"MouseClicked\");\n //kwadrat.clicked();\n trojkat.clicked();\n //kolo.clicked();\n //square.clicked();\n }", "@Override\r\n public void actionPerformed(ActionEvent e) {\n\t\t\r\n switch (Integer.parseInt(e.getActionCommand()))\r\n\t\t{\r\n\t\t\tcase 11:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 12:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 13:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 21:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 22:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 23:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 31:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 41:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\t\t\r\n\t\t\tcase 42:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\t\t\t\r\n\t\t\tcase 51:\r\n\t\t\t{\r\n\t\t\t\ttextArea.setBackground(Color.WHITE);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 52:\r\n\t\t\t{\r\n\t\t\t\ttextArea.setBackground(Color.YELLOW);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 53:\r\n\t\t\t{\r\n\t\t\t\ttextArea.setBackground(Color.GREEN);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n \r\n }", "public void mouseClicked(MouseEvent e) \r\n\t{\r\n\t\t\tif (e.getButton() == 1) {\r\n\t\t\t\tif(turn == -2){\r\n\t\t\t\t\tturn++;\r\n\t\t\t\t}\r\n\t\t\t\telse if(gameOver){\r\n\t\t\t\t\tturn=-2;\r\n\t\t\t\t\tgameOver = false;\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\tRectangle2D rect = new Rectangle2D.Double((4*60),((guessArray.length-1)*60)+22,60,60);\r\n\t\t\t\tif (rect.contains(e.getX(), e.getY())) {\r\n\r\n\t\t\t\t\tturn++;\r\n\r\n\t\t\t\t\tguessArray[turn] = new code(guessArray[guessArray.length-1]);\r\n\r\n\t\t\t\t\tcode response = new code();\r\n\r\n\t\t\t\t\tint redCount = guessArray[turn].sameColorSamePosition(cpuCode);\t\r\n\t\t\t\t\tint whiteCount = guessArray[turn].sameColor(cpuCode) - guessArray[turn].sameColorSamePosition(cpuCode);\r\n\r\n\t\t\t\t\tfor(int i = 0; i < redCount; i++) {\r\n\t\t\t\t\t\tresponse.append('r');\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tfor(int i = 0; i < whiteCount; i++) {\r\n\t\t\t\t\t\tresponse.append('w');\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tresponseArray[turn] = new code(response);\r\n\r\n\r\n\t\t\t\t\tchar[] winCode = {'r','r','r','r'};\r\n\t\t\t\t\tif(responseArray[turn].sameColorSamePosition(new code(winCode)) == 4) {\r\n\t\t\t\t\t\twin = true;\r\n\t\t\t\t\t\tgameOver = true;\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(turn >= guessArray.length - 2) {\r\n\t\t\t\t\t\twin = false;\r\n\t\t\t\t\t\tgameOver = true;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t\telse if (returnGuessEllipse((guessArray.length-1),0).contains(e.getX(), e.getY()) ) {\r\n\t\t\t\t\tchar currentColor = guessArray[guessArray.length-1].getColorAtIndex(0);\r\n\t\t\t\t\tchar newColor = returnNextColor(currentColor);\r\n\t\t\t\t\tguessArray[guessArray.length-1].setColorAtIndex(0,newColor);\r\n\t\t\t\t}\t\r\n\t\t\t\telse if (returnGuessEllipse((guessArray.length-1),1).contains(e.getX(), e.getY()) ) {\r\n\t\t\t\t\tchar currentColor = guessArray[guessArray.length-1].getColorAtIndex(1);\r\n\t\t\t\t\tchar newColor = returnNextColor(currentColor);\r\n\t\t\t\t\tguessArray[guessArray.length-1].setColorAtIndex(1,newColor);\r\n\t\t\t\t}\t\r\n\t\t\t\telse if (returnGuessEllipse((guessArray.length-1),2).contains(e.getX(), e.getY()) ) {\r\n\t\t\t\t\tchar currentColor = guessArray[guessArray.length-1].getColorAtIndex(2);\r\n\t\t\t\t\tchar newColor = returnNextColor(currentColor);\r\n\t\t\t\t\tguessArray[guessArray.length-1].setColorAtIndex(2,newColor);\r\n\t\t\t\t}\t\r\n\t\t\t\telse if (returnGuessEllipse((guessArray.length-1),3).contains(e.getX(), e.getY()) ) {\r\n\t\t\t\t\tchar currentColor = guessArray[guessArray.length-1].getColorAtIndex(3);\r\n\t\t\t\t\tchar newColor = returnNextColor(currentColor);\r\n\t\t\t\t\tguessArray[guessArray.length-1].setColorAtIndex(3,newColor);\r\n\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\trepaint();\t\r\n\t\t\t\r\n\t\t\t}\r\n\r\n\t}", "@Override\n public void onClick(View v) {\n int red = cp.getRed();\n int blue = cp.getBlue();\n int green = cp.getGreen();\n /*\n if (color < 0)\n color = -color;*/\n lights.lightscolors.get(index).rgbhex = \"#\" + String.format(\"%02x\", red) + String.format(\"%02x\", green) + String.format(\"%02x\", blue);\n lights.lightscolors.get(index).color = \"rgb(\" + red + \",\" + green + \",\" + blue + \")\";\n Log.v(\"ColorPicker ambiance\", lights.lightscolors.get(index).color);\n int rgb = Color.parseColor(lights.lightscolors.get(index).rgbhex);\n if (!lights.lightscolors.get(index).on)\n rgb = 0;\n GradientDrawable gd = (GradientDrawable) circles.get(index).getDrawable();\n gd.setColor(rgb);\n gd.setStroke(1, Color.WHITE);\n cp.dismiss();\n }", "public void chooseCellColor(){\n currentCellColor = cellColorPicker.getValue();\n draw();\n }", "@Override\n public void mousePressed(MouseEvent e) {\n idx = getIdx(e);\n }", "public void mousePressed(MouseEvent me) {\n\t\t\tfigure.setBackgroundColor(ColorConstants.yellow);\n\t\t}", "public void mousePressed() {\n\t\tint loc = mouseX + mouseY * width;\n\t\ttrackColor = pixels[loc];\n\t\tflock.killAll();\n\n\t\t//settingsW.settingsWindow.redraw();\n\t\t\n\t\tprintln(\"trackColor=\" + (red(trackColor)) + \",\" + (green(trackColor))\n\t\t\t\t+ \",\" + (blue(trackColor)));\n\t}", "colorChoice(Vec3 color) {\n this.color = color;\n }", "public Color getSelectedColor() {\r\n return mColor;\r\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent cb_e) {\n\t\t\t\tinx5 = cb[5].getSelectedIndex();\n\t\t\t}", "public abstract void clickHelp2(FloodItWorld w, Color chosenColor);", "@Override\n \t public void actionPerformed(ActionEvent e) \n \t {\n \t\t Color newColour = JColorChooser.showDialog(null, \"Choose a colour!\", Color.black);\n \t\t if(newColour == null)\n \t\t\t return;\n \t\t else\n \t\t\t client.setColor(newColour);\n \t }", "public static interface OnColorSelectedListener {\n void onColorSelected(Color color);\n }", "public String nodeColor() { return findSelected(node_colors); }", "public void mouseClicked(int mouseX, int mouseY, int mouse) {}", "@Override\n\tpublic void itemStateChanged(ItemEvent ie) {\n\t\tif (ie.getSource() == liColor) {\n\t\t\tString color = liColor.getSelectedItem();\n\t\t\tSystem.out.println(color);\n\t\t\tif (color == \"Red\") {\n\t\t\t\tpLeft.setBackground(Color.RED);\n\t\t\t\tsetBackground(Color.RED);\n\t\t\t\tpButton.setBackground(Color.RED);\n\t\t\t}\n\t\t\telse if (color == \"Green\") {\n\t\t\t\tpLeft.setBackground(Color.GREEN);\n\t\t\t\tsetBackground(Color.GREEN);\n\t\t\t\tpButton.setBackground(Color.GREEN);\n\t\t\t}\n\t\t\telse if (color == \"Gray\") {\n\t\t\t\tpLeft.setBackground(Color.gray);\n\t\t\t\tsetBackground(Color.gray);\n\t\t\t\tpButton.setBackground(Color.gray);\n\t\t\t}\n\t\t\telse if (color == \"Black\") {\n\t\t\t\tpLeft.setBackground(Color.black);\n\t\t\t\tsetBackground(Color.black);\n\t\t\t\tpButton.setBackground(Color.black);\n\t\t\t}\n\t\t\t\n\t\t}\n\t}", "private int whichButtonClicked( ActionEvent event ) {\n\tfor ( int i = 0; i < NBUTTONS; i++ ) {\n\t if ( event.getSource( ) == button[i] )\n\t\treturn i;\n\t}\n\treturn -1;\n }", "@Override\n public void onColorChanged(int selectedColor) {\n Log.d(\"ColorPicker\", \"onColorChanged: 0x\" + Integer.toHexString(selectedColor));\n }", "public void actionPerformed( ActionEvent e )\n {\n if (e.getSource() == theButton )\n {\n changeColor();\n }\n }", "public void actionPerformed(ActionEvent event) {\r\n\t\t\t\tstatusValue.setText(\"Odbieram\");\r\n\t\t\t\tcolorChangeListener.set_receive(!colorChangeListener\r\n\t\t\t\t\t\t.is_receive());\r\n\t\t\t\ttry {\r\n\t\t\t\t\t// obiekt realizująca zmianę kolorów w wybranych elementach\r\n\t\t\t\t\t// GUI\r\n\t\t\t\t\t\r\n\t\t\t\t\tList<ColorChangeExecutor> executors = new ArrayList<ColorChangeExecutor>();\r\n\t\t\t\t\texecutors.add(ColorChangeExecutorFactory.createCanvasColorChangeExecutor(canvas));\r\n\t\t\t\t\tList<JSlider> sliders = new ArrayList<JSlider>();\r\n\t\t\t\t\tsliders.add(sliderR);\r\n\t\t\t\t\tsliders.add(sliderG);\r\n\t\t\t\t\tsliders.add(sliderB);\r\n\t\t\t\t\texecutors.add(ColorChangeExecutorFactory.createSlidersColorChangeExecutor(sliders));\r\n\t\t\t\t\t\r\n\t\t\t\t\t// metoda uruchamia: @1 watek realizujacy nasluchiwanie na\r\n\t\t\t\t\t// zmiane kolorow @2 watek reagujacy na odbior zmiany koloru\r\n\t\t\t\t\tengine.receiveColor(executors);\r\n\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\tSystem.out.println(this.getClass() + \" \" + e.getClass()\r\n\t\t\t\t\t\t\t+ \" \" + e.getMessage());\r\n\r\n\t\t\t\t} catch (ClassNotFoundException e) {\r\n\t\t\t\t\tSystem.out.println(this.getClass() + \" \" + e.getClass()\r\n\t\t\t\t\t\t\t+ \" \" + e.getMessage());\r\n\t\t\t\t}\r\n\r\n\t\t\t}", "@Override\n public Color getColor() {\n\n if(clicked)\n {\n return Color.BLUE;\n }\n\n if(energy < 0.1*maxEnergy)\n {\n return Color.LINEN;\n }\n else if (energy < 0.2*maxEnergy)\n {\n return Color.MISTYROSE;\n }\n else if(energy < 0.3*maxEnergy)\n {\n return Color.LIGHTPINK;\n }\n else if(energy < 0.4*maxEnergy)\n {\n return Color.PINK;\n }\n else if (energy < 0.5*maxEnergy)\n {\n return Color.LIGHTCORAL;\n }\n else if (energy < 0.6*maxEnergy)\n {\n return Color.RED;\n }\n else if (energy < 0.7*maxEnergy)\n {\n return Color.FIREBRICK;\n }\n else if (energy < 0.8*maxEnergy)\n {\n return Color.DARKRED;\n }\n else if (energy < 0.9*maxEnergy)\n {\n return Color.MAROON;\n }\n return Color.BLACK;\n }", "public void mousePressed(MouseEvent e){\r\n\t //reset the label\r\n\t if(isBlack) label.setText(\"\t\tWhite's Turn\");\r\n\t else label.setText(\"\t\tBlack's Turn\");\r\n\t \r\n //Do nothing when game is over\r\n if(gameOver) return;\r\n \r\n String colorName=isBlack?\"Black\":\"White\";\r\n\r\n //Convert coordinate to index \r\n xIndex=(e.getX()-MARGIN+GRID_SPAN/2)/GRID_SPAN;\r\n yIndex=(e.getY()-MARGIN+GRID_SPAN/2)/GRID_SPAN;\r\n\r\n //Do nothing when outside the board\r\n if(xIndex<0||xIndex>ROWS||yIndex<0||yIndex>COLS)\r\n return;\r\n\r\n //Do nothing when current position already occupied\r\n if(findChess(xIndex,yIndex))return;\r\n\r\n //if valid, Draw a new chess at current position and add index to the chessList \r\n Point ch=new Point(xIndex,yIndex,isBlack?Color.black:Color.white);\r\n chessList[chessCount++]=ch;\r\n repaint();//run paintComponent\r\n\r\n\r\n //if someone wins, give a message\r\n if(isWin()){\r\n String msg=String.format(\"Congratulations��%s won��\", colorName); \r\n JOptionPane.showMessageDialog(this, msg);\r\n gameOver=true;\r\n }\r\n isBlack=!isBlack;\r\n }", "private ColorMixerModel.ColorItem selectedColor(Point p){\n for(ColorMixerModel.ColorItem c: cmModel.colorSet){\n if(p.distance(c.getPos()) < c.getR()){\n return c;\n }\n }\n return null;\n }", "@Override\r\n public void processMouseEvent(MouseEvent event) {\r\n if (event.getID() == MouseEvent.MOUSE_PRESSED) {\r\n // Subtract off the offsets to make checking easier\r\n int mx = event.getX() - offsetX - selectDiameter / 2 - 1;\r\n int my = event.getY() - offsetY - selectDiameter / 2 - 1;\r\n\r\n // Check if outside color selection area\r\n if (mx < 0 || my < 0 || my > diameter)\r\n return;\r\n if (mx > diameter + selectDiameter / 2 + spacing + valueBarWidth)\r\n return;\r\n\r\n boolean new_color = false;\r\n if (mx < diameter) {\r\n // In color wheel, set the hue and saturation\r\n if (getColorAt(currentHSBColor, mx, my, false)) {\r\n colorX = mx;\r\n colorY = my;\r\n redrawValueBar = true;\r\n new_color = true;\r\n }\r\n } else if (mx > diameter + selectDiameter / 2 + spacing && my < diameter - 2) {\r\n // In value bar, set the brightness\r\n currentHSBColor[2] = (float) (diameter - 2 - my) / (diameter - 2);\r\n new_color = true;\r\n }\r\n if (new_color) {\r\n Color color = Color.getHSBColor(currentHSBColor[0],\r\n currentHSBColor[1],\r\n currentHSBColor[2]);\r\n // Call function in parent to update the color\r\n ColorPicker.this.changeColor(color);\r\n repaint();\r\n }\r\n } else\r\n super.processMouseEvent(event);\r\n }", "public Color getSelectedColor() {\n return this.selectedColor;\n }", "public void mousePressed(MouseEvent e) {\n\t\t\t\tswitch(num){\n\t\t\t\tcase 1:\n\t\t\t\t\t\n\t\t\t\t\tconfirm.setIcon(new ImageIcon(\"src/image/userUi/confirmR.png\") );\n\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tcancel.setIcon(new ImageIcon(\"src/image/userUi/cancelR.png\") );\n\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tlp.drawColor = Color.BLACK;\n\t\t\t}", "public interface OnColorPickedListener {\n\tvoid onColorPicked(int swatch, int color);\n}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent cb_e) {\n\t\t\t\tinx4 = cb[4].getSelectedIndex();\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent cb_e) {\n\t\t\t\tinx2 = cb[2].getSelectedIndex();\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n float zufall = (float) Math.random(); \n Color grauton = new Color(zufall,zufall,zufall);\n c.setBackground(grauton); // Zugriff auf c moeglich, da\n }", "private void onColorChoose(View view) {\n int intColor = ((ColorDrawable) view.getBackground()).getColor();\n setColorForDialog(intColor);\n }", "public void mouseClicked(MouseEvent e) {\r\n\t\t\tswitch (mode) {\r\n\t\t\tcase CHANGE_VALUE:\r\n\t\t\t\tPoint accClick2 = new Point((int) e.getX(), (int) e.getY());\r\n\t\t\t\tint[] mockArr = canvas.getArr();\r\n\t\t\t\tint arrLen = canvas.getArr().length;\r\n\t\t\t\tint itemClicked = canvas.getArr().length; \r\n\t\t\t\tfor (int i = 0; i < arrLen; i++) {\r\n\t\t\t\t\tint y1 = 26+(60*i);\r\n\t\t\t\t\tint y2 = 76+(60*i);\r\n\t\t\t\t\tif (zoneClicked(22, 222, y1, y2, accClick2)) itemClicked = i;\r\n\t\t\t\t} \r\n\t\t\t\tif (itemClicked < canvas.getArr().length){\r\n\t\t\t\t\tJFrame addQuestion = new JFrame(\"Change an element\");\r\n\t\t\t\t\tString init = JOptionPane.showInputDialog(addQuestion, \"What integer should go in arr[\" + itemClicked + \"]?\");\r\n\t\t\t\t\tif (init != null) {\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tint i = Integer.valueOf(init);\r\n\t\t\t\t\t\t\tmockArr[itemClicked] = i;\r\n\t\t\t\t\t\t\tcanvas.setArr(mockArr);\r\n\t\t\t\t\t\t} catch(NumberFormatException error) {\r\n\t\t\t\t\t\t\tJFrame frame2 = new JFrame(\"\");\r\n\t\t\t\t\t\t\t// Warning\r\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(frame2,\r\n\t\t\t\t\t\t\t\t\t\"Input value is not a valid number\",\r\n\t\t\t\t\t\t\t\t\t\"Input Warning\",\r\n\t\t\t\t\t\t\t\t\tJOptionPane.WARNING_MESSAGE);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tinstr.setText(\"Failed click on elements. Click again.\");\r\n\t\t\t\t}\t\t\t\t\r\n\t\t\t\tcanvas.repaint();\r\n\t\t\t\tbreak;\t\t\r\n\t\t\tcase ACCESS:\r\n\t\t\t\tPoint accClick = new Point((int) e.getX(), (int) e.getY()); \t\t\t\t\r\n\t\t\t\tint arrLen2 = canvas.getArr().length;\r\n\t\t\t\tint itemClicked2 = canvas.getArr().length; \r\n\t\t\t\tfor (int i = 0; i < arrLen2; i++){\r\n\t\t\t\t\tint y1 = 26+(60*i);\r\n\t\t\t\t\tint y2 = 76+(60*i);\r\n\t\t\t\t\tif (zoneClicked(22, 222, y1, y2, accClick)) itemClicked2 = i;\r\n\t\t\t\t}\r\n\t\t\t\tinstr.setText(\"The item, if accessed, is in red.\");\r\n\t\t\t\tif (itemClicked2 < canvas.getArr().length){\r\n\t\t\t\t\tcanvas.arrAccess(itemClicked2);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tinstr.setText(\"Failed click on elements. Click again.\");\r\n\t\t\t\t}\t\t\t\r\n\t\t\t\tbreak;\t\t\t\r\n\t\t}\r\n\t}", "@Override\n\t\t\tpublic void onClick(View arg0) \n\t\t\t{\n\t\t\t\tint radioSelection = r_colors.getCheckedRadioButtonId();\n\t\t\t\tif(radioSelection == R.id.red_radio) color = Color.RED;\n\t\t\t\tif(radioSelection == R.id.cyan_radio) color = Color.CYAN;\n\t\t\t\tif(radioSelection == R.id.yellow_radio) color = Color.YELLOW;\n\t\t\t\tif(radioSelection == R.id.green_radio) color = Color.GREEN;\n\t\t\t\tif(radioSelection == R.id.blue_radio) color = Color.BLUE;\n\t\t\t\tif(radioSelection == R.id.magenta_radio) color = Color.MAGENTA;\n\t\t\t\tif(radioSelection == R.id.black_radio) color = Color.BLACK;\n\t\t\t\n\t\t\t\tIntent resultData = new Intent();\n\t\t\t\tresultData.putExtra(\"color\", \"\"+color);\n\t\t\t\tsetResult(RESULT_OK, resultData);\n\t\t\t\tif(getParent()!=null) getParent().setResult(RESULT_OK, resultData);\n\t\t\t\tfinish();\n\t\t\t}", "public void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "public void selectButton(int i, int j)\n {\n buttColor[i][j] = changeColor(buttons[i][j], buttColor[i][j]);\n if((i-1) >= 0)\n buttColor[i-1][j] = changeColor(buttons[i-1][j], buttColor[i-1][j]);\n if(i+1 < 4)\n buttColor[i+1][j] = changeColor(buttons[i+1][j], buttColor[i+1][j]);\n if(j-1 >= 0)\n buttColor[i][j-1] = changeColor(buttons[i][j-1], buttColor[i][j-1]);\n if(j+1 < 4)\n buttColor[i][j+1] = changeColor(buttons[i][j+1], buttColor[i][j+1]);\n\n counter-=1;\n tv = (TextView)findViewById(R.id.counter);\n tv.setTextColor(Color.RED);\n tv.setText(\"steps: \" + String.valueOf(counter));\n\n checkGreen();\n }", "public void chooseColor() {\n Color c = JColorChooser.showDialog(_parent, \"Choose '\" + getLabelText() + \"'\", _color);\n if (c != null) {\n _color = c;\n notifyChangeListeners();\n _updateField(_color);\n } \n }", "Color get(int index);", "public Color generateColor() { //function to generate a random color from the array of colors passed in\n Random rand = new Random();\n int randomNum = rand.nextInt((colorChoices.length));\n return colorChoices[randomNum];\n }", "public void mouseClicked(int ex, int ey, int button) {\r\n\t}", "public int getColor(){\r\n\t\treturn color;\r\n\t}", "protected void changeColor(View view, int position, String key, Boolean twoColors){\n int color = AppCSTR.TRANS;\n Drawable background = view.getBackground();\n\n if(background instanceof ColorDrawable)\n color = ((ColorDrawable) background).getColor();\n\n if(color == AppCSTR.GREEN){\n if(twoColors)\n view.setBackgroundColor(AppCSTR.TRANS);\n else {\n view.setBackgroundColor(AppCSTR.RED);\n redIDs.add(getList().get(position).get(key));\n }\n greenIDs.remove(getList().get(position).get(key));\n }else if(color == AppCSTR.RED){\n view.setBackgroundColor(AppCSTR.TRANS);\n redIDs.remove(getList().get(position).get(key));\n }else{\n view.setBackgroundColor(AppCSTR.GREEN);\n greenIDs.add(getList().get(position).get(key));\n }\n }", "public void selectColour(View v) {\n\n Intent intent = new Intent(MainActivity.this, ColourSelectActivity.class);\n startActivityForResult(intent, ACTIVITY_COLOUR_SELECT_REQUEST_CODE);\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent cb_e) {\n\t\t\t\tinx1 = cb[1].getSelectedIndex();\n\t\t\t}" ]
[ "0.67412454", "0.66191953", "0.66101754", "0.65667915", "0.6545442", "0.6486208", "0.64426345", "0.64269435", "0.6375645", "0.63281906", "0.6311113", "0.6281207", "0.62713563", "0.625323", "0.6238092", "0.6225249", "0.6192586", "0.6185896", "0.6163559", "0.6160104", "0.6133021", "0.60932434", "0.6069627", "0.6069108", "0.60515577", "0.60507023", "0.60449874", "0.60411537", "0.5978963", "0.5964182", "0.5949512", "0.59481394", "0.59305507", "0.5913483", "0.5882056", "0.587075", "0.58660835", "0.5814566", "0.58126605", "0.57906204", "0.57779586", "0.5776995", "0.57536507", "0.5752494", "0.5751378", "0.5744218", "0.57346493", "0.5720826", "0.5708485", "0.57062995", "0.5701028", "0.5697099", "0.569239", "0.5688376", "0.56787574", "0.5678623", "0.56647414", "0.56618893", "0.56559163", "0.56526226", "0.5650799", "0.56483036", "0.56476206", "0.5647091", "0.5645185", "0.56357086", "0.5622429", "0.56137514", "0.56115353", "0.5596313", "0.5590054", "0.5587417", "0.55812925", "0.55787206", "0.5577251", "0.55741173", "0.5565311", "0.55546063", "0.55489045", "0.55462986", "0.55333495", "0.5531216", "0.5523315", "0.551869", "0.55056965", "0.55033433", "0.54960907", "0.5491635", "0.54879564", "0.54809254", "0.5480139", "0.54770356", "0.5472432", "0.5469925", "0.5468601", "0.54615545", "0.5458862", "0.5458243", "0.54500943", "0.54428726", "0.54403496" ]
0.0
-1
the user clicked on colors[which]
@Override public void onClick(DialogInterface dialog, int which) { input_prac_type.setText(renewal[which]); Currentitem = mParam1.get(which); Log.e("equipment select",Currentitem.name); input_prac_price.setText("RM"+String.valueOf(mParam1.get(which).price)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void colorClicked(View view) {\n //Selecting a colour\n if(view != currColor) {\n handwritingView.setErase(false); // Selecting a color switches to write mode\n ImageButton btnView = (ImageButton)view;\n String selColor = view.getTag().toString();\n handwritingView.changeColor(selColor);\n\n //Visually change selected color\n btnView.setAlpha((float) 0.50);\n currColor.setAlpha((float) 1.00);\n currColor = (ImageButton)view;\n }\n }", "public void mouseClicked(MouseEvent e){\n if(e.getSource() == cmUI){\n ColorMixerModel.ColorItem tempC = selectedColor(e.getPoint());\n if(e.getClickCount() == 1){\n if(!cmModel.isCreating()) {\n // if there is no color creating and no color selected\n // single click to create random explore-purposed color\n if (tempC == null && (cmModel.getSelectedItem()== null || cmModel.getSelectedItem().isEmpty())) {\n cmModel.addColor(e.getPoint(), null, true);\n }\n // select color\n // if tempC == null, it will deselect all the color\n cmModel.setSelectedItem(tempC);\n // when selecting a color, set the color picker\n if(tempC != null) {\n cpModel.setMainColor(tempC.getColor());\n cpUI.repaint();\n }\n\n }\n\n }\n else if(e.getClickCount() == 2){\n // double click to add the color to palette\n if(tempC!=null){\n pModel.addColor(tempC.getColor());\n repaint(pModel.getSize()-1);\n }\n }\n cmModel.stopCreating();\n cmUI.repaint();\n }\n \n else if(e.getSource() == pUI){\n int idx = pUI.getIdx(e.getPoint());\n if (idx < pModel.getSize()) {\n if (cmModel.getSelectedItem() == null) {\n pModel.select(idx);\n }\n else {\n cmModel.changeColor(pModel.getColor(idx));\n }\n }\n }\n\n\n }", "@Override\n\t\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\t\tswitch (which) {\n\t\t\t\t\t\t\tcase 0:cz1.setcolor(0);break;\n\t\t\t\t\t\t\tcase 1:cz1.setcolor(1);break;\n case 2:cz1.setcolor(2);break;\n case 3:cz1.setcolor(3);break;\n case 4:cz1.setcolor(4);break;\n case 5:cz1.setcolor(5);break;\n default:\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "Color userColorChoose();", "@Override\n public void onClick(DialogInterface dialog, int which, boolean isChecked) {\n checkedItems[which] = isChecked;\n // Get the current focused item\n //String currentItem = colorsList.get(which);\n }", "public void mouseClicked(MouseEvent e) {\n \t Color current = model.getColor();\r\n \t //this will be better as a separate function but later\r\n \t if (current==Color.red){ //if red\r\n \t\t model.setColor(Color.blue);\r\n \t }\r\n \t else if (current==Color.blue){\r\n \t\t model.setColor(Color.green);\r\n \t }\r\n \t else if (current==Color.green) {\r\n \t\t model.setColor(Color.white);\r\n \t }\r\n \t else{ //anything but red or blue or green\r\n \t\t model.setColor(Color.red);\r\n \t }\r\n \t view.resetView(model);\r\n \t view.updateSquare();\r\n }", "public void mouseClicked(MouseEvent e) {\n\t\tthis.setColor(colorHolder.getColor());\n\t}", "private void define_select_color(){\n\n TextView white_panel = (TextView) findViewById(R.id.palette_white);\n TextView black_panel = (TextView) findViewById(R.id.palette_black);\n TextView red_panel = (TextView) findViewById(R.id.palette_red);\n TextView blue_panel = (TextView) findViewById(R.id.palette_blue);\n\n white_panel.setOnClickListener(new View.OnClickListener(){\n @Override\n public void onClick(View v){\n selected_color=WHITE;\n canvasView.setPaintColor(getSelectedColor(selected_color));\n }\n });\n black_panel.setOnClickListener(new View.OnClickListener(){\n @Override\n public void onClick(View v){\n selected_color=BLACK;\n canvasView.setPaintColor(getSelectedColor(selected_color));\n }\n });\n red_panel.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n selected_color = RED;\n canvasView.setPaintColor(getSelectedColor(selected_color));\n }\n });\n blue_panel.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n selected_color = BLUE;\n canvasView.setPaintColor(getSelectedColor(selected_color));\n }\n });\n\n\n\n }", "@Override\n public void onColorSelected(int selectedColor) {\n }", "@Override\n public void onChooseColor(int position, int color) {\n int red = Color.red(color);\n int green = Color.green(color);\n int blue = Color.blue(color);\n Log.e(\"rgb\", \"\" + red + \" \" + green + \" \" + blue);\n }", "@Override\n public void onColorSelected(String color) {\n Toast.makeText(MainActivity.this, \"Selected Color HeX:\" + color, Toast.LENGTH_SHORT).show();\n }", "@Override\n public void mouseClicked(final MouseEvent e)\n {\n ColorChooserFrame.COLOR_CHOOSER_FRAME.chooseColor(this.color.getRGB(), this);\n }", "@Override\n\t\t\tpublic void actionPerformed(final ActionEvent evt) {\n\t\t\t\tif (evt.getSource() == jMenuItem9) {\n\t\t\t\t\tSystem.out.println(\"Selected: \"\n\t\t\t\t+ evt.getActionCommand());\n\t\t\t\t\t/*\n\t\t\t\t\t((Echiquier) panelChess\n\t\t\t\t\t.getComponents()[0])\n\t\t\t\t\t.setLightColor(Color.black);*/\n\t\t\t\t}\n\t\t\t}", "@Override\r\n public void actionPerformed(ActionEvent event) {\r\n if (event.getSource() == redInput ||\r\n event.getSource() == greenInput ||\r\n event.getSource() == blueInput) {\r\n int value;\r\n int red = currentColor.getRed();\r\n int green = currentColor.getGreen();\r\n int blue = currentColor.getBlue();\r\n try {\r\n value = Integer.parseInt((String) event.getActionCommand());\r\n } catch (Exception e) {\r\n value = -1;\r\n }\r\n if (event.getSource() == redInput) {\r\n if (value >= 0 && value < 256)\r\n red = value;\r\n else\r\n redInput.setText(String.valueOf(red));\r\n } else if (event.getSource() == greenInput) {\r\n if (value >= 0 && value < 256)\r\n green = value;\r\n else\r\n greenInput.setText(String.valueOf(green));\r\n } else if (event.getSource() == blueInput) {\r\n if (value >= 0 && value < 256)\r\n blue = value;\r\n else\r\n blueInput.setText(String.valueOf(blue));\r\n }\r\n currentColor = new Color(red, green, blue);\r\n newSwatch.setForeground(currentColor);\r\n colorCanvas.setColor(currentColor);\r\n } else if (event.getSource() == okButton) {\r\n // Send action event to all color listeners\r\n if (colorListeners != null) {\r\n ActionEvent new_event = new ActionEvent(this,\r\n ActionEvent.ACTION_PERFORMED,\r\n CHANGE_ACTION);\r\n colorListeners.actionPerformed(new_event);\r\n }\r\n setVisible(false);\r\n } else if (event.getSource() == cancelButton) {\r\n if (colorListeners != null) {\r\n ActionEvent new_event = new ActionEvent(this,\r\n ActionEvent.ACTION_PERFORMED,\r\n CANCEL_ACTION);\r\n colorListeners.actionPerformed(new_event);\r\n }\r\n currentColor = null;\r\n setVisible(false);\r\n }\r\n }", "public void chooseColor() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "public void getUserInput(int round, int c, int[] myColors){\n final int[] counter = new int[0];\n final int[] round1 = new int[0];\n final int[] myColors1 = myColors;\n round1[0]=round;\n counter[0]=c;\n ImageButton red = (ImageButton) v.findViewById(R.id.red);\n ImageButton yellow = (ImageButton) v.findViewById(R.id.yellow);\n ImageButton green = (ImageButton) v.findViewById(R.id.green);\n ImageButton blue = (ImageButton) v.findViewById(R.id.blue);\n if (c>round){\n runRound(round+1,myColors);\n }\n else {\n red.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n isCorrect(colorList[counter[0]],0,counter[0],round1[0], myColors1);\n }\n });\n yellow.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n isCorrect(colorList[counter[0]],1,counter[0],round1[0], myColors1);\n }\n });\n green.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n isCorrect(colorList[counter[0]],2,counter[0],round1[0], myColors1);\n }\n });\n blue.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n isCorrect(colorList[counter[0]],3,counter[0],round1[0], myColors1);\n }\n });\n }\n\n }", "public void actionPerformed(ActionEvent e)\n {\n//this is called when an action event occurs\n\n\n String cmd = e.getActionCommand();\n if (cmd.equals(\"Red\"))\n c.setBackground(Color.red);\n if (cmd.equals(\"Blue\"))\n c.setBackground(Color.blue);\n }", "Color getColor(ActionEvent event) {\n JComboBox box = (JComboBox) event.getSource();\n return getDisplayConventions().getColor(\n (String) box.getSelectedItem());\n }", "public String keyColor(int i){\r\n if(this.down.contains(this.draw.get(i)))\r\n return \"red\";\r\n return \"black\";\r\n }", "public void colorButtonClicked(String tag){\n color.set(tag);\n }", "public String linkColor() { return findSelected(link_colors); }", "public void mousePressed(MouseEvent e){\n if(e.getSource() == cmUI) {\n ColorMixerModel.ColorItem tmpC = selectedColor(e.getPoint());\n if(tmpC == null) {\n // if clicked on a empty space\n // create a new color\n // or draw a trace to delete color\n isTracing = true;\n mouseTrace.moveTo(e.getX(),e.getY());\n cmModel.addColor(e.getPoint(), cpModel.getMainColor(), false);\n }\n else{\n // sampling a certain of color\n tmpC.setSample(true, e.getPoint());\n }\n }\n \n //if mouse event is called from the color picker\n else if(e.getSource() == cpUI) {\n \t//if the press is in the handle set the booleans\n\t\t\tif(cpUI.getHandle().contains(e.getPoint())) {\n\t\t\t\tmouseClickedInCircle = true;\n\t\t\t\tmouseClickedInSwipePanel = false;\n\t\t\t}\n\t\t\t//if the press is anywhere else\n\t\t\telse {\n\t\t\t\t//if the press is inside one of the fix circles change the color directly\n\t\t\t\tfor(int i = 0; i < 8; i++) {\n\t\t\t\t\tif(cpUI.getFixCircle(i).contains(e.getPoint())) {\n\t\t\t\t\t\tcpModel.setMainColor(cpUI.getFixCircleColor(i));\n\t\t\t\t\t\tcpUI.repaint();\n\t\t\t\t\t\tmouseClickedInCircle = false;\n\t\t\t\t\t\tmouseClickedInSwipePanel = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tmouseClickedInCircle = false;\n\t\t\t\tmouseClickedInSwipePanel = true;\n\t\t\t}\n\t\t\tmouseClickedPoint = e.getPoint();\n\t\t\tmouseDraggedPoint = mouseClickedPoint;\n\t\t}\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tlp.drawColor = Color.BLUE;\n\t\t\t}", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tint newSelectedIndex = colors.indexOf(v.getTag());\n\t\t\t\t\n\t\t\t\tif(newSelectedIndex >= 0) {\n\t\t\t\t\tint lastSelectedIndex = selectedIndex;\n\t\t\t\t\tselectedIndex = newSelectedIndex;\n\t\t\t\t\t\n\t\t\t\t\tupdateColorItemView(lastSelectedIndex);\n\t\t\t\t\tupdateColorItemView(selectedIndex);\n\t\t\t\t\t\n\t\t\t\t\tupdateSeekBars();\n\t\t\t\t}\n\t\t\t}", "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\r\n\t\tSystem.out.println(e.getX()/100 + \", \" + e.getY()/100);\r\n\t\tif (board[e.getX()/100][e.getY()/100].equals(Color.blue)) {\r\n\t\t\tif (turn%2 == 0) {\r\n\t\t\t\tboard[e.getX()/100][e.getY()/100] = Color.yellow;\r\n\t\t\t} else {\r\n\t\t\t\tboard[e.getX()/100][e.getY()/100] = Color.red;\r\n\t\t\t}\r\n\t\t\tturn++;\r\n\t\t\t\r\n\t\t\t//win condition\r\n\t\t\tif(board[0][0] == Color.yellow && board[0][1] == Color.yellow && board[0][2] == Color.yellow && board[0][3] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[1][0] == Color.yellow && board[1][1] == Color.yellow && board[1][2] == Color.yellow && board[1][3] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[2][0] == Color.yellow && board[2][1] == Color.yellow && board[2][2] == Color.yellow && board[2][3] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][0] == Color.yellow && board[1][0] == Color.yellow && board[2][0] == Color.yellow && board[3][0] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][1] == Color.yellow && board[1][1] == Color.yellow && board[2][1] == Color.yellow && board[3][1] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][2] == Color.yellow && board[1][2] == Color.yellow && board[2][2] == Color.yellow && board[3][2] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][0] == Color.yellow && board[1][1] == Color.yellow && board[2][2] == Color.yellow && board[3][3] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[3][0] == Color.yellow && board[1][2] == Color.yellow && board[2][1] == Color.yellow && board[0][3] == Color.yellow){\r\n\t\t\t\tboard[0][0] = Color.yellow;\r\n\t\t\t\tboard[0][1] = Color.yellow;\r\n\t\t\t\tboard[0][2] = Color.yellow;\r\n\t\t\t\tboard[0][3] = Color.yellow;\r\n\t\t\t\tboard[1][0] = Color.yellow;\r\n\t\t\t\tboard[1][1] = Color.yellow;\r\n\t\t\t\tboard[1][2] = Color.yellow;\r\n\t\t\t\tboard[1][3] = Color.yellow;\r\n\t\t\t\tboard[2][0] = Color.yellow;\r\n\t\t\t\tboard[2][1] = Color.yellow;\r\n\t\t\t\tboard[2][2] = Color.yellow;\r\n\t\t\t\tboard[2][3] = Color.yellow;\r\n\t\t\t\tboard[3][0] = Color.yellow;\r\n\t\t\t\tboard[3][1] = Color.yellow;\r\n\t\t\t\tboard[3][2] = Color.yellow;\r\n\t\t\t\tboard[3][3] = Color.yellow;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tif(board[0][0] == Color.red && board[0][1] == Color.red && board[0][2] == Color.red && board[0][3] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[1][0] == Color.red && board[1][1] == Color.red && board[1][2] == Color.red && board[1][3] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[2][0] == Color.red && board[2][1] == Color.red && board[2][2] == Color.red && board[2][3] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][0] == Color.red && board[1][0] == Color.red && board[2][0] == Color.red && board[3][0] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][1] == Color.red && board[1][1] == Color.red && board[2][1] == Color.red && board[3][1] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][2] == Color.red && board[1][2] == Color.red && board[2][2] == Color.red && board[3][2] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[0][0] == Color.red && board[1][1] == Color.red && board[2][2] == Color.red && board[3][3] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(board[3][0] == Color.red && board[1][2] == Color.red && board[2][1] == Color.red && board[0][3] == Color.red){\r\n\t\t\t\tboard[0][0] = Color.red;\r\n\t\t\t\tboard[0][1] = Color.red;\r\n\t\t\t\tboard[0][2] = Color.red;\r\n\t\t\t\tboard[0][3] = Color.red;\r\n\t\t\t\tboard[1][0] = Color.red;\r\n\t\t\t\tboard[1][1] = Color.red;\r\n\t\t\t\tboard[1][2] = Color.red;\r\n\t\t\t\tboard[1][3] = Color.red;\r\n\t\t\t\tboard[2][0] = Color.red;\r\n\t\t\t\tboard[2][1] = Color.red;\r\n\t\t\t\tboard[2][2] = Color.red;\r\n\t\t\t\tboard[2][3] = Color.red;\r\n\t\t\t\tboard[3][0] = Color.red;\r\n\t\t\t\tboard[3][1] = Color.red;\r\n\t\t\t\tboard[3][2] = Color.red;\r\n\t\t\t\tboard[3][3] = Color.red;\r\n\t\t\t}\r\n\t\t\trepaint();\r\n\t\t}\r\n\t}", "public void onClickGreen(View view){\n int col;\n col = 3;\n byte[] colorBytes = {(byte)Color.red(col),\n (byte)Color.green(col),\n (byte)Color.blue(col),\n 0x0A};\n //remove spurious line endings so the serial device doesn't get confused\n for (int i=0; i<colorBytes.length-1; i++){\n if (colorBytes[i] == 0x0A){\n colorBytes[i] = 0x0B;\n }\n }\n //send the color to the serial device\n if (sPort != null){\n try{\n sPort.write(colorBytes, 500);\n }\n catch (IOException e){\n Log.e(TAG, \"couldn't write color bytes to serial device\");\n }\n }\n }", "@Override\r\npublic void mouseClicked(MouseEvent e) {\n\t\r\n\tb1.setBackground(Color.pink);\r\n\t\r\n}", "public void handle(ActionEvent event)\n {\n selectedColor = Paint.valueOf(colorCombo.getSelectionModel().getSelectedItem());\n event.consume();\n //----\n }", "public int cellClicked(Board source, int cellX, int cellY);", "public void actionPerformed(ActionEvent e)\n{\n String str = e.getActionCommand();\n if(str.equals(\"Red\"))\n {\n rc++;\n }\n else if(str.equals(\"Green\"))\n {\n gc++;\n }\n else if(str.equals(\"Blue\"))\n {\n bc++;\n }\n repaint();\n}", "public void RGB_Change(View view) {\r\n int [] color= {0,0,0};\r\n\r\n adb= new AlertDialog.Builder(this);\r\n adb.setCancelable(false);\r\n adb.setTitle(\"Core Colors Change\");\r\n adb.setItems(colors, new DialogInterface.OnClickListener() {\r\n @Override\r\n public void onClick(DialogInterface dialog, int which) {\r\n color[which]=255;\r\n lL.setBackgroundColor(Color.rgb(color[0],color[1],color[2]));\r\n }\r\n });\r\n adb.setPositiveButton(\"Exit\", new DialogInterface.OnClickListener() {\r\n @Override\r\n public void onClick(DialogInterface dialog, int which) {\r\n\r\n }\r\n });\r\n AlertDialog ad=adb.create();\r\n ad.show();\r\n }", "@Override\r\n\t\tpublic void actionPerformed(ActionEvent actionevent)\r\n\t\t{\n\t\t\tColor c = (Color) getValue( \"Color\" );\r\n\t\t\tsetBackground( c );\r\n\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tlp.drawColor = Color.RED;\n\t\t\t}", "public void onClickRed(View view){\n int col;\n col = 1;\n byte[] colorBytes = {(byte)Color.red(col),\n (byte)Color.green(col),\n (byte)Color.blue(col),\n 0x0A};\n //remove spurious line endings so the serial device doesn't get confused\n for (int i=0; i<colorBytes.length-1; i++){\n if (colorBytes[i] == 0x0A){\n colorBytes[i] = 0x0B;\n }\n }\n //send the color to the serial device\n if (sPort != null){\n try{\n sPort.write(colorBytes, 500);\n }\n catch (IOException e){\n Log.e(TAG, \"couldn't write color bytes to serial device\");\n }\n }\n }", "@Override\r\n public void mousePressed(MouseEvent e) {\n setBackground(Color.BLUE);\r\n \r\n \r\n }", "public void onClickBlue(View view){\n int col;\n col = 2;\n byte[] colorBytes = {(byte)Color.red(col),\n (byte)Color.green(col),\n (byte)Color.blue(col),\n 0x0A};\n //remove spurious line endings so the serial device doesn't get confused\n for (int i=0; i<colorBytes.length-1; i++){\n if (colorBytes[i] == 0x0A){\n colorBytes[i] = 0x0B;\n }\n }\n //send the color to the serial device\n if (sPort != null){\n try{\n sPort.write(colorBytes, 500);\n }\n catch (IOException e){\n Log.e(TAG, \"couldn't write color bytes to serial device\");\n }\n }\n\n }", "public void mouseClicked(MouseEvent e) {\r\n if (e.getButton() == MouseEvent.BUTTON3) {\r\n rectangle = null;\r\n uncolorNodes(selectedIds);\r\n } else if (e.getButton() == MouseEvent.BUTTON1) {\r\n rectangle = new Rectangle(e.getPoint(), new Dimension(1, 1));\r\n colorSelectedNodes();\r\n }\r\n }", "public Color getChosenColor(int index){\n\t\treturn this.colorSet[index];\n\t}", "@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif(e.getActionCommand().equals(\"黑色\")){\r\n\t\t\tSystem.out.println(\"猫猫也知道你点击的是黑色按钮\");\r\n\t\t\t\r\n\t\t}else if(e.getActionCommand().equals(\"红色\")){\r\n\t\t\tSystem.out.println(\"猫猫也知道你点击的是红色按钮\");\r\n\t\t\t\r\n\t\t}else{\r\n\t\t\tSystem.out.println(\"不知道\");\r\n\t\t}\r\n\t}", "void colorOperation() {\r\n String selStr; // variable to store the selected string\r\n\r\n repaint(); // repaint\r\n selStr = (String)cb2.getSelectedItem();\r\n // store the string of the selected item\r\n if (selStr == strColor[0]) { // if \"Black\" selected\r\n System.out.println(\"Black of menu Color is selected.\");\r\n System.out.println(\"calling method black().\");\r\n ge.black(gra); // call method black() of class PaintTool\r\n System.out.println(\"method black() executed.\");\r\n } else if (selStr == strColor[1]) { // if \"Red\" selected\r\n System.out.println(\"Red of menu Color is selected.\");\r\n System.out.println(\"calling method red().\");\r\n ge.red(gra); // call method red() of class PaintToll\r\n System.out.println(\"method red() executed.\");\r\n } else if (selStr == strColor[2]) { // if \"Green\" selected\r\n System.out.println(\"Green of menu Color is selected.\");\r\n System.out.println(\"calling method green().\");\r\n ge.green(gra); // call method green() of class PaintTool\r\n System.out.println(\"method green() executed.\");\r\n } else if (selStr == strColor[3]) { // if \"Blue\" selected\r\n System.out.println(\"Blue of menu Color is selected.\");\r\n System.out.println(\"calling method blue().\");\r\n ge.blue(gra); // call method blue() of class PaintToll\r\n System.out.println(\"method blue() executed.\");\r\n }\r\n }", "public void getColor() {\n\t\tPoint point = MouseInfo.getPointerInfo().getLocation();\n\t\trobot.mouseMove(point.x, point.y);\n\t\tColor color = robot.getPixelColor(point.x, point.y);\n//\t\tSystem.out.println(color);\n\t}", "@Override\n\t\t\tpublic void actionPerformed(final ActionEvent evt) {\n\t\t\t\tif (evt.getSource() == jMenuItem8) {\n\t\t\t\t\tSystem.out.println(\"Selected: \"\n\t\t\t\t+ evt.getActionCommand());\n\t\t\t\t\t/*\n\t\t\t\t\t((Echiquier) panelChess\n\t\t\t\t\t.getComponents()[0])\n\t\t\t\t\t.setLightColor(Color.lightGray);\n\t\t\t\t\t((Echiquier) panelChess\n\t\t\t\t\t.getComponents()[0])\n\t\t\t\t\t.setDarkColor(Color.darkGray);\n\t\t\t\t\t((Echiquier) panelChess\n\t\t\t\t\t\t.getComponents()[0]).repaint();\n\t\t\t\t\t((Echiquier) panelChess\n\t\t\t\t\t.getComponents()[0]).revalidate();*/\n\t\t\t\t}\n\t\t\t}", "public void widgetSelected(SelectionEvent arg0) {\n\t\t ColorDialog dlg = new ColorDialog(shell);\r\n\r\n\t\t // Set the selected color in the dialog from\r\n\t\t // user's selected color\r\n\t\t Color shpColor = viewer.getShpReader().getForeColor();\r\n\t\t dlg.setRGB(shpColor.getRGB());\r\n\r\n\t\t // Change the title bar text\r\n\t\t dlg.setText(Messages.getMessage(\"SHPLayersScreen_ColorDialog\"));\r\n\r\n\t\t // Open the dialog and retrieve the selected color\r\n\t\t RGB rgb = dlg.open();\r\n\t\t if (rgb != null && !rgb.equals(shpColor.getRGB())) {\r\n\t\t // Dispose the old color, create the\r\n\t\t // new one, and set into the label\r\n\t\t \tnewColor = new Color(shell.getDisplay(), rgb);\r\n\t\t\t\t\tlabelColor.setBackground(newColor);\r\n\t\t }\r\n\t\t\t}", "@Override\r\npublic void mousePressed(MouseEvent arg0) {\n\t\r\n\tb1.setBackground(Color.pink);\r\n\t\r\n}", "@Override\n public void changeColor(ColorEvent ce) {\n \n txtRed.setText(\"\"+ ce.getColor().getRed());\n txtGreen.setText(\"\"+ ce.getColor().getGreen());\n txtBlue.setText(\"\"+ ce.getColor().getBlue());\n \n \n }", "@Override\n public void onClick(View v) {\n\n cp.show();\n /* On Click listener for the dialog, when the user select the color */\n Button okColor = (Button) cp.findViewById(R.id.okColorButton);\n okColor.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n\n /* You can get single channel (value 0-255) */\n int red = cp.getRed();\n int blue = cp.getBlue();\n int green = cp.getGreen();\n /*\n if (color < 0)\n color = -color;*/\n lights.lightscolors.get(index).rgbhex = \"#\" + String.format(\"%02x\", red) + String.format(\"%02x\", green) + String.format(\"%02x\", blue);\n lights.lightscolors.get(index).color = \"rgb(\" + red + \",\" + green + \",\" + blue + \")\";\n Log.v(\"ColorPicker ambiance\", lights.lightscolors.get(index).color);\n int rgb = Color.parseColor(lights.lightscolors.get(index).rgbhex);\n if (!lights.lightscolors.get(index).on)\n rgb = 0;\n GradientDrawable gd = (GradientDrawable) circles.get(index).getDrawable();\n gd.setColor(rgb);\n gd.setStroke(1, Color.WHITE);\n cp.dismiss();\n }\n });\n }", "void selectColorFrom(Set<GameColor> colors, String title, Consumer<GameColor> callback);", "void setColorSelection() {\r\n for (int i = 0; i < chooser.length; i++) {\r\n\r\n if (mainclass.getGraphTyp()\r\n == AbstractGraph.GRAPHTYP_RESIDUAL) {\r\n\r\n switch (i) {\r\n case COLOR_EDGE_ONE:\r\n chooser[i].setColorSelected(colors[COLOR_EDGE_FLOW]);\r\n break;\r\n case COLOR_EDGE_TWO:\r\n chooser[i].setColorSelected(colors[COLOR_EDGE_CAP]);\r\n break;\r\n case COLOR_EDGE_TOP:\r\n chooser[i].setColorSelected(colors[COLOR_EDGE_RTOP]);\r\n break;\r\n default:\r\n chooser[i].setColorSelected(colors[i]);\r\n }\r\n } else {\r\n chooser[i].setColorSelected(colors[i]);\r\n }\r\n }\r\n }", "public void mouseClicked(MouseEvent e) {\n\t\t\t\tpunto1.setFilled(true);\n\t\t\t\tpunto1.setColor(Color.red);\n\t\t\t\t\tif(numClicks == 0) {\n\t\t\t\t\t\tadd(punto1, e.getX(),e.getY());\n\t\t\t\t\t\tnumClicks++;\n\t\t\t\t\t\taprox.setStartPoint(e.getX(), e.getY());\n\t\t\t\t\t\tadd(engorgio1, e.getX(),e.getY());\n\n\t\t\t\t\t}\n\t\t//final\n\t\t\t\t\telse if(numClicks == 1) {\n\t\t\t\t\t\tpunto2.setFilled(true);\n\t\t\t\t\t\tpunto2.setColor(Color.blue);\n\t\t\t\t\t\tadd(punto2, e.getX(),e.getY());\n\t\t\t\t\t\tnumClicks++;\n\t\t\t\t\t\taprox.setEndPoint(e.getX(), e.getY());\n\t\t\t\t\t\tadd(aprox);\n\t\t\t\t\t\tadd(engorgio2, e.getX(),e.getY());\n\t\t\t\t\t}\n\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\tswitch ((int)id) {\n\t\t\t\tcase 0:{\n\t\t\t\t\tCharSequence[] a={\"白\",\"红\",\"黑\",\"蓝\",\"黄\",\"绿\"};\n\t\t\t\t\tnew AlertDialog.Builder(Setting.this)\n\t\t\t\t\t.setTitle(\"设置颜色\")\n\t\t\t\t\t.setItems(a, new DialogInterface.OnClickListener() {\n\t\t\t\t\t\t\n\t\t\t\t\t\t@Override\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\tswitch (which) {\n\t\t\t\t\t\t\tcase 0:cz1.setcolor(0);break;\n\t\t\t\t\t\t\tcase 1:cz1.setcolor(1);break;\n case 2:cz1.setcolor(2);break;\n case 3:cz1.setcolor(3);break;\n case 4:cz1.setcolor(4);break;\n case 5:cz1.setcolor(5);break;\n default:\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\t.setNegativeButton(\"取消\",new DialogInterface.OnClickListener() {\n\t\t\t\t\t\t\n\t\t\t\t\t\t@Override\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\t}\n\t\t\t\t\t}).show();\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n case 1:\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}", "@Override\n public void mousePressed(MouseEvent arg0) {\n yourBoardPanel[xx][yy].setBackground(new Color(175, 175, 0));\n }", "private void onColorClick() {\n Integer colorFrom = getResources().getColor(R.color.animated_color_from);\r\n Integer colorTo = getResources().getColor(R.color.animated_color_to);\r\n ValueAnimator colorAnimator = ValueAnimator.ofObject(new ArgbEvaluator(), colorFrom, colorTo);\r\n colorAnimator.setDuration(animationDuration);\r\n colorAnimator.setRepeatCount(1);\r\n colorAnimator.setRepeatMode(ValueAnimator.REVERSE);\r\n colorAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {\r\n\r\n @Override\r\n public void onAnimationUpdate(ValueAnimator animator) {\r\n animatedArea.setBackgroundColor((Integer)animator.getAnimatedValue());\r\n }\r\n\r\n });\r\n colorAnimator.start();\r\n }", "@Override\n\tpublic void mousePressed(MouseEvent arg0) {\n\t\tint x = arg0.getX() / 20;\n\t\tint y = arg0.getY() / 20;\n\t\tGraphics g = this.getGraphics();\n\t\tg.setColor(Color.black);\n\t\tg.fillRect(x * 20, y * 20, 20, 20);\n\t\tg.setColor(Color.gray);\n\t\tg.drawRect(x * 20, y * 20, 20, 20);\n\t\t// System.out.println(\"x: \" + x + \" y: \" + y);\n\t\tthis.selected.add(y * 64 + x);\n\n\t}", "@Override\r\n\t\tpublic void mousePressed(MouseEvent e) {\n\t\t\tComponent com = (Component)e.getSource(); //마우스가 올라간 컴포넌트 알아냄.\r\n\t\t\tcom.setBackground(Color.GRAY);\r\n\t\t}", "public void controlEvent(ControlEvent c) {\n if(c.isFrom(cp)) {\n int r = PApplet.parseInt(c.getArrayValue(0));\n int g = PApplet.parseInt(c.getArrayValue(1));\n int b = PApplet.parseInt(c.getArrayValue(2));\n int a = PApplet.parseInt(c.getArrayValue(3));\n col = color(r,g,b,a);\n println(col);\n }\n}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent cb_e) {\n\t\t\t\tinx3 = cb[3].getSelectedIndex();\n\t\t\t}", "@Override\n public void mouseClicked(MouseEvent e) {\n System.out.println(\"MouseClicked\");\n //kwadrat.clicked();\n trojkat.clicked();\n //kolo.clicked();\n //square.clicked();\n }", "@Override\r\n public void actionPerformed(ActionEvent e) {\n\t\t\r\n switch (Integer.parseInt(e.getActionCommand()))\r\n\t\t{\r\n\t\t\tcase 11:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 12:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 13:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 21:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 22:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 23:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 31:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 41:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\t\t\r\n\t\t\tcase 42:\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\t\t\t\r\n\t\t\tcase 51:\r\n\t\t\t{\r\n\t\t\t\ttextArea.setBackground(Color.WHITE);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 52:\r\n\t\t\t{\r\n\t\t\t\ttextArea.setBackground(Color.YELLOW);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 53:\r\n\t\t\t{\r\n\t\t\t\ttextArea.setBackground(Color.GREEN);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n \r\n }", "public void mouseClicked(MouseEvent e) \r\n\t{\r\n\t\t\tif (e.getButton() == 1) {\r\n\t\t\t\tif(turn == -2){\r\n\t\t\t\t\tturn++;\r\n\t\t\t\t}\r\n\t\t\t\telse if(gameOver){\r\n\t\t\t\t\tturn=-2;\r\n\t\t\t\t\tgameOver = false;\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\tRectangle2D rect = new Rectangle2D.Double((4*60),((guessArray.length-1)*60)+22,60,60);\r\n\t\t\t\tif (rect.contains(e.getX(), e.getY())) {\r\n\r\n\t\t\t\t\tturn++;\r\n\r\n\t\t\t\t\tguessArray[turn] = new code(guessArray[guessArray.length-1]);\r\n\r\n\t\t\t\t\tcode response = new code();\r\n\r\n\t\t\t\t\tint redCount = guessArray[turn].sameColorSamePosition(cpuCode);\t\r\n\t\t\t\t\tint whiteCount = guessArray[turn].sameColor(cpuCode) - guessArray[turn].sameColorSamePosition(cpuCode);\r\n\r\n\t\t\t\t\tfor(int i = 0; i < redCount; i++) {\r\n\t\t\t\t\t\tresponse.append('r');\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tfor(int i = 0; i < whiteCount; i++) {\r\n\t\t\t\t\t\tresponse.append('w');\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tresponseArray[turn] = new code(response);\r\n\r\n\r\n\t\t\t\t\tchar[] winCode = {'r','r','r','r'};\r\n\t\t\t\t\tif(responseArray[turn].sameColorSamePosition(new code(winCode)) == 4) {\r\n\t\t\t\t\t\twin = true;\r\n\t\t\t\t\t\tgameOver = true;\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(turn >= guessArray.length - 2) {\r\n\t\t\t\t\t\twin = false;\r\n\t\t\t\t\t\tgameOver = true;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t\telse if (returnGuessEllipse((guessArray.length-1),0).contains(e.getX(), e.getY()) ) {\r\n\t\t\t\t\tchar currentColor = guessArray[guessArray.length-1].getColorAtIndex(0);\r\n\t\t\t\t\tchar newColor = returnNextColor(currentColor);\r\n\t\t\t\t\tguessArray[guessArray.length-1].setColorAtIndex(0,newColor);\r\n\t\t\t\t}\t\r\n\t\t\t\telse if (returnGuessEllipse((guessArray.length-1),1).contains(e.getX(), e.getY()) ) {\r\n\t\t\t\t\tchar currentColor = guessArray[guessArray.length-1].getColorAtIndex(1);\r\n\t\t\t\t\tchar newColor = returnNextColor(currentColor);\r\n\t\t\t\t\tguessArray[guessArray.length-1].setColorAtIndex(1,newColor);\r\n\t\t\t\t}\t\r\n\t\t\t\telse if (returnGuessEllipse((guessArray.length-1),2).contains(e.getX(), e.getY()) ) {\r\n\t\t\t\t\tchar currentColor = guessArray[guessArray.length-1].getColorAtIndex(2);\r\n\t\t\t\t\tchar newColor = returnNextColor(currentColor);\r\n\t\t\t\t\tguessArray[guessArray.length-1].setColorAtIndex(2,newColor);\r\n\t\t\t\t}\t\r\n\t\t\t\telse if (returnGuessEllipse((guessArray.length-1),3).contains(e.getX(), e.getY()) ) {\r\n\t\t\t\t\tchar currentColor = guessArray[guessArray.length-1].getColorAtIndex(3);\r\n\t\t\t\t\tchar newColor = returnNextColor(currentColor);\r\n\t\t\t\t\tguessArray[guessArray.length-1].setColorAtIndex(3,newColor);\r\n\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\trepaint();\t\r\n\t\t\t\r\n\t\t\t}\r\n\r\n\t}", "public void chooseCellColor(){\n currentCellColor = cellColorPicker.getValue();\n draw();\n }", "@Override\n public void onClick(View v) {\n int red = cp.getRed();\n int blue = cp.getBlue();\n int green = cp.getGreen();\n /*\n if (color < 0)\n color = -color;*/\n lights.lightscolors.get(index).rgbhex = \"#\" + String.format(\"%02x\", red) + String.format(\"%02x\", green) + String.format(\"%02x\", blue);\n lights.lightscolors.get(index).color = \"rgb(\" + red + \",\" + green + \",\" + blue + \")\";\n Log.v(\"ColorPicker ambiance\", lights.lightscolors.get(index).color);\n int rgb = Color.parseColor(lights.lightscolors.get(index).rgbhex);\n if (!lights.lightscolors.get(index).on)\n rgb = 0;\n GradientDrawable gd = (GradientDrawable) circles.get(index).getDrawable();\n gd.setColor(rgb);\n gd.setStroke(1, Color.WHITE);\n cp.dismiss();\n }", "@Override\n public void mousePressed(MouseEvent e) {\n idx = getIdx(e);\n }", "public void mousePressed() {\n\t\tint loc = mouseX + mouseY * width;\n\t\ttrackColor = pixels[loc];\n\t\tflock.killAll();\n\n\t\t//settingsW.settingsWindow.redraw();\n\t\t\n\t\tprintln(\"trackColor=\" + (red(trackColor)) + \",\" + (green(trackColor))\n\t\t\t\t+ \",\" + (blue(trackColor)));\n\t}", "public void mousePressed(MouseEvent me) {\n\t\t\tfigure.setBackgroundColor(ColorConstants.yellow);\n\t\t}", "colorChoice(Vec3 color) {\n this.color = color;\n }", "public Color getSelectedColor() {\r\n return mColor;\r\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent cb_e) {\n\t\t\t\tinx5 = cb[5].getSelectedIndex();\n\t\t\t}", "public abstract void clickHelp2(FloodItWorld w, Color chosenColor);", "@Override\n \t public void actionPerformed(ActionEvent e) \n \t {\n \t\t Color newColour = JColorChooser.showDialog(null, \"Choose a colour!\", Color.black);\n \t\t if(newColour == null)\n \t\t\t return;\n \t\t else\n \t\t\t client.setColor(newColour);\n \t }", "public static interface OnColorSelectedListener {\n void onColorSelected(Color color);\n }", "public String nodeColor() { return findSelected(node_colors); }", "public void mouseClicked(int mouseX, int mouseY, int mouse) {}", "@Override\n\tpublic void itemStateChanged(ItemEvent ie) {\n\t\tif (ie.getSource() == liColor) {\n\t\t\tString color = liColor.getSelectedItem();\n\t\t\tSystem.out.println(color);\n\t\t\tif (color == \"Red\") {\n\t\t\t\tpLeft.setBackground(Color.RED);\n\t\t\t\tsetBackground(Color.RED);\n\t\t\t\tpButton.setBackground(Color.RED);\n\t\t\t}\n\t\t\telse if (color == \"Green\") {\n\t\t\t\tpLeft.setBackground(Color.GREEN);\n\t\t\t\tsetBackground(Color.GREEN);\n\t\t\t\tpButton.setBackground(Color.GREEN);\n\t\t\t}\n\t\t\telse if (color == \"Gray\") {\n\t\t\t\tpLeft.setBackground(Color.gray);\n\t\t\t\tsetBackground(Color.gray);\n\t\t\t\tpButton.setBackground(Color.gray);\n\t\t\t}\n\t\t\telse if (color == \"Black\") {\n\t\t\t\tpLeft.setBackground(Color.black);\n\t\t\t\tsetBackground(Color.black);\n\t\t\t\tpButton.setBackground(Color.black);\n\t\t\t}\n\t\t\t\n\t\t}\n\t}", "private int whichButtonClicked( ActionEvent event ) {\n\tfor ( int i = 0; i < NBUTTONS; i++ ) {\n\t if ( event.getSource( ) == button[i] )\n\t\treturn i;\n\t}\n\treturn -1;\n }", "@Override\n public void onColorChanged(int selectedColor) {\n Log.d(\"ColorPicker\", \"onColorChanged: 0x\" + Integer.toHexString(selectedColor));\n }", "public void actionPerformed( ActionEvent e )\n {\n if (e.getSource() == theButton )\n {\n changeColor();\n }\n }", "public void actionPerformed(ActionEvent event) {\r\n\t\t\t\tstatusValue.setText(\"Odbieram\");\r\n\t\t\t\tcolorChangeListener.set_receive(!colorChangeListener\r\n\t\t\t\t\t\t.is_receive());\r\n\t\t\t\ttry {\r\n\t\t\t\t\t// obiekt realizująca zmianę kolorów w wybranych elementach\r\n\t\t\t\t\t// GUI\r\n\t\t\t\t\t\r\n\t\t\t\t\tList<ColorChangeExecutor> executors = new ArrayList<ColorChangeExecutor>();\r\n\t\t\t\t\texecutors.add(ColorChangeExecutorFactory.createCanvasColorChangeExecutor(canvas));\r\n\t\t\t\t\tList<JSlider> sliders = new ArrayList<JSlider>();\r\n\t\t\t\t\tsliders.add(sliderR);\r\n\t\t\t\t\tsliders.add(sliderG);\r\n\t\t\t\t\tsliders.add(sliderB);\r\n\t\t\t\t\texecutors.add(ColorChangeExecutorFactory.createSlidersColorChangeExecutor(sliders));\r\n\t\t\t\t\t\r\n\t\t\t\t\t// metoda uruchamia: @1 watek realizujacy nasluchiwanie na\r\n\t\t\t\t\t// zmiane kolorow @2 watek reagujacy na odbior zmiany koloru\r\n\t\t\t\t\tengine.receiveColor(executors);\r\n\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\tSystem.out.println(this.getClass() + \" \" + e.getClass()\r\n\t\t\t\t\t\t\t+ \" \" + e.getMessage());\r\n\r\n\t\t\t\t} catch (ClassNotFoundException e) {\r\n\t\t\t\t\tSystem.out.println(this.getClass() + \" \" + e.getClass()\r\n\t\t\t\t\t\t\t+ \" \" + e.getMessage());\r\n\t\t\t\t}\r\n\r\n\t\t\t}", "@Override\n public Color getColor() {\n\n if(clicked)\n {\n return Color.BLUE;\n }\n\n if(energy < 0.1*maxEnergy)\n {\n return Color.LINEN;\n }\n else if (energy < 0.2*maxEnergy)\n {\n return Color.MISTYROSE;\n }\n else if(energy < 0.3*maxEnergy)\n {\n return Color.LIGHTPINK;\n }\n else if(energy < 0.4*maxEnergy)\n {\n return Color.PINK;\n }\n else if (energy < 0.5*maxEnergy)\n {\n return Color.LIGHTCORAL;\n }\n else if (energy < 0.6*maxEnergy)\n {\n return Color.RED;\n }\n else if (energy < 0.7*maxEnergy)\n {\n return Color.FIREBRICK;\n }\n else if (energy < 0.8*maxEnergy)\n {\n return Color.DARKRED;\n }\n else if (energy < 0.9*maxEnergy)\n {\n return Color.MAROON;\n }\n return Color.BLACK;\n }", "public void mousePressed(MouseEvent e){\r\n\t //reset the label\r\n\t if(isBlack) label.setText(\"\t\tWhite's Turn\");\r\n\t else label.setText(\"\t\tBlack's Turn\");\r\n\t \r\n //Do nothing when game is over\r\n if(gameOver) return;\r\n \r\n String colorName=isBlack?\"Black\":\"White\";\r\n\r\n //Convert coordinate to index \r\n xIndex=(e.getX()-MARGIN+GRID_SPAN/2)/GRID_SPAN;\r\n yIndex=(e.getY()-MARGIN+GRID_SPAN/2)/GRID_SPAN;\r\n\r\n //Do nothing when outside the board\r\n if(xIndex<0||xIndex>ROWS||yIndex<0||yIndex>COLS)\r\n return;\r\n\r\n //Do nothing when current position already occupied\r\n if(findChess(xIndex,yIndex))return;\r\n\r\n //if valid, Draw a new chess at current position and add index to the chessList \r\n Point ch=new Point(xIndex,yIndex,isBlack?Color.black:Color.white);\r\n chessList[chessCount++]=ch;\r\n repaint();//run paintComponent\r\n\r\n\r\n //if someone wins, give a message\r\n if(isWin()){\r\n String msg=String.format(\"Congratulations��%s won��\", colorName); \r\n JOptionPane.showMessageDialog(this, msg);\r\n gameOver=true;\r\n }\r\n isBlack=!isBlack;\r\n }", "private ColorMixerModel.ColorItem selectedColor(Point p){\n for(ColorMixerModel.ColorItem c: cmModel.colorSet){\n if(p.distance(c.getPos()) < c.getR()){\n return c;\n }\n }\n return null;\n }", "@Override\r\n public void processMouseEvent(MouseEvent event) {\r\n if (event.getID() == MouseEvent.MOUSE_PRESSED) {\r\n // Subtract off the offsets to make checking easier\r\n int mx = event.getX() - offsetX - selectDiameter / 2 - 1;\r\n int my = event.getY() - offsetY - selectDiameter / 2 - 1;\r\n\r\n // Check if outside color selection area\r\n if (mx < 0 || my < 0 || my > diameter)\r\n return;\r\n if (mx > diameter + selectDiameter / 2 + spacing + valueBarWidth)\r\n return;\r\n\r\n boolean new_color = false;\r\n if (mx < diameter) {\r\n // In color wheel, set the hue and saturation\r\n if (getColorAt(currentHSBColor, mx, my, false)) {\r\n colorX = mx;\r\n colorY = my;\r\n redrawValueBar = true;\r\n new_color = true;\r\n }\r\n } else if (mx > diameter + selectDiameter / 2 + spacing && my < diameter - 2) {\r\n // In value bar, set the brightness\r\n currentHSBColor[2] = (float) (diameter - 2 - my) / (diameter - 2);\r\n new_color = true;\r\n }\r\n if (new_color) {\r\n Color color = Color.getHSBColor(currentHSBColor[0],\r\n currentHSBColor[1],\r\n currentHSBColor[2]);\r\n // Call function in parent to update the color\r\n ColorPicker.this.changeColor(color);\r\n repaint();\r\n }\r\n } else\r\n super.processMouseEvent(event);\r\n }", "public Color getSelectedColor() {\n return this.selectedColor;\n }", "public void mousePressed(MouseEvent e) {\n\t\t\t\tswitch(num){\n\t\t\t\tcase 1:\n\t\t\t\t\t\n\t\t\t\t\tconfirm.setIcon(new ImageIcon(\"src/image/userUi/confirmR.png\") );\n\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tcancel.setIcon(new ImageIcon(\"src/image/userUi/cancelR.png\") );\n\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tlp.drawColor = Color.BLACK;\n\t\t\t}", "public interface OnColorPickedListener {\n\tvoid onColorPicked(int swatch, int color);\n}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent cb_e) {\n\t\t\t\tinx4 = cb[4].getSelectedIndex();\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent cb_e) {\n\t\t\t\tinx2 = cb[2].getSelectedIndex();\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n float zufall = (float) Math.random(); \n Color grauton = new Color(zufall,zufall,zufall);\n c.setBackground(grauton); // Zugriff auf c moeglich, da\n }", "private void onColorChoose(View view) {\n int intColor = ((ColorDrawable) view.getBackground()).getColor();\n setColorForDialog(intColor);\n }", "public void mouseClicked(MouseEvent e) {\r\n\t\t\tswitch (mode) {\r\n\t\t\tcase CHANGE_VALUE:\r\n\t\t\t\tPoint accClick2 = new Point((int) e.getX(), (int) e.getY());\r\n\t\t\t\tint[] mockArr = canvas.getArr();\r\n\t\t\t\tint arrLen = canvas.getArr().length;\r\n\t\t\t\tint itemClicked = canvas.getArr().length; \r\n\t\t\t\tfor (int i = 0; i < arrLen; i++) {\r\n\t\t\t\t\tint y1 = 26+(60*i);\r\n\t\t\t\t\tint y2 = 76+(60*i);\r\n\t\t\t\t\tif (zoneClicked(22, 222, y1, y2, accClick2)) itemClicked = i;\r\n\t\t\t\t} \r\n\t\t\t\tif (itemClicked < canvas.getArr().length){\r\n\t\t\t\t\tJFrame addQuestion = new JFrame(\"Change an element\");\r\n\t\t\t\t\tString init = JOptionPane.showInputDialog(addQuestion, \"What integer should go in arr[\" + itemClicked + \"]?\");\r\n\t\t\t\t\tif (init != null) {\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tint i = Integer.valueOf(init);\r\n\t\t\t\t\t\t\tmockArr[itemClicked] = i;\r\n\t\t\t\t\t\t\tcanvas.setArr(mockArr);\r\n\t\t\t\t\t\t} catch(NumberFormatException error) {\r\n\t\t\t\t\t\t\tJFrame frame2 = new JFrame(\"\");\r\n\t\t\t\t\t\t\t// Warning\r\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(frame2,\r\n\t\t\t\t\t\t\t\t\t\"Input value is not a valid number\",\r\n\t\t\t\t\t\t\t\t\t\"Input Warning\",\r\n\t\t\t\t\t\t\t\t\tJOptionPane.WARNING_MESSAGE);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tinstr.setText(\"Failed click on elements. Click again.\");\r\n\t\t\t\t}\t\t\t\t\r\n\t\t\t\tcanvas.repaint();\r\n\t\t\t\tbreak;\t\t\r\n\t\t\tcase ACCESS:\r\n\t\t\t\tPoint accClick = new Point((int) e.getX(), (int) e.getY()); \t\t\t\t\r\n\t\t\t\tint arrLen2 = canvas.getArr().length;\r\n\t\t\t\tint itemClicked2 = canvas.getArr().length; \r\n\t\t\t\tfor (int i = 0; i < arrLen2; i++){\r\n\t\t\t\t\tint y1 = 26+(60*i);\r\n\t\t\t\t\tint y2 = 76+(60*i);\r\n\t\t\t\t\tif (zoneClicked(22, 222, y1, y2, accClick)) itemClicked2 = i;\r\n\t\t\t\t}\r\n\t\t\t\tinstr.setText(\"The item, if accessed, is in red.\");\r\n\t\t\t\tif (itemClicked2 < canvas.getArr().length){\r\n\t\t\t\t\tcanvas.arrAccess(itemClicked2);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tinstr.setText(\"Failed click on elements. Click again.\");\r\n\t\t\t\t}\t\t\t\r\n\t\t\t\tbreak;\t\t\t\r\n\t\t}\r\n\t}", "@Override\n\t\t\tpublic void onClick(View arg0) \n\t\t\t{\n\t\t\t\tint radioSelection = r_colors.getCheckedRadioButtonId();\n\t\t\t\tif(radioSelection == R.id.red_radio) color = Color.RED;\n\t\t\t\tif(radioSelection == R.id.cyan_radio) color = Color.CYAN;\n\t\t\t\tif(radioSelection == R.id.yellow_radio) color = Color.YELLOW;\n\t\t\t\tif(radioSelection == R.id.green_radio) color = Color.GREEN;\n\t\t\t\tif(radioSelection == R.id.blue_radio) color = Color.BLUE;\n\t\t\t\tif(radioSelection == R.id.magenta_radio) color = Color.MAGENTA;\n\t\t\t\tif(radioSelection == R.id.black_radio) color = Color.BLACK;\n\t\t\t\n\t\t\t\tIntent resultData = new Intent();\n\t\t\t\tresultData.putExtra(\"color\", \"\"+color);\n\t\t\t\tsetResult(RESULT_OK, resultData);\n\t\t\t\tif(getParent()!=null) getParent().setResult(RESULT_OK, resultData);\n\t\t\t\tfinish();\n\t\t\t}", "public void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "public void selectButton(int i, int j)\n {\n buttColor[i][j] = changeColor(buttons[i][j], buttColor[i][j]);\n if((i-1) >= 0)\n buttColor[i-1][j] = changeColor(buttons[i-1][j], buttColor[i-1][j]);\n if(i+1 < 4)\n buttColor[i+1][j] = changeColor(buttons[i+1][j], buttColor[i+1][j]);\n if(j-1 >= 0)\n buttColor[i][j-1] = changeColor(buttons[i][j-1], buttColor[i][j-1]);\n if(j+1 < 4)\n buttColor[i][j+1] = changeColor(buttons[i][j+1], buttColor[i][j+1]);\n\n counter-=1;\n tv = (TextView)findViewById(R.id.counter);\n tv.setTextColor(Color.RED);\n tv.setText(\"steps: \" + String.valueOf(counter));\n\n checkGreen();\n }", "Color get(int index);", "public void chooseColor() {\n Color c = JColorChooser.showDialog(_parent, \"Choose '\" + getLabelText() + \"'\", _color);\n if (c != null) {\n _color = c;\n notifyChangeListeners();\n _updateField(_color);\n } \n }", "public Color generateColor() { //function to generate a random color from the array of colors passed in\n Random rand = new Random();\n int randomNum = rand.nextInt((colorChoices.length));\n return colorChoices[randomNum];\n }", "public int getColor(){\r\n\t\treturn color;\r\n\t}", "public void mouseClicked(int ex, int ey, int button) {\r\n\t}", "protected void changeColor(View view, int position, String key, Boolean twoColors){\n int color = AppCSTR.TRANS;\n Drawable background = view.getBackground();\n\n if(background instanceof ColorDrawable)\n color = ((ColorDrawable) background).getColor();\n\n if(color == AppCSTR.GREEN){\n if(twoColors)\n view.setBackgroundColor(AppCSTR.TRANS);\n else {\n view.setBackgroundColor(AppCSTR.RED);\n redIDs.add(getList().get(position).get(key));\n }\n greenIDs.remove(getList().get(position).get(key));\n }else if(color == AppCSTR.RED){\n view.setBackgroundColor(AppCSTR.TRANS);\n redIDs.remove(getList().get(position).get(key));\n }else{\n view.setBackgroundColor(AppCSTR.GREEN);\n greenIDs.add(getList().get(position).get(key));\n }\n }", "public void selectColour(View v) {\n\n Intent intent = new Intent(MainActivity.this, ColourSelectActivity.class);\n startActivityForResult(intent, ACTIVITY_COLOUR_SELECT_REQUEST_CODE);\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent cb_e) {\n\t\t\t\tinx1 = cb[1].getSelectedIndex();\n\t\t\t}" ]
[ "0.6739474", "0.6618224", "0.6609458", "0.6566301", "0.6545095", "0.6484908", "0.6440483", "0.64261633", "0.63744193", "0.63280386", "0.63106656", "0.62791395", "0.6270133", "0.6252181", "0.62374485", "0.62262666", "0.619109", "0.61855006", "0.616375", "0.6158853", "0.61319774", "0.6092071", "0.6068203", "0.60680634", "0.60512096", "0.60504", "0.60434914", "0.60403466", "0.59795564", "0.5963984", "0.59488416", "0.59464914", "0.59295017", "0.5912568", "0.58810025", "0.5869106", "0.5864377", "0.5815743", "0.58108133", "0.5790623", "0.57792294", "0.5775961", "0.5751695", "0.57515305", "0.5751408", "0.5742731", "0.5734856", "0.5720188", "0.5707441", "0.57057154", "0.5701725", "0.56964767", "0.56919324", "0.56867963", "0.5679511", "0.5678605", "0.566393", "0.56620854", "0.5656234", "0.56511414", "0.5651064", "0.5649169", "0.56474286", "0.56462085", "0.5644821", "0.5634925", "0.5622488", "0.56133974", "0.56097937", "0.5595076", "0.5589749", "0.5586507", "0.5580581", "0.5578695", "0.5576691", "0.55721533", "0.55652", "0.5554383", "0.55494404", "0.55461293", "0.5533231", "0.55305487", "0.55221194", "0.551755", "0.55049515", "0.5503502", "0.5496172", "0.5491546", "0.5486399", "0.5481962", "0.54781646", "0.5475622", "0.54721916", "0.54695046", "0.54684323", "0.54630256", "0.5458559", "0.54574853", "0.54491806", "0.54408544", "0.5440739" ]
0.0
-1
This interface must be implemented by activities that contain this fragment to allow an interaction in this fragment to be communicated to the activity and potentially other fragments contained in that activity. See the Android Training lesson Communicating with Other Fragments for more information.
public interface OnFragmentInteractionListener { // TODO: Update argument type and name void onFragmentInteraction(Uri uri); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface OnFragmentInteractionListener {\n void onFragmentMessage(String TAG, Object data);\n}", "public interface FragmentInteraction {\n void switchToBoardView();\n void switchToPinsView();\n void switchToPins(PDKBoard pdkBoard);\n void switchToDescription(PDKPin pin);\n}", "public interface IFragmentView {\n public Activity getActivity();\n public void onItemClick(int position);\n}", "public interface OnFragmentInteractionListener {\n void onMainFragmentInteraction(String string);\n }", "@Override\n public void onAttach(Context context) {\n super.onAttach(context);\n if (context instanceof RequestFragmentInterface) {\n mInterface = (RequestFragmentInterface) context;\n } else {\n throw new RuntimeException(context.toString()\n + \" must implement OnFragmentInteractionListener\");\n }\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onCallBellPressed(MessageReason reason);\n }", "void onFragmentInteraction();", "void onFragmentInteraction();", "void onFragmentInteraction();", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n\n\n void onFragmentInteraction(String mId, String mProductName, String mItemRate, int minteger, int update);\n }", "public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(String id);\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction();\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onComidaSelected(int comidaId);\n }", "public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(Qualification q);\n }", "public interface OnFragmentInteractionListener {\n void onReceiverAcceptRequest(int nextState, String requestId);\n }", "public interface FragMainLife\n{\n\tpublic void onResumeFragMainLife();\n}", "public interface OnFragmentListener {\n\n void onAction(Intent intent);\n}", "public interface IBaseFragmentActivity {\n void onFragmentExit(BaseFragment fragment);\n\n void onFragmentStartLoading(BaseFragment fragment);\n\n void onFragmentFinishLoad(BaseFragment fragment);\n}", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction(String string);\n }", "void onFragmentInteraction(Object ref);", "public interface OnParametersFragmentInteractionListener {\n public void startTask();\n }", "public interface OnFragmentInteractionListener {\n // Update argument type and name\n public void onFragmentInteraction(String id);\n }", "public interface OnFragmentInteractionListener {\n void onFragmentInteraction(Parcelable selectedItem);\n }", "public interface FragmentInterface {\r\n void fragmentBecameVisible();\r\n}", "public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(String key);\n }", "public interface OnFragmentInteractionListener {\n void newList();\n\n void searchList();\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void pasarALista();\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n\n /**\n * This interface's single method. The hosting Activity must implement this interface and\n * provide an implementation of this method so that this Fragment can communicate with the\n * Activity.\n *\n * @param spotId\n */\n// void onFragmentInteraction(Uri uri);\n void onFragmentInteraction(int spotId);\n// void onFragmentInteraction(LatLng spotPosition);\n\n }", "public interface MainGameActivityCallBacks {\n public void onMsgFromFragmentToMainGame(String sender, String strValue);\n}", "public interface IFragment {\n void onFragmentRefresh();\n\n void onMenuClick();\n}", "public interface FragmentInterface {\n\n void onCreate();\n\n void initLayout();\n\n void updateLayout();\n\n void sendInitialRequest();\n}", "public interface OnFragmentInteractionListener {\n void onFragmentInteraction(String accessToken, String network);\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction(View v);\n }", "public interface OnFragmentInteractionListener {\n void swapFragments(SetupActivity.SetupActivityFragmentType type);\n\n void addServer(String name, String ipAddress, String port);\n }", "public interface OnFragmentInteractionListener {\n\t\tvoid restUp(IGameState gameState);\n\t\tvoid restartGame();\n\t}", "public interface OnFragmentInteractionListener\n {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }", "public interface PersonalFragmentView extends BaseMvpView {\n\n}", "public interface OnFragmentInteractionListener {\n void onFinishCreatingRequest();\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }", "void onFragmentInteraction(View v);", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction(ArrayList<Recepie> recepieList);\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction(String id);\n }", "void onFragmentInteractionMain();", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void showRestaurantDetail(Map<String, Object> objectMap);\n\n public void showAddRestaurantFragment(String location);\n }", "public interface FragmentNavigator {\n\n void SwitchFragment(Fragment fragment);\n}", "public interface FragmentModellnt {\n void FragmentM(OnFinishListener onFinishListener,String dataId);\n}", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n //void onFragmentInteraction(Uri uri);\n }", "void onFragmentInteraction(String id);", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction(ArrayList naleznosci, String KLUCZ);\n }", "public interface OnFragmentInteractionListener {\n void onStartFragmentStarted();\n\n void onStartFragmentStartTracking();\n\n void onStartFragmentStopTracking();\n }", "public interface OnFragmentInteractionListener {\r\n // TODO: Update argument type and name\r\n void onEditFragmentInteraction(Student student);\r\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n Long onFragmentInteraction();\n }", "public interface OnFragmentInteractionListener {\n void onFragmentInteraction(Uri uri);\n void onFragmentInteraction(String id);\n}", "public interface IBaseFragment extends IBaseView {\n /**\n * 出栈到目标fragment\n * @param targetFragmentClass 目标fragment\n * @param includeTargetFragment 是否包涵目标fragment\n * true 目标fragment也出栈\n * false 出栈到目标fragment,目标fragment不出栈\n */\n void popToFragment(Class<?> targetFragmentClass, boolean includeTargetFragment);\n\n /**\n * 跳转到新的fragment\n * @param supportFragment 新的fragment继承SupportFragment\n */\n void startNewFragment(@NonNull SupportFragment supportFragment);\n\n /**\n * 跳转到新的fragment并出栈当前fragment\n * @param supportFragment\n */\n void startNewFragmentWithPop(@NonNull SupportFragment supportFragment);\n\n /**\n * 跳转到新的fragment并返回结果\n * @param supportFragment\n * @param requestCode\n */\n void startNewFragmentForResult(@NonNull SupportFragment supportFragment,int requestCode);\n\n /**\n * 设置fragment返回的result\n * @param requestCode\n * @param bundle\n */\n void setOnFragmentResult(int requestCode, Bundle bundle);\n\n /**\n * 跳转到新的Activity\n * @param clz\n */\n void startNewActivity(@NonNull Class<?> clz);\n\n /**\n * 携带数据跳转到新的Activity\n * @param clz\n * @param bundle\n */\n void startNewActivity(@NonNull Class<?> clz,Bundle bundle);\n\n /**\n * 携带数据跳转到新的Activity并返回结果\n * @param clz\n * @param bundle\n * @param requestCode\n */\n void startNewActivityForResult(@NonNull Class<?> clz,Bundle bundle,int requestCode);\n\n /**\n * 当前Fragment是否可见\n * @return true 可见,false 不可见\n */\n boolean isVisiable();\n\n /**\n * 获取当前fragment绑定的activity\n * @return\n */\n Activity getBindActivity();\n\n}", "public void onFragmentInteraction(String id);", "public void onFragmentInteraction(String id);", "public void onFragmentInteraction(String id);", "public void onFragmentInteraction(String id);", "public void onFragmentInteraction(String id);", "public void onFragmentInteraction(String id);", "public void onFragmentInteraction(String id);", "public void onFragmentInteraction(String id);", "public void onFragmentInteraction(String id);", "public void onFragmentInteraction(String id);", "public void onFragmentInteraction(String id);", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onSocialLoginInteraction();\n }", "public interface OnFragmentInteractionListener {\n /**\n * On fragment interaction.\n *\n * @param uri the uri\n */\n// TODO: Update argument type and name\n public void onFragmentInteraction(Uri uri);\n }", "public interface OnFragmentListener {\n void onClick(Fragment fragment);\n}", "public interface OnFragmentInteractionListener {\n void playGame(Uri location);\n }", "public interface LoginFragmentListener {\n public void OnRegisterClicked();\n public void OnLoginClicked(String User, String Pass);\n}", "public interface MoveFragment {\n\n\n public void moveFragment(Fragment selectedFragment);\n\n}", "public interface ChangeFragmentListener {\n void changeFragment();\n}", "public interface FragmentInterface {\n public void fragmentResult(Fragment fragment, String title);\n}", "public interface OnProductItemFragmentInteraction{\r\n public void itemSelected(Producto product);\r\n }", "@Override\n public void onAttach(Context context) {\n super.onAttach(context);\n //this registers this fragment to recieve any EventBus\n EventBus.getDefault().register(this);\n }", "void onFragmentInteraction(int position);", "public interface AddFarmFragmentView extends BaseView {\n\n\n}", "void OpenFragmentInteraction();", "public interface OnFragmentInteractionListener {\n\t\t// TODO: Update argument type and name\n\t\tpublic void onFragmentInteraction(Uri uri);\n\t}", "public interface FragmentDataObserver {\n void getDataFromActivity(String data);\n\n}", "public interface OnFragInteractionListener {\n\n // replace top fragment with this fragment\n interface OnMainFragInteractionListener {\n void onWifiFragReplace();\n void onHistoryFragReplace();\n void onHistoryWithOsmMapFragReplace();\n void onMainFragReplace();\n }\n\n // interface for WifiPresenterFragment\n interface OnWifiScanFragInteractionListener {\n void onGetDataAfterScanWifi(ArrayList<WifiLocationModel> list);\n void onAllowToSaveWifiHotspotToDb(String ssid, String pass, String encryption, String bssid);\n }\n\n // interface for HistoryPresenterFragment\n interface OnHistoryFragInteractionListener {\n // get wifi info\n void onGetWifiHistoryCursor(Cursor cursor);\n // get mobile network generation\n void onGetMobileHistoryCursor(Cursor cursor);\n // get wifi state and date\n void onGetWifiStateAndDateCursor(Cursor cursor);\n }\n\n interface OnMapFragInteractionListerer {\n void onGetWifiLocationCursor(Cursor cursor);\n }\n}", "public interface PesonageFragmentView extends MvpView {\n\n}", "public interface OnUsersFragmentInteractionListener {\n void onListFragmentInteraction(User item);\n }", "public interface MainScreeInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteractionMain();\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onClickNextTurn();\n }", "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction();\n\n void changeBottomNavSelection(int menuItem);\n }", "public interface OnFragmentInteractionListener {\n void onFragmentInteraction(Uri uri);\n}", "public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(Uri uri);\n }", "public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(Uri uri);\n }", "public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(Uri uri);\n }", "public interface OnFragmentInteractionListener {\n void onSignoutClicked();\n\n void onExtraScopeRequested();\n }", "interface OnMainFragInteractionListener {\n void onWifiFragReplace();\n void onHistoryFragReplace();\n void onHistoryWithOsmMapFragReplace();\n void onMainFragReplace();\n }", "public interface OnListFragmentInteractionListener {\n void onListFragmentInteraction(Note note);\n}" ]
[ "0.73252225", "0.7209547", "0.7136359", "0.71252084", "0.7123544", "0.7015349", "0.69774413", "0.69774413", "0.69774413", "0.6974346", "0.69687444", "0.6966675", "0.6961056", "0.69545686", "0.6944112", "0.69353503", "0.6930745", "0.69285405", "0.6923585", "0.69112146", "0.6904007", "0.6897808", "0.6894953", "0.6883205", "0.6882197", "0.6875803", "0.6864972", "0.68616736", "0.68607754", "0.68592894", "0.6856257", "0.68452096", "0.68404716", "0.6830954", "0.6818982", "0.68176526", "0.6810556", "0.6787207", "0.6770303", "0.6770303", "0.6770303", "0.6770303", "0.6770303", "0.6770303", "0.6770303", "0.6770303", "0.6770303", "0.67700946", "0.67666644", "0.676235", "0.67566675", "0.67536783", "0.6699538", "0.66817844", "0.66744393", "0.66717505", "0.6670075", "0.6662478", "0.6661828", "0.6656121", "0.66530067", "0.6645687", "0.66449016", "0.66449016", "0.66449016", "0.66449016", "0.66449016", "0.66449016", "0.66449016", "0.66449016", "0.66449016", "0.66449016", "0.66449016", "0.6639033", "0.66366607", "0.6632456", "0.662643", "0.6625949", "0.66188306", "0.6610513", "0.6609246", "0.6608896", "0.6605383", "0.6598735", "0.65972257", "0.65881157", "0.6573141", "0.6569208", "0.65618837", "0.65607905", "0.6555499", "0.6550801", "0.65495986", "0.6543998", "0.6539958", "0.6535078", "0.6535078", "0.6535078", "0.65202725", "0.6518559", "0.65167886" ]
0.0
-1
TODO: Update argument type and name
void onFragmentInteraction(Uri uri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public String getFirstArg() {\n return name;\r\n }", "@Override\n public int getNumberArguments() {\n return 1;\n }", "java.lang.String getArg();", "@Override\n public int getArgLength() {\n return 4;\n }", "Argument createArgument();", "@Override\r\n\tpublic String getFirstArg() {\n\t\treturn null;\r\n\t}", "@Override\n protected PacketArgs.ArgumentType[] getArgumentTypes() {\n return new PacketArgs.ArgumentType[] { PacketArgs.ArgumentType.String };\n }", "@Override\n\tpublic void traverseArg(UniArg node) {\n\t}", "@Override\n\t\t\t\t\tpublic Parameter handleParameter(Method parent,\n\t\t\t\t\t\t\tEParamType direction, FArgument src) {\n\t\t\t\t\t\treturn super.handleParameter(parent, direction, src);\n\t\t\t\t\t}", "Object[] getArguments();", "Object[] getArguments();", "String getArguments();", "@Override\n\tpublic void handleArgument(ArrayList<String> argument) {\n\t\t\n\t}", "@Override\n public final int parseArguments(Parameters params) {\n return 1;\n }", "ArgList createArgList();", "public Object[] getArguments() { return args;}", "@Override\n public String getInputArg(String argName) {\n Log.w(TAG, \"Test input args is not supported.\");\n return null;\n }", "@Override\n protected String getName() {return _parms.name;}", "private static AbstractType<?>[] argumentsType(@Nullable StringType algorithmArgumentType)\n {\n return algorithmArgumentType == null\n ? DEFAULT_ARGUMENTS\n : new AbstractType<?>[]{ algorithmArgumentType };\n }", "uicargs createuicargs();", "java.util.List<com.mwr.jdiesel.api.Protobuf.Message.Argument> \n getArgumentList();", "java.util.List<com.mwr.jdiesel.api.Protobuf.Message.Argument> \n getArgumentList();", "public static void main(String[] args) {\n\t\t\tmeth(args);\r\n\t\t\targument_test:meth(args);\r\n\t}", "@Override\r\n\tpublic int getSecondArg() {\n\t\treturn 0;\r\n\t}", "public getType_args(getType_args other) {\n }", "Object[] args();", "protected void validateArguments( Object[] args ) throws ActionExecutionException {\n\n Annotation[][] annotations = method.getParameterAnnotations();\n for (int i = 0; i < annotations.length; i++) {\n\n Annotation[] paramAnnotations = annotations[i];\n\n for (Annotation paramAnnotation : paramAnnotations) {\n if (paramAnnotation instanceof Parameter) {\n Parameter paramDescriptionAnnotation = (Parameter) paramAnnotation;\n ValidationType validationType = paramDescriptionAnnotation.validation();\n\n String[] validationArgs;\n\n // if we are checking for valid constants, then the\n // args array should contain\n // the name of the array holding the valid constants\n if (validationType == ValidationType.STRING_CONSTANT\n || validationType == ValidationType.NUMBER_CONSTANT) {\n try {\n String arrayName = paramDescriptionAnnotation.args()[0];\n\n // get the field and set access level if\n // necessary\n Field arrayField = method.getDeclaringClass().getDeclaredField(arrayName);\n if (!arrayField.isAccessible()) {\n arrayField.setAccessible(true);\n }\n Object arrayValidConstants = arrayField.get(null);\n\n // convert the object array to string array\n String[] arrayValidConstatnsStr = new String[Array.getLength(arrayValidConstants)];\n for (int j = 0; j < Array.getLength(arrayValidConstants); j++) {\n arrayValidConstatnsStr[j] = Array.get(arrayValidConstants, j).toString();\n }\n\n validationArgs = arrayValidConstatnsStr;\n\n } catch (IndexOutOfBoundsException iobe) {\n // this is a fatal error\n throw new ActionExecutionException(\"You need to specify the name of the array with valid constants in the 'args' field of the Parameter annotation\");\n } catch (Exception e) {\n // this is a fatal error\n throw new ActionExecutionException(\"Could not get array with valid constants - action annotations are incorrect\");\n }\n } else {\n validationArgs = paramDescriptionAnnotation.args();\n }\n\n List<BaseType> typeValidators = createBaseTypes(paramDescriptionAnnotation.validation(),\n paramDescriptionAnnotation.name(),\n args[i], validationArgs);\n //perform validation\n for (BaseType baseType : typeValidators) {\n if (baseType != null) {\n try {\n baseType.validate();\n } catch (TypeException e) {\n throw new InvalidInputArgumentsException(\"Validation failed while validating argument \"\n + paramDescriptionAnnotation.name()\n + e.getMessage());\n }\n } else {\n log.warn(\"Could not perform validation on argument \"\n + paramDescriptionAnnotation.name());\n }\n }\n }\n }\n }\n }", "@Test\n void getArgString() {\n }", "@Override\n\t\t\t\t\tpublic Parameter handleParameter(Method parent,\n\t\t\t\t\t\t\tEParamType direction, FEnumerator src) {\n\t\t\t\t\t\treturn super.handleParameter(parent, direction, src);\n\t\t\t\t\t}", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "@Override\n public void prepareArguments(ActionInvocation invocation)\n throws InvalidValueException {\n }", "int getArgIndex();", "@Override\n\tpublic void addArg(FormulaElement arg){\n\t}", "public Type[] getArgumentTypes() {\n/* 236 */ return Type.getArgumentTypes(this.desc);\n/* */ }", "@Override\n public Object[] getArguments() {\n return null;\n }", "public login_1_argument() {\n }", "Optional<String[]> arguments();", "private Main(String... arguments) {\n this.operations = new ArrayDeque<>(List.of(arguments));\n }", "@Override\n\tprotected GATKArgumentCollection getArgumentCollection() {\n\t\treturn argCollection;\n\t}", "protected void sequence_Argument(ISerializationContext context, Argument semanticObject) {\n\t\tif (errorAcceptor != null) {\n\t\t\tif (transientValues.isValueTransient(semanticObject, TdlPackage.Literals.ARGUMENT__NAME) == ValueTransient.YES)\n\t\t\t\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, TdlPackage.Literals.ARGUMENT__NAME));\n\t\t}\n\t\tSequenceFeeder feeder = createSequencerFeeder(context, semanticObject);\n\t\tfeeder.accept(grammarAccess.getArgumentAccess().getNameSTRINGTerminalRuleCall_0_0(), semanticObject.getName());\n\t\tfeeder.finish();\n\t}", "void setArguments(String arguments);", "@Override\n\tpublic List<String> getArgumentDesc() {\n\t\treturn desc;\n\t}", "OpFunctionArgAgregate createOpFunctionArgAgregate();", "protected abstract Feature<T,?> convertArgument(Class<?> parameterType, Feature<T,?> originalArgument);", "void visitArgument(Argument argument);", "public Thaw_args(Thaw_args other) {\r\n }", "@Override\r\n\tpublic List<String> getArguments()\r\n\t{\n\t\treturn null;\r\n\t}", "private static String getArgumentString(Object arg) {\n if (arg instanceof String) {\n return \"\\\\\\\"\"+arg+\"\\\\\\\"\";\n }\n else return arg.toString();\n }", "public interface Param {\n\n int[] args();\n String exec(ExecutePack pack);\n String label();\n}", "@Override\n public void verifyArgs(ArrayList<String> args) throws ArgumentFormatException {\n super.checkNumArgs(args);\n _args = true;\n }", "public abstract ValidationResults validArguments(String[] arguments);", "public ArgumentException() {\n super(\"Wrong arguments passed to function\");\n }", "public String getArgumentString() {\n\t\treturn null;\n\t}", "@Override\n public String kind() {\n return \"@param\";\n }", "@Override\n\t\t\t\t\tpublic Parameter handleParameter(Method parent,\n\t\t\t\t\t\t\tEParamType direction, FEnumerationType src) {\n\t\t\t\t\t\treturn super.handleParameter(parent, direction, src);\n\t\t\t\t\t}", "public void addArgumentTypeSerialization(String functionName, String argumentName, TensorType type) {\n wrappedSerializationContext.addArgumentTypeSerialization(functionName, argumentName, type);\n }", "void setArgument(int idx,int v) \t\t{ setArgument(idx,Integer.valueOf(v)); }", "@Override\n\tprotected byte[] getArgByte() {\n\t\treturn paramsJson.getBytes();\n\t}", "void onArgumentsChanged();", "com.google.protobuf.ByteString\n\t\tgetArgBytes();", "@Override public int getNumArguments()\t\t\t{ return arg_list.size(); }", "MyArg(int value){\n this.value = value;\n }", "public ArgList(Object arg1) {\n super(1);\n addElement(arg1);\n }", "public Clear_args(Clear_args other) {\r\n }", "private ParameterInformation processArgumentReference(Argument argument,\n List<NameDescriptionType> argTypeSet,\n SequenceEntryType seqEntry,\n int seqIndex)\n {\n ParameterInformation argumentInfo = null;\n\n // Initialize the argument's attributes\n String argName = argument.getName();\n String dataType = null;\n String arraySize = null;\n String bitLength = null;\n BigInteger argBitSize = null;\n String enumeration = null;\n String description = null;\n UnitSet unitSet = null;\n String units = null;\n String minimum = null;\n String maximum = null;\n\n // Step through each command argument type\n for (NameDescriptionType argType : argTypeSet)\n {\n // Check if this is the same command argument referenced in the argument list (by\n // matching the command and argument names between the two)\n if (argument.getArgumentTypeRef().equals(argType.getName()))\n {\n boolean isInteger = false;\n boolean isUnsigned = false;\n boolean isFloat = false;\n boolean isString = false;\n\n // Check if this is an array parameter\n if (seqEntry instanceof ArrayParameterRefEntryType)\n {\n arraySize = \"\";\n\n // Store the reference to the array parameter type\n ArrayDataTypeType arrayType = (ArrayDataTypeType) argType;\n argType = null;\n\n // Step through each dimension for the array variable\n for (Dimension dim : ((ArrayParameterRefEntryType) seqEntry).getDimensionList().getDimension())\n {\n // Check if the fixed value exists\n if (dim.getEndingIndex().getFixedValue() != null)\n {\n // Build the array size string\n arraySize += String.valueOf(Integer.valueOf(dim.getEndingIndex().getFixedValue()) + 1)\n + \",\";\n }\n }\n\n arraySize = CcddUtilities.removeTrailer(arraySize, \",\");\n\n // The array parameter type references a non-array parameter type that\n // describes the individual array members. Step through each data type in the\n // parameter type set in order to locate this data type entry\n for (NameDescriptionType type : argTypeSet)\n {\n // Check if the array parameter's array type reference matches the data\n // type name\n if (arrayType.getArrayTypeRef().equals(type.getName()))\n {\n // Store the reference to the array parameter's data type and stop\n // searching\n argType = type;\n break;\n }\n }\n }\n\n // Check if a data type entry for the parameter exists in the parameter type set\n // (note that if the parameter is an array the steps above locate the data type\n // entry for the individual array members)\n if (argType != null)\n {\n long dataTypeBitSize = 0;\n\n // Check if the argument is an integer data type\n if (argType instanceof IntegerArgumentType)\n {\n IntegerArgumentType icmd = (IntegerArgumentType) argType;\n\n // Get the number of bits occupied by the argument\n argBitSize = icmd.getSizeInBits();\n\n // Get the argument units reference\n unitSet = icmd.getUnitSet();\n\n // Check if integer encoding is set to 'unsigned'\n if (icmd.getIntegerDataEncoding().getEncoding().equalsIgnoreCase(\"unsigned\"))\n {\n isUnsigned = true;\n }\n\n // Determine the smallest integer size that contains the number of bits\n // occupied by the argument\n dataTypeBitSize = 8;\n\n while (argBitSize.longValue() > dataTypeBitSize)\n {\n dataTypeBitSize *= 2;\n }\n\n // Get the argument alarm\n IntegerArgumentType.ValidRangeSet alarmType = icmd.getValidRangeSet();\n\n // Check if the argument has an alarm\n if (alarmType != null)\n {\n // Get the alarm range\n List<IntegerRangeType> alarmRange = alarmType.getValidRange();\n\n // Check if the alarm range exists\n if (alarmRange != null)\n {\n // Store the minimum alarm value\n minimum = alarmRange.get(0).getMinInclusive();\n\n // Store the maximum alarm value\n maximum = alarmRange.get(0).getMaxInclusive();\n }\n }\n\n isInteger = true;\n }\n // Check if the argument is a floating point data type\n else if (argType instanceof FloatArgumentType)\n {\n // Get the float argument attributes\n FloatArgumentType fcmd = (FloatArgumentType) argType;\n dataTypeBitSize = fcmd.getSizeInBits().longValue();\n unitSet = fcmd.getUnitSet();\n\n // Get the argument alarm\n FloatArgumentType.ValidRangeSet alarmType = fcmd.getValidRangeSet();\n\n // Check if the argument has an alarm\n if (alarmType != null)\n {\n // Get the alarm range\n List<FloatRangeType> alarmRange = alarmType.getValidRange();\n\n // Check if the alarm range exists\n if (alarmRange != null)\n {\n // Get the minimum value\n Double min = alarmRange.get(0).getMinInclusive();\n\n // Check if a minimum value exists\n if (min != null)\n {\n // Get the minimum alarm value\n minimum = String.valueOf(min);\n }\n\n // Get the maximum value\n Double max = alarmRange.get(0).getMaxInclusive();\n\n // Check if a maximum value exists\n if (max != null)\n {\n // Get the maximum alarm value\n maximum = String.valueOf(max);\n }\n }\n }\n\n isFloat = true;\n }\n // Check if the argument is a string data type\n else if (argType instanceof StringDataType)\n {\n // Get the string argument attributes\n StringDataType scmd = (StringDataType) argType;\n dataTypeBitSize = Integer.valueOf(scmd.getStringDataEncoding()\n .getSizeInBits()\n .getFixed()\n .getFixedValue());\n unitSet = scmd.getUnitSet();\n isString = true;\n }\n // Check if the argument is an enumerated data type\n else if (argType instanceof EnumeratedDataType)\n {\n EnumeratedDataType ecmd = (EnumeratedDataType) argType;\n EnumerationList enumList = ecmd.getEnumerationList();\n\n // Check if any enumeration parameters are defined\n if (enumList != null)\n {\n // Step through each enumeration parameter\n for (ValueEnumerationType enumType : enumList.getEnumeration())\n {\n // Check if this is the first parameter\n if (enumeration == null)\n {\n // Initialize the enumeration string\n enumeration = \"\";\n }\n // Not the first parameter\n else\n {\n // Add the separator for the enumerations\n enumeration += \", \";\n }\n\n // Begin building this enumeration\n enumeration += enumType.getValue() + \" | \" + enumType.getLabel();\n }\n\n argBitSize = ecmd.getIntegerDataEncoding().getSizeInBits();\n unitSet = ecmd.getUnitSet();\n\n // Check if integer encoding is set to 'unsigned'\n if (ecmd.getIntegerDataEncoding().getEncoding().equalsIgnoreCase(\"unsigned\"))\n {\n isUnsigned = true;\n }\n\n // Determine the smallest integer size that contains the number of bits\n // occupied by the argument\n dataTypeBitSize = 8;\n\n while (argBitSize.longValue() > dataTypeBitSize)\n {\n dataTypeBitSize *= 2;\n }\n\n isInteger = true;\n }\n }\n\n // Get the name of the data type from the data type table that matches the base\n // type and size of the parameter\n dataType = getMatchingDataType(dataTypeBitSize / 8,\n isInteger,\n isUnsigned,\n isFloat,\n isString,\n dataTypeHandler);\n\n // Check if the description exists\n if (argType.getLongDescription() != null)\n {\n // Store the description\n description = argType.getLongDescription();\n }\n\n // Check if the argument bit size exists\n if (argBitSize != null && argBitSize.longValue() != dataTypeBitSize)\n {\n // Store the bit length\n bitLength = argBitSize.toString();\n }\n\n // Check if the units exists\n if (unitSet != null)\n {\n List<UnitType> unitType = unitSet.getUnit();\n\n // Check if the units is set\n if (!unitType.isEmpty())\n {\n // Store the units\n units = unitType.get(0).getContent();\n }\n }\n\n argumentInfo = new ParameterInformation(argName,\n dataType,\n arraySize,\n bitLength,\n enumeration,\n units,\n minimum,\n maximum,\n description,\n 0,\n seqIndex);\n }\n\n break;\n }\n }\n\n return argumentInfo;\n }", "public abstract interface QueryArgs {\n\n /** Return the catalog associated with this object */\n public Catalog getCatalog();\n\n /** Set the value for the ith parameter */\n public void setParamValue(int i, Object value);\n\n /** Set the value for the parameter with the given label */\n public void setParamValue(String label, Object value);\n\n /** Set the min and max values for the parameter with the given label */\n public void setParamValueRange(String label, Object minValue, Object maxValue);\n\n /** Set the int value for the parameter with the given label */\n public void setParamValue(String label, int value);\n\n /** Set the double value for the parameter with the given label */\n public void setParamValue(String label, double value);\n\n /** Set the double value for the parameter with the given label */\n public void setParamValueRange(String label, double minValue, double maxValue);\n\n /** Set the array of parameter values directly. */\n public void setParamValues(Object[] values);\n\n /** Get the value of the ith parameter */\n public Object getParamValue(int i);\n\n /** Get the value of the named parameter\n *\n * @param label the parameter name or id\n * @return the value of the parameter, or null if not specified\n */\n public Object getParamValue(String label);\n\n /**\n * Get the value of the named parameter as an integer.\n *\n * @param label the parameter label\n * @param defaultValue the default value, if the parameter was not specified\n * @return the value of the parameter\n */\n public int getParamValueAsInt(String label, int defaultValue);\n\n /**\n * Get the value of the named parameter as a double.\n *\n * @param label the parameter label\n * @param defaultValue the default value, if the parameter was not specified\n * @return the value of the parameter\n */\n public double getParamValueAsDouble(String label, double defaultValue);\n\n /**\n * Get the value of the named parameter as a String.\n *\n * @param label the parameter label\n * @param defaultValue the default value, if the parameter was not specified\n * @return the value of the parameter\n */\n public String getParamValueAsString(String label, String defaultValue);\n\n\n /**\n * Return the object id being searched for, or null if none was defined.\n */\n public String getId();\n\n /**\n * Set the object id to search for.\n */\n public void setId(String id);\n\n\n /**\n * Return an object describing the query region (center position and\n * radius range), or null if none was defined.\n */\n public CoordinateRadius getRegion();\n\n /**\n * Set the query region (center position and radius range) for\n * the search.\n */\n public void setRegion(CoordinateRadius region);\n\n\n /**\n * Return an array of SearchCondition objects indicating the\n * values or range of values to search for.\n */\n public SearchCondition[] getConditions();\n\n /** Returns the max number of rows to be returned from a table query */\n public int getMaxRows();\n\n /** Set the max number of rows to be returned from a table query */\n public void setMaxRows(int maxRows);\n\n\n /** Returns the query type (an optional string, which may be interpreted by some catalogs) */\n public String getQueryType();\n\n /** Set the query type (an optional string, which may be interpreted by some catalogs) */\n public void setQueryType(String queryType);\n\n /**\n * Returns a copy of this object\n */\n public QueryArgs copy();\n\n /**\n * Optional: If not null, use this object for displaying the progress of the background query\n */\n public StatusLogger getStatusLogger();\n}", "@Override\n public void doExeception(Map<String, Object> args)\n {\n \n }", "@Override\n public void doExeception(Map<String, Object> args)\n {\n \n }", "@Override\n\tprotected Collection<ArgumentTypeDescriptor> getArgumentTypeDescriptors() {\n\t\treturn Arrays.asList(new VCFWriterArgumentTypeDescriptor(engine, System.out, bisulfiteArgumentSources), new SAMReaderArgumentTypeDescriptor(engine),\n\t\t\t\tnew SAMFileWriterArgumentTypeDescriptor(engine, System.out), new OutputStreamArgumentTypeDescriptor(engine, System.out));\n\t}", "@Override\n public int getArgent() {\n return _argent;\n }", "private static @NonNull String resolveInputName(@NonNull Argument<?> argument) {\n String inputName = argument.getAnnotationMetadata().stringValue(Bindable.NAME).orElse(null);\n if (StringUtils.isEmpty(inputName)) {\n inputName = argument.getName();\n }\n return inputName;\n }", "private Object[] getArguments (String className, Object field)\n\t{\n\t\treturn ((field == null) ? new Object[]{className} : \n\t\t\tnew Object[]{className, field});\n\t}", "PermissionSerializer (GetArg arg) throws IOException, ClassNotFoundException {\n\tthis( \n\t create(\n\t\targ.get(\"targetType\", null, Class.class),\n\t\targ.get(\"type\", null, String.class),\n\t\targ.get(\"targetName\", null, String.class),\n\t\targ.get(\"targetActions\", null, String.class) \n\t )\n\t);\n }", "public Type getArgumentDirection() {\n return direction;\n }", "public String argTypes() {\n return \"I\";//NOI18N\n }", "public static void main(String arg[]) {\n\n }", "godot.wire.Wire.Value getArgs(int index);", "@Override\n protected String[] getArguments() {\n String[] args = new String[1];\n args[0] = _game_file_name;\n return args;\n }", "public void setArgs(java.lang.String value) {\n this.args = value;\n }", "private Argument(Builder builder) {\n super(builder);\n }", "@Override\n public void execute(String[] args) {\n\n }", "@Override\n\tprotected final void setFromArgument(CommandContext<ServerCommandSource> context, String name) {\n\t}", "UUID createArgument(ArgumentCreateRequest request);", "@Override\n public void initialise(String[] arguments) {\n\n }", "public static ParameterExpression parameter(Class type, String name) { throw Extensions.todo(); }", "protected abstract void parseArgs() throws IOException;" ]
[ "0.7164074", "0.6946075", "0.6714363", "0.65115863", "0.63969076", "0.6375468", "0.63481104", "0.63162106", "0.6260299", "0.6208487", "0.6208487", "0.62070644", "0.6197276", "0.61806154", "0.6177103", "0.61530507", "0.61472267", "0.61243707", "0.60771817", "0.6054482", "0.59906125", "0.59906125", "0.5984017", "0.59791875", "0.5977681", "0.59532714", "0.5946838", "0.59457266", "0.59452903", "0.59352577", "0.59352577", "0.59352577", "0.59352577", "0.59352577", "0.59352577", "0.59352577", "0.59352577", "0.59352577", "0.59352577", "0.59352577", "0.59352577", "0.59352577", "0.59352577", "0.59352577", "0.59352577", "0.59352577", "0.5909717", "0.5889277", "0.588111", "0.5871162", "0.5866624", "0.58613646", "0.58519953", "0.58381283", "0.58083445", "0.58059824", "0.5795826", "0.57816726", "0.57670826", "0.57556796", "0.57471323", "0.57418406", "0.5729463", "0.57291526", "0.5716928", "0.5713024", "0.56974274", "0.56782854", "0.56723106", "0.5664594", "0.5664104", "0.5660337", "0.5652865", "0.5647883", "0.5642134", "0.5635645", "0.5634968", "0.562251", "0.56210977", "0.56167537", "0.56138444", "0.56044126", "0.56044126", "0.5602371", "0.56012225", "0.55986875", "0.55893147", "0.5588273", "0.5583255", "0.5582767", "0.55681497", "0.55626017", "0.55577534", "0.55524325", "0.5549442", "0.55378276", "0.5536797", "0.5527675", "0.5511817", "0.55099154", "0.550257" ]
0.0
-1
Data access object for the Mpid entity It covers only basic operations inherited from JpaRepository
@Repository public interface MpidRepository extends JpaRepository<Mpid, Integer> { Mpid findByHandle(String handle); List<Mpid> findByDealCode(String dealCode); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface MemberDao extends JpaRepository<Member, Long>{\n}", "public interface PCDao extends JpaRepository<PC, Integer> {\n}", "public interface ImprimeRepository extends JpaRepository<Imprime,Long> {\n\n Imprime findById(Long id);\n\n}", "public interface RepositoryLineMhc extends JpaRepository<LineMhc, Long> {\n\n\tpublic LineMhc findByOid( Long oid );\n\tpublic LineMhc findByName( String name );\n\n}", "public interface PersistentTokenDao extends JpaRepository<PersistentToken,String>{\n}", "public interface IModeratorProposalRepository extends JpaRepository<ModeratorProposal, Integer> {\n}", "public interface MetaRepository extends JpaRepository<T_metas, Integer> {\n\n}", "public interface ImagensEventoOnlineDestaqueRepository extends CrudRepository<ImagensEventoOnlineDestaque, Long> {\n\t\n\t@Query(\"select i from ImagensEventoOnlineDestaque i where i.id = :pid\")\n\tImagensEventoOnlineDestaque buscarPor(@Param(\"pid\") Long id);\n\n}", "public interface AppExtraDao extends JpaRepository<AppExtra,Long> {\n\n}", "@Repository\npublic interface ItemRepository extends JpaRepository<Item, Integer> {\n\n\t/**\n\t * findByName method to get the respective item for the given name from db\n\t *\n\t * @param name is the name of the item\n\t * @return the item\n\t */\n\t@Query(value=\"select I.ID , I.NAME from ITEM I\",nativeQuery = true)\n\tpublic Item findByName(String name);\n\n\n\t\n\t/*\n\t * @Query(value = \"SELECT i.ID, i. FROM ITEM i\", nativeQuery = true) public\n\t * List<Item> findItems();\n\t */\n}", "@Repository\npublic interface ReturnMoneyMapper {\n\n void insertReturnMoney(ReturnMoneyEntity returnMoneyEntity);\n ReturnMoneyEntity getReturnMoneyById(String id);\n List<ReturnMoneyEntity> getReturnMoneyListByContractId(ReturnMoneyQuery returnMoneyQuery);\n\n}", "public interface PromulgatorService {\n\n //修改发布者信息\n int updateByPrimaryKeySelective(Promulgator record);\n\n //得到用户总点赞数\n List<Map<String,Object>> guidLikecount(String saleGuid);\n\n //根据proId查找数据\n Promulgator selectByPrimaryKey(String proId);\n\n //修改用户总点赞数\n int upLikecount(Integer likeCount,String proId);\n\n\n int insertSelective(Promulgator record);\n\n Integer selectPlikeCount(String saleGuid);\n}", "public interface MetaRepository extends CrudRepository<Meta,Long> {\n}", "public interface PurchPaymentDao extends JpaRepository<PurchPayment, Serializable> {\n}", "public interface ExpositionRepository extends JpaRepository<Exposition,Long> {\n\n}", "@Repository\n\npublic interface ProcesoDAO extends JpaRepository<Proceso, Long> {\n\n}", "public interface WayBillDao extends JpaRepository<WayBill, Integer>{\n}", "public interface PackagesRepository extends JpaRepository<Packages,Long> {\n\n}", "@SuppressWarnings(\"unused\")\n@Repository\npublic interface MaterialDeExameRepository extends JpaRepository<MaterialDeExame, Long> {\n}", "public interface PriceDao extends JpaRepository<Price, Integer> {\n}", "@Repository\npublic interface MedicalAidRepository extends JpaRepository<MedicalAid, String> {\n\n}", "public interface MaintenanceDao extends JpaRepository<Maintenance, Long> {\n}", "public interface MovieRepository extends JpaRepository<MoviePo,Integer> {\n\n @Query(\"select m.identifier from MoviePo m\")\n List<String> findIdentifier();\n\n MoviePo findByIdentifier(String identifier);\n\n}", "@Repository\npublic interface AhmsdttmMstclustypeDao extends JpaRepository<AhmsdttmMstclustype, Integer> {\n\n}", "public interface ProductPricingRepository extends JpaRepository<ProductPricing, Long> {\n}", "@SuppressWarnings(\"unused\")\n@Repository\npublic interface ModulosRepository extends JpaRepository<Modulos,Long> {\n \n}", "@Repository\npublic interface MarkJpaRepository extends JpaRepository<MarkPO, Integer> {\n List<MarkPO> findAllByStudentPO(StudentPO studentPO);\n\n MarkPO findByStudentPOAndAndSubjectPO(StudentPO studentPO, SubjectPO subjectPO);\n}", "@Repository\npublic interface ItemRepository extends JpaRepository<Item, Long>{\n\n}", "@Repository\npublic interface ItemPedidoRepository extends JpaRepository<ItemPedido, Integer> {\n}", "public interface DocketCodeRepository extends JpaRepository<DocketCode,Long> {\n\n}", "@SuppressWarnings(\"unused\")\n@Repository\npublic interface MedicalRepository extends JpaRepository<Medical, Long> {\n\n}", "@Repository\npublic interface ExamQuestionMapper {\n\n Integer addExamQuestion(ExamQuestionVO examQuestionVO);\n\n Integer updateExamQuestion(ExamQuestionVO examQuestionVO);\n\n ExamQuestionDO findDetailExamQuestion(ExamQuestionVO examQuestionVO);\n\n List<ExamQuestionDO> listExamQuestion(ExamQuestionVO examQuestionVO);\n\n List<ExamQuestionDO> listExamQuestionPage(ExamQuestionVO examQuestionVO);\n\n Integer countExamQuestion(ExamQuestionVO examQuestionVO);\n\n Integer deleteExamQuestion(ExamQuestionVO examQuestionVO);\n\n List<QuestionManageVO> listExamQuestionByExam(QuestionManageQuery query);\n}", "public interface MessageRepository extends JpaRepository<Message, Long>{\n\n}", "public interface SelectDogJpa extends JpaRepository<Dog,Integer>{\n}", "@Repository\npublic interface IPaymentRepository extends JpaRepository<Payment, Long> {\n}", "public interface IEmployeeRepository extends JpaRepository<Employee,Integer> {\r\n\tEmployee findById(int id);\r\n\r\n\t\r\n\t\r\n\r\n}", "public interface ProductsRepo extends JpaRepository<Products, Integer>{\n}", "public interface MedicalRecordRepository extends JpaRepository<MedicalRecordEntity, Integer> {\n\n Optional<MedicalRecordEntity> findByPatientId(int patientId);\n List<MedicalRecordEntity> findAllByPatientId(int patientId);\n Optional<MedicalRecordEntity> findByRecordId(int recordId);\n}", "public interface OrderMasterRepository extends JpaRepository<OrderMaster,String> {\n\n\n\n\n\n}", "public interface BusinessDao extends JpaRepository<Business, Long> {\r\n}", "@Repository\npublic interface MemberReadRepository extends JpaRepository<Member, String> {\n\tMember findById(String id);\n}", "@SuppressWarnings(\"unused\")\n@Repository\npublic interface TemaRepository extends JpaRepository<Tema, Long> {\n\t\n \n}", "@Repository\r\npublic interface OrderDetailsRepository extends JpaRepository<OrderDetails, Integer>{\r\n\r\n\t/**\r\n\t * Gets the order details by user id.\r\n\t *\r\n\t * @param id the id\r\n\t * @return the order details by user id\r\n\t */\r\n\t@Query(nativeQuery = true, value =\"select * from order_details where user_id = :userId\" )\r\n\tList<OrderDetails> getOrderDetailsByUserId(@Param(\"userId\") Integer id);\r\n\r\n}", "@Repository\npublic interface ProdutoRepository extends JpaRepository<Produto, Integer>{\n \t\n}", "@SuppressWarnings(\"unused\")\n@Repository\npublic interface PRoulRepository extends JpaRepository<PRoul, Long> {\n}", "public interface PegawaiRepository extends JpaRepository<Pegawai, Long> {\n\n\n}", "@Repository\npublic interface ModDao extends CrudRepository<Mod, Long>{\n\n}", "@Repository\npublic interface ProductRepository extends JpaRepository<Product, Long> {\n\n}", "@SuppressWarnings(\"unused\")\n@Repository\npublic interface SettingTestimonialRepository extends JpaRepository<SettingTestimonial, Long> {\n\n}", "public interface BookedParkingSpaceRepository extends JpaRepository<BookedParkingSpace,Long> {\n\n}", "@SuppressWarnings(\"unused\")\n@Repository\npublic interface PmCorMeasureStatesRepository extends JpaRepository<PmCorMeasureStates, Long> {\n PmCorMeasureStates findByCode(String code);\n\n}", "@Repository\npublic interface TipPercentRepository extends CrudRepository<TipPercent, Long>{\n}", "@SuppressWarnings(\"unused\")\n@Repository\npublic interface RespostaRepository extends JpaRepository<Resposta, Long> {\n}", "@SuppressWarnings(\"unused\")\n@Repository\npublic interface PaiementRepository extends JpaRepository<Paiement, Long> {\n\n public List<Paiement> findByUserId(Long userId);\n\n}", "public interface AdCreativeRespository extends JpaRepository<AdCreative,Long> {\n\n}", "public interface RoomBanningRepository extends JpaRepository<RoomBanning, Long> {\n}", "public interface PaymentContextRepository extends CrudRepository<PaymentContext, Long> {\n\n}", "@SuppressWarnings(\"unused\")\n@Repository\npublic interface LevelDressageHisRepository extends JpaRepository<LevelDressageHis, Long> {\n\n}", "public interface IRespuestaInformeRepository extends JpaRepository<RespuestaInforme, RespuestaInformeId> {\n \n /**\n * Recupera las respuestas de un informe dado.\n * \n * @param informe seleccionado\n * @return lista de respuestas\n */\n List<RespuestaInforme> findByInforme(Informe informe);\n \n}", "public interface Projetos extends JpaRepository<Projeto,Long> {\n}", "public interface CommentDao extends JpaRepository<CommentPO , Long> , JpaSpecificationExecutor<CommentPO> {\n}", "@Repository\npublic interface RedeemRepo extends JpaRepository<Redeem , Long> {\n}", "public interface SystemMoudleRepository extends BaseRepository<SystemMoudle,Integer> {\n}", "@Repository\npublic interface AnswerRepository extends JpaRepository<Answer,Long>{\n}", "public interface ApplyOrderMapper extends CrudRepository<OrderEntity, Long> {\n}", "public interface GroupDao extends JpaRepository<Group,Long> {\n\n\n}", "public interface UserInfoRepository extends JpaRepository<UserInfoEntity,Long> {\n}", "public interface PresupuestosExpedRepository\nextends CrudRepository<PresupuestosExped, PresupuestosExpedPK>, PresupuestosExpedRepositoryCustom {\n\t/**\n\t * UMESCI-713 Find PresupuestosExped by the parameters\n\t *\n\t * @param numExp\n\t * @param tipMovValue\n\t * @param billStatusActive\n\t * @return\n\t */\n\tPresupuestosExped findPresupuestosExpedByIdNumExpAndTipMovAndEstado(String numExp, String tipMovValue,\n\t\t\tString billStatusActive);\n\n\n}", "@SuppressWarnings(\"unused\")\n@Repository\npublic interface PointsRepository extends JpaRepository<Points,Long> {\n \n}", "@Repository(\"LostmessDAO\")\npublic interface LostmessDAO {\n public Lostmess selectLostmessFromId(int id);\n\n public int selectLostmessCount(Lostmess lostmess);\n\n public List<Lostmess> selectLostmess(Lostmess lostmess, int start, int size);\n\n public int insertLostmess(Lostmess lostmess);\n\n public int deleteLostmess(int id);\n\n public int updateLostmess(Lostmess lostmess);\n\n}", "@Repository\npublic interface ContactInformationDAO extends JpaRepository<Contact, Long> {\n\n}", "public interface PxshenbaoDao extends JpaRepository<Pxshenbao,Integer> {\n}", "public interface DailyPatrolInspectionRepository {\n /**\n * 按项目判断是否有数据更新\n */\n boolean checkInspectionByApp(String id, String timeStamp, String projectId, String creaBy, String type);\n\n /**\n * 查询所有日常巡检的整改单\n */\n List<Object[]> getInspectionListByApp(String id, String timeStamp, String projectId, String creaid, String type);\n\n /**\n * 查询所有日常巡检的整改单\n */\n List<Object[]> getInspectionList(Map map, WebPage webPage);\n\n /**\n * 导出所有日常巡检的整改单\n */\n List<Object[]> getexportExcelList(Map map);\n\n DailyPatrolInspectionEntity getInspectionEntityById(String id);\n\n /**\n * 根据appid存入\n */\n DailyPatrolInspectionEntity getInspectionEntityByAppId(String id);\n\n /**\n * 保存日常巡检的整改单\n */\n void saveInspection(DailyPatrolInspectionEntity dailyPatrolInspection);\n\n /**\n * 保存日常巡检的整改单\n */\n void updateInspection(DailyPatrolInspectionEntity dailyPatrolInspection);\n\n /**\n * 保存图片\n */\n void saveProjectImages(ProjectImagesEntity projectImages);\n\n\n /**\n * 删除不包含的图片\n */\n void deleteByNotIds(List<String> id);\n\n /**\n * 保存图片\n */\n List<ProjectImagesEntity> getProjectImages(String id);\n\n /**\n * 删除图片\n * *id: 外键id\n * type:模块\n */\n void deleteProjectImages(String id, String type);\n\n /**\n * 保存抄送\n */\n void saveProjectCopy(ProjectCopyEntity projectCopy);\n\n /**\n * 删除抄送\n * id: 外键id\n * type:模块\n */\n void deleteProjectCopy(String id, String type);\n\n /**\n * 保存抄送人员\n */\n void saveProjectCopyDetails(ProjectCopyDetailsEntity ProjectCopyDetails);\n\n /**\n * 删除抄送人员\n * id: 外键id\n * type:模块\n */\n void deleteProjectCopyDetails(String id);\n\n /**\n * 查询抄送人员\n * id: 外键id\n * type:模块\n */\n List<Object[]> getProjectCopy(String id);\n\n /**\n * 查询整改记录\n */\n\n List<DailyPatrolInspectionDetailsEntity> getDailyPatrolInspectionDetails(String id);\n\n /**\n * 按项目查询统计信息\n */\n List<Object[]> searchInspection(String projectId);\n\n\n /**\n * 查询日常巡检代办理事项\n */\n List<Object[]> getInspectionListByAppTodo(String id, String timeStamp, String creaid);\n\n\n /**\n * 查询日常巡检待办事项是否有新数据更心\n */\n boolean checkInspectionTodo(String id, String timeStamp, String creaBy);\n\n /**\n * 保存巡检详情\n *\n * @param dailyPatrolInspectionDetailsEntity\n */\n void saveInspectionDetais(DailyPatrolInspectionDetailsEntity dailyPatrolInspectionDetailsEntity);\n\n\n /**\n * 批量删除图片\n * *id: 外键id\n * type:模块\n */\n void deleteProjectImagesList(List id, String type);\n\n /**\n * 日常巡检统计列表(后端)\n *\n * @param map\n * @return\n */\n List<Object[]> searchInspectionCount(Map map, WebPage webPage);\n\n /**\n * 日常巡检统计列表(后端)\n *\n * @param map\n * @return\n */\n List<Object[]> searchInspectionCount(Map map);\n\n int searchDailyPatrolInspectionCount(Map map);\n\n int getCount(Map map);\n\n /**\n * 统计项目\n */\n int getProjectCount(Map map);\n\n /**\n * 统计区域\n */\n int getOperatCount(Map map);\n\n /**\n * 查询日常巡检详情\n */\n Object[] getInspectionListByAdmin(String id);\n\n\n DailyPatrolInspectionEntity getDailyPatrolInspection(String id);\n\n /**\n * 日常巡检 按照当前登录人的员工id 查询整改中本人所负责人数据\n */\n int inspectionCount(String userId);\n\n\n List<DailyPatrolInspectionEntity> getDailyPatrolInspectionByInspectionId(String inspectionId);\n\n\n /**\n * 日常巡检统计(项目)\n *\n * @param map\n * @return\n */\n List<Object[]> searchInspectionProjecrCount(Map map, WebPage webPage);\n\n /**\n * 日常巡检统计(区域)\n *\n * @param map\n * @return\n */\n List<Object[]> searchInspectionOperaCount(Map map, WebPage webPage);\n\n /**\n * 日常巡检统计(项目)去掉分页\n *\n * @param map\n * @return\n */\n List<Object[]> searchInspectionProjecrCount(Map map);\n\n /**\n * 日常巡检统计(区域)去掉分页\n *\n * @param map\n * @return\n */\n List<Object[]> searchInspectionOperaCount(Map map);\n}", "interface ItemRepository extends JpaRepository<Item, Long> {\n\n}", "public interface RoomRepository extends JpaRepository<Room, Long> {\n}", "@Repository\npublic interface MS007002CreateRepository extends JpaRepository<PositionEmployeeEntity, Long> {\n /**\n * [Description]: Find a position employee<br/>\n * [ Remarks ]:<br/>\n *\n * @param positionEmployeeCode\n * @param companyID\n * @return A position employee details\n */\n @Query(value = \"SELECT * FROM position_employee pe WHERE pe.position_employee_code = :positionEmployeeCode AND pe.company_id = :companyID\", nativeQuery = true)\n PositionEmployeeEntity findPositionEmployeeByPositionEmployeeCodeAndCompanyID(@Param(\"positionEmployeeCode\") String positionEmployeeCode, @Param(\"companyID\") int companyID);\n}", "public interface Partner_apiRepository extends JpaRepository<Partner_api,Long> {\n\n}", "public interface ProductImageRepository extends JpaRepository<ProductImage,Integer> {\n\n ProductImage findProductImageById(Integer id);\n\n List<ProductImage> findProductImagesByProduct(Product product);\n\n @Query(value = \"select * from product_image where product_id = :productId and type LIKE 'PROFIL'\", nativeQuery = true)\n ProductImage findProfilByProduct(@Param(\"productId\") Integer productId);\n\n}", "public interface RepairRepository extends JpaRepository<Repair,Long> {\n\n}", "public interface OfferingRepository extends JpaRepository<Offering, Long>{\r\n\r\n}", "@SuppressWarnings(\"unused\")\n@Repository\npublic interface MembershipRepository extends JpaRepository<Membership, Long> {\n\n}", "public interface ParticipatorDao extends CrudRepository<Participator,Integer>{\n public Collection<Participator> findByAdmissionnum(int admissionnum);\n}", "@Repository\npublic interface MessagePushDao extends JpaRepository<MessagePush, Long> {\n\n MessagePush findByClientId(String clientId);\n\n MessagePush findByUserIdAndPlatform(long userId, String platform);\n}", "@SuppressWarnings(\"unused\")\npublic interface CartaHabilidadeRepository extends JpaRepository<CartaHabilidade,Long> {\n\n}", "public interface PersonRepository extends JpaRepository<Person, Long>, PersonRepositoryQuery {\n}", "public interface CommentRepository extends JpaRepository<Comment, Long> {\n}", "public interface StreetMasterRepository extends JpaRepository<StreetMaster,Long> {\n\t\n\tPage<StreetMaster>findByDivisionMaster(Pageable pageable, DivisionMaster divisionId);\n\n}", "public interface PostRepository extends CrudRepository<Post, Long> {\n}", "@SuppressWarnings(\"unused\")\n@Repository\npublic interface SysPostRepository extends JpaRepository<SysPost, Long> {\n}", "public interface UserInfoRepostory extends JpaRepository<UserInfo, String> {\n\n\tUserInfo findByOpenid(String openid);\n}", "public interface AttachmentRepository extends JpaRepository<Attachment,Long> {\n}", "public interface MedicamentRepository extends JpaRepository< Medicament, Long > {\n\n List< Medicament > findByName( String name );\n\n}", "@SuppressWarnings(\"unused\")\npublic interface PositionMoveRecordRepository extends JpaRepository<PositionMoveRecord,Long> {\n\n}", "public interface PenerimaanDtRepository extends JpaRepository<PenerimaanDt, Long> {\n\n Page<PenerimaanDt> findByPenerimaanHd(PenerimaanHd penerimaanHd, Pageable pageable);\n\n List<PenerimaanDt> findAllByPenerimaanHd(PenerimaanHd penerimaanHd);\n\n}", "public interface NoteRepository extends JpaRepository<Note, Integer> {\n\n}", "@Repository\npublic interface RoomRepository extends JpaRepository<Room, Long> {\n\n\n}", "@Repository\n//JpaRepository<obj do tipo categoria, tipo do atributo identificador>--tipo especial do spring para acessar os dados\npublic interface PedidoRepository extends JpaRepository<Pedido, Integer> {\n\t\n\t@Transactional(readOnly=true)\n\tPage<Pedido> findByCliente(Cliente cliente, Pageable pageRequest);\n}", "protected abstract PagingAndSortingRepository<T, Long> getDAO();", "@Transactional\npublic interface ModuloRepository extends JpaRepository<Modulo,Long>{\n\n}", "@Repository\npublic interface TmsWishMapper {\n //提交我的心愿歌单\n void insert(TmsWish tmsWish);\n //查询我的愿望歌单\n List<TmsWish> getList(TmsWishParam param);\n Integer getCount(TmsWishParam param);\n}" ]
[ "0.67571187", "0.6732721", "0.6619409", "0.65547854", "0.6534586", "0.6519543", "0.65114135", "0.64887565", "0.6479514", "0.64687294", "0.64652497", "0.6442984", "0.64388025", "0.643822", "0.6436871", "0.64243156", "0.64197356", "0.6410168", "0.6404825", "0.63856107", "0.6385097", "0.63827705", "0.6378647", "0.63697255", "0.63660926", "0.63650346", "0.6362641", "0.63430923", "0.6332997", "0.6326925", "0.6325641", "0.63247186", "0.6316009", "0.6314561", "0.6295341", "0.6290644", "0.6289466", "0.6289417", "0.6288526", "0.62879425", "0.6280332", "0.62797123", "0.62793064", "0.62761223", "0.62739927", "0.62737805", "0.6269926", "0.6269922", "0.6262832", "0.6260708", "0.62602776", "0.624664", "0.6244333", "0.62370205", "0.62346053", "0.62298363", "0.6228175", "0.6225883", "0.6225054", "0.6223771", "0.62225395", "0.62157655", "0.62146246", "0.6209607", "0.62086535", "0.62064976", "0.62059027", "0.6203723", "0.620072", "0.6199556", "0.61963236", "0.6191898", "0.6189923", "0.6186404", "0.6183219", "0.6182103", "0.617745", "0.61774355", "0.61772656", "0.6171107", "0.6167734", "0.6160955", "0.61534053", "0.615042", "0.61482245", "0.61460197", "0.61448693", "0.6138116", "0.6134311", "0.61316186", "0.613125", "0.6131078", "0.61297387", "0.6128107", "0.6125681", "0.6125392", "0.61242294", "0.6121802", "0.61183214", "0.6118171" ]
0.71749115
0
this should happen in a transaction
private FrameID allocateDBFrameID() { int id = initialFrameID(); try { id = getNextFrameID(); if (id == 0) { id = getLargestUsedFrameID(); id = Math.max(id, initialFrameID()); } setNextFrameID(++id); } catch (SQLException e) { Log.exception(e, this, "allocateDBFrameID"); } return new FrameID(id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void commitTx() {\n \n }", "@Override\n\tpublic void commit() {\n\n\t}", "@Override\n public void commit() {\n }", "@Override\n public void startTx() {\n \n }", "@Override\r\n\t\t\tprotected void saveContext() {\n\t\t\t\t\r\n\t\t\t}", "protected boolean afterMerge() throws DBSIOException{return true;}", "@Override\n\tpublic int commit() {\n\t\treturn 0;\n\t}", "@Override\r\n\tprotected void execute() {\r\n\t}", "public void beginTransaction() {\n\r\n\t}", "@Override\n\tpublic void onTransactionStart() {}", "protected void commit()\n\t{\n\t\t_Status = DBRowStatus.Unchanged;\n\t}", "@Override\n public void doAfterTransaction(int result) {\n\n }", "public void commitTransaction() {\n\r\n\t}", "public void commit(){\n \n }", "@Override\r\n\t\tpublic void commit() throws SQLException {\n\t\t\t\r\n\t\t}", "@Override\n protected void execute() {\n }", "@Override\n protected void execute() {\n }", "@Override\n protected void execute() {\n }", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\tMasterAEnt masterAEnt = (MasterAEnt) ss.get(MasterAEnt.class, 1);\r\n\t\t\t\t//doing lazy-load\r\n\t\t\t\tmasterAEnt.getDetailAEntCol().size();\r\n\t\t\t\t\r\n\t\t\t\tPlayerManagerTest.this\r\n\t\t\t\t\t.manager\r\n\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(true));\r\n\t\t\t\t\r\n\t\t\t\tSignatureBean signatureBean = PlayerManagerTest.this.manager.deserializeSignature(\"eyJjbGF6ek5hbWUiOiJvcmcuanNvbnBsYXliYWNrLnBsYXllci5oaWJlcm5hdGUuZW50aXRpZXMuTWFzdGVyQUVudCIsImlzQ29sbCI6dHJ1ZSwicHJvcGVydHlOYW1lIjoiZGV0YWlsQUVudENvbCIsInJhd0tleVZhbHVlcyI6WyIxIl0sInJhd0tleVR5cGVOYW1lcyI6WyJqYXZhLmxhbmcuSW50ZWdlciJdfQ\");\r\n\t\t\t\tCollection<DetailAEnt> detailAEntCol = PlayerManagerTest.this.manager.getBySignature(signatureBean);\r\n\t\t\t\tArrayList<DetailAEnt> detailAEntCuttedCol = new ArrayList<>();\r\n\t\t\t\tdetailAEntCuttedCol.add(new ArrayList<>(detailAEntCol).get(0));\r\n\t\t\t\tdetailAEntCuttedCol.add(new ArrayList<>(detailAEntCol).get(1));\r\n\t\t\t\tPlayerSnapshot<Collection<DetailAEnt>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(detailAEntCuttedCol);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\t\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\tMasterAEnt masterAEnt = (MasterAEnt) ss.get(MasterAEnt.class, 1);\r\n\t\t\t\t//doing lazy-load\r\n\t\t\t\tmasterAEnt.getDetailAEntCol().size();\r\n\t\t\t\t\r\n\t\t\t\tPlayerManagerTest.this\r\n\t\t\t\t\t.manager\r\n\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(true));\r\n\t\t\t\t\r\n\t\t\t\tSignatureBean signatureBean = PlayerManagerTest.this.manager.deserializeSignature(\"eyJjbGF6ek5hbWUiOiJvcmcuanNvbnBsYXliYWNrLnBsYXllci5oaWJlcm5hdGUuZW50aXRpZXMuTWFzdGVyQUVudCIsImlzQ29sbCI6dHJ1ZSwicHJvcGVydHlOYW1lIjoiZGV0YWlsQUVudENvbCIsInJhd0tleVZhbHVlcyI6WyIxIl0sInJhd0tleVR5cGVOYW1lcyI6WyJqYXZhLmxhbmcuSW50ZWdlciJdfQ\");\r\n\t\t\t\tCollection<DetailAEnt> detailAEntCol = PlayerManagerTest.this.manager.getBySignature(signatureBean);\r\n\t\t\t\tArrayList<DetailAEnt> detailAEntCuttedCol = new ArrayList<>();\r\n\t\t\t\tdetailAEntCuttedCol.add(new ArrayList<>(detailAEntCol).get(1));\r\n\t\t\t\tdetailAEntCuttedCol.add(new ArrayList<>(detailAEntCol).get(2));\r\n\t\t\t\tPlayerSnapshot<Collection<DetailAEnt>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(detailAEntCuttedCol);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\t\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "protected abstract void commitIndividualTrx();", "void commit() {\n }", "Transaction getCurrentTransaction();", "@Override\n protected void execute() {\n \n }", "void commit();", "void commit();", "@Override\n\tpublic void joinTransaction() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\tMasterAEnt masterAEnt = (MasterAEnt) ss.get(MasterAEnt.class, 1);\r\n\t\t\t\t//doing lazy-load\r\n\t\t\t\tmasterAEnt.getDetailAEntCol().size();\r\n\t\t\t\t\r\n\t\t\t\tPlayerManagerTest.this\r\n\t\t\t\t\t.manager\r\n\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(true));\r\n\t\t\t\t\r\n\t\t\t\tSignatureBean signatureBean = PlayerManagerTest.this.manager.deserializeSignature(\"eyJjbGF6ek5hbWUiOiJvcmcuanNvbnBsYXliYWNrLnBsYXllci5oaWJlcm5hdGUuZW50aXRpZXMuTWFzdGVyQUVudCIsImlzQ29sbCI6dHJ1ZSwicHJvcGVydHlOYW1lIjoiZGV0YWlsQUVudENvbCIsInJhd0tleVZhbHVlcyI6WyIxIl0sInJhd0tleVR5cGVOYW1lcyI6WyJqYXZhLmxhbmcuSW50ZWdlciJdfQ\");\r\n\t\t\t\tCollection<DetailAEnt> detailAEntCol = PlayerManagerTest.this.manager.getBySignature(signatureBean);\r\n\t\t\t\tPlayerSnapshot<Collection<DetailAEnt>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(detailAEntCol);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\t\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "@Override\r\n\t\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\r\n\t\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\t\tsqlLogInspetor.enable();\r\n\r\n\t\t\t\t\tMasterAEnt masterAEnt = (MasterAEnt) ss.get(MasterAEnt.class, 1);\r\n\t\t\t\t\tmasterAEnt.setBlobLazyB(null);\r\n\t\t\t\t\targ0.flush();\r\n\t\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\treturn null;\r\n\t\t\t\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n protected void execute() {\n\n }", "IDbTransaction beginTransaction();", "Transaction beginTx();", "public void commit() {\n }", "private void processCommit() throws HsqlException {\n tokenizer.isGetThis(Token.T_WORK);\n session.commit();\n }", "public void commit();", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\t\tList<MasterBEnt> masterBEntList = \r\n\t\t\t\t\t\thbSupport.createCriteria(ss, MasterBEnt.class)\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.idA\"))\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.idB\")).list();\r\n\t\t\t\tList<Map<String, Map<String, MasterBEnt>>> masterBEntBizarreList = new ArrayList<>();\r\n\t\t\t\t\r\n\t\t\t\tfor (MasterBEnt masterB : masterBEntList) {\r\n\t\t\t\t\tSignatureBean signBean = ((IPlayerManagerImplementor) PlayerManagerTest.this.manager).generateSignature(masterB);\r\n\t\t\t\t\tString signStr = PlayerManagerTest.this.manager.serializeSignature(signBean);\r\n\t\t\t\t\tMap<String, Map<String, MasterBEnt>> mapItem = new LinkedHashMap<>();\r\n\t\t\t\t\tPlayerSnapshot<MasterBEnt> masterBPS = PlayerManagerTest.this.manager.createPlayerSnapshot(masterB);\r\n\t\t\t\t\tMap<String, MasterBEnt> mapMapItem = new LinkedHashMap<>();\r\n\t\t\t\t\tmapMapItem.put(\"wrappedSnapshot\", masterB);\r\n\t\t\t\t\tmapItem.put(signStr, mapMapItem);\r\n\t\t\t\t\tmasterBEntBizarreList.add(mapItem);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t.this\r\n\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(false));\r\n\t\t\t\t\r\n\t\t\t\tPlayerSnapshot<List<Map<String, Map<String, MasterBEnt>>>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(masterBEntBizarreList);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\t\tList<DetailAEnt> detailAEntList = \r\n\t\t\t\t\t\thbSupport.createCriteria(ss, DetailAEnt.class)\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.masterA.id\"))\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.subId\")).list();\r\n\t\t\t\t\r\n\t\t\t\tList<DetailACompId> detailACompIdList = new ArrayList<>();\r\n\t\t\t\tfor (DetailAEnt detailAEnt : detailAEntList) {\r\n\t\t\t\t\tdetailACompIdList.add(detailAEnt.getCompId());\r\n\t\t\t\t\tPlayerManagerTest.this.manager.registerComponentOwner(DetailAEnt.class, detailAEnt.getCompId(), d -> d.getCompId());\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t.this\r\n\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(false));\r\n\t\t\t\t\r\n\t\t\t\tPlayerSnapshot<List<DetailACompId>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(detailACompIdList);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "public void loadInitialData() {\n\t\t\texecuteTransaction(new Transaction<Boolean>() {\n\t\t\t\t@Override\n\t\t\t\tpublic Boolean execute(Connection conn) throws SQLException {\n\t\t\t\t\tList<Item> inventory;\n\t\t\t\t\tList<Location> locationList;\n\t\t\t\t\tList<User> userList;\n\t\t\t\t\tList<JointLocations> jointLocationsList;\n\t\t\t\t\t//List<Description> descriptionList; \n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tinventory = InitialData.getInventory();\n\t\t\t\t\t\tlocationList = InitialData.getLocations(); \n\t\t\t\t\t\tuserList = InitialData.getUsers();\n\t\t\t\t\t\tjointLocationsList = InitialData.getJointLocations();\n\t\t\t\t\t\t//descriptionList = //InitialData.getDescriptions();\n\t\t\t\t\t\t\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\tthrow new SQLException(\"Couldn't read initial data\", e);\n\t\t\t\t\t}\n\n\t\t\t\t\tPreparedStatement insertItem = null;\n\t\t\t\t\tPreparedStatement insertLocation = null; \n\t\t\t\t\tPreparedStatement insertUser = null;\n\t\t\t\t\tPreparedStatement insertJointLocations = null;\n\n\t\t\t\t\ttry {\n\t\t\t\t\t\t// AD: populate locations first since location_id is foreign key in inventory table\n\t\t\t\t\t\tinsertLocation = conn.prepareStatement(\"insert into locations (description_short, description_long) values (?, ?)\" );\n\t\t\t\t\t\tfor (Location location : locationList)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tinsertLocation.setString(1, location.getShortDescription());\n\t\t\t\t\t\t\tinsertLocation.setString(2, location.getLongDescription());\n\t\t\t\t\t\t\tinsertLocation.addBatch();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinsertLocation.executeBatch(); \n\t\t\t\t\t\t\n\t\t\t\t\t\tinsertJointLocations = conn.prepareStatement(\"insert into jointLocations (fk_location_id, location_north, location_south, location_east, location_west) values (?, ?, ?, ?, ?)\" );\n\t\t\t\t\t\tfor (JointLocations jointLocations: jointLocationsList)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tinsertJointLocations.setInt(1, jointLocations.getLocationID());\n\t\t\t\t\t\t\tinsertJointLocations.setInt(2, jointLocations.getLocationNorth());\n\t\t\t\t\t\t\tinsertJointLocations.setInt(3, jointLocations.getLocationSouth());\n\t\t\t\t\t\t\tinsertJointLocations.setInt(4, jointLocations.getLocationEast());\n\t\t\t\t\t\t\tinsertJointLocations.setInt(5, jointLocations.getLocationWest());\n\t\t\t\t\t\t\tinsertJointLocations.addBatch();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinsertJointLocations.executeBatch();\n\t\t\t\t\t\t\n\t\t\t\t\t\tinsertItem = conn.prepareStatement(\"insert into inventory (location_id, item_name) values (?, ?)\");\n\t\t\t\t\t\tfor (Item item : inventory) \n\t\t\t\t\t\t{\n//\t\t\t\t\t\t\t// Auto generate itemID\n\t\t\t\t\t\t\tinsertItem.setInt(1, item.getLocationID());\n\t\t\t\t\t\t\tinsertItem.setString(2, item.getName());\n\t\t\t\t\t\t\tinsertItem.addBatch();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinsertItem.executeBatch();\n\t\t\t\t\t\t\n\t\t\t\t\t\tinsertUser = conn.prepareStatement(\"insert into users (username, password) values (?, ?)\");\n\t\t\t\t\t\tfor(User user: userList) {\n\t\t\t\t\t\t\tinsertUser.setString(1, user.getUsername());\n\t\t\t\t\t\t\tinsertUser.setString(2, user.getPassword());\n\t\t\t\t\t\t\tinsertUser.addBatch();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinsertUser.executeBatch();\n\t\t\t\t\t\t\n\t\t\t\t\t\tSystem.out.println(\"Tables populated\");\n\t\t\t\t\t\t\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tDBUtil.closeQuietly(insertLocation);\t\n\t\t\t\t\t\tDBUtil.closeQuietly(insertItem);\n\t\t\t\t\t\tDBUtil.closeQuietly(insertUser);\n\t\t\t\t\t}\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t});\n\t\t}", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\t\tList<MasterAEnt> masterAEntList = \r\n\t\t\t\t\t\thbSupport.createCriteria(ss, MasterAEnt.class)\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"id\")).list();\r\n\t\t\t\tList<MasterAWrapper> masterAWrapperList = new ArrayList<>();\r\n\t\t\t\tfor (MasterAEnt masterAEnt : masterAEntList) {\r\n\t\t\t\t\tMasterAWrapper masterAWrapper = new MasterAWrapper();\r\n\t\t\t\t\tmasterAWrapper.setMasterA(masterAEnt);\r\n\t\t\t\t\tmasterAWrapper.setDetailAWrapperList(new ArrayList<>());\r\n\t\t\t\t\tmasterAWrapper.setDetailAEntCol(new ArrayList<>(masterAEnt.getDetailAEntCol()));\r\n\t\t\t\t\tfor (DetailAEnt detailAEnt : masterAEnt.getDetailAEntCol()) {\r\n\t\t\t\t\t\tDetailAWrapper detailAWrapper = new DetailAWrapper();\r\n\t\t\t\t\t\tdetailAWrapper.setDetailA(detailAEnt);\r\n\t\t\t\t\t\tmasterAWrapper.getDetailAWrapperList().add(detailAWrapper);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tmasterAWrapperList.add(masterAWrapper);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t.this\r\n\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(true));\r\n\t\t\t\t\r\n\t\t\t\tPlayerSnapshot<List<MasterAWrapper>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(masterAWrapperList);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "protected void execute() {\n\t\t\n\t}", "void sendTransactionToServer()\n \t{\n \t\t//json + sql magic\n \t}", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\tSignatureBean signatureBean = PlayerManagerTest.this.manager.deserializeSignature(\"eyJjbGF6ek5hbWUiOiJvcmcuanNvbnBsYXliYWNrLnBsYXllci5oaWJlcm5hdGUuZW50aXRpZXMuTWFzdGVyQkVudCIsInJhd0tleVZhbHVlcyI6WyIxIiwiMSJdLCJyYXdLZXlUeXBlTmFtZXMiOlsiamF2YS5sYW5nLkludGVnZXIiLCJqYXZhLmxhbmcuSW50ZWdlciJdfQ\");\r\n\t\t\t\tMasterBEnt masterBEnt = PlayerManagerTest.this.manager.getBySignature(signatureBean);\r\n\t\t\t\t\r\n\t\t\t\tsignatureBean = PlayerManagerTest.this.manager.deserializeSignature(\"eyJjbGF6ek5hbWUiOiJvcmcuanNvbnBsYXliYWNrLnBsYXllci5oaWJlcm5hdGUuZW50aXRpZXMuTWFzdGVyQUVudCIsImlzQ29sbCI6dHJ1ZSwicHJvcGVydHlOYW1lIjoiZGV0YWlsQUVudENvbCIsInJhd0tleVZhbHVlcyI6WyIxIl0sInJhd0tleVR5cGVOYW1lcyI6WyJqYXZhLmxhbmcuSW50ZWdlciJdfQ\");\r\n\t\t\t\tCollection<DetailAEnt> detailAEntCol = PlayerManagerTest.this.manager.getBySignature(signatureBean);\r\n\t\t\t\t\r\n\t\t\t\tsignatureBean = PlayerManagerTest.this.manager.deserializeSignature(\"eyJjbGF6ek5hbWUiOiJvcmcuanNvbnBsYXliYWNrLnBsYXllci5oaWJlcm5hdGUuZW50aXRpZXMuTWFzdGVyQkVudCIsImlzQ29tcCI6dHJ1ZSwicHJvcGVydHlOYW1lIjoibWFzdGVyQkNvbXAiLCJyYXdLZXlWYWx1ZXMiOlsiMSIsIjEiXSwicmF3S2V5VHlwZU5hbWVzIjpbImphdmEubGFuZy5JbnRlZ2VyIiwiamF2YS5sYW5nLkludGVnZXIiXX0\");\r\n\t\t\t\tMasterBComp masterBComp = PlayerManagerTest.this.manager.getBySignature(signatureBean);\r\n\r\n\t\t\t\tsignatureBean = PlayerManagerTest.this.manager.deserializeSignature(\"eyJjbGF6ek5hbWUiOiJvcmcuanNvbnBsYXliYWNrLnBsYXllci5oaWJlcm5hdGUuZW50aXRpZXMuTWFzdGVyQkVudCIsImlzQ29sbCI6dHJ1ZSwicHJvcGVydHlOYW1lIjoibWFzdGVyQkNvbXAuZGV0YWlsQUVudENvbCIsInJhd0tleVZhbHVlcyI6WyIxIiwiMSJdLCJyYXdLZXlUeXBlTmFtZXMiOlsiamF2YS5sYW5nLkludGVnZXIiLCJqYXZhLmxhbmcuSW50ZWdlciJdfQ\");\r\n\t\t\t\tCollection<DetailAEnt> compDetailAEntCol = PlayerManagerTest.this.manager.getBySignature(signatureBean);\r\n\r\n\t\t\t\tsignatureBean = PlayerManagerTest.this.manager.deserializeSignature(\"eyJjbGF6ek5hbWUiOiJvcmcuanNvbnBsYXliYWNrLnBsYXllci5oaWJlcm5hdGUuZW50aXRpZXMuTWFzdGVyQkVudCIsImlzQ29tcCI6dHJ1ZSwicHJvcGVydHlOYW1lIjoibWFzdGVyQkNvbXAubWFzdGVyQkNvbXBDb21wIiwicmF3S2V5VmFsdWVzIjpbIjEiLCIxIl0sInJhd0tleVR5cGVOYW1lcyI6WyJqYXZhLmxhbmcuSW50ZWdlciIsImphdmEubGFuZy5JbnRlZ2VyIl19\");\r\n\t\t\t\tMasterBCompComp masterBCompComp = PlayerManagerTest.this.manager.getBySignature(signatureBean);\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tsignatureBean = PlayerManagerTest.this.manager.deserializeSignature(\"eyJjbGF6ek5hbWUiOiJvcmcuanNvbnBsYXliYWNrLnBsYXllci5oaWJlcm5hdGUuZW50aXRpZXMuTWFzdGVyQkVudCIsImlzQ29sbCI6dHJ1ZSwicHJvcGVydHlOYW1lIjoibWFzdGVyQkNvbXAubWFzdGVyQkNvbXBDb21wLmRldGFpbEFFbnRDb2wiLCJyYXdLZXlWYWx1ZXMiOlsiMSIsIjEiXSwicmF3S2V5VHlwZU5hbWVzIjpbImphdmEubGFuZy5JbnRlZ2VyIiwiamF2YS5sYW5nLkludGVnZXIiXX0\");\r\n\t\t\t\tCollection<DetailAEnt> compCompDetailAEntCol = PlayerManagerTest.this.manager.getBySignature(signatureBean);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tAssert.assertThat(\"masterBEnt.getMasterBComp(), sameInstance(masterBComp)\", masterBEnt.getMasterBComp(), sameInstance(masterBComp));\r\n\t\t\t\tAssert.assertThat(\"masterBEnt.getMasterBComp().getMasterBCompComp(), sameInstance(masterBCompComp)\", masterBEnt.getMasterBComp().getMasterBCompComp(), sameInstance(masterBCompComp));\r\n\t\t\t\t\r\n\t\t\t\tAssert.assertThat(\"masterBComp.getMasterBCompComp(), sameInstance(masterBCompComp)\", masterBComp.getMasterBCompComp(), sameInstance(masterBCompComp));\r\n\t\t\t\tAssert.assertThat(\"detailAEntCol, not(sameInstance(compDetailAEntCol))\", detailAEntCol, not(sameInstance(compDetailAEntCol)));\r\n\t\t\t\tAssert.assertThat(\"detailAEntCol, not(sameInstance(compCompDetailAEntCol))\", detailAEntCol, not(sameInstance(compCompDetailAEntCol)));\r\n\t\t\t\tAssert.assertThat(\"compDetailAEntCol, not(sameInstance(compCompDetailAEntCol))\", compDetailAEntCol, not(sameInstance(compCompDetailAEntCol)));\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "@Override\n public void DataIsInserted() {\n }", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\t\tList<DetailAEnt> detailAEntList = \r\n\t\t\t\t\t\thbSupport.createCriteria(ss, DetailAEnt.class)\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.masterA.id\"))\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.subId\")).list();\r\n\t\t\t\t\r\n\t\t\t\tList<DetailACompComp> detailACompIdList = new ArrayList<>();\r\n\t\t\t\tfor (DetailAEnt detailAEnt : detailAEntList) {\r\n\t\t\t\t\tdetailACompIdList.add(detailAEnt.getDetailAComp().getDetailACompComp());\r\n\t\t\t\t\tPlayerManagerTest.this.manager.registerComponentOwner(\r\n\t\t\t\t\t\t\tDetailAEnt.class, \r\n\t\t\t\t\t\t\tdetailAEnt.getDetailAComp().getDetailACompComp(),\r\n\t\t\t\t\t\t\td -> d.getDetailAComp().getDetailACompComp());\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t.this\r\n\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(false));\r\n\t\t\t\t\r\n\t\t\t\tPlayerSnapshot<List<DetailACompComp>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(detailACompIdList);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\t\tList<DetailAEnt> detailAEntList = \r\n\t\t\t\t\t\thbSupport.createCriteria(ss, DetailAEnt.class)\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.masterA.id\"))\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.subId\")).list();\r\n\t\t\t\t\r\n\t\t\t\tList<DetailACompId> detailACompIdList = new ArrayList<>();\r\n\t\t\t\tfor (DetailAEnt detailAEnt : detailAEntList) {\r\n\t\t\t\t\tdetailACompIdList.add(detailAEnt.getCompId());\r\n\t\t\t\t\tPlayerManagerTest.this.manager.registerComponentOwner(detailAEnt, d -> d.getCompId());\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t.this\r\n\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(false));\r\n\t\t\t\t\r\n\t\t\t\tPlayerSnapshot<List<DetailACompId>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(detailACompIdList);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "public abstract void commit();", "@Override\n public void rollbackTx() {\n \n }", "@Override\r\n\t\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\t\r\n\t\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\t\r\n\t\t\t\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\t\t\tList<MasterAEnt> masterAEntList = hbSupport.createCriteria(ss, MasterAEnt.class)\r\n\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"id\")).list();\r\n\t\t\t\t\t\r\n\t\t\t\t\tPlayerManagerTest.this.manager\r\n\t\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\t\tPlayerManagerTest.this.manager.getConfig().clone()\r\n\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(true));\r\n\t\t\t\t\t\r\n\t\t\t\t\tPlayerSnapshot<List<MasterAEnt>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(masterAEntList);\r\n\t\t\t\t\t\r\n\t\t\t\t\tFileOutputStream fos;\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\t\r\n\t\t\t\t\treturn null;\r\n\t\t\t\t}", "void commit() {\r\n tx.commit();\r\n tx = new Transaction();\r\n }", "protected void execute() {\n \t\n }", "protected void execute() {\n \t\n }", "void doTransaction (Redis redis) {\n\t \tswitch (redis.EXEC()) {\n\t \tcase OK:\n\t \tbreak;\n\t \tcase FAIL:\n \t\t\tdiscardTransaction(redis);\n\t\t\tbreak;\n\t \t}\n\t}", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\t\tList<MasterBEnt> masterBEntList = \r\n\t\t\t\t\t\thbSupport.createCriteria(ss, MasterBEnt.class)\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.idA\"))\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.idB\")).list();\r\n\t\t\t\t\r\n\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t.this\r\n\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(false));\r\n\t\t\t\t\r\n\t\t\t\tPlayerSnapshot<List<MasterBEnt>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(masterBEntList);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "protected void execute() {}", "private MetaSparqlRequest createRollbackPreInsered() {\n\t\treturn createRollbackMT1();\n\t}", "@Override\n protected void execute() {\n \n }", "public void beginTransaction() throws Exception;", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\t\tList<DetailAEnt> detailAEntList = \r\n\t\t\t\t\t\thbSupport.createCriteria(ss, DetailAEnt.class)\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.masterA.id\"))\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.subId\")).list();\r\n\t\t\t\t\r\n\t\t\t\tList<DetailACompComp> detailACompIdList = new ArrayList<>();\r\n\t\t\t\tfor (DetailAEnt detailAEnt : detailAEntList) {\r\n\t\t\t\t\tdetailACompIdList.add(detailAEnt.getDetailAComp().getDetailACompComp());\r\n\t\t\t\t\tPlayerManagerTest.this.manager.registerComponentOwner(detailAEnt, d -> d.getDetailAComp());\r\n\t\t\t\t\tPlayerManagerTest.this.manager.registerComponentOwner(detailAEnt.getDetailAComp(), dc -> dc.getDetailACompComp());\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t.this\r\n\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(false));\r\n\t\t\t\t\r\n\t\t\t\tPlayerSnapshot<List<DetailACompComp>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(detailACompIdList);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "@Override\n\tpublic void execute() {\n\t\t\n\t}", "public void forceCommitTx()\n{\n}", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\tMasterAEnt masterAEnt = (MasterAEnt) ss.get(MasterAEnt.class, 1);\r\n\t\t\t\t//doing lazy-load\r\n\t\t\t\tmasterAEnt.getDetailAEntCol().size();\r\n\t\t\t\t\r\n\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t.this\r\n\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(false));\r\n\t\t\t\t\r\n\t\t\t\tPlayerSnapshot<MasterAEnt> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(masterAEnt);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "@Override\r\n\tpublic void execute() {\n }", "void beginTransaction();", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\tMasterBCompId compId = new MasterBCompId();\r\n\t\t\t\tcompId.setIdA(1);\r\n\t\t\t\tcompId.setIdB(1);\r\n\t\t\t\tMasterBEnt masterBEnt = (MasterBEnt) ss.get(MasterBEnt.class, compId);\r\n\t\t\t\tSystem.out.println(\"$$$$: \" + masterBEnt.getDatetimeA());\r\n\t\t\t\tSystem.out.println(\"$$$$: \" + masterBEnt.getDatetimeA().getTime());\r\n\t\t\t\r\n\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t.this\r\n\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(true));\r\n\t\t\t\t\r\n\t\t\t\tPlayerSnapshot<MasterBEnt> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(masterBEnt);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public void commit() {\n doCommit();\n }", "protected void post_commit_hook() { }", "@Override\n\tpublic void preInsert() {\n\n\t}", "@Override\n public boolean commitSMO() {\n return true;\n }", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\tMasterAEnt masterAEnt = (MasterAEnt) ss.get(MasterAEnt.class, 1);\r\n\t\t\t\tList<MasterAEnt> masterAEntList = new ArrayList<>();\r\n\t\t\t\tmasterAEntList.add(masterAEnt);\r\n\t\t\t\tmasterAEntList.add(masterAEnt);\t\t\t\t\r\n\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t.this\r\n\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(true));\r\n\t\t\t\t\r\n\t\t\t\tPlayerSnapshot<List<MasterAEnt>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(masterAEntList);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "protected void execute()\n\t{\n\t}", "@Override\r\n\tpublic void execute() {\n\r\n\t}", "void commit() throws SoarException\n {\n // if lazy, commit\n if(db != null && params.lazy_commit.get() == LazyCommitChoices.on)\n {\n // Commit and then start next lazy-commit transaction\n try\n {\n db.commitExecuteUpdate( /* soar_module::op_reinit */);\n db.beginExecuteUpdate( /* soar_module::op_reinit */);\n }\n catch(SQLException e)\n {\n throw new SoarException(\"Error while forcing commit: \" + e.getMessage(), e);\n }\n }\n \n }", "@Override\n public void execute() {}", "@Override\n\tpublic void updateTransaction(Transaction transaction) {\n\t\t\n\t}", "void startTransaction();", "protected void execute() {\n\n\t}", "@Override\n public void execute() {\n }", "@Override\r\n\tpublic void execute() {\n\t}", "@Override\r\n\tpublic void execute() {\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\r\n\t\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\r\n\t\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\t\tsqlLogInspetor.enable();\r\n\r\n\t\t\t\t\tMasterAEnt masterAEnt = (MasterAEnt) ss.get(MasterAEnt.class, 1);\r\n\t\t\t\t\tSystem.out.println(\"$$$$: \" + masterAEnt.getDatetimeA());\r\n\t\t\t\t\tSystem.out.println(\"$$$$: \" + masterAEnt.getDatetimeA().getTime());\r\n\r\n\t\t\t\t\tPlayerManagerTest.this.manager.overwriteConfigurationTemporarily(PlayerManagerTest.this.manager\r\n\t\t\t\t\t\t\t.getConfig().clone().configSerialiseBySignatureAllRelationship(true));\r\n\r\n\t\t\t\t\tPlayerSnapshot<MasterAEnt> playerSnapshot = PlayerManagerTest.this.manager\r\n\t\t\t\t\t\t\t.createPlayerSnapshot(masterAEnt);\r\n\r\n\t\t\t\t\tFileOutputStream fos;\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\t\tPlayerManagerTest.this.manager.getConfig().getObjectMapper().writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tsqlLogInspetor.disable();\r\n\r\n\t\t\t\t\treturn null;\r\n\t\t\t\t}", "public void execute() {\n\t\t\r\n\t}", "public void execute() {\n\t\t\r\n\t}", "public void execute() {\n\t\t\r\n\t}", "@Override\n\tpublic void insertProcess() {\n\t\t\n\t}", "public static void main(String[] args) throws ClassNotFoundException, SQLException {\n Class.forName(\"org.postgresql.Driver\");\n\n // Connect to the \"bank\" database.\n Connection conn = DriverManager.getConnection(\"jdbc:postgresql://127.0.0.1:26257/?reWriteBatchedInserts=true&applicationanme=123&sslmode=disable\", \"root\", \"\");\n conn.setAutoCommit(false); // true and false do not make the difference\n // rewrite batch does not make the difference\n\n try {\n // Create the \"accounts\" table.\n conn.createStatement().execute(\"CREATE TABLE IF NOT EXISTS accounts (id serial PRIMARY KEY, balance INT)\");\n\n // Insert two rows into the \"accounts\" table.\n PreparedStatement st = conn.prepareStatement(\"INSERT INTO accounts (balance) VALUES (?), (?) returning id, balance\", \n ResultSet.TYPE_SCROLL_INSENSITIVE,\n ResultSet.CONCUR_UPDATABLE);\n st.setInt(1, 100); \n st.setInt(2, 200); \n\n ResultSet rs = st.executeQuery();\n\n st = conn.prepareStatement(\"select id1, id2, link_type, visibility, data, time, version from linkbench.linktable where id1 = 9307741 and link_type = 123456790 and time >= 0 and time <= 9223372036854775807 and visibility = 1 order by time desc limit 0 offset 10000\",\n ResultSet.TYPE_SCROLL_INSENSITIVE,\n ResultSet.CONCUR_UPDATABLE);\n rs = st.executeQuery();\n rs.last();\n int count = rs.getRow();\n rs.beforeFirst();\n System.out.printf(\"# of row in return set is %d\\n\", count);\n\n while (rs.next()) {\n System.out.printf(\"\\taccount %s: %s\\n\", rs.getLong(\"id\"), rs.getInt(\"balance\"));\n }\n } finally {\n // Close the database connection.\n conn.close();\n }\n }", "@Test\n public void existingTransaction() {\n Transaction t1 = startTransaction();\n IntRef intValue = new IntRef(10);\n t1.commit();\n\n Transaction t2 = startTransaction();\n assertEquals(10, intValue.get());\n\n intValue.inc();\n assertEquals(11, intValue.get());\n t2.commit();\n }", "void commitTransaction();", "@Test\n public void test5() throws Exception {\n String jpql = \"SELECT c FROM Course c where c.name = :name\";\n TypedQuery<Course> q = em.createQuery(jpql, Course.class);\n em.createNativeQuery(\"\",Course.class);\n q.setParameter(\"name\", \"Second one\");\n Course course = q.getSingleResult();\n CourseMapped courseMapped = course.getCourseMapped();\n course.setName(\"Edited one\");\n em.merge(course);\n em.flush();\n\n courseMapped.setName(\"Edited one\");\n courseMapped.getLevels().remove(0); // and remove one level\n // commit current transaction, we gonna test results in another one\n Assert.assertTrue(true);\n }", "private void executeTransaction(ArrayList<Request> transaction) {\n // create a new TransactionMessage\n TransactionMessage tm = new TransactionMessage(transaction);\n //if(tm.getStatementCode(0)!=8&&tm.getStatementCode(0)!=14)\n // return;\n try {\n ByteArrayOutputStream bos = new ByteArrayOutputStream();\n ObjectOutputStream oos = new ObjectOutputStream(bos);\n oos.writeObject(tm);\n oos.flush();\n\n byte[] data = bos.toByteArray();\n\n byte[] buffer = null;\n long startTime = System.currentTimeMillis();\n buffer = clientShim.execute(data);\n long endTime = System.currentTimeMillis();\n if (reqIndex < maxNoOfRequests && id > 0) {\n System.out.println(\"#req\" + reqIndex + \" \" + startTime + \" \" + endTime + \" \" + id);\n }\n reqIndex++;\n\n father.addTransaction();\n\n // IN THE MEAN TIME THE INTERACTION IS BEING EXECUTED\n\n\t\t\t\t/*\n\t\t\t\t * possible values of r: 0: commit 1: rollback 2: error\n\t\t\t\t */\n int r = ByteBuffer.wrap(buffer).getInt();\n //System.out.println(\"r = \"+r);\n if (r == 0) {\n father.addCommit();\n } else if (r == 1) {\n father.addRollback();\n } else {\n father.addError();\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "@Override\n\tpublic void updateTransaction(Transaction transaction) {\n\n\t}", "@Override\n protected void doPrepare()\n {\n iwriter.prepareToCommit();\n super.doPrepare();\n }", "private static synchronized void writeTransaction( StmTransaction transaction ) {\n\n // Check for conflicts.\n for ( AbstractVersionedItem versionedItem : transaction.versionedItemsRead ) {\n versionedItem.ensureNotWrittenByOtherTransaction();\n }\n\n // Set the revision number to a committed value.\n transaction.targetRevisionNumber.set( lastCommittedRevisionNumber.incrementAndGet() );\n\n }", "@Override\n\tpublic void rollBack() {\n\n\t}", "@Override\n\tpublic void execute() {\n\t}", "public void commitMeasurements() {\n\tsuper.commitMeasurements();\n}", "protected void execute() {\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}" ]
[ "0.6342929", "0.61623424", "0.6106929", "0.59658015", "0.59530884", "0.5910657", "0.5902167", "0.5853129", "0.5851231", "0.5825516", "0.58247805", "0.581895", "0.5808759", "0.5803576", "0.57784307", "0.57783294", "0.57783294", "0.57783294", "0.57782024", "0.5777119", "0.5752256", "0.57514787", "0.57014745", "0.5699302", "0.56950134", "0.56950134", "0.5684528", "0.56650704", "0.5634806", "0.5632517", "0.5608792", "0.5604561", "0.560168", "0.5600384", "0.55988425", "0.5596301", "0.55943835", "0.5592395", "0.5587161", "0.55839694", "0.55799675", "0.5578382", "0.5574758", "0.5573418", "0.5567062", "0.5566846", "0.5559156", "0.55509514", "0.55501443", "0.5544542", "0.554418", "0.554418", "0.5535631", "0.55335903", "0.5531111", "0.55202746", "0.5518558", "0.5517642", "0.5516899", "0.5515266", "0.5509615", "0.5502741", "0.5487075", "0.54599595", "0.5457257", "0.5456796", "0.5450479", "0.5440991", "0.5440885", "0.5432242", "0.5426504", "0.54220426", "0.5419859", "0.54084843", "0.54023886", "0.5402004", "0.5395029", "0.53927135", "0.53880435", "0.53879935", "0.53879935", "0.53754425", "0.53609496", "0.53579515", "0.5352348", "0.5352348", "0.5352348", "0.5340239", "0.5336804", "0.53365564", "0.53364563", "0.533414", "0.53282183", "0.532457", "0.532285", "0.5319625", "0.5318151", "0.53173476", "0.5317173", "0.5317035", "0.53166634" ]
0.0
-1
returns true if transaction started successfully
public boolean beginTransaction() { boolean result = false; if (_canDisableAutoCommit) { try { _connection.setAutoCommit(false); result = true; } catch (SQLException e) { Log.warning("Transactions not supported", this, "startTransaction"); _canDisableAutoCommit = false; } } return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean transactionStarted();", "public boolean isTransactionRunning();", "public void transactionStarted() {\n transactionStart = true;\n }", "public boolean transactionWillSucceed(Transaction transaction) {\n return transactionBuffer.transactionWillSucceed(transaction);\n }", "public int startTransaction();", "void startTransaction();", "public boolean createTransaction() {\n\t\t\treturn false;\n\t\t}", "public TitanTransaction start();", "void setTransactionSuccessful();", "public boolean processTransaction() {\r\n\t\t\r\n\t\t\tif(verifySignature() == false) {\r\n\t\t\t\tSystem.out.println(\"#Transaction Signature failed to verify\");\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\ttransactionId = calulateHash();\r\n\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\treturn true;\r\n\t\t}", "void beginTransaction();", "public Transaction startTransaction() {\r\n return getManager().startTransaction();\r\n }", "public boolean process() {\n\t\t// waits 5 milliseconds(simulates a slow task, such as accessing a remote system)\n\t\ttry {\n\t\t\tThread.sleep(5);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t// error every 10 transactions\n\t\tboolean success = id % 10 != 0;\n\t\tlogger.debug(\"Transaction processed: \" + id + \"; Result: \" + success);\n\t\treturn success;\n\t}", "public void beginTransaction() {\n\r\n\t}", "@Override\n public boolean isTransActionAlive() {\n Transaction transaction = getTransaction();\n return transaction != null && transaction.isActive();\n }", "public boolean hasTransaction() {\n\t\treturn (this.transactionStatus != null);\n\t}", "public boolean isRunInBackgroundTransaction () {\n return runInBackgroundTransaction;\n }", "boolean hasTxnrequest();", "Boolean isTransacted();", "Boolean isTransacted();", "Transaction beginTx();", "public void beginTransaction() throws Exception;", "IDbTransaction beginTransaction();", "public boolean flushTransactions() {\n return true;\n }", "@Override\n public void startTx() {\n \n }", "boolean hasTxnresponse();", "public Transaction startTransaction(){\n\t\ttr = new Transaction(db);\n\t\treturn tr;\n\t}", "@Override\n\tpublic void onTransactionStart() {}", "@Override\n\tpublic boolean supportsTransactions() {\n\n\t\treturn false;\n\t}", "boolean hasTransactionChangesPending() {\n// System.out.println(transaction_mod_list);\n return transaction_mod_list.size() > 0;\n }", "public boolean isTransactional()\n {\n return _isTransactional;\n }", "public boolean addTransaction(Transaction trans) {\n if (trans == null) {\n return false;\n }\n if (!previousHash.equals(\"0\")) {\n if (!trans.processTransaction()) {\n System.out.println(\"Transaction failed to process. Transaction discarded!\");\n return false;\n }\n }\n transactions.add(trans);\n System.out.println(\"Transaction successfully added to the block\");\n return true;\n }", "public boolean getSuccess() {\n return (transactionFailure == null && amountConverted != null);\n }", "boolean shouldCommit();", "public void base_ok(Transaction t) {\n verify_transaction(t);\n make_transaction(t);\n }", "@Override\n\tpublic boolean isJoinedToTransaction() {\n\t\treturn false;\n\t}", "public boolean commit() {\r\n\tboolean result = false;\r\n\r\n\tif (conn != null && isConnected()) {\r\n\t try {\r\n\t\tboolean autoCommit = getAutoCommit();\r\n\r\n\t\tif (!autoCommit) {\r\n\t\t conn.commit();\r\n\t\t result = true;\r\n\t\t}\r\n\t } catch (Exception e) {\r\n\t\te.printStackTrace();\r\n\t }\r\n\t}\r\n\r\n\treturn result;\r\n }", "public boolean is_record_transaction(){\n\t\treturn transaction_type == TransactionType.OPERATION;\n\t}", "public boolean hasSucceeded() {\n return succeeded;\n }", "public boolean isLocalTransaction()\n {\n if (_connectionConfig.isReadOnly())\n return false;\n else if (_driverList.size() > 0) {\n DriverConfig driver = _driverList.get(0);\n \n return driver.isLocalTransaction();\n }\n else\n return false;\n }", "private boolean prepareTransaction() {\n\n // Ensure Bitcoin network service is started\n BitcoinNetworkService bitcoinNetworkService = CoreServices.getOrCreateBitcoinNetworkService();\n Preconditions.checkState(bitcoinNetworkService.isStartedOk(), \"'bitcoinNetworkService' should be started\");\n\n Address changeAddress = bitcoinNetworkService.getNextChangeAddress();\n\n // Determine if this came from a BIP70 payment request\n if (paymentRequestData.isPresent()) {\n Optional<FiatPayment> fiatPayment = paymentRequestData.get().getFiatPayment();\n PaymentSession paymentSession;\n try {\n if (paymentRequestData.get().getPaymentRequest().isPresent()) {\n paymentSession = new PaymentSession(paymentRequestData.get().getPaymentRequest().get(), false);\n } else {\n log.error(\"No PaymentRequest in PaymentRequestData - cannot create a paymentSession\");\n return false;\n }\n } catch (PaymentProtocolException e) {\n log.error(\"Could not create PaymentSession from payment request {}, error was {}\", paymentRequestData.get().getPaymentRequest().get(), e);\n return false;\n }\n\n // Build the send request summary from the payment request\n Wallet.SendRequest sendRequest = paymentSession.getSendRequest();\n log.debug(\"SendRequest from BIP70 paymentSession: {}\", sendRequest);\n\n Optional<FeeState> feeState = WalletManager.INSTANCE.calculateBRITFeeState(true);\n\n // Prepare the transaction i.e work out the fee sizes (not empty wallet)\n sendRequestSummary = new SendRequestSummary(\n sendRequest,\n fiatPayment,\n FeeService.normaliseRawFeePerKB(Configurations.currentConfiguration.getWallet().getFeePerKB()),\n null,\n feeState\n );\n\n // Ensure we keep track of the change address (used when calculating fiat equivalent)\n sendRequestSummary.setChangeAddress(changeAddress);\n sendRequest.changeAddress = changeAddress;\n } else {\n Preconditions.checkNotNull(enterAmountPanelModel);\n Preconditions.checkNotNull(confirmPanelModel);\n\n // Check a recipient has been set\n if (!enterAmountPanelModel\n .getEnterRecipientModel()\n .getRecipient().isPresent()) {\n return false;\n }\n\n // Build the send request summary from the user data\n Coin coin = enterAmountPanelModel.getEnterAmountModel().getCoinAmount().or(Coin.ZERO);\n Address bitcoinAddress = enterAmountPanelModel\n .getEnterRecipientModel()\n .getRecipient()\n .get()\n .getBitcoinAddress();\n\n Optional<FeeState> feeState = WalletManager.INSTANCE.calculateBRITFeeState(true);\n\n // Create the fiat payment - note that the fiat amount is not populated, only the exchange rate data.\n // This is because the client and transaction fee is only worked out at point of sending, and the fiat equivalent is computed from that\n Optional<FiatPayment> fiatPayment;\n Optional<ExchangeRateChangedEvent> exchangeRateChangedEvent = CoreServices.getApplicationEventService().getLatestExchangeRateChangedEvent();\n if (exchangeRateChangedEvent.isPresent()) {\n fiatPayment = Optional.of(new FiatPayment());\n fiatPayment.get().setRate(Optional.of(exchangeRateChangedEvent.get().getRate().toString()));\n // A send is denoted with a negative fiat amount\n fiatPayment.get().setAmount(Optional.<BigDecimal>absent());\n fiatPayment.get().setCurrency(Optional.of(exchangeRateChangedEvent.get().getCurrency()));\n fiatPayment.get().setExchangeName(Optional.of(ExchangeKey.current().getExchangeName()));\n } else {\n fiatPayment = Optional.absent();\n }\n\n // Prepare the transaction i.e work out the fee sizes (not empty wallet)\n sendRequestSummary = new SendRequestSummary(\n bitcoinAddress,\n coin,\n fiatPayment,\n changeAddress,\n FeeService.normaliseRawFeePerKB(Configurations.currentConfiguration.getWallet().getFeePerKB()),\n null,\n feeState,\n false);\n }\n\n log.debug(\"Just about to prepare transaction for sendRequestSummary: {}\", sendRequestSummary);\n return bitcoinNetworkService.prepareTransaction(sendRequestSummary);\n }", "public TransID beginTransaction()\n {\n\t //TransID tid = new TransID();\n\t Transaction collect_trans = new Transaction(this);\n\t atranslist.put(collect_trans);\n\t return collect_trans.getTid();\n }", "private void startTransaction() throws CalFacadeException {\n if (transactionStarted) {\n return;\n }\n\n getSvc().open();\n getSvc().beginTransaction();\n transactionStarted = true;\n }", "public void beginTransaction() throws TransactionException {\n\t\t\r\n\t}", "void begin() throws org.omg.CosTransactions.SubtransactionsUnavailable;", "boolean isAutoCommit();", "private boolean isTransactionOnBlockchain(Transaction tx){\n if(currentBlockchain.containsTransaction(tx)){\n return true;\n }\n return false;\n }", "private static boolean commitTransaction(int trans_id) {\n Transaction txn = null;\n if (transactions.containsKey(trans_id))\n txn = transactions.get(trans_id);\n else\n return false;\n\n if (txn != null)\n txn.commit();\n\n return true;\n }", "public boolean commit() {\n\t\tif (blocks.size() <= 1) return false;\n\n\t\tHashMap<String, Integer> pairMap = new HashMap<String, Integer>();\n\t\tHashMap<Integer, Integer> countMap = new HashMap<Integer, Integer>();\n\n\t\tListIterator<Transaction> iterator = blocks.listIterator();\n\t\twhile (iterator.hasNext()) {\n\t\t\tTransaction block = iterator.next();\n\t\t\tpairMap.putAll((Map<? extends String, ? extends Integer>) block.getNameValue());\n\t\t}\n\n\t\tfor (Entry<String, Integer> entry : pairMap.entrySet()) {\n\t\t\tInteger value = entry.getValue();\n\t\t\tif(countMap.get(value) == null){\n\t\t\t\tcountMap.put(value, new Integer(1));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcountMap.put(value, new Integer(countMap.get(value) + 1));\n\t\t\t}\n\t\t\tpairMap.put(entry.getKey(),entry.getValue());\n\t\t}\t\t\n\n\t\tblocks = new LinkedList<Transaction>();\n\t\tblocks.add(new Transaction(pairMap, countMap));\n\n\t\treturn true;\n\t}", "private void reportTransactionStatus(boolean success){\n if(success){\n sendMessage(\"<st>\");\n }else{\n sendMessage(\"<f>\");\n }\n }", "boolean getTransactional();", "public boolean isXATransaction()\n {\n if (_connectionConfig.isReadOnly())\n return false;\n else if (_driverList.size() > 0) {\n DriverConfig driver = _driverList.get(0);\n \n return driver.isXATransaction();\n }\n else\n return false;\n }", "public Boolean isSuccess()\n\t{\n\t\treturn isSuccess( getSession().getSessionContext() );\n\t}", "boolean hasTransactionDateTime();", "public boolean commitCustomers(Connection conn) throws SQLException {\n boolean status = true;\n try {\n // Start of system transaction\n conn.setAutoCommit(false);\n BookingMapper bm = new BookingMapper();\n status = status && bm.addNewCustomer(newCustomers, conn);\n\n if (!status) {\n throw new Exception(\"Business Transaction aborted\");\n }\n // System transaction ends with success\n conn.commit();\n } catch (Exception e) {\n System.out.println(\"fail in UnitOfWork - commit()\");\n System.err.println(e);\n // System transaction fails, rollsback\n conn.rollback();\n status = false;\n }\n return status;\n }", "public void openTheTransaction() {\n openTransaction();\n }", "protected boolean isTransactionRollback()\n {\n try\n {\n UMOTransaction tx = TransactionCoordination.getInstance().getTransaction();\n if (tx != null && tx.isRollbackOnly())\n {\n return true;\n }\n }\n catch (TransactionException e)\n {\n // TODO MULE-863: What should we really do?\n logger.warn(e.getMessage());\n }\n return false;\n }", "public void other_statements_ok(Transaction t) {\n System.out.println(\"about to verify\");\n verify_transaction(t);\n System.out.println(\"verified\");\n make_transaction(t);\n System.out.println(\"success!\");\n }", "public boolean commit(Connection conn) throws SQLException {\n boolean status = true;\n try {\n // Start of system transaction\n conn.setAutoCommit(false);\n BookingMapper bm = new BookingMapper();\n status = status && bm.addNewBooking(newBooking, conn);\n status = status && bm.updateBooking(modifiedBooking, conn);\n status = status && bm.deleteBooking(deleteBooking, conn);\n if (!status) {\n\n throw new Exception(\"Business Transaction aborted\");\n }\n // System transaction ends with success\n conn.commit();\n } catch (Exception e) {\n System.out.println(\"fail in UnitOfWork - commit()\");\n System.err.println(e);\n // System transaction fails, rollsback\n conn.rollback();\n status = false;\n }\n return status;\n }", "public void checkForTransaction() throws SystemException;", "public boolean isOperationSuccess() {\n return operationSuccess;\n }", "public boolean hasActiveTx()\n{\n\treturn depth > 0;\n}", "@Transactional(Transactional.TxType.SUPPORTS)\n\tpublic void supports() {\n\t System.out.println(getClass().getName() + \"Transactional.TxType.SUPPORTS\");\n\t // Here the container will allow the method to be called by a client whether the client already has a transaction or not\n\t}", "@Override\r\n\t\t\t\tpublic Boolean doInTransaction(TransactionStatus status) {\n\t\t\t\t\ttry {\r\n\r\n\t\t\t\t\t\tint rows = bookDAO.addBook(book);\r\n\t\t\t\t\t\tif (rows > 0)\r\n\t\t\t\t\t\t\treturn true;\r\n\r\n\t\t\t\t\t} catch (Exception exception) {\r\n\t\t\t\t\t\tstatus.setRollbackOnly();\r\n\t\t\t\t\t}\r\n\t\t\t\t\treturn false;\r\n\r\n\t\t\t\t}", "public Boolean removeTransaction()\n {\n return true;\n }", "public Transaction startTransaction() {\n Transaction transaction = THREADED_TRANSACTION.get();\n if (transaction == null) {\n transaction = openOrRetrieveSessionForThread().beginTransaction();\n THREADED_TRANSACTION.set(transaction);\n }\n return transaction;\n }", "@Test\n public void processTestC()\n {\n acc_db.addAccount(acc);\n acc_db.addAccount(acc2);\n\n //failed transaction\n trans = new Transaction(acc_db,acc.get_Account_Number(),5,10);\n\n Assert.assertEquals(false,trans.process());\n }", "public boolean rollback() {\r\n\tboolean result = false;\r\n\r\n\tif (conn != null && isConnected()) {\r\n\t try {\r\n\t\tboolean autoCommit = getAutoCommit();\r\n\r\n\t\tif (!autoCommit) {\r\n\t\t conn.rollback();\r\n\t\t result = true;\r\n\t\t}\r\n\t } catch (Exception e) {\r\n\t\te.printStackTrace();\r\n\t }\r\n\t}\r\n\r\n\treturn result;\r\n }", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\tMasterBCompId compId = new MasterBCompId();\r\n\t\t\t\tcompId.setIdA(1);\r\n\t\t\t\tcompId.setIdB(1);\r\n\t\t\t\tMasterBEnt masterBEnt = (MasterBEnt) ss.get(MasterBEnt.class, compId);\r\n\t\t\t\tSystem.out.println(\"$$$$: \" + masterBEnt.getDatetimeA());\r\n\t\t\t\tSystem.out.println(\"$$$$: \" + masterBEnt.getDatetimeA().getTime());\r\n\t\t\t\r\n\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t.this\r\n\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(true));\r\n\t\t\t\t\r\n\t\t\t\tPlayerSnapshot<MasterBEnt> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(masterBEnt);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "@Test\n\tpublic void addTransaction() {\n\t\tTransaction transaction = createTransaction();\n\t\tint size = transactionService.getTransactions().size();\n\t\ttransactionService.addTransaction(transaction);\n\t\tassertTrue(\"No transaction was added.\", size < transactionService.getTransactions().size());\n\t}", "public boolean requestTransaction(String name,String reason,double amount){\n Transaction t1 = new Transaction(name,reason,amount);\n boolean done=t1.registertransaction();\n \n return done; \n \n}", "public boolean hasMigrationStarted();", "private boolean insertTransactions(String filename) {\n\n login = HibernateDaoFactory.DEFAULT.getAnalysisDatabaseLogin();\n\n mysqlDb = HibernateDaoFactory.DEFAULT.getAnalysisDatabaseName();\n mysqlUser = login.get(\"user\");\n mysqlPwd = login.get(\"password\");\n\n Runtime runTime = Runtime.getRuntime();\n\n String[] commands = new String[]{MYSQL, mysqlDb, userFlag + mysqlUser, pwdFlag + mysqlPwd,\n executeFlag, sourceCommand + filename};\n String[] commandsToPrint = new String[]{MYSQL, mysqlDb,\n userFlag + mysqlUser, pwdFlag + \"*****\",\n executeFlag, sourceCommand + filename};\n try {\n logger.info(\"Beginning insert of transactions. Command Params:\"\n + Arrays.toString(commandsToPrint));\n\n Process proc = runTime.exec(commands);\n\n StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(), \"ERROR\");\n\n StreamGobbler outputGobbler = new StreamGobbler(proc.getInputStream(), \"OUTPUT\");\n\n errorGobbler.start();\n outputGobbler.start();\n\n try {\n if (proc.waitFor() == 1) {\n logger.error(\"Return code indicates error in running the DBMerge mysql \"\n + \"process\");\n return false;\n }\n } catch (InterruptedException exception) {\n logger.error(\"Interrupted Exception while running the DBMerge mysql process.\",\n exception);\n return false;\n }\n\n } catch (IOException exception) {\n logger.error(\"Attempt to spawn a DBMerge mysql process failed for file: \"\n + filename, exception);\n return false;\n }\n return true;\n }", "@Override\n public void begin() throws NotSupportedException, SystemException {\n SimpleTransaction txn = getTransaction();\n int status = txn.getStatus();\n if (status == Status.STATUS_COMMITTED || status == Status.STATUS_ROLLEDBACK || status == Status.STATUS_UNKNOWN\n || status == Status.STATUS_ACTIVE)\n txn.setStatus(Status.STATUS_ACTIVE);\n else\n throw new IllegalStateException(\"Can not begin \" + txn);\n }", "Transaction getCurrentTransaction();", "public boolean isSuccess();", "public boolean isSuccess();", "public boolean ADDCHEDTransact(CHEDTransact trans) {\n query = \"INSERT INTO transact(NumberO)\";\n try {\n ps = con.prepareStatement(query);\n\n java.util.Date dateP = trans.getiTDate();\n\n Date dateSigned = new Date(dateP.getYear(), dateP.getMonth(), dateP.getDay());\n\n ps.setInt(1, trans.getNumberOFTrees());\n ps.setString(2, trans.getLotNumber());\n ps.setString(3, trans.getiTvoucher());\n ps.setString(4, trans.gettRvoucher());\n ps.setDate(5, dateSigned);\n ps.setFloat(6, trans.getAmountPayable());\n\n if (ps.executeUpdate() != 0) {\n status = true;\n }\n\n } catch (SQLException ex) {\n Logger.getLogger(FarmerManager.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n return status;\n }", "public boolean syncRollbackPhase() {\n return syncRollbackPhase;\n }", "@Test\n public void processTestA()\n {\n acc_db.addAccount(acc);\n acc_db.addAccount(acc2);\n\n //pass transaction\n trans = new Transaction(acc_db,acc.get_Account_Number(),acc2.get_Account_Number(),300);\n\n Assert.assertEquals(true,trans.process());\n }", "public boolean doTransaction() {\r\n int nonce = -1;\r\n TransactionOperation transactionOperation = null;\r\n try {\r\n double balance;\r\n \r\n //read the stream for requests from client\r\n byte[] cipherText = (byte [])is.readObject();\r\n \r\n // decrypt the ciphertext to obtain the signed message\r\n ATMSessionMessage atmSessionMessage = (ATMSessionMessage) crypto.decryptRijndael(cipherText, kSession);\r\n if(!(currTimeStamp < atmSessionMessage.getTimeStamp())) error (\"Time stamp does not match\");\r\n \r\n //interpret the transaction operation in the request\r\n SignedMessage signedMessage = atmSessionMessage.getSignedMessage();\r\n \r\n \r\n \t\t//verify signature\r\n \t\ttry {\r\n \t\t\tif(!crypto.verify(signedMessage.msg, signedMessage.signature, currAcct.kPub))\r\n \t\t\t{\r\n \t\t\t\tSystem.out.println(\"Digital signature failed...\");\r\n \t\t\t}\r\n \t\t\tSystem.out.println(\"Message signature valid...\");\r\n \t\t} catch (SignatureException e2) {\r\n \t\t\te2.printStackTrace();\r\n \t\t\treturn false;\r\n \t\t} catch (KeyException e2) {\r\n \t\t\te2.printStackTrace();\r\n \t\t\treturn false;\r\n \t\t}\r\n \t\t\r\n TransactionMessage transactionMessage = (TransactionMessage)signedMessage.getObject();\r\n transactionOperation = transactionMessage.getOperation();\r\n \r\n //print the signed message\r\n System.out.println(\"\\n\" + (new Date()).toString());\r\n System.out.println(signedMessage.toString());\r\n \r\n //strip out the parameters embedded \r\n nonce = atmSessionMessage.getNonce();\r\n double value = transactionMessage.getValue();\r\n \r\n //print the timestamp when the transaction takes place\r\n Date now = new Date();\r\n System.out.println(\"\\n\" + now.toString());\r\n \r\n //re-route the request to the appropriate handling function\r\n if(transactionOperation == TransactionOperation.Deposit) {\r\n \t System.out.println(\"ACCT #:\" + currAcct.getNumber() + \" DEPOSIT: \" + value);\r\n currAcct.deposit(value);\r\n \r\n System.out.println(\"\\n\" + (now).toString());\r\n System.out.println(\"Deposit Complete. BALANCE:\" + currAcct.getBalance());\r\n }\r\n else if(transactionOperation == TransactionOperation.Withdraw) {\r\n \t System.out.println(\"ACCT #:\" + currAcct.getNumber() + \" WITHDRAW: \" + value);\r\n \t currAcct.withdraw(value);\r\n \t \r\n System.out.println(\"\\n\" + (now).toString());\r\n System.out.println(\"Withdrawal Complete. BALANCE:\" + currAcct.getBalance());\r\n }\r\n else if(transactionOperation == TransactionOperation.EndSession) \r\n \t {\r\n \t \tSystem.out.println(\"\\nTerminating session with ACCT#: \" + currAcct.getNumber());\r\n \t \treturn false;\r\n \t \t\r\n \t }\r\n \r\n accts.save();\r\n //create a successful reply Success and set the balance\r\n balance = currAcct.getBalance(); \r\n transactionMessage = new TransactionMessage(MessageType.ResponseSuccess,transactionOperation,balance);\r\n atmSessionMessage = new ATMSessionMessage(transactionMessage);\r\n \r\n //set the nonce \r\n atmSessionMessage.setNonce(nonce);\r\n currTimeStamp = atmSessionMessage.getTimeStamp();\r\n //encrypt the response and send it\r\n cipherText = crypto.encryptRijndael(atmSessionMessage, kSession);\r\n os.writeObject((Serializable)cipherText);\r\n \r\n //Logging.....\r\n //get the signed message and encrypt it\r\n \r\n signedMessage.encryptMessage(this.kLog);\r\n \r\n //encrypt the action\r\n //archive the signed message for logging and non-repudiation purposes \r\n SignedAction signedAction = new SignedAction(currAcct.getNumber(), atmSessionMessage.getTimeStamp(), signedMessage);\r\n \r\n //flush out transaction record to the audit file\r\n BankServer.log.write(signedAction);\r\n \r\n\t return true;\r\n }\r\n catch(Exception e){\r\n if(e instanceof TransException) replyFailure(transactionOperation,nonce);\r\n System.out.println(\"Terminating session with ACCT#: \" + currAcct.getNumber());\r\n \t//e.printStackTrace();\r\n \r\n return true;\r\n }\r\n }", "@Test\n public void processTransactionManagerCaseA()\n {\n acc_db.addAccount(acc);\n acc_db.addAccount(acc2);\n\n Assert.assertEquals(false,trans_mang.processTransaction(acc.get_Account_Number(),acc2.get_Account_Number(),2000));\n }", "@Test\n public void processTestB()\n {\n acc_db.addAccount(acc);\n acc_db.addAccount(acc2);\n\n //failed transaction\n trans = new Transaction(acc_db,acc.get_Account_Number(),acc2.get_Account_Number(),2000);\n\n Assert.assertEquals(false,trans.process());\n }", "public static boolean isActive(Transaction tx)\n {\n if (tx == null) return false;\n int status;\n try\n {\n status = tx.getStatus();\n return status == Status.STATUS_ACTIVE;\n }\n catch (SystemException e)\n {\n return false;\n }\n }", "public void begin()\n {\n checkTransactionJoin();\n if (joinStatus != JoinStatus.NO_TXN)\n {\n throw new NucleusTransactionException(\"JTA Transaction is already active\");\n }\n\n UserTransaction utx;\n try\n {\n utx = getUserTransaction();\n }\n catch (NamingException e)\n {\n throw ec.getApiAdapter().getUserExceptionForException(\"Failed to obtain UserTransaction\", e);\n }\n\n try\n {\n utx.begin();\n }\n catch (NotSupportedException e)\n {\n throw ec.getApiAdapter().getUserExceptionForException(\"Failed to begin UserTransaction\", e);\n }\n catch (SystemException e)\n {\n throw ec.getApiAdapter().getUserExceptionForException(\"Failed to begin UserTransaction\", e);\n }\n\n checkTransactionJoin();\n if (joinStatus != JoinStatus.JOINED)\n {\n throw new NucleusTransactionException(\"Cannot join an auto started UserTransaction\");\n }\n userTransaction = utx;\n }", "@Override\n\t\tpublic boolean isSuccess() {\n\t\t\treturn false;\n\t\t}", "boolean isSuccessful();", "public boolean hasMigrationFinished();", "public void authorizeTransaction() {}", "public boolean isSuccess() {\n return success;\n }", "public boolean isSuccess() {\n return success;\n }", "public boolean isSuccess() {\n return success;\n }", "public boolean isSuccess()\r\n {\r\n return success;\r\n }", "public boolean addTransaction(Transaction transaction) throws SQLException {\n\t\t\n\t\ttry (PreparedStatement statement = conn.prepareStatement(\"INSERT INTO transaction(Date, Type, Category, Amount) VALUES (?, ?, ?, ?)\")) {\n\t\t\tstatement.setDate(1, transaction.date());\n\t\t\tstatement.setString(2, transaction.type());\n\t\t\tstatement.setString(3, transaction.category());\n\t\t\tstatement.setDouble(4, transaction.amount());\n\t\t\treturn statement.executeUpdate() != 0;\n\t\t}\n\t}", "@Override\n\tpublic boolean execute() {\n\t\treturn false;\n\t}", "public boolean isSuccess() {\r\n return success;\r\n }", "public boolean isSuccess() {\r\n return success;\r\n }", "Transaction createTransaction();", "@Override\r\n\tpublic boolean isReady() {\n\t\tResultSetDTO dto = mongoManager.fetchAndUpdateAvailableToRead(previousCollectionName);\r\n\t\t\r\n\t\tlogger.info(\"ready to start a new transaction? : [\"+(dto.isNotEmpty()?\"Yes\":\"No\")+\"], fetch size : \"+dto.getBatchRowsSize());\r\n\t\tif(dto.isNotEmpty()){\r\n\t\t\t\r\n\t\t\tnextBatchRows = dto.getBatchRows();\r\n\t\t\tcollectionName = dto.getCollectionName();\r\n\t\t\tpreviousCollectionName = collectionName;\r\n//\t\t\tlong idletime = 1 * 1000;\r\n//\t\t\tlogger.info(\"sleeping(has data)... idle time:\"+idletime+\" ms\");\r\n//\t\t\tUtils.sleep(idletime);\r\n\t\t\tlogger.debug(\"received data, prepare to sleep for a while...\");\r\n\t\t\tUtil.sleepForawhile(3 * 1000);\r\n\t\t\treturn true;\r\n\t\t} else{ //sleep while there is no data found\r\n\t\t\tlogger.warn(\"no data found, sleeping...\");\r\n\t\t\tUtil.sleepForawhile(6 * 1000);\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n//\t\treturn mongoManager.getAvailableToRead(nextRead) > 0;\r\n\t}", "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\t\tList<MasterBEnt> masterBEntList = \r\n\t\t\t\t\t\thbSupport.createCriteria(ss, MasterBEnt.class)\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.idA\"))\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.idB\")).list();\r\n\t\t\t\t\r\n\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t.this\r\n\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(false));\r\n\t\t\t\t\r\n\t\t\t\tPlayerSnapshot<List<MasterBEnt>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(masterBEntList);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}" ]
[ "0.8681897", "0.7877552", "0.7674481", "0.7540885", "0.7518097", "0.70460993", "0.70102423", "0.69685763", "0.6908345", "0.68731254", "0.68685734", "0.6841311", "0.6841287", "0.6787083", "0.66589737", "0.6647706", "0.661663", "0.6610533", "0.65949357", "0.65949357", "0.6565364", "0.654715", "0.64390624", "0.6420552", "0.63914025", "0.6385521", "0.63810927", "0.6369644", "0.63211256", "0.6271761", "0.62665", "0.6232691", "0.61953205", "0.61908424", "0.6126768", "0.6105062", "0.60840315", "0.607137", "0.60695213", "0.6068229", "0.6057886", "0.6032359", "0.6027507", "0.6021078", "0.60131264", "0.6010626", "0.6005874", "0.60012627", "0.5998632", "0.5974368", "0.5973577", "0.5966204", "0.5960114", "0.5948546", "0.59312844", "0.5922988", "0.591462", "0.5911632", "0.5904158", "0.58941835", "0.5891994", "0.58461577", "0.5838884", "0.5838259", "0.5836241", "0.5818068", "0.5814217", "0.57933223", "0.57930315", "0.5789778", "0.57849437", "0.57831097", "0.57608443", "0.5760461", "0.5754892", "0.5754751", "0.5754751", "0.5742956", "0.5730254", "0.5722552", "0.5717157", "0.57025373", "0.56968063", "0.5695956", "0.5692279", "0.568728", "0.56736106", "0.56624043", "0.5660385", "0.56546557", "0.56546557", "0.56546557", "0.56503314", "0.56467104", "0.5646106", "0.56443286", "0.56443286", "0.56310993", "0.5627543", "0.5621613" ]
0.7704394
2
return true if transation commited successfull
public boolean endTransaction(boolean doCommit) { boolean result = false; if (_canDisableAutoCommit) { try { if (doCommit) { _connection.commit(); } else { _connection.rollback(); } _connection.setAutoCommit(true); result = doCommit; } catch (SQLException e) { Log.exception(e, this, "endTransaction"); } } return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean shouldCommit();", "public boolean commit() {\r\n\tboolean result = false;\r\n\r\n\tif (conn != null && isConnected()) {\r\n\t try {\r\n\t\tboolean autoCommit = getAutoCommit();\r\n\r\n\t\tif (!autoCommit) {\r\n\t\t conn.commit();\r\n\t\t result = true;\r\n\t\t}\r\n\t } catch (Exception e) {\r\n\t\te.printStackTrace();\r\n\t }\r\n\t}\r\n\r\n\treturn result;\r\n }", "public boolean transactionWillSucceed(Transaction transaction) {\n return transactionBuffer.transactionWillSucceed(transaction);\n }", "protected boolean attemptCommit() {\n \t\t\tpretendCommit();\n \t\t\tif (isValid()) {\n \t\t\t\tfDocumentUndoManager.commit();\n \t\t\t\treturn true;\n \t\t\t}\n \t\t\treturn false;\n \t\t}", "private static boolean commitTransaction(int trans_id) {\n Transaction txn = null;\n if (transactions.containsKey(trans_id))\n txn = transactions.get(trans_id);\n else\n return false;\n\n if (txn != null)\n txn.commit();\n\n return true;\n }", "public boolean commit() {\n\t\tif (blocks.size() <= 1) return false;\n\n\t\tHashMap<String, Integer> pairMap = new HashMap<String, Integer>();\n\t\tHashMap<Integer, Integer> countMap = new HashMap<Integer, Integer>();\n\n\t\tListIterator<Transaction> iterator = blocks.listIterator();\n\t\twhile (iterator.hasNext()) {\n\t\t\tTransaction block = iterator.next();\n\t\t\tpairMap.putAll((Map<? extends String, ? extends Integer>) block.getNameValue());\n\t\t}\n\n\t\tfor (Entry<String, Integer> entry : pairMap.entrySet()) {\n\t\t\tInteger value = entry.getValue();\n\t\t\tif(countMap.get(value) == null){\n\t\t\t\tcountMap.put(value, new Integer(1));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcountMap.put(value, new Integer(countMap.get(value) + 1));\n\t\t\t}\n\t\t\tpairMap.put(entry.getKey(),entry.getValue());\n\t\t}\t\t\n\n\t\tblocks = new LinkedList<Transaction>();\n\t\tblocks.add(new Transaction(pairMap, countMap));\n\n\t\treturn true;\n\t}", "public boolean commit(Connection conn) throws SQLException {\n boolean status = true;\n try {\n // Start of system transaction\n conn.setAutoCommit(false);\n BookingMapper bm = new BookingMapper();\n status = status && bm.addNewBooking(newBooking, conn);\n status = status && bm.updateBooking(modifiedBooking, conn);\n status = status && bm.deleteBooking(deleteBooking, conn);\n if (!status) {\n\n throw new Exception(\"Business Transaction aborted\");\n }\n // System transaction ends with success\n conn.commit();\n } catch (Exception e) {\n System.out.println(\"fail in UnitOfWork - commit()\");\n System.err.println(e);\n // System transaction fails, rollsback\n conn.rollback();\n status = false;\n }\n return status;\n }", "boolean isAutoCommit();", "@Override\r\n\tpublic boolean commit() {\n\t\ttry {\r\n\t\t\tconn = DriverManager.getConnection(URL, USER, PASS);\r\n\t\t\tString sql = \"commit\";\r\n\t\t\tps = conn.prepareStatement(sql);\r\n\t\t\tps.executeUpdate();\r\n\t\t\trs.close();\r\n\t\t\tps.close();\r\n\t\t\treturn true;\r\n\t\t} catch (SQLException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "public boolean isCommitOnFailure () {\n return commitOnFailure;\n }", "boolean hasTransactionChangesPending() {\n// System.out.println(transaction_mod_list);\n return transaction_mod_list.size() > 0;\n }", "public boolean isCommited() {\n return votedCommit;\n }", "public void commit() {\n\t\tcommitted = true;\n\t}", "@Override\n\tpublic int commit() {\n\t\treturn 0;\n\t}", "public boolean fullCommitNeeded ()\n {\n return true;\n }", "public boolean commitCustomers(Connection conn) throws SQLException {\n boolean status = true;\n try {\n // Start of system transaction\n conn.setAutoCommit(false);\n BookingMapper bm = new BookingMapper();\n status = status && bm.addNewCustomer(newCustomers, conn);\n\n if (!status) {\n throw new Exception(\"Business Transaction aborted\");\n }\n // System transaction ends with success\n conn.commit();\n } catch (Exception e) {\n System.out.println(\"fail in UnitOfWork - commit()\");\n System.err.println(e);\n // System transaction fails, rollsback\n conn.rollback();\n status = false;\n }\n return status;\n }", "public boolean isCommitted(long transId) {\n return commitList.isCommitted(transId);\n }", "public boolean flushTransactions() {\n return true;\n }", "public boolean rollback() {\r\n\tboolean result = false;\r\n\r\n\tif (conn != null && isConnected()) {\r\n\t try {\r\n\t\tboolean autoCommit = getAutoCommit();\r\n\r\n\t\tif (!autoCommit) {\r\n\t\t conn.rollback();\r\n\t\t result = true;\r\n\t\t}\r\n\t } catch (Exception e) {\r\n\t\te.printStackTrace();\r\n\t }\r\n\t}\r\n\r\n\treturn result;\r\n }", "private synchronized boolean shouldCommit(Message m) {\n\n\t\tboolean flag = false;\n\n\t\ttry {\n\t\t\t// get the commit flag set by the FailoverQSender\n\t\t\tflag = m.getBooleanProperty(FailoverQSender.COMMIT_PROPERTY_NAME);\n\n//\t\t\tif (flag) {\n//\t\t\t\t// check if message property contains expected message counter\n//\t\t\t\tvalidate(m);\n//\t\t\t}\n\n\t\t} catch (JMSException jmse) {\n\t\t\tlog(jmse);\n\t\t}\n\n\t\treturn flag;\n\t}", "public boolean getSuccess() {\n return (transactionFailure == null && amountConverted != null);\n }", "public boolean transactionStarted();", "public void commit() {\n tryCommit(true);\n }", "void setTransactionSuccessful();", "public boolean lastOpSuccess()\r\n {\r\n \treturn this.stat == VirtualPointer.Serializer.STATUS_SUCCESS;\r\n }", "private boolean transactionCanBeEnded(Transaction tx) {\n return tx != null && !(tx.getStatus() != null && tx.getStatus().isOneOf(TransactionStatus.COMMITTED, TransactionStatus.ROLLED_BACK));\n }", "public boolean processTransaction() {\r\n\t\t\r\n\t\t\tif(verifySignature() == false) {\r\n\t\t\t\tSystem.out.println(\"#Transaction Signature failed to verify\");\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\ttransactionId = calulateHash();\r\n\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\treturn true;\r\n\t\t}", "@Override\n\t\tpublic boolean isSuccess() {\n\t\t\treturn false;\n\t\t}", "public boolean exchangeFinishedSuccessfully() {\n\t\treturn isExchangeCompleteCondition();\n\t}", "private void reportTransactionStatus(boolean success){\n if(success){\n sendMessage(\"<st>\");\n }else{\n sendMessage(\"<f>\");\n }\n }", "Boolean isTransacted();", "Boolean isTransacted();", "public boolean isCommitted() {\n\t\treturn false;\n\t}", "public boolean syncCommitPhase() {\n return syncCommitPhase;\n }", "public boolean isUniversallyCommitted(long transId) {\n return commitList.isUniversallyCommitted(transId);\n }", "public void other_statements_ok(Transaction t) {\n System.out.println(\"about to verify\");\n verify_transaction(t);\n System.out.println(\"verified\");\n make_transaction(t);\n System.out.println(\"success!\");\n }", "public boolean isTransactionRunning();", "void commit();", "void commit();", "public boolean process() {\n\t\t// waits 5 milliseconds(simulates a slow task, such as accessing a remote system)\n\t\ttry {\n\t\t\tThread.sleep(5);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t// error every 10 transactions\n\t\tboolean success = id % 10 != 0;\n\t\tlogger.debug(\"Transaction processed: \" + id + \"; Result: \" + success);\n\t\treturn success;\n\t}", "public void base_ok(Transaction t) {\n verify_transaction(t);\n make_transaction(t);\n }", "@Test\r\n\tpublic void testCommit()\r\n\t\tthrows Exception\r\n\t{\r\n\t\ttry{\r\n\t\t\ttestAdminCon.begin();\r\n\t\t\ttestAdminCon.add(john, email, johnemail,dirgraph);\r\n\t\r\n\t\t\tassertTrue(\"Uncommitted update should be visible to own connection\",\r\n\t\t\t\t\ttestAdminCon.hasStatement(john, email, johnemail, false, dirgraph));\r\n\t\t\tassertFalse(\"Uncommitted update should only be visible to own connection\",\r\n\t\t\t\t\ttestReaderCon.hasStatement(john, email, johnemail, false, dirgraph));\r\n\t\t\tassertThat(testWriterCon.size(), is(equalTo(0L)));\r\n\t\r\n\t\t\ttestAdminCon.commit();\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tlogger.debug(e.getMessage());\r\n\t\t}\r\n\t\tfinally{\r\n\t\t\tif(testAdminCon.isActive())\r\n\t\t\t\ttestAdminCon.rollback();\r\n\t\t}\r\n\t\tassertThat(testWriterCon.size(), is(equalTo(1L)));\r\n\t\tassertTrue(\"Repository should contain statement after commit\",\r\n\t\t\t\ttestAdminCon.hasStatement(john, email, johnemail, false, dirgraph));\r\n\t\tassertTrue(\"Committed update will be visible to all connection\",\r\n\t\t\t\ttestReaderCon.hasStatement(john, email, johnemail, false, dirgraph));\r\n\t}", "public void commit();", "public boolean isSuccess();", "public boolean isSuccess();", "protected abstract boolean commitTxn(Txn txn) throws PersistException;", "@Override\n public boolean isTransActionAlive() {\n Transaction transaction = getTransaction();\n return transaction != null && transaction.isActive();\n }", "@Override\n\tpublic void commit() {\n\n\t}", "@Override\n\tpublic boolean isCommitted() {\n\t\treturn false;\n\t}", "public boolean addTransaction(Transaction trans) {\n if (trans == null) {\n return false;\n }\n if (!previousHash.equals(\"0\")) {\n if (!trans.processTransaction()) {\n System.out.println(\"Transaction failed to process. Transaction discarded!\");\n return false;\n }\n }\n transactions.add(trans);\n System.out.println(\"Transaction successfully added to the block\");\n return true;\n }", "public boolean beginTransaction() {\n boolean result = false;\n if (_canDisableAutoCommit) {\n try {\n _connection.setAutoCommit(false);\n result = true;\n } catch (SQLException e) {\n Log.warning(\"Transactions not supported\", this, \"startTransaction\");\n _canDisableAutoCommit = false;\n }\n }\n return result;\n }", "public boolean isSuccessful() {\n return this.reason == Reason.NONE;\n }", "protected void executionSuccess() {\n this.isUndoable = true;\n }", "public void commitTransaction() {\n\r\n\t}", "public boolean isSuccessful()\n\t{\n\t\tif (response.get(\"Result\").equals(\"APPROVED\") && !response.get(\"MESSAGE\").equals(\"DUPLICATE\")) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean hasSucceeded() {\n return succeeded;\n }", "protected boolean isTransactionRollback()\n {\n try\n {\n UMOTransaction tx = TransactionCoordination.getInstance().getTransaction();\n if (tx != null && tx.isRollbackOnly())\n {\n return true;\n }\n }\n catch (TransactionException e)\n {\n // TODO MULE-863: What should we really do?\n logger.warn(e.getMessage());\n }\n return false;\n }", "public Boolean isSuccess()\n\t{\n\t\treturn isSuccess( getSession().getSessionContext() );\n\t}", "@Override\n public void commitTx() {\n \n }", "boolean isSuccessful();", "public void commit() {\n }", "protected void commit()\n\t{\n\t\t_Status = DBRowStatus.Unchanged;\n\t}", "boolean hasTxnresponse();", "public abstract void commit();", "public boolean isSuccess() {\n\t\tif (Status.OK == status) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "@Override\n\tfinal public boolean hasDoneChanges() {\n\t\treturn false;\n\t}", "public void errorWhenCommitting();", "public boolean actualizarTransferencia(Transferencia trans) {\n try {\n controlTransferencia = new ControlTransferencia();\n bitacora.info(\"Registro Transferencia Iniciado correctamente\");\n } catch (IOException ex) {\n bitacora.error(\"No se pudo iniciar el registro OrdenCompra por \" + ex.getMessage());\n }\n return controlTransferencia.actualizarTransferencia(trans);\n }", "public boolean commit() throws LoginException\n {\n // only called (once!) after login\n\n // loginSucceeded should be true or false\n // principalsInSubject should be false\n // user should be null if !loginSucceeded, null or not-null otherwise\n // group should be null if user == null, null or not-null otherwise\n\n if (loginSucceeded) {\n // put the user and the user's groups (computed during the\n // login method and stored in the principalsForSubject object)\n // into the subject.\n subject.getPrincipals().addAll(principalsForSubject);\n principalsInSubject = true;\n return true;\n } else {\n return false;\n }\n }", "public boolean isSuccess()\r\n {\r\n return success;\r\n }", "@Override\n public void commit() {\n }", "public boolean checkpoint() {\n\t\ttry {\n\t\t\toutputStream.flush();\n\t\t} catch (IOException e) {\n\t\t\tif (RTS_COMMON.Option.VERBOSE)\n\t\t\t\te.printStackTrace();\n\t\t\treturn (false);\n\t\t}\n\t\treturn (true);\n\t}", "public boolean isSuccess() {\r\n return success;\r\n }", "public boolean isSuccess() {\r\n return success;\r\n }", "public boolean hasTransaction() {\n\t\treturn (this.transactionStatus != null);\n\t}", "public void commit() {\n doCommit();\n }", "public void commit(){\n \n }", "void commitTransaction();", "public boolean hasMigrationFinished();", "public boolean isSuccess() {\n return success;\n }", "public boolean isSuccess() {\n return success;\n }", "public boolean isSuccess() {\n return success;\n }", "protected boolean transaction(Connection connection, PreparedStatement statement, int expectedModificationCount)\n\t\t\tthrows DAOException {\n\t\tint affectedRows;\n\n\t\ttry {\n\t\t\t// executing operation.\n\t\t\taffectedRows = statement.executeUpdate();\n\n\t\t\t\n\t\t\t/*\n\t\t\t * if affected rows is necessary value, and its value doesn't match\n\t\t\t * to expected - throw exception.\n\t\t\t */\n\t\t\tif (expectedModificationCount != -1 && affectedRows != expectedModificationCount) {\n\t\t\t\tthrow new SQLException();\n\t\t\t} else if (affectedRows < 1) {\n\t\t\t\tthrow new SQLException();\n\t\t\t}\n\n\t\t\t// in case of successful operation - commit.\n\t\t\tconnection.commit();\n\n\t\t\t// at last - close statement and exit loop.\n\t\t\tstatement.close();\n\t\t\treturn true;\n\t\t} catch (SQLException ignore) {\n\n\t\t\t// if operation failed - try to rollback.\n\t\t\ttry {\n\t\t\t\tconnection.rollback();\n\t\t\t} catch (SQLException cause) {\n\t\t\t\tthrow new DAOException(cause);\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "boolean isSuccess();", "boolean isSuccess();", "boolean isSuccess();", "boolean isSuccess();", "boolean isSuccess();", "boolean isSuccess();", "boolean isSuccess();", "public boolean wasSuccessful() {\n return this.failureCount() == 0 && this.errorCount() == 0;\n }", "public boolean performOk() {\r\n\t\treturn super.performOk();\r\n\t}", "public boolean getAutoCommit() throws SQLException {\r\n\tboolean result = false;\r\n\r\n\tif (conn != null && isConnected()) {\r\n\t result = conn.getAutoCommit();\r\n\t} else {\r\n\t throw new SQLException(\"No connection to database\");\r\n\t}\r\n\r\n\treturn result;\r\n }", "void confirmTrans(ITransaction trans);", "public boolean isOperationSuccess() {\n return operationSuccess;\n }", "public boolean syncRollbackPhase() {\n return syncRollbackPhase;\n }", "boolean ack( long revision );", "boolean isComplete();", "boolean isComplete();", "public boolean isComplete();" ]
[ "0.78015095", "0.75395405", "0.7200055", "0.71232533", "0.70662415", "0.7035737", "0.7021108", "0.69307995", "0.6924703", "0.6723152", "0.6715705", "0.66733694", "0.6660296", "0.66424125", "0.6632792", "0.65974957", "0.65937966", "0.6568001", "0.6547289", "0.65256405", "0.65174407", "0.6482421", "0.64817363", "0.6448507", "0.64481646", "0.64381087", "0.64358693", "0.6429702", "0.6422706", "0.63785625", "0.63747346", "0.63747346", "0.6350967", "0.6336142", "0.6329522", "0.6319499", "0.6316994", "0.631639", "0.631639", "0.63099766", "0.6274761", "0.6272845", "0.62708", "0.6247924", "0.6247924", "0.6232841", "0.62264955", "0.622116", "0.6214202", "0.6202556", "0.61994386", "0.61985445", "0.6194823", "0.6176815", "0.6164719", "0.61550087", "0.61440706", "0.61401343", "0.61397123", "0.61185837", "0.6116452", "0.61161757", "0.6111894", "0.61107713", "0.60948855", "0.6087961", "0.60865545", "0.6067345", "0.6064514", "0.60630184", "0.60597724", "0.60592026", "0.60487026", "0.60487026", "0.60459703", "0.60421586", "0.60410964", "0.6033929", "0.60300654", "0.60262704", "0.60262704", "0.60262704", "0.6018534", "0.6017489", "0.6017489", "0.6017489", "0.6017489", "0.6017489", "0.6017489", "0.6017489", "0.6010753", "0.59831923", "0.59779304", "0.59755737", "0.5972574", "0.59706426", "0.59613293", "0.59594613", "0.59594613", "0.59561396" ]
0.59926116
91
/ This method uses a lot of memory for buffering so we take some care to null out the references to large objects on the stack when they are no longer needed.
private String getLongString(ResultSet rs, int index) throws SQLException { StringBuffer buffer = new StringBuffer(); Reader reader = null; try { reader = getReader(rs, index); if (reader == null) { Log.warning("null long value", this, "getLongString"); } else { char[] array = new char[1000000]; int nRead = 0; while (nRead != -1) { nRead = reader.read(array); if (nRead > 0) { buffer.append(array, 0, nRead); } } array = null; } } catch (IOException e) { Log.exception(e, this, "getLongString"); } finally { SystemUtilities.close(reader); } String s = buffer.toString(); buffer = null; return s.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void buffer() {\n\t\tSystem.out.println(\"bafor\"+Runtime.getRuntime().freeMemory());\n\t\tByteBuffer mBuffer=ByteBuffer.allocate(10240000);\n\t\tSystem.out.println(\"bafor\"+Runtime.getRuntime().freeMemory());\n// mBuffer.clear();\n System.out.println(\"bafor\"+Runtime.getRuntime().freeMemory());\n\t}", "public void clean() {\n\t\tbufferSize = 0;\n\t\tbuffer = new Object[Consts.N_ELEMENTS_FACTORY];\n\t}", "public void finalize() {\r\n srcImage = null;\r\n destImage = null;\r\n buffer = null;\r\n validBuffer = null;\r\n idealBuffer = null;\r\n objectBuffer = null;\r\n super.finalize();\r\n }", "public static void main (String [] args) throws Exception \r\n {\n runGC (); \r\n usedMemory (); \r\n // Array to keep strong references to allocated objects \r\n final int count = 10000000; \r\n// Object [] objects = new Object[count]; \r\n LinkedBlockingQueue<ShopBuyLog> list=new LinkedBlockingQueue<ShopBuyLog>();\r\n long heap1 = 0; \r\n // Allocate count+1 objects, discard the first one \r\n for (int i = -1; i < count; ++ i) \r\n { \r\n// \tObject object=null;\r\n \tShopBuyLog log = null; \r\n \r\n // Instantiate your data here and assign it to object \r\n \r\n \tlog = new ShopBuyLog (); \r\n \tlog.setCosttype(1);\r\n \tlog.setItems(\"{\\\"bind\\\":false,\\\"clazz\\\":\\\"com.game.backpack.structs.CommonGoods\\\",\\\"gridId\\\":0,\\\"id\\\":323117282203989,\\\"itemModelId\\\":-1,\\\"losttime\\\":0,\\\"num\\\":1080,\\\"packageId\\\":0}\");\r\n \tlog.setNpcid(Integer.MAX_VALUE);\r\n \tlog.setNum(Integer.MAX_VALUE);\r\n \tlog.setResume(Integer.MAX_VALUE);\r\n \tlog.setRoleid(Long.MAX_VALUE);\r\n \tlog.setRolelevel(Integer.MAX_VALUE);\r\n \tlog.setSellid(Integer.MAX_VALUE);\r\n// log.setTime(System.currentTimeMillis());\r\n// object=log;\r\n// object=log.buildSql();\r\n //object = new Integer (i); \r\n //object = new Long (i); \r\n// object = new String (); \r\n// object = new byte [128][1]; \r\n \r\n if (i >= 0) \r\n \tlist.add(log);\r\n else \r\n { \r\n \tlog = null; // Discard the warm up object \r\n// runGC (); \r\n heap1 = usedMemory (); // Take a before heap snapshot \r\n } \r\n } \r\n// runGC (); \r\n long heap2 = usedMemory (); // Take an after heap snapshot: \r\n \r\n final int size = Math.round (((float)(heap2 - heap1))/count); \r\n System.out.println (\"'before' heap: \" + heap1 + \r\n \", 'after' heap: \" + heap2); \r\n System.out.println (\"heap delta: \" + (heap2 - heap1) + \r\n \", {\" + ShopBuyLog.class.getSimpleName() + \"} size = \" + size + \" bytes\"); \r\n// for (int i = 0; i < count; ++ i) objects [i] = null; \r\n// objects = null; \r\n }", "@Override\n protected void releaseBuffer() {\n }", "@SuppressWarnings(\"unchecked\") \n /* #end */\n public void release()\n {\n buffers = (KType[][]) EMPTY;\n blockLen = 0;\n elementsCount = 0;\n }", "@Override\n public void reset() throws IOException {\n\td.numObjectsCached = 0;\n\td.reset();\n }", "protected void cleanup() {\n this.dead = true;\n this.overflow = null;\n this.headerBuffer = null;\n this.expectBuffer = null;\n this.expectHandler = null;\n this.unfragmentedBufferPool = null;\n this.fragmentedBufferPool = null;\n this.state = null;\n this.currentMessage = null;\n \n /*\n this.onerror = null;\n this.ontext = null;\n this.onbinary = null;\n this.onclose = null;\n this.onping = null;\n this.onpong = null;*/\n}", "long memoryUnused();", "private static void doMemoryReleases() {\n\r\n OptimizedJavaRecognizer.releaseMemory();\r\n FastJavaLexer.clear();\r\n }", "@Override\r\n public void onLowMemory() {\r\n super.onLowMemory();\r\n Glide.get(getApplicationContext()).clearMemory();\r\n Glide.get(getApplicationContext()).trimMemory(TRIM_MEMORY_COMPLETE);\r\n System.gc();\r\n }", "@Override\n protected void finalize() throws Throwable\n {\n finalize(pointer);\n super.finalize();\n }", "protected void deallocate() {\r\n\t\t// create a list of objects ordered by the time of last access\r\n\t\tList<ObjectStatus> timeOrderedObjects = getListOfObjectClassTimeSorted();\r\n\t\twhile (!sizeNormal() && timeOrderedObjects.size() > 0) {\r\n\t\t\t// take the least recently used object and remove it from the list\r\n\t\t\tString currentObjectID = timeOrderedObjects.remove(0).getID();\r\n\t\t\t// kill that object in the ever seen so\r\n\t\t\t// it would be treated as a dead object from now on\r\n\t\t\tkillObject(currentObjectID);\r\n\t\t\tdeallocate(currentObjectID);\r\n\r\n\t\t}\r\n\r\n\t}", "@Override\n public void onLowMemory() {\n super.onLowMemory();\n }", "@Override\n public void onLowMemory() {\n super.onLowMemory();\n }", "protected void initBuffer() throws IOException {\n if (buf != null) {\r\n Util.disposeDirectByteBuffer(buf);\r\n }\r\n // this check is overestimation:\r\n int size = bufferNumLength << Main.log2DataLength;\r\n assert (size > 0);\r\n if (Main.debug) { System.out.println(\"Allocating direct buffer of \"+bufferNumLength+\" ints.\"); }\r\n buf = ByteBuffer.allocateDirect(size).order(Main.byteOrder);\r\n buf.clear();\r\n }", "@Override\n public void onLowMemory() {\n \tsuper.onLowMemory();\n }", "public void finalize() {\n AppMethodBeat.i(66593);\n if (this.mJitterBuffer != 0) {\n nativeDestoryJitterBuffer(this.mJitterBuffer);\n this.mJitterBuffer = 0;\n }\n AppMethodBeat.o(66593);\n }", "@Override\n\tprotected void finalize() {\n\t\tif(refcount>0){\n\t\t\tprint(\"Error \"+refcount+\"Shared \"+id+\"objects in use\");\n\t\t}\n\t}", "public void mo8778a() {\n try {\n if (this.f1286b != null) {\n this.f1286b.recycle();\n }\n if (this.f1287c != null) {\n this.f1287c.recycle();\n }\n this.f1286b = null;\n this.f1287c = null;\n if (this.f1288d != null) {\n this.f1288d.recycle();\n this.f1288d = null;\n }\n if (this.f1289e != null) {\n this.f1289e.recycle();\n this.f1289e = null;\n }\n this.f1290f = null;\n } catch (Throwable th) {\n SDKLogHandler.m2563a(th, \"WaterMarkerView\", \"destory\");\n th.printStackTrace();\n }\n }", "private ByteBuffer internalNioBuffer()\r\n/* 532: */ {\r\n/* 533:545 */ ByteBuffer tmpNioBuf = this.tmpNioBuf;\r\n/* 534:546 */ if (tmpNioBuf == null) {\r\n/* 535:547 */ this.tmpNioBuf = (tmpNioBuf = ByteBuffer.wrap(this.array));\r\n/* 536: */ }\r\n/* 537:549 */ return tmpNioBuf;\r\n/* 538: */ }", "public void finalize() {\r\n byteBuffer2 = null;\r\n byteBuffer4 = null;\r\n byteBuffer8 = null;\r\n progressBar = null;\r\n tagBuffer = null;\r\n\r\n if (raFile != null) {\r\n\r\n try {\r\n raFile.close();\r\n } catch (final IOException ioe) {\r\n // Do nothing\r\n }\r\n }\r\n\r\n raFile = null;\r\n }", "public void finalize() {\r\n\r\n mask = null;\r\n newMask = null;\r\n newShortMask = null;\r\n System.gc();\r\n }", "public ByteBuffer[] nioBuffers()\r\n/* 715: */ {\r\n/* 716:724 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 717:725 */ return super.nioBuffers();\r\n/* 718: */ }", "public void finalize() {\r\n destImage = null;\r\n srcImage = null;\r\n sliceBuffer = null;\r\n super.finalize();\r\n }", "private WeakOrderQueue()\r\n/* 216: */ {\r\n/* 217:245 */ this.owner = null;\r\n/* 218:246 */ this.availableSharedCapacity = null;\r\n/* 219: */ }", "public static void gc() {\n // Collecting RAM before collecting EEPROM means that only live objects\n // in RAM with pointers to EEPROM will be considered as roots while\n // marking EEPROM objects.\n Native.gc();\n\n int wordSize = Native.getPersistentMemorySize()/4;\n try {\n int[] bitVector = new int[(wordSize / 32) + 2];\n int[] markingStack = new int[GC_MARK_STACK_SIZE];\n Native.gcPersistentMemory(bitVector, markingStack);\n } catch (OutOfMemoryError oome) {\n throw new OutOfMemoryError(\"Cannot allocate auxillary data structures for persistent gc\");\n }\n }", "private void cleanBuffersFromCache()\n {\n synchronized (myUsedKeys)\n {\n CacheProvider cache = getCache();\n for (PolylineModelData key : myPreviouslyUsedKeys)\n {\n if (!myUsedKeys.contains(key))\n {\n cache.clearCacheAssociation(key, PolylineDataBuffered.class);\n }\n }\n\n myPreviouslyUsedKeys.clear();\n myPreviouslyUsedKeys.addAll(myUsedKeys);\n }\n }", "@Override\n public int getBufferSize() {\n return 0;\n }", "protected void doInit()\r\n/* 131: */ {\r\n/* 132:194 */ this.tmpBuf = new byte[32];\r\n/* 133:195 */ engineReset();\r\n/* 134: */ }", "private void flushCache()\n {\n cachedDecomposition = null;\n cachedCentroid = null;\n cachedBounds = null;\n }", "public void onLowMemory() {\r\n \t\tlog.info(\"On low memory : cleaning tiles - size = \" + cacheOfImages.size());\r\n \t\tArrayList<String> list = new ArrayList<String>(cacheOfImages.keySet());\r\n \t\t// remove first images (as we think they are older)\r\n \t\tfor (int i = 0; i < list.size()/2; i ++) {\r\n \t\t\tBitmap bmp = cacheOfImages.remove(list.get(i));\r\n \t\t\tif(bmp != null){\r\n \t\t\t\tbmp.recycle();\r\n \t\t\t}\r\n \t\t}\r\n \t\tSystem.gc();\r\n \t}", "@Override\n\tprotected void finalize() throws Throwable {\n\t\tzSampleRecord.recycle();\n\t\tySampleRecord.recycle();\n\t\tsuper.finalize();\n\t}", "public void reuse() {\n method = null;\n uriPath = null;\n versionRange = 0;\n uriFragmentRange = queryStringRange = 0;\n contentOffset = 0;\n contentLength = 0;\n\n if (buffer != null) {\n buffer.clear();\n }\n for (int i = 0; i < nFields; i++) {\n keys[i] = null;\n }\n nFields = 0;\n }", "private synchronized void popBuffer() {\n IoBuffer buf = data.removeFirst();\n if(marked) {\n resetCache.push(buf);\n if(!data.isEmpty()) {\n data.getFirst().mark();\n }\n } else {\n buf.free();\n }\n }", "private void resetBytesFree()\r\n {\r\n this.bytesFree.set(0);\r\n }", "public BufferRecycler _getBufferRecycler()\n/* */ {\n/* 1495 */ if (isEnabled(Feature.USE_THREAD_LOCAL_FOR_BUFFER_RECYCLING)) {\n/* 1496 */ SoftReference<BufferRecycler> ref = (SoftReference)_recyclerRef.get();\n/* 1497 */ BufferRecycler br = ref == null ? null : (BufferRecycler)ref.get();\n/* */ \n/* 1499 */ if (br == null) {\n/* 1500 */ br = new BufferRecycler();\n/* 1501 */ _recyclerRef.set(new SoftReference(br));\n/* */ }\n/* 1503 */ return br;\n/* */ }\n/* 1505 */ return new BufferRecycler();\n/* */ }", "@Override\n\tpublic void finalize() throws java.lang.Throwable {\n super.finalize();\n\n nodeCount = 0;\n patternCount = 0;\n matrixCount = 0;\n\n partials = null;\n// storedPartials = null;\n \n currentPartialsIndices = null;\n storedPartialsIndices = null;\n// states = null;\n matrices = null;\n currentMatricesIndices = null;\n storedMatricesIndices = null;\n\n scalingFactors = null;\n }", "public static void test(){\n ReferenceCountingGC a = new ReferenceCountingGC();\n ReferenceCountingGC b = new ReferenceCountingGC();\n a.instance = b;\n b.instance = a;\n\n a = null;\n b = null;\n\n System.gc();\n }", "private void nullify() {\n paint = null;\n bg1 = null;\n bg2 = null;\n madafacka = null;\n for(int i=0; i<enemies.size(); i++){\n enemies.remove(i);\n i--;\n }\n currentSprite = null;\n ship = null;\n shipleft1 = null;\n shipleft2 = null;\n shipright1 = null;\n shipright2 = null;\n basicInv1 = null;\n basicInv2 = null;\n badBoyAnim = null;\n\n // Call garbage collector to clean up memory.\n System.gc();\n }", "public ObjectStack() {\n\t\tcollection = new ArrayBackedIndexedCollection();\n\t}", "public void reset()\n {\n current = 0;\n highWaterMark = 0;\n lowWaterMark = 0;\n super.reset();\n }", "private void resetBuffer() {\n baos.reset();\n }", "private void flushBuffer(Runnable paramRunnable) {\n/* 149 */ int i = this.buf.position();\n/* 150 */ if (i > 0 || paramRunnable != null)\n/* */ {\n/* 152 */ flushBuffer(this.buf.getAddress(), i, paramRunnable);\n/* */ }\n/* */ \n/* 155 */ this.buf.clear();\n/* */ \n/* 157 */ this.refSet.clear();\n/* */ }", "private void collectGarbageInCache() {\n CacheReference r;\n while ((r = (CacheReference)queue.poll()) != null) {\n fontCache.remove(r.getKey());\n }\n }", "@Override\n public void resetBuffer() {\n\n }", "public InMemoryQueueService(){\n this.ringBufferQueue = new QueueMessage[10000];\n }", "public void onMemoryExceed();", "protected final void _verifyAlloc(Object buffer)\n/* */ {\n/* 269 */ if (buffer != null) throw new IllegalStateException(\"Trying to call same allocXxx() method second time\");\n/* */ }", "public void free(){\n\t\t//android.util.Log.d(TAG,\"free()\");\n\t\tthis.freeGeometries();\n\t\tthis.freeLights();\n\t\tthis.freeCameras();\n\t\tthis.freeTextures();\n\t\tthis.freeMaterials();\n\t}", "@Test\n public void testMemoryVarSizeFrameWithSpillNoDiscard() {\n for (int k = 0; k < 1000; k++) {\n try {\n Random random = new Random();\n IHyracksTaskContext ctx = TestUtils.create(DEFAULT_FRAME_SIZE);\n // Spill budget = Memory budget, No discard\n FeedPolicyAccessor fpa =\n createFeedPolicyAccessor(true, false, DEFAULT_FRAME_SIZE * NUM_FRAMES, DISCARD_ALLOWANCE);\n // Non-Active Writer\n TestControlledFrameWriter writer = FrameWriterTestUtils.create(DEFAULT_FRAME_SIZE, false);\n writer.freeze();\n // FramePool\n ConcurrentFramePool framePool = new ConcurrentFramePool(NODE_ID, FEED_MEM_BUDGET, DEFAULT_FRAME_SIZE);\n FeedRuntimeInputHandler handler = createInputHandler(ctx, writer, fpa, framePool);\n handler.open();\n ByteBuffer buffer = ByteBuffer.allocate(DEFAULT_FRAME_SIZE);\n int multiplier = 1;\n int numOfBuffersInMemory = 0;\n // add NUM_FRAMES times\n while ((multiplier <= framePool.remaining())) {\n numOfBuffersInMemory++;\n handler.nextFrame(buffer);\n multiplier = random.nextInt(10) + 1;\n buffer = ByteBuffer.allocate(DEFAULT_FRAME_SIZE * multiplier);\n }\n // Next call should Not block. we will do it in a different thread\n Future<?> result = EXECUTOR.submit(new Pusher(buffer, handler));\n result.get();\n // Check that no records were discarded\n Assert.assertEquals(handler.getNumDiscarded(), 0);\n // Check that one frame is spilled\n Assert.assertEquals(handler.getNumSpilled(), 1);\n // consume memory frames\n while (numOfBuffersInMemory > 1) {\n writer.kick();\n numOfBuffersInMemory--;\n }\n // There should be 1 frame on disk\n Assert.assertEquals(1, handler.framesOnDisk());\n writer.unfreeze();\n handler.close();\n Assert.assertEquals(0, handler.framesOnDisk());\n } catch (Throwable th) {\n th.printStackTrace();\n Assert.fail();\n }\n }\n Assert.assertNull(cause);\n }", "public interface ProductionBuffer {\n\t\n\tpublic int getMaxBufferSize();\n\t\n\tpublic int getCurrentBufferSize();\n\t\n\tpublic boolean isFull();\n\t\n\tpublic boolean isEmpty();\n\t\n\t//Add to the back of the buffer\n\tpublic boolean add(BufferSlot bs);\n\t\n\t//Remove from the front of the buffer\n\tpublic BufferSlot remove();\n\t\n\t//empties the buffer\n\tpublic void clear();\n\n}", "private void maintain() {\n SoftObject obj;\n int count = 0;\n\n while ((obj = (SoftObject)queue.poll()) != null) {\n count++;\n collection.remove(obj);\n }\n\n if (count != 0) {\n // some temporary debugging fluff\n System.err.println(\"vm reclaimed \" + count + \" objects\");\n }\n }", "@Override()\r\n protected void finalize() {\r\n destroy();\r\n }", "abstract void allocateBuffers();", "public ObjectStack() {collection = new ArrayIndexedCollection();}", "public void gc();", "private void initializeBuffers(){\n if(isDiskBufferEnabled){\n this.persistenceService = PersistenceService.getService();\n this.synonymyBuffer = persistenceService.getMapDatabase(WIKIDATA_SYNONYMY_BUFFER);\n this.hypernymyBuffer = persistenceService.getMapDatabase(WIKIDATA_HYPERNYMY_BUFFER);\n this.askBuffer = persistenceService.getMapDatabase(WIKIDATA_ASK_BUFFER);\n } else {\n this.synonymyBuffer = new ConcurrentHashMap<>();\n this.hypernymyBuffer = new ConcurrentHashMap<>();\n this.askBuffer = new ConcurrentHashMap<>();\n }\n }", "private List<Instance> flushResultBuffer() {\n\t\tList<Instance> resultBuffer = this.resultBuffer;\n\t\tthis.resultBuffer = new LinkedList<Instance>();\n\t\treturn resultBuffer;\n\t}", "Stack(Recycler<T> parent, Thread thread, int maxCapacity, int maxSharedCapacityFactor, int ratioMask, int maxDelayedQueues)\r\n/* 408: */ {\r\n/* 409:440 */ this.parent = parent;\r\n/* 410:441 */ this.threadRef = new WeakReference(thread);\r\n/* 411:442 */ this.maxCapacity = maxCapacity;\r\n/* 412:443 */ this.availableSharedCapacity = new AtomicInteger(Math.max(maxCapacity / maxSharedCapacityFactor, Recycler.LINK_CAPACITY));\r\n/* 413:444 */ this.elements = new Recycler.DefaultHandle[Math.min(Recycler.INITIAL_CAPACITY, maxCapacity)];\r\n/* 414:445 */ this.ratioMask = ratioMask;\r\n/* 415:446 */ this.maxDelayedQueues = maxDelayedQueues;\r\n/* 416: */ }", "public void reset()\n {\n \tthis.heapFiles.clear();\n }", "@Override\n\tpublic void finalize() {\n\t\t\n\t}", "StackManipulation cached();", "private static void gc() {\n System.gc();\n System.gc();\n }", "void commonGetsCleanup() {\n ChannelBuffer buf, next;\n\n buf = inQueueHead;\n for ( ; buf != null; buf = next) {\n next = buf.next;\n if (buf.nextRemoved < buf.nextAdded) {\n break;\n }\n recycleBuffer(buf, false);\n }\n inQueueHead = buf;\n if (buf == null) {\n inQueueTail = null;\n } else {\n // If any multi-byte characters were split across channel buffer\n // boundaries, the split-up bytes were moved to the next channel\n // buffer by filterBytes(). Move the bytes back to their\n // original buffer because the caller could change the channel's\n // encoding which could change the interpretation of whether those\n // bytes really made up multi-byte characters after all.\n\n next = buf.next;\n for ( ; next != null; next = buf.next) {\n int extra;\n\n extra = buf.bufLength - buf.nextAdded;\n if (extra > 0) {\n System.arraycopy(next.buf, buf.BUFFER_PADDING - extra,\n buf.buf, buf.nextAdded, extra);\n buf.nextAdded += extra;\n next.nextRemoved = buf.BUFFER_PADDING;\n }\n buf = next;\n }\n }\n if (encoding != null) {\n //Tcl_FreeEncoding(encoding);\n }\n }", "public void release()\n \t{\n \t\tif( iterator == null )\n \t\t{\n \t\t\tindex = new SpatialIndex();\n \t\t\tedgeAllocator = 0;\n \t\t\tmergeOps = null;\n \t\t\t\n \t\t\tSystem.gc();\n \t\t}\n \t}", "@Override\n\tpublic int getBufferSize() {\n\t\treturn 0;\n\t}", "public void bufferingState(){\n\t\twhile ( buffer.isBufferUnderRun() ){\n\t\t\t/** Do not leave the while loop with nothing, it will increase the CPU usage 25% */\n\t\t\ttry {Thread.sleep(1);\n\t\t\t} catch (InterruptedException ex) {}\n\t\t} \n\t}", "private void nullify() {\n\t\tpaint = null;\n\t\tup = null;\n\t\tdown = null;\n\t\tleft = null;\n\t\tright = null;\n\t\tg_up = null;\n\t\tg_down = null;\n\t\tg_left = null;\n\t\tg_right = null;\n\t\tgrass = null;\n\t\tcake = null;\n\n\t\t// Call garbage collector to clean up memory.\n\t\tSystem.gc();\n\n\t}", "public BulkFifoNaive() {\n m_chainedFifo[0] = new long[m_bulkSize];\n }", "@Override\n public void onLowMemory() {\n super.onLowMemory();\n mMap.onLowMemory();\n }", "@Override\n\tpublic void freeMe() {\n\n\t}", "private void m6558i() {\n if (this.f5072i != null) {\n this.f5072i.recycle();\n this.f5072i = null;\n }\n if (this.f5071h != null) {\n this.f5071h.recycle();\n this.f5071h = null;\n }\n }", "@Override\n protected void finalize() throws Throwable {\n clear();\n \n // Finally free the partition area itself\n unsafe.freeMemory(partitionAddress);\n \n super.finalize();\n }", "private void releaseObjects() {\n if (fPermStorage != null) {\n Iterator<IJavaObject> iterator = fPermStorage.iterator();\n while (iterator.hasNext()) {\n IJavaObject object = iterator.next();\n try {\n object.enableCollection();\n } catch (CoreException e) {\n if ((e.getStatus().getException() instanceof VMDisconnectedException)) {\n break;\n }\n JDIDebugPlugin.log(e);\n }\n }\n fPermStorage = null;\n }\n }", "protected void clearResolvedObjects() {\n\t\ttype = null;\n\t\tmanagedType = null;\n\t\ttypeDeclaration = null;\n\t}", "protected void dispose( Object o ) {\n\t\t//System.out.println(\"diposed: \"+o+\" by CountLimitedLRU\");\n\t}", "private WeakOrderQueue(Recycler.Stack<?> stack, Thread thread)\r\n/* 222: */ {\r\n/* 223:250 */ this.head = (this.tail = new Link(null));\r\n/* 224:251 */ this.owner = new WeakReference(thread);\r\n/* 225: */ \r\n/* 226: */ \r\n/* 227: */ \r\n/* 228: */ \r\n/* 229:256 */ this.availableSharedCapacity = stack.availableSharedCapacity;\r\n/* 230: */ }", "public MinStack() {\n this.capacity = CAPACITY;\n this.objects = new Object[capacity];\n }", "@Override\n\tpublic void resetBuffer() {\n\t}", "private void m6557h() {\n if (this.f5066b != null) {\n this.f5066b.recycle();\n this.f5066b = null;\n }\n }", "private void clearResetCache() {\n for(IoBuffer buf : resetCache) {\n buf.free();\n }\n resetCache = null;\n }", "public void free() {\n byteBase.free();\n byteBase = null;\n }", "@Override\r\n\tpublic Buffer copy() {\n\t\t\r\n\t\treturn null;\r\n\t}", "public ByteBufAllocator method_4100() {\n return null;\n }", "public final Object getObject() \n\t{\n\tif (fTop > 0)\n\t\t{\n\t\tfTop--;\n\t\tObject result = fBin[fTop];\n\t\tfBin[fTop] = null;\n\t\treturn result;\n\t\t}\n\n\tfUnderflowCounter++;\n\tif (fHasOverflowed && (fBin.length < MAX_BIN_SIZE))\n\t\t{\n\t\tcreateBin(fBin.length + BIN_GROW_SIZE);\n\t\tfHasOverflowed = false;\n\t\t}\n\t\t\n\ttry\n\t\t{\n\t\treturn fClass.newInstance();\n\t\t}\n\tcatch (Exception e)\n\t\t{\n\t\treturn null;\n\t\t}\n\t}", "protected void preDisply(List allData) {\n }", "public ByteBuffer nioBuffer()\r\n/* 703: */ {\r\n/* 704:712 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 705:713 */ return super.nioBuffer();\r\n/* 706: */ }", "public void release() {\n this.buffer = EMPTY_ARRAY;\n this.elementsCount = 0;\n }", "public final void freeBuffers()\n {\n if (_ioContext != null) {\n byte[] buf = _inputBuffer;\n if (buf != null) {\n _inputBuffer = null;\n _ioContext.releaseReadIOBuffer(buf);\n }\n }\n }", "public void phantomReference() throws InterruptedException\n {\n final ReferenceQueue queue = new ReferenceQueue();\n PhantomReference<ReferenceExample> ex = \n \t\t new PhantomReference<ReferenceExample>(new ReferenceExample(\"PhantomRef\"),queue);\n \n //====NOTE=====>>> Phantom referene always retursn null, it is hardcoded to null\n System.out.println(\"Phantom ref before GC..wow where is it: \" + ex.get()); \n System.gc();\n System.out.println(\"Phatom Ref after GC:\" + ex.get() );\n queue.remove();\n System.out.println(\"Phantom reference deleted after\");\n }", "synchronized HashMap flushTemporaryPrototypeCache() {\n HashMap c = _pcache;\n _pcache = null;\n return c;\n }", "public void reset () {\n\t\topen();\n\t\ttry {\n\t\t\tcontainer.setLength(0);\n\t\t\treservedBitMap.setLength(0);\n\t\t\tupdatedBitMap.setLength(0);\n\t\t\tfreeList.setLength(0);\n\t\t\tsize = 0;\n\t\t}\n\t\tcatch (IOException ie) {\n\t\t\tthrow new WrappingRuntimeException(ie);\n\t\t}\n\t}", "private static byte[] m2539e(Context context) {\n Throwable th;\n int i = 0;\n ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\n byte[] bArr = new byte[0];\n String a = Log.m2547a(context, Log.f1857e);\n DiskLruCache diskLruCache = null;\n try {\n diskLruCache = DiskLruCache.m2767a(new File(a), 1, 1, 10240);\n File file = new File(a);\n if (file != null && file.exists()) {\n String[] list = file.list();\n int length = list.length;\n while (i < length) {\n String str = list[i];\n if (str.contains(\".0\")) {\n byteArrayOutputStream.write(StatisticsManager.m2535a(diskLruCache, str.split(\"\\\\.\")[0]));\n }\n i++;\n }\n }\n bArr = byteArrayOutputStream.toByteArray();\n if (byteArrayOutputStream != null) {\n try {\n byteArrayOutputStream.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n if (diskLruCache != null) {\n try {\n diskLruCache.close();\n } catch (Throwable th2) {\n th = th2;\n }\n }\n } catch (IOException th3) {\n BasicLogHandler.m2542a(th3, \"StatisticsManager\", \"getContent\");\n if (byteArrayOutputStream != null) {\n try {\n byteArrayOutputStream.close();\n } catch (IOException e2) {\n e2.printStackTrace();\n }\n }\n if (diskLruCache != null) {\n diskLruCache.close();\n }\n } catch (Throwable th4) {\n th3 = th4;\n }\n return bArr;\n th3.printStackTrace();\n return bArr;\n }", "public void weakReference_holdingRealObj()\n {\n int counter=0;\n //====NOTE=====>>> RSN how weak reference is created\n WeakReference<ReferenceExample> ex = new WeakReference<ReferenceExample>(new ReferenceExample(\"WeakRef2\"));\n System.out.println(\"Weak reference before GC...\" + \"Origin=\" + ex.get().getOrigin());\n ReferenceExample realEx = ex.get();\n \n //while(ex.get()!=null)\n while(counter <10)\n {\n counter++;\n System.gc();\n }\n System.out.println(\"Weak reference after:: \" + counter +\" GCs. Value after GC:\" + ex.get());\n }", "protected void deallocate()\r\n/* 541: */ {\r\n/* 542:554 */ freeArray(this.array);\r\n/* 543:555 */ this.array = null;\r\n/* 544: */ }", "public void finalize() throws Throwable {\n if (this.mShadow != 0) {\n nativeRelease(this.mShadow);\n this.mShadow = 0;\n }\n super.finalize();\n }", "public void clearCache() {\n/* 105 */ this.cachedRed = null;\n/* 106 */ this.cachedUsr2dev = null;\n/* 107 */ this.cachedGn2dev = null;\n/* 108 */ this.cachedBounds = null;\n/* */ }", "private static void flushInternalBuffer() {\n\n //Strongly set the last byte to \"0A\"(new line)\n if (mPos < LOG_BUFFER_SIZE_MAX) {\n buffer[LOG_BUFFER_SIZE_MAX - 1] = 10;\n }\n\n long t1, t2;\n\n //Save buffer to SD card.\n t1 = System.currentTimeMillis();\n writeToSDCard();\n //calculate write file cost\n t2 = System.currentTimeMillis();\n Log.i(LOG_TAG, \"internalLog():Cost of write file to SD card is \" + (t2 - t1) + \" ms!\");\n\n //flush buffer.\n Arrays.fill(buffer, (byte) 0);\n mPos = 0;\n }", "public ByteBuf discardSomeReadBytes()\r\n/* 113: */ {\r\n/* 114:130 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 115:131 */ return super.discardSomeReadBytes();\r\n/* 116: */ }", "private void updateBlockBuffer() {\n for (Block b : blockBuffer) {\n if (++b.ttl > BLOCK_CACHE_THRESH) {\n blockBuffer.remove(b);\n }\n }\n\n prevBlockBufferSize = blockBuffer.size();\n }" ]
[ "0.6604814", "0.6031045", "0.59089214", "0.5887917", "0.5861019", "0.58476067", "0.5834633", "0.5800614", "0.5791331", "0.5778429", "0.57570225", "0.5744196", "0.57212996", "0.57156354", "0.57156354", "0.5703355", "0.56884027", "0.5650322", "0.56497145", "0.5644933", "0.56418496", "0.56367475", "0.5624388", "0.55961645", "0.5582576", "0.5574868", "0.5565027", "0.5564631", "0.55608386", "0.5529576", "0.5525523", "0.5509067", "0.54643273", "0.5443611", "0.5440818", "0.5436096", "0.542825", "0.5414372", "0.5409246", "0.54087794", "0.5404144", "0.54021204", "0.53946173", "0.5394406", "0.53700227", "0.53573364", "0.5347488", "0.53461605", "0.53386605", "0.5338343", "0.5334724", "0.5334544", "0.5331059", "0.5329543", "0.5321057", "0.5320089", "0.53185225", "0.53173155", "0.531519", "0.53112483", "0.53042114", "0.53023237", "0.5298686", "0.52982897", "0.52917796", "0.5286285", "0.5285515", "0.52674997", "0.5264717", "0.5263583", "0.5260266", "0.5244829", "0.52371615", "0.5233399", "0.52309906", "0.5230243", "0.5225835", "0.5223822", "0.5216897", "0.5216451", "0.5215258", "0.52148914", "0.5214512", "0.52101266", "0.52100885", "0.52041894", "0.5203333", "0.5194143", "0.5182677", "0.51818573", "0.5181584", "0.5178919", "0.51759344", "0.5169006", "0.51666474", "0.5163831", "0.51627636", "0.51597327", "0.5157926", "0.515124", "0.51484656" ]
0.0
-1
The MySQL sql driver (at least) doesn't optimize to use indexes in the presence of OR so we issue separate delete calls to speed things up.
public void removeAllReferences(Frame frame) throws SQLException { deleteFrame(frame); deleteValue(frame); if (frame instanceof Slot) { deleteSlot((Slot) frame); } else if (frame instanceof Facet) { // deleteFacet((Facet) frame); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void delete(Vector<AbstractOrmEntity> searchEntities)\r\n\t throws Exception;", "private void deletes() {\n \tDBPeer.fetchTableRows();\n DBPeer.fetchTableIndexes();\n \n for (Delete delete: deletes) {\n \tdelete.init();\n }\n \n //DBPeer.updateTableIndexes(); //Set min max of indexes not implemented yet\n }", "public abstract void delete(AbstractOrmEntity searchEntity,\r\n\t Vector<String> searchCriterias) throws Exception;", "public abstract void delete(Iterable<Long> ids);", "int delete(String tableName, String selectionCriteria, String[] selectionArgs);", "@Override\r\n\tpublic void delete(TQssql sql) {\n\r\n\t}", "int deleteByPrimaryKeyBulk(@Param(\"ids\") List<Long> ids);", "public java.util.List<Long> deleteByHoppyIds(java.util.List<Long> hoppyIds) throws DataAccessException;", "Ad selectByPrimaryKeyWithLogicalDelete(@Param(\"id\") Integer id, @Param(\"andLogicalDeleted\") boolean andLogicalDeleted);", "public void deleteMulti(String ids);", "@Override\n\tpublic boolean delete(String sql) {\n\t\treturn false;\n\t}", "int deleteByExample(OrderPreferentialExample example) throws SQLException;", "public abstract void deselectAllIndexes();", "BehaveLog selectByPrimaryKeyWithLogicalDelete(@Param(\"id\") Integer id, @Param(\"andLogicalDeleted\") boolean andLogicalDeleted);", "public void delete(String ids) throws SQLException {\n\t\t\r\n\t}", "ZhuangbeiInfo selectByPrimaryKeyWithLogicalDelete(@Param(\"id\") Integer id, @Param(\"andLogicalDeleted\") boolean andLogicalDeleted);", "public boolean batchDelete(String[] str) {\n\t\tboolean flag=matchDao.batchDelete(str);\r\n\t\treturn flag;\r\n\t}", "@Override\n\tpublic void delete(List<Long> ids) {\n\t}", "@Override\r\n\tpublic boolean deleteSQL(String sql, Connection con) {\n\t\treturn false;\r\n\t}", "public void delete(String sql, int[] keys) throws SQLException {\n try (Connection connection = getConnection()) {\n\n PreparedStatement preparedStatement = connection.prepareStatement(sql);\n\n for (int i = 0; i < keys.length; i++) {\n preparedStatement.setInt(i + 1, keys[i]);\n }\n\n preparedStatement.executeUpdate();\n\n preparedStatement.close();\n }\n }", "public void delete(Long[] ids) throws ProcessingException;", "DashboardGoods selectByPrimaryKeyWithLogicalDelete(@Param(\"id\") Integer id, @Param(\"andLogicalDeleted\") boolean andLogicalDeleted);", "int batchDelete(List<Integer> ids);", "public void deleteByOrder(Order order);", "@Override\n\tpublic void delete(String... args) throws SQLException {\n\t\t\n\t}", "@Override\n\tpublic int deleteByPks(List<BaseEntity> entities) throws DaoException {\n\t\treturn 0;\n\t}", "public DResult delete(byte[] row, long startId) throws IOException;", "@Override\r\n\tpublic void batchDelete(String[] ids) {\n\t\tfor(int i=0;i<ids.length;i++)\r\n\t\t\tdelete(ids[i]);\t\r\n\t}", "int deleteByExample(BasicinfoCriteria example);", "public abstract boolean delete(long arg, Connection conn) throws DeleteException;", "@Test\n public void testDeleteSeveral() throws Exception {\n int theTaskId = 440;\n String query = String.format(\"select * from %s.%s where taskId like '%s'\",\n tableSchema.schemaName, TASK_TABLE_NAME, \"4%\");\n\n TestConnection connection = methodWatcher.getOrCreateConnection();\n connection.setAutoCommit(false);\n\n PreparedStatement ps;\n int rows;\n int total = 10;\n for (int i=0; i<total; i++) {\n // insert good data\n ps = methodWatcher.prepareStatement(\n String.format(\"insert into %s.%s (taskId, empId, startedAt, finishedAt) values (?,?,?,?)\",\n tableSchema.schemaName, TASK_TABLE_NAME));\n ps.setString(1, Integer.toString(theTaskId + i));\n ps.setInt(2, 100+i);\n ps.setInt(3, 0600+i);\n ps.setInt(4, 0700+i);\n rows = ps.executeUpdate();\n Assert.assertEquals(1, rows);\n }\n connection.commit();\n\n ResultSet rs = connection.createStatement().executeQuery(query);\n Assert.assertEquals(10, SpliceUnitTest.resultSetSize(rs));\n connection.commit();\n\n ps = methodWatcher.prepareStatement(\n String.format(\"delete from %s.%s where taskId like ?\", tableSchema.schemaName, TASK_TABLE_NAME));\n ps.setString(1, \"4%\");\n rows = ps.executeUpdate();\n Assert.assertEquals(10, rows);\n connection.commit();\n\n rs = connection.createStatement().executeQuery(query);\n Assert.assertFalse(\"No rows expected.\", rs.next());\n connection.commit();\n }", "@Override\n\tpublic void delete(String[] ids) throws Exception {\n\t\t\n\t}", "public static void delete_rows(String table_name, int[] indexes) throws SQLException{\n\t\t\n\t\tPreparedStatement pstmt=null;\n\t\tConnection conn = Connection_pooling.cpds.getConnection();\n\t\tString pstmt_query=\"\";\n\t\t\n\t\tString query_var = \"\";\n\t\t\n\t\tif(table_name.compareTo(\"Actors\")==0){\n\t\t\tquery_var=\"cinema_actors\";\n\t\t}\n\t\tif(table_name.compareTo(\"Movies\")==0){\n\t\t\tquery_var=\"cinema_movies\";\n\t\t}\n\t\tif(table_name.compareTo(\"Categories\")==0){\n\t\t\tquery_var=\"cinema_tags\";\n\t\t}\n\t\tif(table_name.compareTo(\"Artists\")==0){\n\t\t\tquery_var=\"music_artists\";\n\t\t}\n\t\tif(table_name.compareTo(\"Creations\")==0){\n\t\t\tquery_var=\"music_creations\";\n\t\t}\n\t\tif(table_name.compareTo(\"Countries\")==0){\n\t\t\tquery_var=\"places_countries\";\n\t\t}\n\t\tif(table_name.compareTo(\"Locations\")==0){\n\t\t\tquery_var=\"places_locations\";\n\t\t}\n\t\tif(table_name.compareTo(\"NBA players\")==0){\n\t\t\tquery_var=\"nba_players\";\n\t\t}\n\t\tif(table_name.compareTo(\"NBA teams\")==0){\n\t\t\tquery_var=\"nba_teams\";\n\t\t}\n\t\tif(table_name.compareTo(\"Israeli soccer players\")==0){\n\t\t\tquery_var=\"israeli_soccer_players\";\n\t\t}\n\t\tif(table_name.compareTo(\"Israeli soccer teams\")==0){\n\t\t\tquery_var=\"israeli_soccer_teams\";\n\t\t}\n\t\tif(table_name.compareTo(\"World soccer players\")==0){\n\t\t\tquery_var=\"world_soccer_players\";\n\t\t}\n\t\tif(table_name.compareTo(\"World soccer teams\")==0){\n\t\t\tquery_var=\"world_soccer_teams\";\n\t\t}\n\t\t\n\t\tpstmt_query = \" delete from curr_\"+query_var+\" where id = ? \";\n\t\t\n\t\t\n\t\tconn.setAutoCommit(false);\n\t\tpstmt = conn.prepareStatement(pstmt_query);\n\t\texecute_delete_stmt(pstmt, indexes);\n\t\tconn.commit();\n\t\tconn.setAutoCommit(true);\n\t\t\n\t\tpstmt.close();\n\t\tconn.close();\n\t}", "public void remove(MongoDBCritera critera);", "@Override\r\n\tpublic void delete(int r_idx) throws Exception {\n\r\n\t}", "CustomDeleteQuery deleteFrom(String table) throws JpoException;", "public abstract void rowsDeleted(int firstRow, int endRow);", "int deleteByExample(R_orderExample example);", "int deleteByPrimaryKey(long order_preferential_id) throws SQLException;", "int deleteByExample(ItoProductCriteria example);", "public Iterable<IndexUpdate> getIndexDeletes(TableState state, IndexMetaData context, byte[] regionStartKey, byte[] regionEndKey) throws IOException;", "@Test\n public void testClientJdbcDelete() throws Exception {\n try (Connection con = GridCacheDynamicLoadOnClientTest.connect(GridCacheDynamicLoadOnClientTest.clientNode);Statement stmt = con.createStatement()) {\n int cnt = stmt.executeUpdate(((\"DELETE \" + (GridCacheDynamicLoadOnClientTest.FULL_TABLE_NAME)) + \" WHERE _key=1\"));\n Assert.assertEquals(1, cnt);\n }\n SqlFieldsQuery qry = new SqlFieldsQuery((\"SELECT * FROM \" + (GridCacheDynamicLoadOnClientTest.FULL_TABLE_NAME)));\n Assert.assertEquals(((GridCacheDynamicLoadOnClientTest.CACHE_ELEMENT_COUNT) - 1), getDefaultCacheOnClient().query(qry).getAll().size());\n }", "@Override\n\tpublic ResultWrapper<Boolean> deleteMultiple(Map<String, List<Integer>> map) {\n\t\tResultWrapper<Boolean> rs = new ResultWrapper<Boolean>();\n\t\tList<Integer> listofIds = map.get(\"deleteMultiple\");\n\t\tIterator<Integer> itr = listofIds.iterator();\n\t\ttry {\n\t\t\twhile (itr.hasNext()) {\n\t\t\t\tInteger todoId = itr.next();\n\t\t\t\ttodosRepo.deleteById(todoId);\n\t\t\t}\n\t\t\trs.succeedDeleted(true);\n\t\t\treturn rs;\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\trs.fail(false, \" Exception Occurs \"+e);\n\t\t\treturn rs;\n\t\t}\n\n\t}", "int deleteByExample(Table2Example example);", "@Override\n\tpublic void deleteByPrimaryKeys(String ids) throws Exception {\n\t\tList<String> list = new ArrayList<String>();\n\t\t\n\t\tString[] strings = ids.split(\",\");\n\t\tfor (String string : strings) {\n\t\t\tlist.add(string);\n\t\t}\n\t\tstorageMapper.deleteByPrimaryKeys(list);\n\t}", "@Override\n\tpublic void deleteByIds(String ids) throws SQLException {\n\t\tproductDao.deleteByIds(ids);\n\t}", "int deleteByExample(Assist_tableExample example);", "int deleteByExample(GoodexistsingleExample example);", "int deleteByExample(GroupRightDAOExample example);", "@Override\n protected Response doBatchDelete(Long[] ids) {\n return null;\n }", "@Override\n protected Response doBatchDelete(Long[] ids) {\n return null;\n }", "@Override\n protected Response doBatchDelete(Long[] ids) {\n return null;\n }", "@Override\n\tpublic void delete(String query) {\n\t\t\n\t}", "int deleteByExample(OrderallExample example);", "int logicalDeleteByPrimaryKey(Integer id);", "int logicalDeleteByPrimaryKey(Integer id);", "int logicalDeleteByPrimaryKey(Integer id);", "int logicalDeleteByPrimaryKey(Integer id);", "int logicalDeleteByPrimaryKey(Integer id);", "int logicalDeleteByPrimaryKey(Integer id);", "int logicalDeleteByPrimaryKey(Integer id);", "public int delete(Iterable<String> primaryKeys) throws DatabaseSchemaException {\n if (primaryKeyField == null) {\n throw new IllegalStateException(\n \"Invalid query: \" + clazz.getSimpleName() + \" has no primary key\");\n }\n return delete(new QueryOption.WhereEquals(primaryKeyField, primaryKeys));\n }", "@Test\r\n\tpublic void testDeleteById() {\r\n\t\tList<E> entities = dao.findAll();\r\n\t\tfor (E e : entities) {\r\n\t\t\tInteger id = supplyId(e);\r\n\t\t\tdao.deleteById(id);\r\n\t\t\tE read = dao.read(id);\r\n\t\t\tassertNull(read);\r\n\t\t}\r\n\t}", "public static void main_delete(String args[]){\n\t//public static void main(String args[]){\n\t\tQueryResponse solr_response = null;\n\n\t\tSolrConnection tmp_conn = new SolrConnection();\n\t\ttmp_conn.setSolrURL(\"http://localhost:8983/solr/Test1\");\n\t\t\n\t\tHashMap<String,String> params = new HashMap<String,String>();\n\t\tparams.put(\"rows\", \"16\");\n\t\t//tmp_conn.resetQueryParams();\n\t\ttmp_conn.setQueryParams(params);\n\t\t//tmp_conn.setQueryParams(\"q\",\"id:\"+QueryParser.escape(\"com.xinhuanet.js.www:http/2013-10/14/c_117706867_16.htm\"));\n\t\t\n\t\ttry {\n\t\t\tsolr_response = tmp_conn.getContent();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t\tfor (SolrDocument doc:solr_response.getResults()){\n\t\t\t//String id = doc.getFieldValue(\"id\").toString();\n\t\t\n\t\tList<String> ids = new ArrayList<String>();\n\t\t//ids.add(\"3\");\n\t\t//ids.add(\"8\");\n\t\t//ids.add(\"7\");\n\t\tids.add(doc.getFieldValue(\"id\").toString());\n\t\ttmp_conn.deleteContentById(ids);\n\t\t}\n\t}", "int deleteByExample(YqbdExample example);", "@Override\r\n public boolean deleteAll(String strTable)\r\n { try\r\n { String strSQL = \"DELETE * FROM \" + strTable;\r\n status(strSQL);\r\n dbCmdText.executeUpdate(strSQL);\r\n\r\n // dbRecordset.close();\r\n } catch (SQLException e)\r\n {\r\n e.printStackTrace();\r\n }\r\n return false;\r\n }", "@Override\n\tpublic void process(StreamingInput<Tuple> stream, Tuple tuple)\n\t\t\tthrows Exception {\n\t\tHTableInterface myTable = connection.getTable(tableNameBytes);\n\t\tbyte row[] = getRow(tuple);\n\t\tDelete myDelete = new Delete(row);\n\n\t\tif (DeleteMode.COLUMN_FAMILY == deleteMode) {\n\t\t\tbyte colF[] = getColumnFamily(tuple);\n\t\t\tmyDelete.deleteFamily(colF);\n\t\t} else if (DeleteMode.COLUMN == deleteMode) {\n\t\t\tbyte colF[] = getColumnFamily(tuple);\n\t\t\tbyte colQ[] = getColumnQualifier(tuple);\n\t\t\tif (deleteAll) {\n\t\t\t\tmyDelete.deleteColumns(colF, colQ);\n\t\t\t} else {\n\t\t\t\tmyDelete.deleteColumn(colF, colQ);\n\t\t\t}\n\t\t}\n\n\t\tboolean success = false;\n\t\tif (checkAttr != null) {\n\t\t\tTuple checkTuple = tuple.getTuple(checkAttrIndex);\n\t\t\t// the check row and the row have to match, so don't use the\n\t\t\t// checkRow.\n\t\t\tbyte checkRow[] = getRow(tuple);\n\t\t\tbyte checkColF[] = getBytes(checkTuple, checkColFIndex,\n\t\t\t\t\tcheckColFType);\n\t\t\tbyte checkColQ[] = getBytes(checkTuple, checkColQIndex,\n\t\t\t\t\tcheckColQType);\n\t\t\tbyte checkValue[] = getCheckValue(checkTuple);\n\t\t\tsuccess = myTable.checkAndDelete(checkRow, checkColF, checkColQ,\n\t\t\t\t\tcheckValue, myDelete);\n\t\t} else if (batchSize == 0) {\n\t\t\tlogger.debug(\"Deleting \" + myDelete);\n\t\t\tmyTable.delete(myDelete);\n\t\t} else {\n\t\t\tsynchronized (listLock) {\n\t\t\t\tdeleteList.add(myDelete);\n\t\t\t\tif (deleteList.size() >= batchSize) {\n\t\t\t\t\tmyTable.delete(deleteList);\n\t\t\t\t\tdeleteList.clear();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Checks to see if an output tuple is necessary, and if so,\n\t\t// submits it.\n\t\tsubmitOutputTuple(tuple, success);\n\t\tmyTable.close();\n\t}", "@Override\r\n\tpublic void delete(Long[] ids) {\n\t\tfor (Long id : ids) {\r\n\t\t\ttestRecordDao.delete(id);\r\n\t\t}\r\n\t}", "public void deleteCertainRow(String itemname1,String itemname2, String tableName, String columnName1,String columnName2) throws SQLException\n {\n\n String deletetStr = \"DELETE FROM \"+tableName+\" WHERE \"+columnName1+\" = \"+quotate(itemname1)+\"AND \"+columnName2+\" = \"+quotate(itemname2);\n stmt.executeUpdate(deletetStr);\n return;\n\n }", "@Override\r\n\tpublic void deleteByIds(int[] ids) {\n\t\tdao.deleteByIds(ids);\r\n\t}", "int logicalDeleteByExample(@Param(\"example\") AdExample example);", "@SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n \tprivate CriteriaDeleteImpl constructDeleteQuery(CriteriaBuilderImpl cb, CommonTree tree) {\n \t\tfinal CriteriaDeleteImpl q = new CriteriaDeleteImpl(this.metamodel);\n \n \t\tfinal Tree deleteDef = tree.getChild(0);\n \n \t\tfinal Tree aliasedDef = deleteDef.getChild(0);\n \t\tfinal Aliased aliased = new Aliased(aliasedDef);\n \n \t\tfinal EntityTypeImpl entity = this.getEntity(aliased.getQualified().toString());\n \t\tfinal RootImpl<?> r = (RootImpl<?>) q.from(entity);\n \t\tthis.putAlias(q, aliasedDef, aliased, r);\n \n \t\tif (tree.getChildCount() == 2) {\n \t\t\tq.where(this.constructJunction(cb, q, deleteDef.getChild(1)));\n \t\t}\n \n \t\treturn q;\n \t}", "@Override\n\tpublic void deleteInBatch(Iterable<Audit> entities) {\n\t\t\n\t}", "void delete(Iterable<? extends T> entities);", "int deleteByExample(ParseTableLogExample example);", "public interface DeleteHelper {\n /**\n * 通过list中的主键id删除数据\n * @param list\n * @return\n */\n int[] delete(List<?> list) throws SQLException, IllegalAccessException;\n\n /**\n * 通过sql删除数据\n * @param sql\n * @param param\n * @throws SQLException\n */\n void delete(String sql,Object... param) throws SQLException;\n}", "@Override\n\tprotected Response doBatchDelete(Long[] ids) {\n\t\treturn null;\n\t}", "@Override\n\tpublic int delete(List<OrderItem> objectsToDelete) throws SQLException {\n\t\treturn 0;\n\t}", "public abstract void deleteAll();", "int deleteByExample(ForumpostExample example);", "int deleteByExample(BnesBrowsingHisExample example) throws SQLException;", "@Override\n\tpublic long execute() {\n\t\treturn database.createCommand()\n\t\t\t\t.appendRaw(\"DELETE FROM \")\n\t\t\t\t.appendName(aspect.schemaName)\n\t\t\t\t.appendWhere(this.filter)\n\t\t\t\t.executeNonQuery();\n\t}", "int deleteByExample(CTipoComprobanteExample example) throws SQLException;", "@Test\n void testRemoveDeletesElementAfterMultiplePuts() {\n MyList l = new MyList();\n for (int i = 0; i < 10; i++)\n l.put(\"key\" + i, \"value\" + i);\n l.remove(\"key5\");\n\n assertEquals(false, l.contains(\"key5\"));\n }", "int deleteByExample(AdminUserCriteria example);", "int deleteByExample(AdminUserCriteria example);", "public int deleteAll() throws SQLException\n {\n return deleteByWhere(\"\");\n }", "public int deleteAll() throws SQLException\n {\n return deleteByWhere(\"\");\n }", "public int deleteAll() throws SQLException\n {\n return deleteByWhere(\"\");\n }", "int deleteByExample(MVoucherDTOCriteria example);", "@Override\n\tpublic Result<String> delete(List<Long> ids) {\n\t\treturn null;\n\t}", "public void testUpdateDelete() {\n String[] updateShardActions = new String[] { UpdateAction.NAME + \"[s]\", BulkAction.NAME + \"[s][p]\", BulkAction.NAME + \"[s][r]\" };\n interceptTransportActions(updateShardActions);\n\n String indexOrAlias = randomIndexOrAlias();\n client().prepareIndex(indexOrAlias).setId(\"id\").setSource(\"field\", \"value\").get();\n UpdateRequest updateRequest = new UpdateRequest(indexOrAlias, \"id\").script(\n new Script(ScriptType.INLINE, CustomScriptPlugin.NAME, \"ctx.op='delete'\", Collections.emptyMap())\n );\n UpdateResponse updateResponse = internalCluster().coordOnlyNodeClient().update(updateRequest).actionGet();\n assertEquals(DocWriteResponse.Result.DELETED, updateResponse.getResult());\n\n clearInterceptedActions();\n assertSameIndices(updateRequest, updateShardActions);\n }", "@Override\n\tpublic boolean delete(ArrayList<ModelBase> ids) throws RepositoryException {\n\t\treturn false;\n\t}", "@ThreadSafe\npublic interface DeleteItemApi {\n /** Deletes an item by primary key. */\n public DeleteItemOutcome deleteItem(KeyAttribute ... primaryKeyComponents);\n\n /** Deletes an item by primary key. */\n public DeleteItemOutcome deleteItem(PrimaryKey primaryKey);\n\n /** Deletes an item by hash-only primary key. */\n public DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue);\n\n /** Deletes an item by hash key-and-range primary key. */\n public DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue,\n String rangeKeyName, Object rangeKeyValue);\n\n /**\n * Conditional delete with the specified primary key and expected\n * conditions.\n */\n public DeleteItemOutcome deleteItem(PrimaryKey primaryKey,\n Expected... expected);\n\n /**\n * Conditional delete with the specified hash-only primary key and expected\n * conditions.\n */\n public DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue,\n Expected... expected);\n\n /**\n * Conditional delete with the specified hash-and-range primary key and\n * expected conditions.\n */\n public DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue,\n String rangeKeyName, Object rangeKeyValue,\n Expected... expected);\n\n /**\n * Conditional delete with the specified primary key and condition\n * expression.\n */\n public DeleteItemOutcome deleteItem(PrimaryKey primaryKey,\n String conditionExpression,\n Map<String, String> nameMap,\n Map<String, Object> valueMap);\n\n /**\n * Conditional delete with the specified hash-only primary key and condition\n * expression.\n */\n public DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue,\n String conditionExpression,\n Map<String, String> nameMap,\n Map<String, Object> valueMap);\n\n /**\n * Conditional delete with the specified hash-and-range primary key and\n * condition expression.\n */\n public DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue,\n String rangeKeyName, Object rangeKeyValue,\n String conditionExpression,\n Map<String, String> nameMap,\n Map<String, Object> valueMap);\n\n /** Deletes an item by specifying all the details. */\n public DeleteItemOutcome deleteItem(DeleteItemSpec spec);\n}", "boolean deleteIndex(String indexName);", "public interface Delete<T extends Model> {\n\n\t/**\n\t * Executes the operation.\n\t *\n\t * @return the number of the deleted rows.\n\t * @throws OperationException if any error happen\n\t */\n\tint execute() throws OperationException;\n\n\t/**\n\t * Executes the operation. Returns <code>-1</code> if any error happen.\n\t *\n\t * @return the number of the deleted rows.\n\t */\n\tint executeSafely();\n\n\t/**\n\t * Builds a filtering expression for this operation.\n\t *\n\t * @param column a column's name from the table\n\t */\n\thandy.storage.api.ColumnCondition<DeleteOperation<T>> where(String column);\n\n\t/**\n\t * Sets a filtering expression for this operation.\n\t *\n\t * @param expression a {@link Expression} object built for this table.\n\t * @return this object\n\t * @throws IllegalArgumentException if passed expression was built for another table\n\t */\n\tDeleteOperation<T> where(Expression expression);\n\n\t/**\n\t * Limits the number of rows to delete. Use {@link #orderBy(String)} and\n\t * {@link #orderBy(String, Order)} to set a rule which rows should be\n\t * deleted first.\n\t *\n\t * @param limit mux number of items to delete\n\t * @return this object\n\t */\n\tDelete<T> limit(int limit);\n\n\t/**\n\t * Adds a column to order by during deleting. Use it only simultaneously\n\t * with {@link #limit(int)}.\n\t *\n\t * @param column column to order by\n\t * @return this object\n\t */\n\tDelete<T> orderBy(String column);\n\n\t/**\n\t * Adds a column to order by during deleting. Use it only simultaneously\n\t * with {@link #limit(int)}.\n\t *\n\t * @param column column to order by\n\t * @param order ascending or descending\n\t * @return this object\n\t */\n\tDelete<T> orderBy(String column, Order order);\n\n}", "@Override\n public void delete(Iterable<? extends SideDishEntity> entities) {\n\n }", "int deleteByExample(OrderExample example);", "public static String buildDeleteSql(Object object)\r\n\t\t\tthrows IllegalAccessException, InvocationTargetException, NoSuchMethodException {\r\n\t\tif (null == object) {\r\n\t\t\tthrow new BuildSqlException(BuildSqlExceptionEnum.nullObject);\r\n\t\t}\r\n\t\tMap<?, ?> dtoFieldMap = PropertyUtils.describe(object);\r\n\t\tTableMapper tableMapper = buildTableMapper(getTableMappedClass(object.getClass()));\r\n\t\tString tableName = tableMapper.getTableName();\r\n\r\n\t\tStringBuffer sql = new StringBuffer();\r\n\r\n\t\tsql.append(DELETE_FROM_).append(tableName).append(WHERE_);\r\n\t\tfor (FieldMapper fieldMapper : tableMapper.getUniqueKeyNames()) {\r\n\t\t\tsql.append(fieldMapper.getDbFieldName());\r\n\t\t\tObject value = dtoFieldMap.get(fieldMapper.getFieldName());\r\n\t\t\tif (value == null) {\r\n\t\t\t\tthrow new BuildSqlException(new StringBuffer(BuildSqlExceptionEnum.deleteUniqueKeyIsNull.toString())\r\n\t\t\t\t\t\t.append(fieldMapper.getDbFieldName()).toString());\r\n\t\t\t}\r\n\t\t\tsql.append(EQUAL_POUND_OPENBRACE).append(fieldMapper.getFieldName()).append(COMMA).append(JDBCTYPE_EQUAL)\r\n\t\t\t\t\t.append(fieldMapper.getJdbcType().toString()).append(CLOSEBRACE_AND_);\r\n\t\t}\r\n\t\tfor (FieldMapper f : tableMapper.getOpVersionLocks()) {\r\n\t\t\tsql.append(f.getDbFieldName()).append(EQUAL_POUND_OPENBRACE).append(f.getFieldName())\r\n\t\t\t\t\t.append(CLOSEBRACE_AND_);\r\n\t\t}\r\n\t\tsql.delete(sql.lastIndexOf(AND), sql.lastIndexOf(AND) + 3);\r\n\t\treturn sql.toString();\r\n\t}", "public static void deleteAll() throws RocksDBException {\n RocksIterator iter = db.newIterator();\n\n for (iter.seekToFirst(); iter.isValid(); iter.next()) {\n db.delete(iter.key());\n }\n\n iter.close();\n }", "void doDelete(String persistenceId, SnapshotSelectionCriteria criteria) throws Exception;" ]
[ "0.60907435", "0.60539806", "0.6029856", "0.6022669", "0.6000253", "0.5968297", "0.5932728", "0.5906952", "0.588894", "0.5874547", "0.585689", "0.5791126", "0.5779214", "0.5730377", "0.5721649", "0.5712737", "0.57106614", "0.57063687", "0.56911325", "0.5688761", "0.5681192", "0.5680233", "0.56605303", "0.5654496", "0.564805", "0.5643151", "0.56375456", "0.5635109", "0.558103", "0.55748135", "0.5573769", "0.5564599", "0.55559117", "0.55498266", "0.55459386", "0.5518671", "0.5513859", "0.5506544", "0.5483601", "0.54798037", "0.54737705", "0.5473343", "0.5472812", "0.5457244", "0.5448977", "0.54483896", "0.54445267", "0.5443207", "0.54430974", "0.54406834", "0.54406834", "0.54406834", "0.54356104", "0.5432936", "0.5430471", "0.5430471", "0.5430471", "0.5430471", "0.5430471", "0.5430471", "0.5430471", "0.54255235", "0.54188603", "0.5417305", "0.5414024", "0.54091996", "0.5406264", "0.53914356", "0.5385735", "0.5384194", "0.53836876", "0.5379982", "0.5379442", "0.53793275", "0.5378097", "0.53771526", "0.53758603", "0.53753865", "0.53711396", "0.53606606", "0.53514254", "0.53473324", "0.53415823", "0.5338595", "0.5336862", "0.5336862", "0.53363943", "0.53363943", "0.53363943", "0.53346604", "0.5334189", "0.5328114", "0.5327456", "0.53258353", "0.5325835", "0.53240585", "0.5322834", "0.5320702", "0.53165865", "0.531531", "0.53143954" ]
0.0
-1
Log.enter(this, "removeFramesWithValue", slot, facet, new Boolean(isTemplate));
public void removeFramesWithValue(Slot slot, Facet facet, boolean isTemplate) throws SQLException { trace("removeFramesWithValue", slot, facet); String command = "DELETE FROM " + _tableName + " WHERE " + SLOT + "= ? AND " + FACET + "= ? AND " + IS_TEMPLATE + "= ?"; PreparedStatement stmt = _statements.get(command); setSlotParam(stmt, 1, slot); setFacetParam(stmt, 2, facet); setIsTemplateParam(stmt, 3, isTemplate); stmt.executeUpdate(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "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 }", "public void onFrameDrop() {}", "void figureRemovedAt(Location loc);", "@Override\r\n\t\tpublic void onVideoPlayRemoveIndex(int index) {\n\r\n\t\t}", "KeyFrame removeKeyFrame(int tick) throws IllegalArgumentException;", "public void dvRemoved()\r\n/* 61: */ {\r\n/* 62:132 */ this.numDVRecords -= 1;\r\n/* 63: */ }", "public void removed() {\n }", "public void popFrame(){\n runStack.popFrame();\n }", "private void removeStatement(){\n\t\tsynchronized(m_viz){\n\t\t\tTuple firstTuple;\n\t\t\tsynchronized(statementList){\n\t\t\t\tfirstTuple = statementList.getFirst();\n\t\t\t}\n\n\t\t\t// Remove action is synchronized to prevent PreFuse from drawing at the same time\n\t\t\tremoveMessage(firstTuple);\n\t\t\tm_statements.removeTuple(firstTuple);\n\t\t\tstatementList.removeFirst();\t\t\t\n\t\t}\n\t}", "public ItemStack remove(int debug1) {\n/* 104 */ return this.container.removeItem(this.slot, debug1);\n/* */ }", "void removeComponents()\n {\n JPanel panel = Simulator.getInstance().getPanel(1);\n JLayeredPane jl = (JLayeredPane)panel.getComponent(0);\n Component[] comps = jl.getComponentsInLayer(JLayeredPane.PALETTE_LAYER.intValue());\n int size = comps.length;\n int i=0;\n while(i<size)\n {\n jl.remove(comps[i]);\n i++;\n } \n }", "void removeAllParameterViews();", "public void closeDebugFrame()\n {\n dispose();\n }", "@Override\r\n\t\tpublic void remove() {\n\r\n\t\t}", "public abstract void removedFromWidgetTree();", "public void componentRemoved(ContainerEvent e)\n/* 397: */ {\n/* 398:467 */ if (e.getChild() == TileGIS.this.placeholder.getJComponent()) {\n/* 399:468 */ TileGIS.this.getPresentation().getPanel().remove(TileGIS.this.mapPanel);\n/* 400: */ }\n/* 401: */ }", "@Override\npublic void remove(VirtualContainer parent, VirtualComponent component) {\n\t\n}", "default void projectFrameClosed() {\n }", "public static void Pop_TfStar(Basic b, ThoughtFrame currentThoughtFrame) {\n\t//\tif (Simulator.DEBUG)\n\t//\t\tSystem.out.println(\"*Current TF is: \" + b.getName() + \".\" +\n\t//\t\t\t\tcurrentThoughtFrame.getName());\n\t\tList<Event> events = currentThoughtFrame.getEvents();\n\t\tfor (int index = 0; index < events.size(); index++) {\n\t\t\tConclude c = (Conclude) events.get(index);\n\t\t\tConclude_Sim.concludeStatement(b, c, currentThoughtFrame);\n\t\t}\n\t\tcurrentThoughtFrame.firstInstanceVarsExecuted();\n\t\tcurrentThoughtFrame.removeFirstInst();\n\t\tcurrentThoughtFrame.setExecuted(true);\n\t\tcurrentThoughtFrame.removeAllVarValues();\n\t}", "public void buttonRemoveTab(ActionEvent actionEvent) {\n }", "public void clearChildFrames();", "@Override\npublic void remove(VirtualComponent component) {\n\t\n}", "void onRemoveShowFromMySeriesFragmentClick(boolean removed, Show show);", "@Override\n\tpublic void removeFromPanel(FABlock dfaBlock) {\n\n\t}", "public boolean removeParameter(String name) {\n/* 247 */ throw new UnsupportedOperationException(\"Removing parameters in a stack is not supported.\");\n/* */ }", "@Override\n\t\tpublic void remove() {\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void remove() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() { }", "private void m12453b(C2505j jVar) {\n this.f9524O.remove(jVar);\n }", "ISlot remove(IStrongSlot target);", "void removeKeyframe(int time);", "@Override\r\n\tpublic void remove() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void remove() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void remove() {\n\t\t\t\t\t\n\t\t\t\t}", "private static void clearGridPositionFrame(int pos, int frame) {\n // clears the frames with 200ms interval between each and adds a point\n int color = pieces[pos - 1][frame];\n if (color != ColorFrames.NO_FRAME) {\n Console.sleep(200);\n Panel.clearFrame(frame, pos);\n pieces[pos - 1][frame] = ColorFrames.NO_FRAME;\n ++pointsToAdd;\n }\n }", "public void remove() {\n\t}", "public void remove() {\n\t}", "FRAME createFRAME();", "public void remove() {\r\n //\r\n }", "private void removeSubframes(int index) {\n ensureSubframesIsMutable();\n subframes_.remove(index);\n }", "void removeGuide(int i);", "@Override\n\tpublic void traceExit() {\n\n\t}", "public void DelTrack(int position);", "@Override\n public void releaseVideoFrames() {\n\n }", "@Override \n public void commandFrame(int id, int frameCount) {\n\n }", "@Override\npublic void removeFromParentUIContainer() {\n\t\n}", "@Test\n\tpublic void addButtons__wrappee__RemoveTrackTest() throws Exception {\n\t\t\n\t\tif (Configuration.featureamp &&\n\t\t\t\tConfiguration.playengine &&\n\t\t\t\tConfiguration.choosefile &&\n\t\t\t\tConfiguration.gui &&\n\t\t\t\tConfiguration.skins &&\n\t\t\t\tConfiguration.light &&\n\t\t\t\tConfiguration.removetrack \n\t\t\t\t) {\n\t\t\t\n\t\t\tstart();\n\t\t\t\n\t\t\tJButton button=null;\n\t\t\tWhitebox.invokeMethod(gui, \"addButtons__wrappee__RemoveTrack\");\n\t\t\tJFrame frame = (JFrame) MemberModifier.field(Application.class, \"frmAsd\").get(gui);\n\t\t\t\n\t\t\tfor (int i = 0; i < frame.getContentPane().getComponentCount(); i++) {\n\t\t\t\tif(frame.getContentPane().getComponent(i).getName()!= null && frame.getContentPane().getComponent(i).getName().equals(\"removeTrack\")) {\n\t\t\t\t\tbutton = (JButton) frame.getContentPane().getComponent(i);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tassertTrue(button.getBounds().getX() == 635);\n\t\t\tassertTrue(button.getBounds().getY() == 324);\n\t\t\tassertTrue(button.getBounds().getWidth() == 135);\n\t\t\tassertTrue(button.getBounds().getHeight() == 23);\n\t\t\tassertTrue(button.getActionListeners()!= null);\n\t\t}\n\t}", "void onTestSuiteRemoved() {\n // not interested in\n }", "public abstract void removeBlock();", "@Override\n\tpublic void remove(MainFrameUpdater mfu) {\n\t\t\n\t}", "public void removeOverlayObj(IOverlay a)\n/* 96: */ {\n/* 97:153 */ this.mapPanel.removeOverlayObj(a);\n/* 98: */ }", "public void removeUserDefinedFrame(UserDefinedFrame value) {\r\n\t\tBase.remove(this.model, this.getResource(), USERDEFINEDFRAME, value);\r\n\t}", "void discard(T1XTemplateTag tag) {\n final int listLength = methodStatusList.size();\n MethodStatus ms = methodStatusList.get(listLength - 1);\n // ok to destroy ms.asSet\n ms.atSet.retainAll(generating);\n // throw it away if we generated advice type that was not wanted.\n if (ms.atSet.isEmpty()) {\n ms.output = false;\n // Checkstyle: resume Indentation check\n int index = listLength - 2;\n while (index >= 0) {\n ms = methodStatusList.get(index);\n if (ms.tag == null) {\n ms.output = false;\n } else if (ms.tag != tag) {\n return;\n }\n index--;\n }\n }\n }", "public static String _btncerrarpopup_click() throws Exception{\nmostCurrent._panelpopups_1.RemoveView();\n //BA.debugLineNum = 117;BA.debugLine=\"butPatas.Visible = True\";\nmostCurrent._butpatas.setVisible(anywheresoftware.b4a.keywords.Common.True);\n //BA.debugLineNum = 118;BA.debugLine=\"butColor.Visible = True\";\nmostCurrent._butcolor.setVisible(anywheresoftware.b4a.keywords.Common.True);\n //BA.debugLineNum = 119;BA.debugLine=\"lblFondo.RemoveView\";\nmostCurrent._lblfondo.RemoveView();\n //BA.debugLineNum = 120;BA.debugLine=\"End Sub\";\nreturn \"\";\n}", "private void clearSubframes() {\n subframes_ = emptyProtobufList();\n }", "public void removeAllUserDefinedFrame() {\r\n\t\tBase.removeAll(this.model, this.getResource(), USERDEFINEDFRAME);\r\n\t}", "public BufferSlot remove();", "@Override\r\n\t\tpublic void remove() {\r\n\t\t\t// YOU DO NOT NEED TO WRITE THIS\r\n\t\t}", "void removeExistingGlue() {\r\n\t\tfor (int i = outputStream.size() - 1; i >= 0; i--) {\r\n\t\t\tRTObject c = outputStream.get(i);\r\n\t\t\tif (c instanceof Glue) {\r\n\t\t\t\toutputStream.remove(i);\r\n\t\t\t} else if (c instanceof ControlCommand) { // e.g.\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// BeginString\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\toutputStreamDirty();\r\n\t}", "public void remove () {}", "public ITemplateStep removeStep(ITemplateStep stepToRemove);", "public void removeFramesAtTime(int aTime)\n{\n // Iterate over owner children and remove frame at time\n for(int i=0, iMax=getOwner().getChildCount(); i<iMax; i++)\n removeFramesBetweenTimes(getOwner().getChild(i), aTime, aTime, true);\n \n // Remove frame from freeze frames\n int index = Collections.binarySearch(_freezeFrames, aTime);\n if(index>=0)\n _freezeFrames.remove(index);\n}", "public void internalFrameClosed(InternalFrameEvent e) {\n\t\t\t\t\tattributeTab.getModel().dispose();\r\n\t\t\t\t\tString capaSeleccionada=((Layer)context.getSelectedLayer(0)).getName();\r\n\t\t\t\t\tattributes.remove(capaSeleccionada);\r\n\t\t\t\t\t\t\r\n\t\t\t\t}", "public synchronized void removeAnimation(AnimationBase a) {\n // System.out.println(\"AnimationManager:\\n>> animation removed!\");\n animations.remove(a);\n }", "@Override\r\n public void stopStage() {\n\r\n }", "@Override\n\tpublic void hide() {\n\t\thits.remove();\n\t\ttimeLeft.remove();\n\t\tdarken.remove();\n\t\tcontainer.remove();\n\t\ttimer = null;\n\t\ttrainingBag = null;\n\t}", "@Override\r\npublic void componentHidden(ComponentEvent arg0) {\n\t\r\n}", "public void removeAllOverlayObj()\n/* 91: */ {\n/* 92:146 */ this.mapPanel.removeAllOverlayObj();\n/* 93: */ }", "public void removeInternalFrame(InternalFrame internalFrame) {\n JComponent theComponent = (JComponent) ((InternalFrameImpl)internalFrame).peer;\n ((JDesktopPane)peer).remove(theComponent);\n //--ARM-- public void removeInternalFrame(InternalFrame internalFrame)\n }", "@Override\n\tpublic void clearStage() {\n\t\t\n\t}", "@Override\n public void remove() {\n }", "@f0g\n @LauncherEventHide\n public void method_739(@NotNull f4u var1) {\n if (var1.c() == f41.field_2120 && !var1.c()) {\n if (this.c.player.dimension != 0) {\n ArrayList var2 = this.method_740();\n float var3 = 0.0F;\n Ref.ObjectRef var4 = new Ref.ObjectRef();\n var4.element = (BlockPos)null;\n float var5 = this.c.player.getHealth() + this.c.player.getAbsorptionAmount();\n BlockPos var6 = new BlockPos(this.c.player.getPositionVector());\n ArrayList var7 = new ArrayList();\n int var8 = var6.getX() - 10;\n int var9 = (int)((float)var6.getY() + this.c.player.getEyeHeight() - (float)10);\n int var10 = var6.getZ() - 10;\n int var11 = var6.getX() + 10;\n int var12 = (int)((float)var6.getY() + this.c.player.getEyeHeight() + (float)10);\n int var13 = var6.getZ() + 10;\n double var14 = ((Number)this.field_522.c()).doubleValue() * ((Number)this.field_522.c()).doubleValue();\n int var16 = var8;\n\n for(int var17 = var11; var16 < var17; ++var16) {\n int var18 = var9;\n\n for(int var19 = var12; var18 < var19; ++var18) {\n int var20 = var10;\n\n for(int var21 = var13; var20 < var21; ++var20) {\n BlockPos var22 = new BlockPos(var16, var18, var20);\n double var23 = this.c.player.posX - ((double)var22.getX() + 0.5D);\n double var25 = this.c.player.posY - ((double)var22.getY() + 0.5D) + 1.5D;\n double var27 = this.c.player.posZ - ((double)var22.getZ() + 0.5D);\n double var29 = var23 * var23 + var25 * var25 + var27 * var27;\n if (!(var29 > 36.0D) && !(var29 > var14)) {\n Block var31 = feg.method_1779(var22);\n if (!Intrinsics.areEqual((Object)var31, (Object)Blocks.AIR) && !(var31 instanceof BlockLiquid)) {\n if (var31 instanceof BlockBed) {\n float var46 = fdM.method_1882(var22, (EntityLivingBase)this.c.player);\n if (!(Boolean)this.field_523.c() || !(var46 >= var5 + (float)1)) {\n Iterator var34 = var2.iterator();\n\n while(var34.hasNext()) {\n EntityPlayer var33 = (EntityPlayer)var34.next();\n float var35 = fdM.method_1882(var22, (EntityLivingBase)var33);\n if (var35 >= var3) {\n var3 = var35;\n var4.element = var22;\n }\n }\n }\n } else if ((BlockPos)var4.element == null) {\n float[] var32 = few.method_1716().method_1736(var22, EnumFacing.UP);\n if (this.method_741(var22, var32[0])) {\n var7.add(var22);\n }\n }\n }\n }\n }\n }\n }\n\n Ref.ObjectRef var38;\n if ((BlockPos)var4.element != null) {\n var1.0();\n Ref.ObjectRef var37 = new Ref.ObjectRef();\n var37.element = few.method_1732((BlockPos)var4.element, true);\n var38 = new Ref.ObjectRef();\n var38.element = few.method_1716().method_1717((BlockPos)var4.element, (EnumFacing)var37.element);\n var1.method_3139(((fex)var38.element).method_2076().meth3());\n var1.method_3140(((fex)var38.element).method_2076().meth4());\n var1.method_3133((Consumer)(new f6k(this, var4, var37, var38)));\n } else {\n Ref.IntRef var36 = new Ref.IntRef();\n var36.element = fdX.field_1227.method_1839(Items.BED);\n if (var36.element != -1) {\n var38 = new Ref.ObjectRef();\n var38.element = (BlockPos)null;\n Iterator var41 = var7.iterator();\n\n while(true) {\n BlockPos var39;\n float var42;\n do {\n if (!var41.hasNext()) {\n if ((BlockPos)var38.element != null) {\n Ref.ObjectRef var40 = new Ref.ObjectRef();\n var40.element = few.method_1716().method_1717((BlockPos)var38.element, EnumFacing.UP);\n var1.0();\n var1.method_3139(((fex)var40.element).method_2076().meth3());\n var1.method_3140(((fex)var40.element).method_2076().meth4());\n var1.method_3133((Consumer)(new f6l(this, var36, var38, var40)));\n }\n\n return;\n }\n\n var39 = (BlockPos)var41.next();\n var42 = fdM.method_1882(var39, (EntityLivingBase)this.c.player);\n } while((Boolean)this.field_523.c() && var42 >= var5 + (float)1);\n\n Iterator var44 = var2.iterator();\n\n while(var44.hasNext()) {\n EntityPlayer var43 = (EntityPlayer)var44.next();\n float var45 = fdM.method_1882(var39, (EntityLivingBase)var43);\n if (var45 >= var3) {\n var3 = var45;\n var38.element = var39;\n }\n }\n }\n }\n }\n }\n }\n }", "public abstract void deleteWindow(ReFrame newFrame);", "public void removeAllAgents()\n/* 76: */ {\n/* 77:125 */ this.mapPanel.removeAllAgents();\n/* 78: */ }", "public static String _but_cerrar_click() throws Exception{\nmostCurrent._activity.RemoveAllViews();\n //BA.debugLineNum = 450;BA.debugLine=\"Activity.Finish\";\nmostCurrent._activity.Finish();\n //BA.debugLineNum = 451;BA.debugLine=\"End Sub\";\nreturn \"\";\n}", "@Override\n\tpublic void onNewFrame(HeadTransform headTransform) {\n\t}", "@Override\r\n\tpublic void onRemove() {\n\r\n\t}", "public void remove(){\n }", "@Override\n protected void dataItemRemoved(Data item, Series series) {\n Node frame = item.getNode();\n getPlotChildren().remove(frame);\n removeDataItemFromDisplay(series,item);\n }", "@Override\n\tpublic void destroy() {\n\t\tgeneralServices.getCallbackApi().removeReplayOpsPopupMenuItem(\n\t\t\t\tshowSc2ConverterForPatternMiningItemHandler);\n\t}", "@Override\n\tpublic void onRemove() {\n\n\t}", "public void removeAllFightsystems()\r\n {\n\r\n }", "public abstract void onRemoveAction();", "public void removeParameter(){\r\n \tMap<String,String> params = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();\r\n\t\tlong paramId = Long.parseLong(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\ttry {\r\n\t\t\t\tConnectionFactory.createConnection().deleteParameter(paramId);\r\n\t\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\t}\r\n\t}", "void removeFeature(int i);", "void removeFeature(int i);", "@ScriptyCommand(name = \"dbg-dropframe\", description=\n \"(dbg-dropframe)\\n\" +\n \"Drop the top level debugger stack frame. Redo the evaluation of the sub expression.\\n\" +\n \"See also: dbg-expr.\")\n @ScriptyRefArgList(ref = \"no arguments\")\n public void dbgDropFrame()\n throws CommandException {\n checkTrace();\n if (trace.getStack() == null) throw new CommandException(ERR040);\n trace.dropFrame();\n }", "public void onFramePickup(ym iba) {}", "@Override\r\n\tpublic void unexecute() {\n\t\t\r\n\t\tCollections.swap(model.getListOfShapes(), model.getListOfShapes().size()-1, i); \r\n\t\t\r\n\t\t/*if(print == true) {\r\n\t\t\t\r\n\t\t\tFrame.textArea.append(\"UNDO >>> Bring to back: \" + s +\"\\n\");\r\n\t\t}\r\n\t\t\r\n\t\tprint = true;*/\r\n\t\r\n\t\t\r\n\t}", "@Override\n public void remove() {\n }", "@Override\n public void remove(SpectatorComponent spectatorComponent) {\n }", "NOFRAME createNOFRAME();" ]
[ "0.5561948", "0.5545018", "0.54361093", "0.541069", "0.53196645", "0.529848", "0.52684265", "0.5222618", "0.5213238", "0.52004296", "0.51769376", "0.5160325", "0.51535743", "0.51486284", "0.51202375", "0.51195556", "0.5107467", "0.5106736", "0.51015073", "0.5093134", "0.5087885", "0.50855106", "0.50644714", "0.5063764", "0.50541776", "0.5050624", "0.5050624", "0.5047813", "0.5047813", "0.5047813", "0.5047813", "0.5047813", "0.5047813", "0.5047813", "0.5047813", "0.5016257", "0.50107884", "0.50099915", "0.5007294", "0.4997112", "0.4997112", "0.49857917", "0.498355", "0.4980972", "0.4980972", "0.49807468", "0.4974903", "0.49704072", "0.49679103", "0.4964953", "0.4964755", "0.49497354", "0.49495035", "0.49406406", "0.49303976", "0.4890246", "0.48867315", "0.4885542", "0.48630717", "0.4862114", "0.48581752", "0.48571965", "0.48559907", "0.48496953", "0.48495227", "0.48457694", "0.48447642", "0.48445225", "0.48444468", "0.484251", "0.48347458", "0.48310676", "0.4829065", "0.48245922", "0.48217395", "0.48094207", "0.48080555", "0.48043668", "0.47916627", "0.47905722", "0.47902", "0.4788447", "0.4784232", "0.4782544", "0.4780936", "0.47803053", "0.4779212", "0.47783744", "0.47744355", "0.47723043", "0.47700185", "0.47667134", "0.4764327", "0.4764327", "0.47615528", "0.47572717", "0.4753198", "0.47492287", "0.47463885", "0.47454813" ]
0.6592189
0
/ This method should check all of the columns, types, etc Unfortunately the metadata access calls don't always work so we to a quick and dirty test. If the table exists and has one of our more bizarre column names then we will assume that it is ok.
private boolean tableExistsAndIsOK() throws SQLException { trace("tableExistsAndIsOK"); boolean result; Statement stmt = _connection.createStatement(); try { stmt.setMaxRows(1); String command = "SELECT " + LONG_VALUE + " FROM " + _tableName; ResultSet rs = stmt.executeQuery(command); rs.close(); result = true; } catch (SQLException e) { result = false; } stmt.close(); return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean checkHasColumns( TableMeta tmeta ) {\n boolean hasColumns = tmeta.getColumns().length > 0;\n if ( ! hasColumns ) {\n reporter_.report( ReportType.FAILURE, \"ZCOL\",\n \"No columns known for table \"\n + tmeta.getName() );\n \n }\n return hasColumns;\n }", "private boolean checkInputTableName(AccessInputMeta meta){\n if (meta.getTableName()==null || meta.getTableName().length()<1)\n {\n MessageBox mb = new MessageBox(shell, SWT.OK | SWT.ICON_ERROR );\n mb.setMessage(BaseMessages.getString(PKG, \"AccessInputDialog.TableMissing.DialogMessage\"));\n mb.setText(BaseMessages.getString(PKG, \"System.Dialog.Error.Title\"));\n mb.open(); \n\n return false;\n }\n else\n {\n \treturn true;\n }\n\t}", "private static boolean tableExists(Connection con, String table)\n {\n int numRows = 0;\n try\n {\n DatabaseMetaData dbmd = con.getMetaData();\n ResultSet rs = dbmd.getTables(null, null, table.toUpperCase(), null);\n while (rs.next())\n {\n ++numRows;\n }\n }\n catch (SQLException e)\n {\n String theError = e.getSQLState();\n System.out.println(\"Can't query DB metadata: \" + theError);\n System.exit(1);\n }\n return numRows > 0;\n }", "private boolean validTable(\n final Table table,\n final String tableName,\n final String databaseName,\n final List<ColumnDataType> columnTypes) {\n return table.getName().equals(tableName)\n && table.getDatabase().equals(databaseName)\n && columnsMatch(table, columnTypes);\n }", "private void validateInternalTable(ConnectorTableMetadata meta)\n {\n String table = AccumuloTable.getFullTableName(meta.getTable());\n String indexTable = Indexer.getIndexTableName(meta.getTable());\n String metricsTable = Indexer.getMetricsTableName(meta.getTable());\n\n if (conn.tableOperations().exists(table)) {\n throw new PrestoException(ACCUMULO_TABLE_EXISTS,\n \"Cannot create internal table when an Accumulo table already exists\");\n }\n\n if (AccumuloTableProperties.getIndexColumns(meta.getProperties()).size() > 0) {\n if (conn.tableOperations().exists(indexTable) || conn.tableOperations().exists(metricsTable)) {\n throw new PrestoException(ACCUMULO_TABLE_EXISTS,\n \"Internal table is indexed, but the index table and/or index metrics table(s) already exist\");\n }\n }\n }", "private boolean checkColNameSet() {\n return (null != colNames && colNames.size() > 0);\n }", "private void validateColumns(ConnectorTableMetadata meta)\n {\n // Here, we make sure the user has specified at least one non-row ID column\n // Accumulo requires a column family and qualifier against a row ID, and these values\n // are specified by the other columns in the table\n if (meta.getColumns().size() == 1) {\n throw new InvalidParameterException(\"Must have at least one non-row ID column\");\n }\n\n // Check all the column types, and throw an exception if the types of a map are complex\n // While it is a rare case, this is not supported by the Accumulo connector\n ImmutableSet.Builder<String> columnNameBuilder = ImmutableSet.builder();\n for (ColumnMetadata column : meta.getColumns()) {\n if (Types.isMapType(column.getType())) {\n if (Types.isMapType(Types.getKeyType(column.getType()))\n || Types.isMapType(Types.getValueType(column.getType()))\n || Types.isArrayType(Types.getKeyType(column.getType()))\n || Types.isArrayType(Types.getValueType(column.getType()))) {\n throw new PrestoException(VALIDATION,\n \"Key/value types of a MAP column must be plain types\");\n }\n }\n\n columnNameBuilder.add(column.getName().toLowerCase());\n }\n\n ImmutableSet<String> columnNames = columnNameBuilder.build();\n\n // Validate the columns are distinct\n if (columnNames.size() != meta.getColumns().size()) {\n throw new PrestoException(VALIDATION, \"Duplicate column names are not supported\");\n }\n\n // Column generation is for internal tables only\n if (AccumuloTableProperties.getColumnMapping(meta.getProperties()) == null &&\n AccumuloTableProperties.isExternal(meta.getProperties())) {\n throw new PrestoException(VALIDATION,\n \"Column generation for external tables is not supported, must specify \" +\n AccumuloTableProperties.COLUMN_MAPPING);\n }\n }", "boolean isNeedColumnInfo();", "private void validateCreateTable(ConnectorTableMetadata meta)\n {\n validateColumns(meta);\n validateLocalityGroups(meta);\n if (!AccumuloTableProperties.isExternal(meta.getProperties())) {\n validateInternalTable(meta);\n }\n }", "abstract boolean tableExist() throws SQLException;", "@Test(expected=SQLException.class)\n public void test_column_type_detection_nulls_02() throws SQLException {\n // Expect an error to be thrown if a null is provided when the column should not allow nulls\n testColumnTypeDetection(\"x\", null, false, Types.NVARCHAR, String.class.getCanonicalName());\n }", "private boolean isTableInDb() throws SQLException\n {\n final String sqlQuery = \"SELECT name FROM sqlite_master WHERE type='table' AND name='\" + TABLE_NAME +\n \"'\";\n\n try (\n final PreparedStatement statement = database.connection().prepareStatement(sqlQuery);\n final ResultSet resultSet = statement.executeQuery();\n )\n {\n if (!resultSet.next())\n return false;\n\n // read table name\n final String tableName = resultSet.getString(1);\n if (resultSet.wasNull() || !tableName.equals(TABLE_NAME))\n return false;\n }\n\n return true;\n }", "private void checkMeta( String adql, ColSpec[] colSpecs,\n StarTable table ) {\n\n /* Check column counts match. */\n int qCount = colSpecs.length;\n int rCount = table.getColumnCount();\n if ( qCount != rCount ) {\n String msg = new StringBuffer()\n .append( \"Query/result column count mismatch; \" )\n .append( qCount )\n .append( \" != \" )\n .append( rCount )\n .append( \" for \" )\n .append( adql )\n .toString();\n reporter_.report( ReportType.ERROR, \"NCOL\", msg );\n return;\n }\n int ncol = qCount;\n assert ncol == rCount;\n\n /* Check column names match. */\n for ( int ic = 0; ic < ncol; ic++ ) {\n ColSpec cspec = colSpecs[ ic ];\n ColumnInfo cinfo = table.getColumnInfo( ic );\n String qName = cspec.getResultName();\n String rName = cinfo.getName();\n if ( ! qName.equalsIgnoreCase( rName ) ) {\n String msg = new StringBuffer()\n .append( \"Query/result column name mismatch \" )\n .append( \"for column #\" )\n .append( ic )\n .append( \"; \" )\n .append( qName )\n .append( \" != \" )\n .append( rName )\n .append( \" for \" )\n .append( adql )\n .toString();\n reporter_.report( ReportType.ERROR, \"CNAM\", msg );\n }\n String columnId = rName.equalsIgnoreCase( qName )\n ? qName\n : \"#\" + ic;\n\n /* Check column types match. */\n String qType = cspec.getColumnMeta().getDataType();\n String rType =\n (String) cinfo.getAuxDatumValue( VOStarTable.DATATYPE_INFO,\n String.class );\n if ( ! CompareMetadataStage\n .compatibleDataTypes( qType, rType ) ) {\n String msg = new StringBuffer()\n .append( \"Query/result column type mismatch \" )\n .append( \" for column \" )\n .append( columnId )\n .append( \"; \" )\n .append( qType )\n .append( \" vs. \" )\n .append( rType )\n .append( \" for \" )\n .append( adql )\n .toString();\n reporter_.report( ReportType.ERROR, \"CTYP\", msg );\n }\n }\n }", "void checkColumnType(\n String sql,\n String expected);", "public boolean columExists(String pTableName, String pColumnName)\n {\n \t// Busca en la tabla la columna deseada.\n \treturn true;\n }", "private void verifyReportColumns() {\n for (final String element : REPORT_COLUMNS) {\n Log.altVerify(true, lblReportColumnName(element).exists(),\n \"Check that column '\" + element + \"' is exist\");\n }\n }", "private void checkColumns(String[] projection) {\n\t\tString[] available = { MedTable.MED_NAME,\n\t\t\t\tMedTable.MED_DOSAGE, MedTable.MED_ID,\n\t\t\t\tMedTable.MED_DATE_FILLED, MedTable.MED_DURATION,\n\t\t\t\tMedTable.MED_WARNING, MedTable.MED_REMINDER_ON };\n\t\tif(projection != null) {\n\t\t\tHashSet<String> requestedColumns = new HashSet<String>(Arrays.asList(projection));\n\t\t\tHashSet<String> availableColumns = new HashSet<String>(Arrays.asList(available));\n\t\t\t// Check if all columns which are requested are available\n\t\t\tif(!availableColumns.containsAll(requestedColumns)) {\n\t\t\t\tthrow new IllegalArgumentException(\"Unknown columns in projection\");\n\t\t\t}\n\t\t}\n\t}", "@Override\n public boolean doesTableExist(String table_name) {\n\n // silently return if connection is closed\n if (!is_open) {\n return false;\n }\n\n // loop through list of tables in metadata and check for table name\n try {\n DatabaseMetaData md = connection.getMetaData();\n\n // retrieve all of the tables from the connection edu.wpi.cs3733d18.teamS.database\n ResultSet rs = md.getTables(null, null, \"%\", null);\n\n while (rs.next()) {\n // table name is the third entry in the table object\n String extractedName = rs.getString(3).toLowerCase();\n\n if (extractedName.equals(table_name.toLowerCase())) {\n //System.out.println(\"Table with name \" + tableName + \" found!\");\n return true;\n }\n }\n } catch (SQLException e) {\n System.out.println(\"Table could not be found.\");\n e.printStackTrace();\n }\n\n // default return\n return false;\n\n }", "public boolean validateColumns(int validateMask, boolean refreshColumns)\n {\n String utableName = this.getUntranslatedTableName();\n boolean addMissingColumns = ((validateMask & DBAdmin.VALIDATE_ADD_COLUMNS ) != 0);\n boolean alterColumnTypes = ((validateMask & DBAdmin.VALIDATE_ALTER_COLUMNS ) != 0);\n boolean rebuildKeys = ((validateMask & DBAdmin.VALIDATE_REBUILD_KEYS ) != 0);\n boolean checkColumnEncoding = ((validateMask & DBAdmin.VALIDATE_CHECK_ENCODING ) != 0);\n boolean showColumns = ((validateMask & DBAdmin.VALIDATE_SHOW_COLUMNS ) != 0);\n boolean displayWarnings = ((validateMask & DBAdmin.VALIDATE_DISPLAY_WARNINGS) != 0);\n boolean displayErrors = ((validateMask & DBAdmin.VALIDATE_DISPLAY_ERRORS ) != 0) || displayWarnings || showColumns;\n\n /* defined columns (as defined in the Java table wrapper) */\n DBField colDefined[] = this.getFields();\n if ((colDefined == null) || (colDefined.length == 0)) {\n if (displayErrors) {\n Print.logInfo(\"ERROR - \" + utableName + \": No table columns defined!!!\");\n }\n return false;\n }\n if (showColumns) {\n Print.logInfo(\" Defined columns: \" + utableName);\n for (int i = 0; i < colDefined.length; i++) {\n Print.logInfo(\" \" + this._columnInfo(i, colDefined[i], true));\n }\n }\n\n /* table columns (as found in the SQL table itself) */\n DBField colTable[];\n try {;\n colTable = this.getExistingColumns(refreshColumns);\n if (ListTools.isEmpty(colTable)) {\n if (displayErrors) {\n Print.logInfo(\"ERROR - \" + utableName + \": Existing table columns list is empty (not supported?)\");\n }\n return false;\n }\n } catch (DBException dbe) {\n if (displayErrors) {\n Print.logInfo(\"ERROR - \" + utableName + \": Error reading table columns!\");\n }\n return false;\n }\n if (showColumns) {\n boolean showActual = false;\n if (colTable.length != colDefined.length) {\n showActual = true;\n } else {\n for (int i = 0; i < colTable.length; i++) {\n if (!colTable[i].isTypeMatch() || !colDefined[i].equals(colTable[i])) {\n showActual = true;\n break;\n }\n }\n }\n if (showActual) {\n Print.logInfo(\" Actual columns: \" + utableName + \" (as described in the database)\");\n for (int i = 0; i < colTable.length; i++) {\n Print.logInfo(\" \" + this._columnInfo(i, colTable[i], false));\n }\n }\n }\n\n /* create a set of existing column fields and names */\n OrderedMap<String,DBField> colTableMap = new OrderedMap<String,DBField>();\n for (int i = 0; i < colTable.length; i++) {\n colTableMap.put(colTable[i].getName(), colTable[i]);\n }\n\n /* compare individual columns */\n boolean columnsOK = true;\n OrderedSet<DBField> missingColumns = new OrderedSet<DBField>();\n OrderedSet<DBField> typeMismatchColumns = new OrderedSet<DBField>();\n OrderedSet<DBField> priKeyMismatchColumns = new OrderedSet<DBField>();\n OrderedSet<DBField> altKeyMismatchColumns = new OrderedSet<DBField>();\n for (int i = 0; i < colDefined.length; i++) {\n String columnName = colDefined[i].getName();\n\n /* check for column existance */\n DBField existingField = colTableMap.get(columnName);\n if (existingField == null) {\n // defined column not found in existing columns\n if (!DBField.IgnoreColumnError(utableName,columnName)) {\n if (displayErrors) {\n Print.logInfo(\"ERROR - \" + utableName + \": Column '\" + colDefined[i] + \"' [\" + i + \"] not found\");\n }\n missingColumns.add(colDefined[i]);\n columnsOK = false;\n } else {\n if (displayErrors) {\n Print.logInfo(\"WARNING - \" + utableName + \": Column '\" + colDefined[i] + \"' [\" + i + \"] not found (ignored)\");\n }\n }\n continue;\n // goto next defined column\n }\n\n /* check for matching character sets */\n String actualCS = existingField.getCharacterSet();\n String definedCS = colDefined[i].getCharacterSet();\n if (StringTools.isBlank(definedCS)) { definedCS = \"<default>\"; }\n if (colDefined[i].isUTF8() && !existingField.isUTF8()) {\n // Defined column is UTF8, but actual column is not\n if (!DBField.IgnoreColumnError(utableName,columnName)) {\n if (displayErrors) {\n Print.logInfo(\"ERROR - \" + utableName + \": Column '\" + columnName + \"' UTF8 mismatch '\" + definedCS + \"' != '\" + actualCS + \"'\");\n }\n typeMismatchColumns.add(colDefined[i]);\n columnsOK = false;\n } else {\n if (displayErrors) {\n Print.logInfo(\"WARNING - \" + utableName + \": Column '\" + columnName + \"' UTF8 mismatch '\" + definedCS + \"' != '\" + actualCS + \"' (ignored)\");\n }\n }\n } else\n if (!colDefined[i].isUTF8() && existingField.isUTF8()) {\n // Actual column is UTF8, but Defined column is not\n if (checkColumnEncoding) {\n if (alterColumnTypes) {\n if (!DBField.IgnoreColumnError(utableName,columnName)) {\n if (displayErrors) {\n Print.logInfo(\"ERROR - \" + utableName + \": Column '\" + columnName + \"' UTF8 mismatch '\" + definedCS + \"' != '\" + actualCS + \"'\");\n }\n typeMismatchColumns.add(colDefined[i]);\n columnsOK = false;\n } else {\n if (displayErrors) {\n Print.logInfo(\"WARNING - \" + utableName + \": Column '\" + columnName + \"' UTF8 mismatch '\" + definedCS + \"' != '\" + actualCS + \"' (ignored)\");\n }\n }\n } else {\n if (displayErrors) {\n Print.logInfo(\"WARNING - \" + utableName + \": Column '\" + columnName + \"' UTF8 mismatch '\" + definedCS + \"' != '\" + actualCS + \"'\");\n }\n }\n }\n }\n\n /* check for matching data types */\n String actualType = existingField.getDataType();\n String definedType = colDefined[i].getDataType();\n if (!DBProvider.areTypesEquivalent(definedType,actualType)) {\n // Column type mismatch\n if (displayErrors) {\n Print.logInfo(\"ERROR - \" + utableName + \": Column '\" + columnName + \"' Type mismatch expected::\" + definedType + \" != found:\" + actualType + \"\");\n }\n typeMismatchColumns.add(colDefined[i]);\n columnsOK = false;\n }\n\n /* check for matching keys */\n if (existingField.isPrimaryKey() != colDefined[i].isPrimaryKey()) {\n // primary keys do not match\n if (displayErrors) {\n if (colDefined[i].isPrimaryKey()) {\n Print.logInfo(\"ERROR - \" + utableName + \": Column '\" + columnName + \"' missing Primary key\");\n } else {\n Print.logInfo(\"ERROR - \" + utableName + \": Column '\" + columnName + \"' extra Primary key\");\n }\n }\n priKeyMismatchColumns.add(colDefined[i]);\n columnsOK = false;\n } else\n if (existingField.hasMissingAlternateIndexes(colDefined[i].getAlternateIndexes())) {\n // existing field is missing some alternate keys\n if (displayErrors) {\n String altKeys = StringTools.join(existingField.getMissingAlternateIndexes(colDefined[i].getAlternateIndexes()),\",\");\n Print.logInfo(\"ERROR - \" + utableName + \": Column '\" + columnName + \"' missing Alternate key [\"+altKeys+\"]\");\n }\n altKeyMismatchColumns.add(colDefined[i]);\n columnsOK = false;\n } else\n if (existingField.hasExtraAlternateIndexes(colDefined[i].getAlternateIndexes())) {\n // existing field has some extra alternate keys\n if (displayWarnings) { // displayErrors/displayWarnings\n String altKeys = StringTools.join(existingField.getAlternateIndexes(),\",\");\n Print.logInfo(\"Warn - \" + utableName + \": Column '\" + columnName + \"' extra Alternate key [\"+altKeys+\"]\");\n }\n //altKeyMismatchColumns.add(colDefined[i]);\n //columnsOK = false;\n }\n\n /* table column index */\n int colTableNdx = colTableMap.indexOfKey(columnName);\n if (colTableNdx != i) {\n // Column is located at a different index\n if (displayWarnings) {\n // This is more of an 'informational' message than a warning\n //Print.logInfo(\"WARNING - \" + utableName + \": Column '\" + columnName + \"' [\" + i + \"] found @ \" + colTableNdx);\n }\n }\n \n }\n\n /* warn about 'existing' columns that aren't 'defined' */\n if (displayWarnings) {\n for (int i = 0; i < colTable.length; i++) {\n String columnName = colTable[i].getName();\n DBField definedField = this.getField(columnName);\n if (definedField == null) {\n Print.logInfo(\"WARNING - \" + utableName + \": Actual column '\" + colTable[i] + \"' not used\");\n }\n }\n }\n\n /* add missing columns? */\n // This list includes columns that may have the same name, but different attributes\n // adding such a column will likely produce an error\n if (addMissingColumns && (missingColumns.size() > 0)) {\n try {\n DBField columns[] = missingColumns.toArray(new DBField[missingColumns.size()]);\n /* add column */\n int ndx = 0;\n for (;ndx < columns.length;) {\n int cnt = this.addColumns(columns, ndx);\n if (cnt == 0) {\n // should not occur\n break;\n }\n ndx += cnt;\n }\n /* rebuild indexes? */\n for (int c = 0; c < columns.length; c++) {\n if (columns[c].isAlternateKey()) {\n this.recreateAlternateIndexes();\n break;\n }\n }\n } catch (DBException dbe) {\n if (displayErrors) {\n Print.logException(\"ERROR - \" + utableName + \": Unable to add missing columns!\", dbe);\n }\n return false;\n }\n }\n\n /* alter columns types? */\n if (alterColumnTypes && (typeMismatchColumns.size() > 0)) {\n try {\n DBField columns[] = typeMismatchColumns.toArray(new DBField[typeMismatchColumns.size()]);\n /* alter column type */\n int ndx = 0;\n for (;ndx < columns.length;) {\n int cnt = this.addColumns(columns, ndx);\n if (cnt == 0) {\n // should not occur\n break;\n }\n ndx += cnt;\n }\n } catch (DBException dbe) {\n if (displayErrors) {\n Print.logException(\"ERROR - \" + utableName + \": Unable to alter column type!\", dbe);\n }\n return false;\n }\n }\n\n /* recreate primary key? */\n if (rebuildKeys && (priKeyMismatchColumns.size() > 0)) {\n try {\n this.recreatePrimaryKey();\n } catch (DBException dbe) {\n if (displayErrors) {\n Print.logException(\"ERROR - \" + utableName + \": Unable to rebuild primary key!\", dbe);\n }\n return false;\n }\n }\n\n /* recreate alternate keys? */\n if (rebuildKeys && (altKeyMismatchColumns.size() > 0)) {\n try {\n this.recreateAlternateIndexes();\n } catch (DBException dbe) {\n if (displayErrors) {\n Print.logException(\"ERROR - \" + utableName + \": Unable to rebuild alternate keys!\", dbe);\n }\n return false;\n }\n }\n\n /* return results */\n if (!columnsOK && displayWarnings) {\n for (int i = 0; i < colTable.length; i++) {\n Print.logInfo(\"WARNING - \" + utableName + \": Found - \" + colTable[i]);\n }\n }\n return columnsOK;\n\n }", "private boolean tableExists(String tableName) {\n Connection conn = null;\n PreparedStatement stmt = null;\n String query = null;\n ResultSet rs = null;\n try {\n conn = getConnection();\n query = queryManager.getQuery(conn, QueryManager.TABLE_CHECK_QUERY);\n stmt = conn.prepareStatement(query.replace(QueryManager.TABLE_NAME_PLACEHOLDER, tableName));\n rs = stmt.executeQuery();\n return true;\n } catch (SQLException e) {\n log.debug(\"Table '{}' assumed to not exist since its existence check query {} resulted \"\n + \"in exception {}.\", tableName, query, e.getMessage());\n return false;\n } finally {\n closeConnection(conn, stmt, rs);\n }\n }", "@Override\r\n\tprotected boolean isValidTable(final ResultSet resultSet) throws SQLException {\r\n\t\treturn !resultSet.getString(3).contains(\"BIN$\");\r\n\t}", "@Test\n public void test_level_behaviours_columns_01() {\n Assert.assertFalse(JdbcCompatibility.shouldTypeColumnsAsString(JdbcCompatibility.LOW));\n Assert.assertFalse(JdbcCompatibility.shouldDetectColumnTypes(JdbcCompatibility.LOW));\n }", "public boolean supportsColumnCheck() {\n \t\treturn true;\n \t}", "@Override\n protected void __verify(int nextIndex, int columnIndex, String tableName, String columnName, int columnType) throws SQLException {\n if(columnIndex == nextIndex) {\n verifyStringType(\"FROMURL\",columnIndex,tableName, columnName, columnType);\n }\n else if(columnIndex == nextIndex+1)\n {\n verifyStringType(\"TOURL\",columnIndex,tableName, columnName, columnType);\n\n }\n else if(columnIndex == nextIndex+2)\n {\n verifyStringType(\"FROMTURL\",columnIndex,tableName, columnName, columnType);\n }\n else if(columnIndex == nextIndex+3)\n {\n verifyStringType(\"TOTURL\",columnIndex,tableName, columnName, columnType);\n }\n else if(columnIndex == nextIndex+4)\n {\n verifyStringType(\"FROMLOCALPATH\",columnIndex,tableName, columnName, columnType);\n }\n else if(columnIndex == nextIndex+5)\n {\n verifyStringType(\"TOLOCALPATH\",columnIndex,tableName, columnName, columnType);\n }\n else if(columnIndex == nextIndex+6)\n {\n verifyLongType(\"SIZE\",columnIndex,tableName, columnName, columnType);\n }\n else if(columnIndex == nextIndex+7)\n {\n verifyStringType(\"FROMFILEID\",columnIndex,tableName, columnName, columnType);\n }\n else if(columnIndex == nextIndex+8)\n {\n verifyStringType(\"TOFILEID\",columnIndex,tableName, columnName, columnType);\n }\n else if(columnIndex == nextIndex+9)\n {\n verifyStringType(\"REMOTEREQUESTID\",columnIndex,tableName, columnName, columnType);\n }\n else if(columnIndex == nextIndex+10)\n {\n verifyStringType(\"REMOTEFILEID\",columnIndex,tableName, columnName, columnType);\n }\n else if(columnIndex == nextIndex+11)\n {\n verifyStringType(\"SPACERESERVATIONID\",columnIndex,tableName, columnName, columnType);\n }\n else if(columnIndex == nextIndex+12)\n {\n verifyStringType(\"TRANSFERID\",columnIndex,tableName, columnName, columnType);\n }\n else {\n throw new SQLException(\"database table schema changed:\"+\n \"table named \"+tableName+\n \" column #\"+columnIndex+\" has name \\\"\"+columnName+\n \"\\\" has type \\\"\"+getTypeName(columnType)+\n \" this column should not be present!!!\");\n }\n }", "private void validator() throws Exception {\n if (getDBTable() == null) throw new Exception(\"getDBTable missing\");\n if (getColumnsString() == null) throw new Exception(\"getColumnsString missing\");\n if (getColumnsType() == null || getColumnsType().size() <= 0) throw new Exception(\"getColumnsType missing\");\n if (getDuplicateUpdateColumnString() == null) {\n if (getColumnsString().split(\",\").length != getColumnsType().size())\n throw new Exception(\"mismatch for type and columns\");\n\n } else {\n if (getColumnsString().split(\",\").length +\n getDuplicateUpdateColumnString().split(\",\").length != getColumnsType().size())\n throw new Exception(\"mismatch for type and columns\");\n }\n }", "protected boolean hasColumn(String header){\n return hasColumn(header, false);\n }", "@Override\n\tpublic boolean isEmpty() {\n\t\tif (entityType2tableName.isEmpty())\n\t\t\treturn true;\n\t\t\n\t\t// the hard way \n\t\ttry {\n\t\t\tStatement st = connection.createStatement(\n\t\t\t\t\tResultSet.TYPE_SCROLL_INSENSITIVE,\n\t\t ResultSet.CONCUR_READ_ONLY);\n\t\t\t\n\t\t\tfor (String tableName: entityType2tableName.values()) {\n\t\t\t\t//ResultSet set = st.executeQuery(\"SELECT * FROM \"+tableName+\";\");\n\t\t\t\t\n\t\t\t\tResultSet set = st.executeQuery(\"SELECT * FROM \"+tableName+\" LIMIT 1\");\n\t\t\t\t\n\t\t\t\tif (!set.next())\n\t\t\t\t\treturn true;\n\t\t\t\t\n\t\t\t}\n\t\t} catch (SQLException e1) {\n\t\t\te1.printStackTrace();\n\t\t\tthrow new RuntimeException(\"Error while checking if the table is empty\",e1);\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "private boolean isTableExists(SQLiteDatabase db, String tableName) {\n boolean ret = false;\n String query = new StringBuilder(\"SELECT name FROM sqlite_master WHERE type='table' AND name='\")\n .append(tableName)\n .append(\"';\")\n .toString();\n JSArray resQuery = this.selectSQL(db, query, new ArrayList<String>());\n if (resQuery.length() > 0) ret = true;\n return ret;\n }", "private boolean tableExists(String table) throws SQLException {\n if (HAVE_DB) {\n Connection con = DriverManager.getConnection(dbConnection, dbUser, dbPass);\n Statement stmt = con.createStatement();\n ResultSet rs;\n \n if (dbType.equals(\"mysql\")) {\n rs = stmt.executeQuery(\"SHOW TABLES\");\n }\n else {\n rs = stmt.executeQuery(\"select * from pg_tables\");\n }\n while(rs.next()) {\n String result = rs.getString(1);\n if (result.equals(table)) {\n return true;\n }\n }\n rs.close();\n stmt.close();\n con.close();\n return false;\n }\n else {\n return true;\n }\n }", "private boolean checkTypes(Table thisTable, Hashtable<String, Object> inputColNameValue) throws BPlusEngineException {\n Enumeration<String> colNameValue = inputColNameValue.keys();\n Hashtable<String, String> tableColNameType = thisTable.colNameType;\n while (colNameValue.hasMoreElements()) {\n String currInColName = colNameValue.nextElement();\n String inputType = (String) tableColNameType.get(currInColName);\n Object inObject = inputColNameValue.get(currInColName);\n if (!switchTypes(inputType, inObject)) {\n\t\t\t\treturn false;\n\t\t\t}\n }\n return true;\n }", "@Test\n public void test_column_type_detection_nulls_01() throws SQLException {\n testColumnTypeDetection(\"x\", null, true, Types.NVARCHAR, String.class.getCanonicalName());\n }", "private boolean matchesTable (List tableNames, ColumnElement column)\n\t{\t\n\t\treturn ((column == null) ? true : tableNames.contains(\n\t\t\tcolumn.getDeclaringTable().getName().getName()));\n\t}", "public boolean validateColumns()\n {\n return this.validateColumns(DBAdmin.VALIDATE_DISPLAY_ERRORS | DBAdmin.VALIDATE_DISPLAY_WARNINGS);\n }", "public boolean checkMasterdataTables(){\n boolean cat = tableExists(\"select c from Category c\");\n boolean quest = tableExists(\"select t from Question t\");\n\n if (!cat){\n System.out.println(\"Tabelle 'Category' exisitiert nicht!\");\n }\n\n if (!quest){\n System.out.println(\"Tabelle 'Question' exisitiert nicht!\");\n }\n\n if (cat && quest){\n // all tables exist\n return true;\n\n } else {\n // one or more tables dont exist\n return false;\n }\n }", "private boolean checkTableExists(String plate){\n //there is no need to close or start connection\n //function is only used in the context of an already created connection\n \n try {\n rs = stmt.executeQuery(\"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'PUBLIC'\");\n \n while(rs.next()){\n if(plate.equalsIgnoreCase(rs.getString(\"TABLE_NAME\"))){\n return true;\n }\n }\n \n rs.close();\n \n } catch (SQLException ex) {\n Logger.getLogger(DBHandler.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n return false;\n }", "private static boolean checkTables(final SQLParser parser, final Map<String, TableData> catalog)\n\t{\n\t\tfinal Map<String, String> tables = parser.getFROM();\n\n\t\tfor(final String table : tables.values())\n\t\t{\n\t\t\tif(!catalog.containsKey(table))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Table \\\"\" + table + \"\\\" does not exist.\");\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}", "private boolean tableAlreadyExists(SQLException e) {\r\n boolean exists;\r\n if(e.getSQLState().equals(\"X0Y32\")) {\r\n exists = true;\r\n } else {\r\n exists = false;\r\n }\r\n return exists;\r\n }", "private boolean tableExists(String pTableName) {\r\n\t\tboolean returnedValue = false;\r\n\t\t\r\n\t\tif (getDatabse() != null && getDatabse().isOpen()) {\r\n\t\t\tCursor cursor = getDatabse().rawQuery(\"SELECT DISTINCT tbl_name FROM sqlite_master WHERE tbl_name = ?\", new String[] { pTableName });\r\n\t\t\tif (cursor != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tcursor.moveToLast();\r\n\t\t\t\t\tcursor.moveToFirst();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif (cursor.getCount() > 0) {\r\n\t\t\t\t\t\treturnedValue = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t} finally {\r\n\t\t\t\t\tcursor.close();\r\n\t\t\t\t\tcursor = null;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn returnedValue;\r\n\t}", "private boolean isTableExist(String tableName){\n\t\tboolean isExist = false;\n\n\t\tCursor cursor = null;\n\t\ttry {\n\t\t\tcursor = dbReadable.rawQuery(\"select count(*) from \"+ tableName, null);\n\t\t\tisExist = true;\n\t\t} catch (Exception e) {\n\t\t\tisExist = false;\n\t\t} finally {\n\t\t\tif(cursor != null)\n\t\t\t\tcursor.close();\n\t\t}\n\t\t\n\t\treturn isExist;\n\t}", "public static boolean checkOrCreateTable(jsqlite.Database db, String tableName){\n\t\t\n\t\tif (db != null){\n\t\t\t\n\t String query = \"SELECT name FROM sqlite_master WHERE type='table' AND name='\"+tableName+\"'\";\n\n\t boolean found = false;\n\t try {\n\t Stmt stmt = db.prepare(query);\n\t if( stmt.step() ) {\n\t String nomeStr = stmt.column_string(0);\n\t found = true;\n\t Log.v(\"SPATIALITE_UTILS\", \"Found table: \"+nomeStr);\n\t }\n\t stmt.close();\n\t } catch (Exception e) {\n\t Log.e(\"SPATIALITE_UTILS\", Log.getStackTraceString(e));\n\t return false;\n\t }\n\n\t\t\tif(found){\n\t\t\t\treturn true;\n\t\t\t}else{\n\t\t\t\t// Table not found creating\n Log.v(\"SPATIALITE_UTILS\", \"Table \"+tableName+\" not found, creating..\");\n\t\t\t\t\n if(tableName.equalsIgnoreCase(\"punti_accumulo_data\")){\n\n \tString create_stmt = \"CREATE TABLE 'punti_accumulo_data' (\" +\n \t\t\t\"'PK_UID' INTEGER PRIMARY KEY AUTOINCREMENT, \" +\n \t\t\t\"'ORIGIN_ID' TEXT, \" +\n \t\t\t\"'DATA_SCHEDA' TEXT, \" +\n \t\t\t\"'DATA_AGG' TEXT, \" +\n \t\t\t\"'NOME_RILEVATORE' TEXT, \" +\n \t\t\t\"'COGNOME_RILEVATORE' TEXT, \" +\n \t\t\t\"'ENTE_RILEVATORE' TEXT, \" +\n \t\t\t\"'TIPOLOGIA_SEGNALAZIONE' TEXT, \" +\n \t\t\t\"'PROVENIENZA_SEGNALAZIONE' TEXT, \" +\n \t\t\t\"'CODICE_DISCARICA' TEXT, \" +\n \t\t\t\"'TIPOLOGIA_RIFIUTO' TEXT, \" +\n \t\t\t\"'COMUNE' TEXT, \" +\n \t\t\t\"'LOCALITA' TEXT, \" +\n \t\t\t\"'INDIRIZZO' TEXT, \" +\n \t\t\t\"'CIVICO' TEXT, \" +\n \t\t\t\"'PRESA_IN_CARICO' TEXT, \" +\n \t\t\t\"'EMAIL' TEXT, \" +\n \t\t\t\"'RIMOZIONE' TEXT, \" +\n \t\t\t\"'SEQUESTRO' TEXT, \" +\n \t\t\t\"'RESPONSABILE_ABBANDONO' TEXT, \" +\n \t\t\t\"'QUANTITA_PRESUNTA' NUMERIC);\";\n\n \tString add_geom_stmt = \"SELECT AddGeometryColumn('punti_accumulo_data', 'GEOMETRY', 4326, 'POINT', 'XY');\";\n \tString create_idx_stmt = \"SELECT CreateSpatialIndex('punti_accumulo_data', 'GEOMETRY');\";\n \n \t// TODO: check if all statements are complete\n \t\n \ttry { \t\n \t\tStmt stmt01 = db.prepare(create_stmt);\n\n\t\t\t\t\t\tif (stmt01.step()) {\n\t\t\t\t\t\t\t//TODO This will never happen, CREATE statements return empty results\n\t\t\t\t\t\t Log.v(\"UTILS\", \"Table Created\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t// TODO: Check if created, fail otherwise\n\t\t\t\t\t\t\n\t\t\t\t\t\tstmt01 = db.prepare(add_geom_stmt);\n\t\t\t\t\t\tif (stmt01.step()) {\n\t\t\t\t\t\t Log.v(\"UTILS\", \"Geometry Column Added \"+stmt01.column_string(0));\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tstmt01 = db.prepare(create_idx_stmt);\n\t\t\t\t\t\tif (stmt01.step()) {\n\t\t\t\t\t\t Log.v(\"UTILS\", \"Index Created\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tstmt01.close();\n\t\t\t\t\t\t\n\t\t\t\t\t} catch (jsqlite.Exception e) {\n\t\t\t\t\t\tLog.e(\"UTILS\", Log.getStackTraceString(e));\n\t\t\t\t\t}\n \treturn true;\n }\n\t\t\t}\n\t\t}else{\n\t\t\tLog.w(\"UTILS\", \"No valid database received, aborting..\");\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "private void checkIfIsAValidClass(IDatabaseClass annotationClass){\n if (annotationClass == null || annotationClass.tableName() == \"\") {\n throw new CustomException(\"No table name found in your class declaration!\");\n }\n }", "private void verifyField() {\n try {\n if (type != Function.class && type != Foreign.class)\n throw new DataMapperException(\"The field annotated with @ColumnName must be of type Function or Foreign\");\n String[] nameDefaultValue = (String[]) ColumnName.class.getDeclaredMethod(\"name\").getDefaultValue();\n\n checkNameParameter(nameDefaultValue);\n } catch (NoSuchMethodException e) {\n throw new DataMapperException(e);\n }\n }", "public void analyze() throws AnalysisException {\n if (!MetaStoreUtils.validateName(colName_)) {\n throw new AnalysisException(\"Invalid column name: \" + colName_);\n }\n colType_.analyze();\n }", "public boolean table_exists(String table_name);", "private void verifyIndividualBatchColumns() {\n for (final String element : BATCH_COLUMNS) {\n Log.altVerify(true, lblBatchColumnName(element).exists(),\n \"Check that column '\" + element + \"' is exist\");\n }\n }", "private void verifyViewBatchDetailColumns() {\n for (final String element : VIEW_BATCH_DETAIL_COLUMNS) {\n Log.altVerify(true, lblViewBatchDetailColumnName(element).exists(),\n \"Check that column '\" + element + \"' is exist\");\n }\n }", "@Test\n public void testValidateNoColumns()\n {\n S3InputSource s3InputSource = s3InputSource(\n Collections.singletonList(\"s3://foo/bar/file.csv\"), null, null, null);\n TableMetadata table = TableBuilder.external(\"foo\")\n .inputSource(toMap(s3InputSource))\n .inputFormat(CSV_FORMAT)\n .build();\n ResolvedTable resolved = registry.resolve(table.spec());\n assertThrows(IAE.class, () -> resolved.validate());\n }", "private static boolean isColumn(String table, String column) throws SQLException {\n\t\tConnection con = Connect_db();\r\n\t\tPreparedStatement pstat = con.prepareStatement(table);\r\n\t\tResultSet rs = pstat.executeQuery();\r\n\t\ttry {\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tif (rs.getString(\"Field\").equals(column)) {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t} finally {\r\n\t\t\t// TODO: handle finally clause\r\n\t\t\tcon.close();\r\n\t\t}\r\n\t}", "public void validate() throws org.apache.thrift.TException {\n if (tableType == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'tableType' was not present! Struct: \" + toString());\n }\n // alas, we cannot check 'numCols' because it's a primitive and you chose the non-beans generator.\n // alas, we cannot check 'numClusteringCols' because it's a primitive and you chose the non-beans generator.\n if (tableName == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'tableName' was not present! Struct: \" + toString());\n }\n if (dbName == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'dbName' was not present! Struct: \" + toString());\n }\n // check for sub-struct validity\n if (hdfsTable != null) {\n hdfsTable.validate();\n }\n if (hbaseTable != null) {\n hbaseTable.validate();\n }\n if (dataSourceTable != null) {\n dataSourceTable.validate();\n }\n }", "@Test\n public void test_level_behaviours_columns_03() {\n Assert.assertFalse(JdbcCompatibility.shouldTypeColumnsAsString(JdbcCompatibility.HIGH));\n Assert.assertTrue(JdbcCompatibility.shouldDetectColumnTypes(JdbcCompatibility.HIGH));\n }", "public void testExists() {\n\n String\tsql\t= \"SELECT AD_Table.AD_Table_ID, AD_Table.TableName \" + \"FROM AD_Table \" + \"WHERE EXISTS (SELECT * FROM AD_Column c WHERE AD_Table.AD_Table_ID=c.AD_Table_ID)\";\n AccessSqlParser\tfixture\t= new AccessSqlParser(sql);\n\n assertEquals(\"AccessSqlParser[AD_Column=c|AD_Table|1]\", fixture.toString());\n }", "@Test\n public void testValidateNoFormatWithColumns()\n {\n S3InputSource s3InputSource = s3InputSource(\n Collections.singletonList(\"s3://foo/bar/file.csv\"), null, null, null);\n TableMetadata table = TableBuilder.external(\"foo\")\n .inputSource(toMap(s3InputSource))\n .column(\"x\", Columns.VARCHAR)\n .build();\n ResolvedTable resolved = registry.resolve(table.spec());\n assertThrows(IAE.class, () -> resolved.validate());\n }", "public boolean hasExistingColumn(String name) // see also \"hasField(String)\"\n {\n try {\n String n = this.getMappedFieldName(name);\n Map<String,DBField> colMap = this.getExistingColumnMap(false);\n return ((colMap != null) && colMap.containsKey(n))? true : false;\n } catch (DBException dbe) {\n Print.logException(\"Checking for existing column: \" + name, dbe);\n return false;\n }\n }", "boolean hasCol();", "boolean checkNoDuplicateFields() {\n\t if (duplicateNames == null | duplicateNames.isEmpty())\n\t return true;\n\t Iterator iter = duplicateNames.iterator();\n\t String names = \"\";\n\t while (iter.hasNext()) {\n\t names = names + iter.next(); \n\t }\n\t cat.error(loc,DUPLICATE_COLUMN_NAMES,new Object[] {names});\n\t return false;\n\t }", "public boolean supportsTableCheck() {\n \t\treturn true;\n \t}", "public boolean tableExists(String pTableName)\n {\n \t// Busca en el esquema la existencia de la tabla.\n \treturn true;\n }", "@Test(timeout = 4000)\n public void test28() throws Throwable {\n String string0 = \"+1MIm}!B_/+\";\n SQLUtil.normalize(\"+1MIm}!B_/+\", true);\n String string1 = \"call,\";\n SQLUtil.mutatesDataOrStructure(\"call,\");\n DefaultDBTable defaultDBTable0 = new DefaultDBTable();\n String string2 = \"update\";\n // Undeclared exception!\n try { \n defaultDBTable0.getColumn(\"update\");\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // Column 'update' not found in table 'null'\n //\n verifyException(\"org.databene.jdbacl.model.DefaultDBTable\", e);\n }\n }", "public boolean updateInformationSchemaTable(){\n\t\tSchema currentSchema = Schema.getSchemaInstance();\n\t\tString currentSchemaName = currentSchema.getCurrentSchema();\n\t\tboolean isFound = false;\n\t\ttry {\n\t\t\tRandomAccessFile tablesTableFile = new RandomAccessFile(\"information_schema.table.tbl\", \"rw\");\n\n\t\t\t//Searching to see if the information schema is present or not\n\t\t\twhile(tablesTableFile.getFilePointer() < tablesTableFile.length()){\n\t\t\t\tString readSchemaName = \"\";\n\t\t\t\tbyte varcharLength = tablesTableFile.readByte();\n\t\t\t\tfor(int j = 0; j < varcharLength; j++)\n\t\t\t\t\treadSchemaName += (char)tablesTableFile.readByte();\n\n\t\t\t\tif(readSchemaName.equals(currentSchemaName)){\n\t\t\t\t\tString readTableName = \"\";\n\t\t\t\t\tbyte varcharTableLength = tablesTableFile.readByte();\n\t\t\t\t\tfor(int j = 0; j < varcharTableLength; j++)\n\t\t\t\t\t\treadTableName += (char)tablesTableFile.readByte();\n\n\t\t\t\t\tif(readTableName.equals(tableName)){\n\t\t\t\t\t\tisFound = true;\n\t\t\t\t\t\tSystem.out.println(\"Table '\" + tableName + \"' already exits...\");\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\ttablesTableFile.readLong();\n\t\t\t\t} else {\n\t\t\t\t\tbyte traverseLength = tablesTableFile.readByte();\n\t\t\t\t\tfor(int j = 0; j < traverseLength; j++)\n\t\t\t\t\t\ttablesTableFile.readByte();\n\t\t\t\t\ttablesTableFile.readLong();\n\t\t\t\t}\t\n\t\t\t}\n\n\t\t\tif(!isFound){\n\t\t\t\t//Traversing to the end of file\n\t\t\t\ttablesTableFile.seek(tablesTableFile.length());\n\t\t\t\ttablesTableFile.writeByte(currentSchemaName.length()); // TABLE_SCHEMA\n\t\t\t\ttablesTableFile.writeBytes(currentSchemaName);\n\t\t\t\ttablesTableFile.writeByte(tableName.length()); // TABLE_NAME\n\t\t\t\ttablesTableFile.writeBytes(tableName);\n\t\t\t\ttablesTableFile.writeLong(0); // TABLE_ROWS\n\t\t\t}\n\n\t\t\ttablesTableFile.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\t\n\t\treturn isFound;\n\t}", "private void checkAddColumn(Table t, Column c) throws HsqlException {\n\n boolean canAdd = true;\n\n if (t.findColumn(c.columnName.name) != -1) {\n throw Trace.error(Trace.COLUMN_ALREADY_EXISTS, c.columnName.name);\n }\n\n if (c.isPrimaryKey() && t.hasPrimaryKey()) {\n canAdd = false;\n }\n\n if (canAdd && !t.isEmpty(session)) {\n canAdd = c.isNullable() || c.getDefaultExpression() != null;\n }\n\n if (!canAdd) {\n throw Trace.error(Trace.BAD_ADD_COLUMN_DEFINITION);\n }\n }", "public boolean tableExists()\n throws DBException\n {\n DBConnection dbc = null;\n Statement stmt = null;\n ResultSet rs = null;\n boolean innodb = this.isMySQLInnoDB();\n try {\n int provID = DBProvider.getProvider().getID();\n\n /* connection */\n dbc = DBConnection.getDBConnection_read();\n\n /* check for SQLServer */\n if (provID == DBProvider.DB_SQLSERVER) {\n // - SQLServer \"COUNT(*)\"\n // - expect SQLException if does not exist\n boolean CUSTOM_SQLSERVER_EXISTS = false;\n String existsSel;\n if (CUSTOM_SQLSERVER_EXISTS) {\n // -- A full \"COUNT(*)\" runs slow on SQL Server.\n // -- \"SELECT COUNT(*) FROM (SELECT TOP 1 * FROM MSeventdata ) t\"\n StringBuffer sb = new StringBuffer();\n sb.append(\"SELECT COUNT(*) FROM (SELECT TOP 1 * FROM \");\n sb.append(this.getTranslatedTableName());\n sb.append(\" ) t;\"); // <-- is trailing \";\" required??\n existsSel = sb.toString();\n } else {\n // -- \"SELECT COUNT(*) FROM table\" \n DBSelect<gDBR> dsel = new DBSelect<gDBR>(this); \n dsel.setSelectedFields(DBProvider.FLD_COUNT()); // tableExists: non MySQL/InnoDB\n existsSel = dsel.toString();\n }\n stmt = dbc.execute(existsSel); // may throw DBException, SQLException\n return true; // assume exists if no SQLException\n }\n\n /* check for non-MySQL */\n if (provID != DBProvider.DB_MYSQL) {\n // -- non-MySQL \"COUNT(*)\" \n // - \"SELECT COUNT(*) FROM table\"\n // - expect SQLException if does not exist\n DBSelect<gDBR> dsel = new DBSelect<gDBR>(this); \n dsel.setSelectedFields(DBProvider.FLD_COUNT()); // tableExists: non MySQL/InnoDB\n stmt = dbc.execute(dsel.toString()); // may throw DBException, SQLException\n return true; // assume exists if no SQLException\n }\n\n // ---------------------------------------------\n // MySQL below\n // SELECT COUNT(*) FROM (SELECT * FROM EventData LIMIT 1) EventData;\n\n /* InnoDB? */\n if (innodb) {\n // do not use \"COUNT(*)\" for table existance on InnoDB\n // \"SHOW COLUMNS FROM table\"\n //Print.logInfo(\"Using 'show columns' method for table existence ... \" + this.getTranslatedTableName());\n String xtableName = this.getTranslatedTableName();\n String sqlExists = \"SHOW COLUMNS FROM \" + this.getTranslatedTableName();\n stmt = dbc.execute(sqlExists); // may throw DBException, SQLException\n //rs = stmt.getResultSet();\n return true; // assume exists if no SQLException\n }\n\n /* get table existence */\n if (DBFactory.mysqlTableExistsUseSelectCount()) {\n /* VERY slow on Windows or InnoDB */ \n // \"SELECT COUNT(*) FROM table\"\n DBSelect<gDBR> dsel = new DBSelect<gDBR>(this); \n dsel.setSelectedFields(DBProvider.FLD_COUNT()); // tableExists: non MySQL/InnoDB\n stmt = dbc.execute(dsel.toString()); // may throw DBException, SQLException\n //rs = stmt.getResultSet();\n return true; // assume exists if no SQLException\n }\n\n /* alternate method for MySQL */ \n // \"SHOW COLUMNS FROM table\"\n //Print.logInfo(\"Using 'show columns' method for table existence ... \" + this.getTranslatedTableName());\n String xtableName = this.getTranslatedTableName();\n String sqlExists = \"SHOW COLUMNS FROM \" + this.getTranslatedTableName();\n stmt = dbc.execute(sqlExists); // may throw DBException, SQLException\n //rs = stmt.getResultSet();\n return true; // assume exists if no SQLException\n\n } catch (SQLException sqe) {\n\n String sqlMsg = sqe.getMessage();\n int errCode = sqe.getErrorCode();\n if (errCode == SQLERR_TABLE_NONEXIST) { // MySQL: ?\n return false;\n } else\n if (errCode == SQLERR_UNKNOWN_DATABASE) { // MySQL: ?\n String dbName = DBProvider.getDBName();\n Print.logError(\"Database does not exist '\" + dbName + \"'\"); // thus, table does not exist\n return false;\n } else\n if (errCode == MSQL_ERR_INVALID_OBJECT) { // SQLServer: :\n return false;\n } else\n if (sqlMsg.indexOf(\"does not exist\") >= 0) { // PostgreSQL: ?\n return false;\n } else {\n String dbName = DBProvider.getDBName();\n throw new DBException(\"Table Existance '\" + dbName + \"'\", sqe);\n }\n\n } finally {\n if (rs != null) { try { rs.close(); } catch (Throwable t) {} }\n if (stmt != null) { try { stmt.close(); } catch (Throwable t) {} }\n DBConnection.release(dbc);\n }\n\n }", "private boolean distBeltExists(){ \n String table = \"DISTBELT\";\n \n try {\n stmt = conn.createStatement();\n rs = stmt.executeQuery(\"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'PUBLIC'\");\n \n while(rs.next()){\n if(table.equalsIgnoreCase(rs.getString(\"TABLE_NAME\"))){\n return true;\n }\n }\n \n stmt.close();\n rs.close();\n \n } catch (SQLException ex) {\n Logger.getLogger(DBHandler.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n return false; \n }", "@Override\n public boolean check() {\n String[][] data = raw();\n // And just check if the first row (the header data)\n // corresponds with the ABSExcel model enum. Iff that\n // is true we will return true.\n for(int i = 0; i < ABSColumn.values().length; i++) {\n String columnName = data[0][i].replaceAll(\"[- ]+\", \"\").toUpperCase();\n // If we have a mismatch somewhere, return false.\n if(!columnName.equals(ABSColumn.values()[i].toString())) {\n return false;\n }\n }\n return true;\n }", "public boolean hasColumn (String column)\n {\n return data.get(canonicalize(column)) != null;\n }", "@Test(timeout = 4000)\n public void test056() throws Throwable {\n DefaultDBTable defaultDBTable0 = new DefaultDBTable();\n String[] stringArray0 = new String[4];\n DBUniqueConstraint dBUniqueConstraint0 = new DBUniqueConstraint(defaultDBTable0, \"org.databene.commons.condition.CompositeCondition\", true, stringArray0);\n // Undeclared exception!\n try { \n DBUtil.containsMandatoryColumn(dBUniqueConstraint0);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // Column 'null' not found in table 'null'\n //\n verifyException(\"org.databene.jdbacl.model.DefaultDBTable\", e);\n }\n }", "protected void checkColumnCount(int column)\n {\n if (column >= COLUMN_COUNT)\n throw new BasicException\n (\"The column number in the table is not right\");\n }", "public boolean doesTableExist(Connection connection) throws SQLException {\n\tboolean bTableExists = false;\n \n\t// check the meta data of the connection\n\tDatabaseMetaData dmd = connection.getMetaData();\n\tResultSet rs = dmd.getTables (null, null, \"CREDIT\", null);\n\twhile (rs.next()){\n\t bTableExists = true;\n\t}\n\trs.close(); // close the result set\n\treturn bTableExists; \n }", "private boolean studentTableExists() throws SQLException{\n\n String checkTablePresentQuery = \"SHOW TABLES LIKE '\" + STUDENT_TABLE_NAME + \"'\"; //Can query the database schema\n ResultSet tablesRS = ConnectDB.statement.executeQuery(checkTablePresentQuery);\n return (tablesRS.next());\n }", "public void testExistsSyn() {\n\n String\tsql\t= \"SELECT t.AD_Table_ID, t.TableName \" + \"FROM AD_Table t \" + \"WHERE EXISTS (SELECT * FROM AD_Column c WHERE t.AD_Table_ID=c.AD_Table_ID)\";\n AccessSqlParser\tfixture\t= new AccessSqlParser(sql);\n\n assertEquals(\"AccessSqlParser[AD_Column=c|AD_Table=t|1]\", fixture.toString());\n }", "protected boolean hasTable(String tableName) {\n\t\tboolean tableNameAlreadyExists = false;\n\t\ttry {\n\t\t\tDatabaseMetaData dbm = conn.getMetaData();\n\t\t\t\n\t\t\tResultSet tableNameSet = dbm.getTables(null, null, \"Persons\", null);\n\t\t\tif (tableNameSet.next()) {\n\t\t\t\ttableNameAlreadyExists = true;\n\t\t\t}\n\t\t\ttableNameSet.close();\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"ERROR in addTable(String tableName)...\");\n\t\t}\n\t\treturn tableNameAlreadyExists;\n\t}", "public void validate() throws org.apache.thrift.TException {\n if (key_column_name == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'key_column_name' was not present! Struct: \" + toString());\n }\n if (key_column_type == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'key_column_type' was not present! Struct: \" + toString());\n }\n // alas, we cannot check 'is_preaggregation' because it's a primitive and you chose the non-beans generator.\n // check for sub-struct validity\n }", "boolean tableExists(ObjectPath tablePath) throws CatalogException;", "@Override\n public boolean isEmpty() throws DaoException {\n return isEmpty(TABLE_NAME);\n }", "public boolean checkDbStructure(){\n\t\tboolean isStructureOk = false;\n\t\t\n\t\ttry {\n\t\t\tmMysqlConnection = DriverManager\n\t\t\t\t.getConnection(getConnectionURI());\n\t\t\t\n\t\t\tmPreparedStatement = mMysqlConnection\n\t\t\t\t.prepareStatement(\"select ID, Name, Description, Version from \" + mDbName + \".\" + TABLE_AREA);\t\t\t\n\t\t\tmPreparedStatement.executeQuery();\n\t\t\t\n\t\t\tmPreparedStatement = mMysqlConnection\n\t\t\t\t.prepareStatement(\"select Area_ID, Route_ID from \" + mDbName + \".\" + TABLE_AREA_HAS_ROUTES);\t\t\t\n\t\t\tmPreparedStatement.executeQuery();\n\t\t\n\t\t\tmPreparedStatement = mMysqlConnection\n\t\t\t\t.prepareStatement(\"select ID, Ticket_ID, Name, StartName, EndName from \" + mDbName + \".\" + TABLE_ROUTE);\t\t\t\n\t\t\tmPreparedStatement.executeQuery();\n\t\n\t\t\tmPreparedStatement = mMysqlConnection\n\t\t\t\t.prepareStatement(\"select Route_ID, Station_ID, Position from \" + mDbName + \".\" + TABLE_ROUTE_HAS_STATIONS);\t\t\t\n\t\t\tmPreparedStatement.executeQuery();\n\n\t\t\tmPreparedStatement = mMysqlConnection\n\t\t\t\t.prepareStatement(\"select ID, Name, Abbreviation, Latitude, Longitude from \" + mDbName + \".\" + TABLE_STATION);\t\t\t\n\t\t\tmPreparedStatement.executeQuery();\n\n\t\t\tmPreparedStatement = mMysqlConnection\n\t\t\t\t.prepareStatement(\"select ID, Name, Icon, Is_Superior from \" + mDbName + \".\" + TABLE_TICKET);\t\t\t\n\t\t\tmPreparedStatement.executeQuery();\n\t\t\t\n\t\t\tisStructureOk = true;\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\tLOGGER.severe(\"!EXCEPTION: \" + e.getMessage());\n\t\t\tisStructureOk = false;\n\t\t}\n\t\t\n\t\treturn isStructureOk;\n\t}", "public void validate() throws org.apache.thrift.TException {\n if (!isSetColName()) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'colName' is unset! Struct:\" + toString());\n }\n\n if (!isSetColType()) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'colType' is unset! Struct:\" + toString());\n }\n\n if (!isSetStatsData()) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'statsData' is unset! Struct:\" + toString());\n }\n\n // check for sub-struct validity\n }", "private void checkDatabaseStructure(DatabaseUpdateType update) {\n }", "public void validateAfterParse() \r\n\t{\n\t\tValidate.fieldNotBlank(getName(), \"name\");\r\n\t\t\r\n\t\t//Must have columns and they can't be null\r\n\t\tValidate.fieldNotEmptyWithNoNullElements(getColumns(), \"columns\");\r\n\t\t\r\n\t\tint numPrimaryKeysDefined = 0;\r\n\t\t\r\n\t\tfor (ColumnDefinition def : getColumns())\r\n\t\t{\r\n\t\t\tif (def.isPrimaryKey())\r\n\t\t\t{\r\n\t\t\t\tnumPrimaryKeysDefined++;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t//Can only have 1 PK\r\n\t\tValidate.isTrue(numPrimaryKeysDefined == 1);\r\n\r\n\t\tfor (ColumnDefinition def : getColumns())\r\n\t\t{\r\n\t\t\tdef.validateAfterParse();\r\n\t\t}\r\n\t\t\r\n\t\t//Check over indexes, make sure each column name for the indexes actually exists\r\n\t\tfor(IndexDefinition def : getIndexes())\r\n\t\t{\r\n\t\t\tfor(String idxColName : def.getColumnNames())\r\n\t\t\t{\r\n\t\t\t Validate.isTrue(getColumns().contains(ColumnDefinition.valueOf(idxColName))); //Can't use containsColumn yet as that map gets initialized in postParse()\r\n\t\t\t}\r\n\t\t}\r\n\t}", "void checkType(int i, DataType.Name name) {\n DataType defined = getType(i);\n if (name != defined.getName())\n throw new InvalidTypeException(String.format(\"Column %s is of type %s\", getName(i), defined));\n }", "public boolean checkEmptyTable(String table) {\n // Select query\n String selectQuery = \"SELECT count(*) FROM \" + table;\n\n SQLiteDatabase db = this.getReadableDatabase();\n Cursor cursor = db.rawQuery(selectQuery, null);\n\n if (cursor != null) { cursor.moveToFirst(); }\n\n int countRows = cursor.getInt(0);\n\n return !(countRows > 0);\n }", "public boolean areAllFetchedColumnsKnown()\n {\n return factory.areAllFetchedColumnsKnown()\n && (!type.isMultiCell() || !factory.isSimpleSelectorFactory() || key.isTerminal());\n }", "public boolean createTable_generic(\n\t\t\t\t\tSQLiteDatabase db, String tableName, String[] columns, String[] types) {\n\t\t/*----------------------------\n\t\t * Steps\n\t\t * 1. Table exists?\n\t\t * 2. Build sql\n\t\t * 3. Exec sql\n\t\t\t----------------------------*/\n\t\t\n\t\t//\n//\t\tif (!tableExists(db, tableName)) {\n\t\tif (tableExists(db, tableName)) {\n\t\t\t// Log\n\t\t\tLog.d(\"DBUtils.java\" + \"[\"\n\t\t\t\t\t+ Thread.currentThread().getStackTrace()[2].getLineNumber()\n\t\t\t\t\t+ \"]\", \"Table exists => \" + tableName);\n\t\t\t\n\t\t\treturn false;\n\t\t}//if (!tableExists(SQLiteDatabase db, String tableName))\n\t\t\n\t\t/*----------------------------\n\t\t * 2. Build sql\n\t\t\t----------------------------*/\n\t\t//\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tsb.append(\"CREATE TABLE \" + tableName + \" (\");\n\t\tsb.append(android.provider.BaseColumns._ID +\n\t\t\t\t\t\t\t\" INTEGER PRIMARY KEY AUTOINCREMENT, \");\n\t\t\n\t\tint i = 0;\n\t\tfor (i = 0; i < columns.length - 1; i++) {\n\t\t\tsb.append(columns[i] + \" \" + types[i] + \", \");\n\t\t}//for (int i = 0; i < columns.length - 1; i++)\n\t\t\n\t\tsb.append(columns[i] + \" \" + types[i]);\n\t\t\n\t\tsb.append(\");\");\n\t\t\n\t\t// Log\n\t\tLog.d(\"DBUtils.java\" + \"[\"\n\t\t\t\t+ Thread.currentThread().getStackTrace()[2].getLineNumber()\n\t\t\t\t+ \"]\", \"sql => \" + sb.toString());\n\t\t\n//\t\treturn false;\n\t\t\n//\t\tString sql = \"CREATE TABLE \" + tableName + \" (\"\n//\t\t\t\t+ android.provider.BaseColumns._ID\n//\t\t\t\t+ \" INTEGER PRIMARY KEY AUTOINCREMENT, \" +\n//\t\t\t\t\"store TEXT, name TEXT, price INTEGER, genre TEXT);\";\n//\t\t\n\t\t/*----------------------------\n\t\t * 3. Exec sql\n\t\t\t----------------------------*/\n\t\t//\n\t\ttry {\n//\t\t\tdb.execSQL(sql);\n\t\t\tdb.execSQL(sb.toString());\n\t\t\t\n\t\t\t// Log\n\t\t\tLog.d(\"DBUtils.java\" + \"[\"\n\t\t\t\t\t+ Thread.currentThread().getStackTrace()[2].getLineNumber()\n\t\t\t\t\t+ \"]\", \"Table created => \" + tableName);\n\t\t\t\n\t\t\t\n\t\t\treturn true;\n\t\t} catch (SQLException e) {\n\t\t\t// Log\n\t\t\tLog.d(\"MemoDBHelper.java\" + \"[\"\n\t\t\t\t\t+ Thread.currentThread().getStackTrace()[2].getLineNumber()\n\t\t\t\t\t+ \"]\", \"Exception => \" + e.toString());\n\t\t\t\n\t\t\treturn false;\n\t\t}//try\n\t\t\n\t}", "protected void checkColumn(int column) {\n\tif (column < 0 || column >= columns) throw new IndexOutOfBoundsException(\"Attempted to access \"+toStringShort()+\" at column=\"+column);\n}", "@Test(timeout = 4000)\n public void test034() throws Throwable {\n // Undeclared exception!\n try { \n DBUtil.containsMandatoryColumn((DBConstraint) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.DBUtil\", e);\n }\n }", "public boolean createTableFromPojo(String schemaName, String table_name, List<Column> column) throws SQLException {\n\n\t\tString query = \"\";\n\t\tStringBuilder sb1 = new StringBuilder();\n\t\tString driver = excelinfoProperties.getProperty(\"drivername\");\n\t\tString connection = \"\";\n\t\tString username = \"\";\n\t\tString password = \"\";\n\t\t/*if (schemaName.equalsIgnoreCase(\"KMA_STAGE\")) {\n\t\t\tSystem.out.println(\"KMA STAGE::\" + schemaName);\n\t\t\tconnection = excelinfoProperties.getProperty(\"kmaconnectionname\");\n\t\t\tusername = excelinfoProperties.getProperty(\"kmaStgusername\");\n\t\t\tpassword = excelinfoProperties.getProperty(\"kmaStgpassword\");\n\t\t}else if(schemaName.equalsIgnoreCase(\"KMA_PROD\")) {\n\t\t\tSystem.out.println(\"KMA PROD::\" + schemaName);\n\t\t\tconnection = excelinfoProperties.getProperty(\"kmaconnectionname\");\n\t\t\tusername = excelinfoProperties.getProperty(\"kmaProdusername\");\n\t\t\tpassword = excelinfoProperties.getProperty(\"kmaProdpassword\");\n\t\t\t\n\t\t}else if(schemaName.equalsIgnoreCase(\"HMA_STAGE\")) {\n\t\t\tSystem.out.println(\"HMA STAGE::\" + schemaName);\n\t\t\tconnection = excelinfoProperties.getProperty(\"hmaconnectionname\");\n\t\t\tusername = excelinfoProperties.getProperty(\"hmaStgusername\");\n\t\t\tpassword = excelinfoProperties.getProperty(\"hmaStgpassword\");\n\t\t\t\n\t\t}else if(schemaName.equalsIgnoreCase(\"HMA_PROD\")) {\n\t\t\tSystem.out.println(\"HMA PROD::\" + schemaName);\n\t\t\tconnection = excelinfoProperties.getProperty(\"hmaconnectionname\");\n\t\t\tusername = excelinfoProperties.getProperty(\"hmaProdusername\");\n\t\t\tpassword = excelinfoProperties.getProperty(\"hmaProdpassword\");\n\t\t\t\n\t\t}else if(schemaName.equalsIgnoreCase(\"HMA_ODS\")) {\n\t\t\tSystem.out.println(\"HMA ODS::\" + schemaName);\n\t\t\tconnection = excelinfoProperties.getProperty(\"dkwhconnectionname\");\n\t\t\tusername = excelinfoProperties.getProperty(\"dkwhusername\");\n\t\t\tpassword = excelinfoProperties.getProperty(\"dkwhpaswd\");\n\t\t\t\n\t\t}else if(schemaName.equalsIgnoreCase(\"HMA_ODS\")) {\n\t\t\tSystem.out.println(\"HMA ODS::\" + schemaName);\n\t\t\tconnection = excelinfoProperties.getProperty(\"dhodsconnectionname\");\n\t\t\tusername = excelinfoProperties.getProperty(\"dhodsusername\");\n\t\t\tpassword = excelinfoProperties.getProperty(\"dhodspassword\");\n\t\t\t\n\t\t}\n\n\t\ttry {\n\t\t\tClass.forName(driver);\n\t\t\tSystem.out.println(\"driver::\" + driver);\n\t\t\t// Class.forName(\"oracle.jdbc.driver.OracleDriver\");\n\t\t} catch (ClassNotFoundException e) {\n\t\t\tSystem.out.println(\"driver::in exception clause\" + driver);\n\t\t\tlogger.error(e.getMessage());\n\t\t}\n\t\tboolean tableCreationSuccessful = true;\n\t\t// Connection\n\t\tConnection con = DriverManager.getConnection(connection, username, password);\n\t\tSystem.out.println(\"con::\" + con);\n\t\tcon.setAutoCommit(false);\n\t\tStatement stmt = con.createStatement();\n\t\tDatabaseMetaData dbm = con.getMetaData();\n\t\tResultSet rs = dbm.getTables(null, schemaName, table_name, null);\n\t\tif (rs.next()) {\n\t\t\tString sb = \"Table \" + schemaName + \".\" + table_name + \" already exists..\";\n\t\t\tlist.add(sb);\n\t\t\tlogger.info(sb);\n\n\t\t} else {\n\t\t\t*/\n\t\ttry\n\t\t{\n\t \t\n\t\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\n\t\t} catch (ClassNotFoundException e) {\n\n\t\t\tlogger.error(e.getMessage());\n\t\t} \n\t\tboolean tableCreationSuccessful = true;\n\t\t//Connection con=DriverManager.getConnection(connection,username,password);\n\t\tConnection con=DriverManager.getConnection(\"jdbc:oracle:thin:@hmaipcvadb-scan:1521/dhods\",\"HIS60040\",\"SRaina5*\");\n\t\tcon.setAutoCommit(false);\n\t\tStatement stmt=con.createStatement(); \n\t\t\n\t\tDatabaseMetaData dbm = con.getMetaData();\n\t ResultSet rs = dbm.getTables(null, null, table_name , null);\n\t if (rs.next()) {\n\t \tString sb = \"Table \" + table_name + \" already exists..\";\n\t\t\tlist.add(sb);\n\t logger.info(\"Table already exists..\"); \n\t \n\t } else {\n\t \ttry {\n\t\t\t\t sb1.append(\"create table \"+table_name+\"(\");\n\t \t\t\tIterator<Column> itr = column.iterator();\n\t \t\t\t while(itr.hasNext()) {\n\t\t\t\t/*sb1.append(\"create table \" + schemaName + \".\" + table_name + \"(\");\n\t\t\t\tIterator<Column> itr = column.iterator();\n\t\t\t\twhile (itr.hasNext()) {*/\n\n\t\t\t\t\tColumn element = (Column) itr.next();\n\t\t\t\t\tif (element.getDataType().equals(\"NUMERIC\") || element.getDataType().equals(\"DATE\")) {\n\t\t\t\t\t\tsb1.append(element.getColumnName() + \" \" + element.getDataType() + \" \" + \" \" + \",\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsb1.append(element.getColumnName() + \" \" + element.getDataType() + \" \" + \"(\"\n\t\t\t\t\t\t\t\t+ (int) element.getLength() + \")\" + \",\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsb1.append(\")\");\n\n\t\t\t\tif (sb1.length() > 0) {\n\t\t\t\t\tsb1.deleteCharAt(sb1.lastIndexOf(\",\"));\n\t\t\t\t}\n\t\t\t\tquery = sb1.toString();\n\t\t\t\tlogger.info(\"sb1 formed ..\" + sb1);\n\t\t\t\tlist.add(query);\n\t\t\t\t// writer.println(query);\n\t\t\t\tstmt.execute(query);\n\t\t\t\tcon.commit();\n\n\t\t\t} catch (Exception e) {\n\t\t\t\tlogger.info(\"inside rollback function..\" + e.getMessage());\n\t\t\t\tlogger.error(e.getStackTrace());\n\t\t\t\tcon.rollback();\n\t\t\t\t// writer.close();\n\t\t\t\ttableCreationSuccessful = false;\n\n\t\t\t}\n\t\t}\n\t\treturn tableCreationSuccessful;\n\t}", "private boolean validateId(String tableId) throws IOException {\n try {\n Asset asset = engine.assets().get(tableId).execute();\n return \"table\".equalsIgnoreCase(asset.getType());\n } catch (GoogleJsonResponseException ex) {\n // A \"400 Bad Request\" is thrown when the asset ID is missing or invalid\n return false;\n }\n }", "public boolean tableRequired()\n {\n return true;\n }", "@Test(timeout = 4000)\n public void test123() throws Throwable {\n DefaultDBTable defaultDBTable0 = new DefaultDBTable();\n MockPrintWriter mockPrintWriter0 = new MockPrintWriter(\"Illegal column type format: \");\n NameSpec nameSpec0 = NameSpec.ALWAYS;\n SQLUtil.renderCreateTable(defaultDBTable0, false, nameSpec0, mockPrintWriter0);\n assertNull(defaultDBTable0.getDoc());\n }", "private boolean isTableEmpty(Uri tableUri) {\n\t\tif (null == mContext) {\n\t\t\tLogUtils.e(TAG, \"mContext object is null in isTableEmpty method \");\n\t\t\treturn false;\n\t\t}\n\t\tContentResolver contentResolver = mContext.getContentResolver();\n\t\tif (null == contentResolver) {\n\t\t\tLogUtils.e(TAG,\n\t\t\t\t\t\"contentResolver object is null in isTableEmpty method \");\n\t\t\treturn false;\n\t\t}\n\t\tCursor mCursorObj = contentResolver.query(tableUri, null, null, null,\n\t\t\t\tnull);\n\t\tif (null != mCursorObj && mCursorObj.getCount() == 0) {\n\t\t\t// zero rows.\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public void checkMetadataTypeValues() {\n for (int k = 0; k < numDataCols; k++) {\n DashDataType<?> dtype = dataTypes[k];\n if ( !dtype.hasRole(DashDataType.Role.FILE_METADATA) )\n continue;\n\n if ( dtype instanceof StringDashDataType ) {\n String singleVal = null;\n for (int j = 0; j < numSamples; j++) {\n String thisVal = (String) stdObjects[j][k];\n if ( thisVal == null )\n continue;\n if ( singleVal == null ) {\n singleVal = thisVal;\n continue;\n }\n if ( singleVal.equals(thisVal) )\n continue;\n\n ADCMessage msg = new ADCMessage();\n // Metadata in data columns is never required\n msg.setSeverity(Severity.ERROR);\n msg.setGeneralComment(dtype.getDisplayName() + \" has differing given values\");\n msg.setDetailedComment(dtype.getDisplayName() + \" has differeing given values '\" +\n singleVal + \"' and \" + thisVal + \"'\");\n msg.setRowNumber(j + 1);\n msg.setColNumber(k + 1);\n msg.setColName(userColNames[k]);\n stdMsgList.add(msg);\n }\n }\n else if ( dtype instanceof IntDashDataType ) {\n Integer singleVal = null;\n for (int j = 0; j < numSamples; j++) {\n Integer thisVal = (Integer) stdObjects[j][k];\n if ( thisVal == null )\n continue;\n if ( singleVal == null ) {\n singleVal = thisVal;\n continue;\n }\n if ( singleVal.equals(thisVal) )\n continue;\n\n ADCMessage msg = new ADCMessage();\n // Metadata in data columns is never required\n msg.setSeverity(Severity.ERROR);\n msg.setGeneralComment(dtype.getDisplayName() + \" has differing given values\");\n msg.setDetailedComment(dtype.getDisplayName() + \" has differing given values '\" +\n singleVal.toString() + \"' and '\" + thisVal.toString() + \"'\");\n msg.setRowNumber(j + 1);\n msg.setColNumber(k + 1);\n msg.setColName(userColNames[k]);\n stdMsgList.add(msg);\n }\n }\n else if ( dtype instanceof DoubleDashDataType ) {\n Double singleVal = null;\n for (int j = 0; j < numSamples; j++) {\n Double thisVal = (Double) stdObjects[j][k];\n if ( thisVal == null )\n continue;\n if ( singleVal == null ) {\n singleVal = thisVal;\n continue;\n }\n if ( singleVal.equals(thisVal) )\n continue;\n if ( Math.abs(singleVal - thisVal) < 1.0E-6 )\n continue;\n\n ADCMessage msg = new ADCMessage();\n // Metadata in data columns is never required\n msg.setSeverity(Severity.ERROR);\n msg.setGeneralComment(dtype.getDisplayName() + \" has differing given values\");\n msg.setDetailedComment(String.format(\"%s has differing given values '%g' and '%g'\",\n dtype.getDisplayName(), singleVal, thisVal));\n msg.setRowNumber(j + 1);\n msg.setColNumber(k + 1);\n msg.setColName(userColNames[k]);\n stdMsgList.add(msg);\n }\n }\n else {\n throw new IllegalArgumentException(\n \"unexpected data type encountered in metadata column checking: \" + dtype);\n }\n }\n }", "public void checkColumnType(\n String sql,\n String expected)\n {\n tester.checkColumnType(sql, expected);\n }", "@Test(timeout = 4000)\n public void test013() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.renderColumnNames((DBColumn[]) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }", "public static void checkTableForReg(Connection con, String tableName, String createTableQuery)\n throws SQLException\n {\n \tSystem.out.println(\"Checking for table \"+tableName);\n if(con.isValid(0))\n {\n Statement stmt = con.createStatement();\n DatabaseMetaData md = con.getMetaData();\n ResultSet rs = md.getTables(null, null, \"%\", null);\n if( !rs.next() )\n {\n \tSystem.out.println(\"Creating Table --> +\"+tableName);\n stmt.executeUpdate(createTableQuery);\n }\n else\n {\n do\n {\n if( tableName.equals(rs.getString(3)) )\n {\n \tSystem.out.println(\"Table \"+tableName+\" already present\");\n stmt.close();\n return;\n }\n }while (rs.next());\n System.out.println(\"Creating Table --> +\"+tableName);\n stmt.executeUpdate(createTableQuery);\n }\n stmt.close();\n System.out.println(\"Checking \"+tableName+\" done!!\");\n }\n }", "@Test\n public void test_level_behaviours_columns_02() {\n Assert.assertTrue(JdbcCompatibility.shouldTypeColumnsAsString(JdbcCompatibility.MEDIUM));\n Assert.assertFalse(JdbcCompatibility.shouldDetectColumnTypes(JdbcCompatibility.MEDIUM));\n \n // This also applies to DEFAULT level\n Assert.assertTrue(JdbcCompatibility.shouldTypeColumnsAsString(JdbcCompatibility.DEFAULT));\n Assert.assertFalse(JdbcCompatibility.shouldDetectColumnTypes(JdbcCompatibility.DEFAULT));\n }", "public static boolean tableIsExist(String name) throws Exception {\n init();\n TableName tableName = TableName.valueOf(name);\n boolean flag = admin.tableExists(tableName);\n close();\n return flag;\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 }", "@Test(timeout = 4000)\n public void test022() throws Throwable {\n DBColumn[] dBColumnArray0 = new DBColumn[1];\n // Undeclared exception!\n try { \n SQLUtil.renderColumnNames(dBColumnArray0);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }", "@Test\n public void test_column_type_detection_strings_05() throws SQLException {\n testColumnTypeDetection(\"x\", NodeFactory.createURI(\"http://example.org\"), true, Types.NVARCHAR, String.class.getCanonicalName());\n }", "public void testGetColumnName_Default_Accuracy() {\r\n assertEquals(\"The columnName value should be got properly.\", null, auditDetail.getColumnName());\r\n }", "public static void checkTable( Connection con, String tableName, String createTableQuery)\n \t\tthrows SQLException, ClassNotFoundException\n {\n \tif(con.isValid(0))\n {\n Statement stmt = con.createStatement();\n DatabaseMetaData md = con.getMetaData();\n ResultSet rs = md.getTables(null, null, \"%\", null);\n if( !rs.next() )\n {\n stmt.executeUpdate(createTableQuery);\n stmt.close();\n return;\n }\n else\n {\n do\n {\n if( tableName.equals(rs.getString(3)) )\n {\n String query = \"drop table \"+ tableName +\";\";\n stmt.executeUpdate(query);\n stmt.executeUpdate(createTableQuery);\n }\n }while (rs.next());\n }\n stmt.close();\n }\n }", "public void validateTableBeanMethods()\n {\n String utableName = this.getUntranslatedTableName();\n Class<gDBR> tableClass = this.getRecordClass();\n DBField field[] = this.getFields();\n \n Print.logInfo(\"\");\n Print.logInfo(\"Validating bean access methods for table: \" + utableName);\n \n for (int i = 0; i < field.length; i++) {\n String fieldName = field[i].getName();\n String className = StringTools.className(field[i].getTypeClass());\n Print.logInfo(\" Field: \" + fieldName + \" (type=\" + className + \")\");\n java.util.List<String> errMsg = this.validateFieldBeanMethods(field[i]);\n if ((errMsg == null) || errMsg.isEmpty()) {\n Print.logInfo(\" OK\");\n } else {\n for (Iterator<String> e = errMsg.iterator(); e.hasNext();) {\n Print.logInfo(\" \" + e.next());\n }\n }\n }\n \n Print.logInfo(\"\");\n \n }" ]
[ "0.71393675", "0.6801231", "0.6747499", "0.66957295", "0.6680796", "0.6636853", "0.6627527", "0.6610189", "0.6554438", "0.6532924", "0.6508283", "0.6437019", "0.6381962", "0.63427883", "0.63256735", "0.6281368", "0.6278461", "0.6244752", "0.62426203", "0.62191457", "0.61805856", "0.61787236", "0.6174679", "0.61589324", "0.6147501", "0.6120305", "0.6113091", "0.6111382", "0.6099606", "0.6085293", "0.6056284", "0.6052115", "0.6048884", "0.6026267", "0.602094", "0.60087746", "0.59962666", "0.5985212", "0.59728366", "0.59412915", "0.5930707", "0.59210056", "0.5912223", "0.591198", "0.59049296", "0.5903591", "0.58980674", "0.58935106", "0.5887416", "0.5881902", "0.58729863", "0.58720315", "0.5852946", "0.5849579", "0.584621", "0.5841462", "0.5830729", "0.58292705", "0.5805784", "0.57980376", "0.5797648", "0.5752113", "0.57475424", "0.5741975", "0.5737706", "0.5734563", "0.5698494", "0.5691589", "0.56722945", "0.5671002", "0.566842", "0.5662283", "0.5653253", "0.5647014", "0.563014", "0.5603964", "0.5583791", "0.5580973", "0.5579533", "0.55743814", "0.55592996", "0.5550318", "0.55271566", "0.55200016", "0.5514956", "0.55030197", "0.54982376", "0.5479765", "0.54686576", "0.54632115", "0.5461325", "0.5459163", "0.54531306", "0.54502743", "0.5448103", "0.54389435", "0.54383606", "0.5434802", "0.5432777", "0.5426999" ]
0.63887525
12